Tuesday, March 5, 2013

gwt-log servlet configuration parameter 'symbolMaps"

Hello,

i wan't to use gwt-log in my application, because i can have the client log on the server.

I have followed that page to use it
https://code.google.com/p/gwt-log/wiki/GettingStarted#Enable_the_remote_logging_option_%28disabled_by_default%29

i deploy my application with the -deploy war/WEB-INF/deploy/

I'm using tomcat server, the log message is correctly sent but i have this error in tomcat :


WARNING: Servlet configuration parameter 'symbolMaps' specifies directory 'WEB-INF/deploy/camgolf/symbolMaps/' which does not exist or is not relative to your server's current working directory 'C:\tomcat\bin'
WARNING: In order to enable stack trace deobfuscation, please specify the 'symbolMaps' <init-param> for the com.allen_sauer.gwt.log.server.RemoteLoggerServlet servlet in your web.xml

I don't understand why..

My xml :


  <servlet>

  <servlet-name>gwt-log-remote-logger-servlet</servlet-name>
  <servlet-class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet-class>

  <!--
     The `symbolMaps` parameter specifies the server directory
     containing the GWT compiler symbol maps output, which is used
     for stack trace deobfuscation
  -->
  <init-param>
    <!-- This value assumes a GWT compile with '-deploy war/WEB-INF/deploy/' -->
    <param-name>symbolMaps</param-name>
    <!--
       Modify the param-value based on your server environment. Some web servers
       use your `war` directory as the 'current working dir', while other
       vendors will do something different. You may use trial and error. Specify the
       relative path you think should work, then check the server log after forwarding
       the first client log message to the server. If the directory cannot be found,
       gwt-log will report the full path which it tried.
     -->
    <param-value>WEB-INF/deploy/[MyAppsName]/symbolMaps/</param-value>
  </init-param>
</servlet>

<servlet-mapping>
  <servlet-name>gwt-log-remote-logger-servlet</servlet-name>
  <url-pattern>/[MyAppsName]/gwt-log</url-pattern>
</servlet-mapping>
 


Someone could help me.

Thank You

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment