Closed GoogleCodeExporter closed 9 years ago
I have the same problem with Tomcat, but it can be easily fixed by changing
line 62 of RemoteLoggerServiceImpl like this :
deobfuscator = new StackTraceDeobfuscator(getServletContext().getRealPath("/") + symbolMaps);
Best regards,
Gilles
Original comment by gilles...@gmail.com
on 13 May 2011 at 4:27
I think this fix should really go into StackTraceDeobfuscator
http://code.google.com/p/google-web-toolkit/issues/detail?id=6364
Original comment by fredsa@google.com
on 17 May 2011 at 4:27
is there any workaround, besides of specifying an absolute path or changing
code of the .jar? doesn't look like the problem is fixed by the gwt team in the
near future...
Original comment by mario.pl...@gmail.com
on 11 Jul 2011 at 1:44
The problem is still present in the gwt-log1.3.6 jar. Is there a workaround? I
want to avoid making a patch for RemoteLoggerServlet
Original comment by mad.mike...@gmail.com
on 13 Dec 2011 at 4:48
I'm sorry, i mean gwt-log-3.1.6
Original comment by mad.mike...@gmail.com
on 13 Dec 2011 at 4:49
I've added additional server side debugging in gwt-log 3.1.7 to help with
diagnostics:
http://code.google.com/p/gwt-log/source/detail?r=3c2d31957fcda7aaa0f12c69b0d7ed966e2f8a14
Note also that you can specify multiple symbolMaps locations in your web.xml,
in order to cover multiple compiled modules/projects, or multiple deployment
scenarios:
http://code.google.com/p/gwt-log/wiki/GettingStarted
You may also try an absolute path rather than a relative path if that suits
your project.
Original comment by fredsa@google.com
on 15 Dec 2011 at 7:07
Users can now specify multiple symbolMaps paths (see
http://code.google.com/p/gwt-log/wiki/GettingStarted).
Original comment by fredsa
on 9 Feb 2012 at 11:01
Absolute path and multiple paths doesn't solve this problem, since in some JEE
containers you don't know where the app is deployed (the directory where the
war file is exploded). The ideal solution would be the inclusion of a servlet
paramater, that indicate if getServletContext().getRealPath() method should be
used. e.g.:
<init-param>
<param-name>symbolMaps</param-name>
<param-value>WEB-INF/deploy/module_name/symbolMaps/</param-value>
</init-param>
<init-param>
<param-name>isContextPath</param-name>
<param-value>true</param-value>
</init-param>
Original comment by luiz.mi...@gmail.com
on 22 Feb 2012 at 4:45
[deleted comment]
+1 for the "isContextPath true"-solution.
Why don't you fix this in gwt-log until it is fixed in gwt
(https://code.google.com/p/google-web-toolkit/issues/detail?id=6364 )? We have
to patch gwt-log cause of that stuff :(
Original comment by mse...@gmail.com
on 30 Apr 2013 at 10:13
Original issue reported on code.google.com by
co...@macnaughton.com
on 24 Mar 2011 at 9:52