When you run OOPHM without the built in Jetty, your RPC calls will go
to your instance of Tomcat (or to be more precise,
to the server that is listening on the port that you specify in the
URL : "http://localhost:port/cellamea.html?
gwt.codesvr=192.168.1.102:9997",
The URL proposed in the Development Mode window is
 http://localhost/cellamea.html?gwt.codesvr=192.168.1.102:9997
supposing that you run your server on the standard port 80).

Changes that you make to your code in the debugger will only affect
client side code (after you refresh your browser). Changes to
your server code are not picked up automatically by your instance of
Tomcat. Depending on your deployment,
you will need to rebuild/redeploy/restart your Tomcat (similar to
pushing the "Reload web server" button in the Development Mode window
in Eclipse).

If you want to actually debug in Tomcat, start Tomcat in debugging
mode and start a debugging session in Eclipse to a remote JVM. Changes
to
your code will similarly not be picked up by Tomcat , needing a
rebuild/redeploy/restarts sequence.
You can run your application in Web mode (without debugging the client
side) or you can also debug your application in development mode
without the
built in server. It all depends what you need to investigate.

Danny

P.S. 2.0 is great. Thanks to everyone who contributed!

On 10 dec, 21:40, Henry <[email protected]> wrote:
> How do I use my own server in hosted mode instead of GWT's built-in
> Jetty instance?
> In the plugin, I found the option to turn off use built-in server.
> Then I start my own server (Tomcat with JAAS j_security enabled), but
> it doesn't seem to pick up changes with my OOPHM firefox.
> How do I get my server (Tomcat) to understand:
> ?gwt.codesvr=localhost:9997
>
> thx,
> Henry

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to