You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 8, 2017. It is now read-only.
What version of GWT are you using? 1.4.60? 2.0.4? Other?
2.4.0
What version of the gwt-log jar file or library file are you using?
3.1.8
What operating system(s) are you using? Windows? Linux? Mac?
Linux, Ubuntu 11.10
Currently, RemoteLoggerServlet accepts only paths relative to the server's
current directory in symbolMaps parameter, witch turns impossible to deploy the
app in some JEE containers. For example, in JBoss 7, the directory where the
war is exploded is different for each deploy.
The attached patch changes RemoteLoggerServlet to accept another parameter,
'isWarRelativePath'. If 'isWarRelativePath' = true, then the symbolMaps paths
are considered to be relative to the application context path, e. g.:
<servlet>
<servlet-name>gwt-logger-servlet-monitor</servlet-name>
<servlet-class>om.allen_sauer.gwt.log.server.RemoteLoggerServlet</servlet-class>
<init-param>
<param-name>symbolMaps</param-name>
<param-value>WEB-INF/deploy/module_name/symbolMaps/</param-value>
</init-param>
<init-param>
<param-name>isWarRelativePath</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
Original issue reported on code.google.com by luiz.mi...@gmail.com on 22 Feb 2012 at 7:10