The symbolmaps are created in shark_sencha_prototype/symbolMaps, I can see 
them there.  However any value I try to specify 
for <param-name>symbolMaps</param-name> still results in 
an obfuscated stack trace.

I attached eclipse to Tomcat and whenever 
RemoteLoggingServiceImpl.logOnServer() is invoked, deobfusactor is null. 
 Breaking on the other methods that might set the symbol directory and 
instantiating deobfusactor never get tripped.

Does anyone know what code is responsible for 
reading <param-name>symbolMaps</param-name>?  I'd love to step through that 
to see what is happening.

On Tuesday, April 9, 2013 4:06:23 PM UTC+1, Flying-w wrote:
>
>
> I've implemented server side logging of client side exceptions, by making 
> the following changes in gwt.xml:
> <set-property name="compiler.stackMode" value="emulated" />
> <set-configuration-property 
> name="compiler.emulatedStack.recordLineNumbers" value="true" />
> <set-configuration-property 
> name="compiler.emulatedStack.recordFileNames" value="true" />
>
> A custom implementation SimpleRemoteLogHandler provides the handler to 
> relay the messages to the server.
>
> And a servlet:
> <servlet>
> <servlet-name>remoteLogging</servlet-name>
>
> <servlet-class>com.google.gwt.logging.server.RemoteLoggingServiceImpl</servlet-class>
> <init-param>
> <param-name>symbolMaps</param-name>
> <param-value>shark_sencha_prototype/symbolMaps</param-value>
> </init-param>
> </servlet>
> <servlet-mapping>
> <servlet-name>remoteLogging</servlet-name>
> <url-pattern>/shark_sencha_prototype/remote_logging</url-pattern>
> </servlet-mapping>
>
>
> When an exception occurs (for example an operation on a null string), the 
> stack trace below is typical of what shows up.  I 
> was expecting RemoteLoggingServiceImpl to fully remote the obfuscation, 
> however is this as good as it gets?
> It feels like there should me more, as it's doing nothing more than 
> mirroring what can also be reported on the client concerning the exception.
>
> com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot call 
> method 'Bl' of null
>
> Unknown.he(StackTraceCreator.java:174)
>
> Unknown.Oc(StackTraceCreator.java:501)
>
> Unknown.uS(Exceptions.java:29)
>
> Unknown.Zid(JobsTab.java:293)
>
> Unknown.Kfd(CategoryTabs.java:81)
>
> ...
>
>
> Thanks
>
> Simon
>

-- 
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+unsubscr...@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.


Reply via email to