The client makes XMLHTTPRequests to the the server to deobfuscate the
messages. In the browser case the domain name ('origin' actually) of the
servlet needs to be the same as where the JavaScript came from, or you need
to use CORS <http://en.wikipedia.org/wiki/Cross-origin_resource_sharing>.Not sure what the requirements are in the PhoneGap case. Are XHRs allowed? Do you have to whitelist the origin? Can you log the XHRs and see if they make it through? On Thu, Apr 3, 2014 at 11:02 AM, confile <[email protected]>wrote: > AS I wrote it works perfect on desktop browsers. So of course I enabled it. > > Other ideas? > > Am Donnerstag, 3. April 2014 20:00:17 UTC+2 schrieb Fred Sauer: >> >> Have you enabled the deobfuscation servlet? >> >> https://code.google.com/p/gwt-log/wiki/GettingStarted >> >> >> >> On Thu, Apr 3, 2014 at 10:25 AM, confile <[email protected]>wrote: >> >>> I use gwt-log with remote logging which works fine. My app is also >>> running in a PhoneGap container. >>> >>> My web.xml configuration is the following: >>> >>> <inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" /> >>> <inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger" /> >>> <set-property name="log_DivLogger" value="DISABLED" /> >>> <set-property name="log_FirebugLogger" value="DISABLED" /> >>> >>> <set-property name="compiler.emulatedStack" value="true" /> >>> <set-configuration-property >>> name="compiler.emulatedStack.recordLineNumbers" >>> value="true"/> >>> <set-configuration-property name="compiler.emulatedStack.recordFileNames" >>> value="true"/> >>> >>> >>> Remote logging works fine when using my app in web browser but when I >>> switch it to a phonegap container do not se the method names. I tried: >>> >>> Log.fatal("This is what an exception might look like", new >>> RuntimeException("2 + 2 = 5")); >>> >>> >>> The Console output is: >>> >>> >>> 2014-04-03 19:20:41.202 Test[29194:907] ERROR: (-:-) 2014-04-03 >>> 19:20:41,193 [FATAL] This is what an exception might look like >>> >>> java.lang.RuntimeException: 2 + 2 = 5 >>> >>> at Unknown._Jb(StackTraceCreator.java:180) >>> >>> at Unknown.ixb(StackTraceCreator.java:518) >>> >>> at Unknown.gxb(Throwable.java:56) >>> >>> at Unknown.Bzb(Exception.java:29) >>> >>> at Unknown.Ezb(RuntimeException.java:29) >>> >>> at Unknown.Cc(Mobile.java:81) >>> >>> at Unknown.Fc(Mobile.java:32) >>> >>> at Unknown.FJb(SchedulerImpl.java:180) >>> >>> at Unknown.wJb(SchedulerImpl.java:345) >>> >>> at Unknown.JJb(SchedulerImpl.java:78) >>> >>> at Unknown.DJb(SchedulerImpl.java:138) >>> >>> at Unknown.TIb(Impl.java:290) >>> >>> at Unknown.XIb(Impl.java:347) >>> >>> at Unknown.anonymous(Impl.java:93) >>> >>> at Unknown.anonymous(UnloadSupport.java:42) >>> >>> >>> >>> Somehow stacktrace deobfuscation does not run correctly. >>> >>> >>> *Does anyone has an idea how to fix it?* >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "gwt-log" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at http://groups.google.com/group/gwt-log. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Fred Sauer >> [email protected] >> > -- > You received this message because you are subscribed to the Google Groups > "gwt-log" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/gwt-log. > For more options, visit https://groups.google.com/d/optout. > -- Fred Sauer [email protected] -- You received this message because you are subscribed to the Google Groups "gwt-log" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/gwt-log. For more options, visit https://groups.google.com/d/optout.
