Deploying GWT on shared tomcat hosting...

2009-11-12 Thread Haitham
I know this is a common question, and that's why this is so frustrating... I have something that works great in non-hosted and hosted mode on netbeans idea using glassfish 2.0 server. When i take it online i get the dreaded 404 error from the mismatch (apparent mismatch?) between the servlet

Re: Deploying to a Shared TOMCAT

2009-03-04 Thread Sean
Hey Guys, I want to thank you for your help. I still have had no luck, but I'm starting to think it's on the Tomcat side. I even tried downloading a complete exmaple of a .jsp servlet and it's not working. Even when I link straight to the jsp which should kick off the Tomcat server to handle it,

Re: Deploying to a Shared TOMCAT

2009-03-03 Thread Shawn Brown
I want to know if I am understanding this correctly. I outputted GWT.getModuleBaseURL()+/Foo and I get: http://www.celticlock.com//Foo Now if I understand this correctly, the /Foo at the end should be picked up because of the url-pattern/Foo/url-pattern to map to the Servlet-name. And the

Re: Deploying to a Shared TOMCAT

2009-03-03 Thread Thomas Broyer
On 3 mar, 00:54, Sean slough...@gmail.com wrote: I want to know if I am understanding this correctly. I outputted GWT.getModuleBaseURL()+/Foo and I get:http://www.celticlock.com//Foo How about GWT.getModuleBaseURL()+Foo (without the slash, which is already in moduleBaseURL) ?

Re: Deploying to a Shared TOMCAT

2009-03-03 Thread John Ivens
This is my web.xml file... this might help you out. See if you can map your call to like parameters in my call... ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread Sean
I did restart Tomcat still no go. #1 The latest I tried putting all the google files and Web-INF directory in my base http directory. So I am just calling: http://www.celticlock.com/Foo.html I'm on a shared Tomcat server and the documentation says I can only have one Web-INF directory there

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread John Ivens
I'll bet dollars to donuts that you are having the same problem that I had. The sample code works in embedded tomcat but not in external tomcat. You need to add code something like this: if (observationSvc == null) { observationSvc = (ObservationServiceAsync) GWT.create(ObservationService.

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread Sean
I do have that code, I even added in the null check just to be doubley sure and still no go. It works in hosted mode, just with this web.xml (and I tried removing the com.ll.server from teh Servlet-class) and I get the same error message. From my gwt.xml : servlet path=/Foo

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread Sean
I want to know if I am understanding this correctly. I outputted GWT.getModuleBaseURL()+/Foo and I get: http://www.celticlock.com//Foo Now if I understand this correctly, the /Foo at the end should be picked up because of the url-pattern/Foo/url-pattern to map to the Servlet-name. And the

Deploying to a Shared TOMCAT

2009-03-01 Thread Sean
Hello, I have read dozens of posts about deploying RPC's to TOMCAT, but I still can't seem to get it done. I am working with MOCHA hosting and they allow one WEB-INF file in the base of your public http directory. I can't seem to figure out what in the web.xml file is talking about what. The

Re: Deploying to a Shared TOMCAT

2009-03-01 Thread Shawn Brown
Hi, It looks to me like you have 2 problems. #1 The requested URL /Foo was not found on this server Did you restart the tomcat or restart your app? What url are you using to access it. What is your app called? Are you using something like serverurl/app_name/foo? And this is the