To debug a remote server you have to :
- start DevMode on your localhost,
- connect to your remote server with the normal url
- add "gwt.codesvr=localhost:9997" parameter to the url where 9997 is the port on witch DevMode is listening
As exemple if you have your app running on http://remoteServer/MyApp/Mapp.html and DevMode listening on 9997, you have to use http://remoteServer/MyApp/Mapp.html?gwt.codesvr=localhost:9997
Alexandre
2011/11/28 mariuszym <mariuszym@gmail.com>
Hi!
I'm new in GWT and I have annoying problem with GWT. I started develop
existing project (GWT module + EJB module) and I can't begin to debug
this.
Application is working on server Glassfish 2.1 (external server - not
on my localhost). I have ant script which deploying app on this
server, but I still have to compile and deploy. Application uses some
resources from server (jdbc connections, ldap realm), so I can't test
it on my localhost (Jetty or Glassfish).
I tried to change debug configuration in my Eclipse - now when I run
application in my console I have:
Could not connect to remote UI listening at localhost:8085. Using
default UI instead.
In development mode console I have:
00:00:25,623 [INFO] Paste http://externalServer:8085/MyApp/MyApp.html&gwt.codesvr=externalServer:-1
into a browser.
After paste I have error:
Plugin failed to connect to Development Mode server at
10.11.131.124:-1
I know that's wrong, but I have no more ideas how to configure. Is
there a way to run debug this application - I can't find any similiar
case on the forum.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment