On Tue, May 17, 2011 at 12:46 AM, José Morales <[email protected]> wrote:
> Currently in my project we used gwt-log and are testing the new > functionality deobfuscate. We have met the following problems. > > - When we develop Hosted mode (GWT eclipse plugin) and try to get > symbolsMap file, tries to get a file named HostedMode.symbolsMap. This > file is not generated in deploy mode, so that it can not find the file > HostedMode. "Failed to deobfuscate stack trace for HostedMode > permutation. Verify That the Corresponding symbolMap is available. " > Thanks for reporting this. That's a warning that can be safely ignored. I'll commit a change to suppress it. > > - When I launch the application in tomcat and try to get the file > symbolsMap the path obtained is not valid. The path is obtained as a > result of concatenating the variable 'user.dir' JVM and the path > specified in web.xml. Example: $ TOMCAT_HOME / bin / WEB-INF / > deploy / [modulename] / symbolMaps / filename > > Performing debug code I have seen that gwt-log delegates > StackTraceDeobfuscator (GWT) and then StackTraceDeobfuscator get > symbolsMap path the wrong way. > > Someone have get this problem? Any solution? We are currently using > version 2.2 of GWT and gwt-log 3.1.2 > > This is the configuration that we use: > > <servlet> > <servlet-name> > com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl/ gwt-log </ > servlet-name> > <servlet-class> > com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl </ servlet- > class> > <init-param> > <param-name> symbolMaps </ param-name> > <! - This value assumes a GWT compile with '-deploy war / WEB- > INF / deploy /' -> > <param-value> WEB-INF/deploy / [modulename] / symbolMaps / </ > param-value> > </ Init-param> > </ Servlet> > <servlet-mapping> > <servlet-name> > com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl / gwt-log </ > servlet-name> > <url-pattern> / [modulename] / gwt-log </ url-pattern> > </ Servlet-mapping> > Please see issue http://code.google.com/p/gwt-log/issues/detail?id=57, or better yet http://code.google.com/p/google-web-toolkit/issues/detail?id=6364 > > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "gwt-log" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/gwt-log?hl=en. > > -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 [email protected] -- You received this message because you are subscribed to the Google Groups "gwt-log" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en.
