Need help debugging GWT - the unknown world of Jetty

I am trying to debug a GWT application, but it seems like I cannot do it with the berth. Whenever I try to run it in host mode for debugging, I get an "unknown realm" 500 error message (nothing loads). I do this through eclipse. It is very inconvenient to collect everything in order to debug in the browser afterwards.

After compilation, I deploy the war to JBoss (using EJB on the server). But compilation takes time, and when the code has been turned into javascript, you cannot debug. How can I debug java code? I am looking at the -noserver option, but I wonder if I can still do this with the pier. And if not, why not.

+5
source share
2 answers

There are two questions in your question:

  • using authentication in embedded Jetty (suppose you have one <login-config>in yours web.xml): see http://code.google.com/p/google-web-toolkit/issues/detail?id=4462#c5 (now what is this error fixed, you only need to put userRealmin jetty-web.xml, and now you can use <login-config>in yours web.xml)
  • -noserver GWT: -noserver, Jetty DevMode, DevMode . , , , Java (.. JBoss Java ). -noserver, , .nocache.js hosted.html , GWT-, , -war DevMode ( DevMode , - )
+3

? , - ? ?


  • , (.. GWT, , web.xml), - .
-1

All Articles