Deploying GWT on shared tomcat hosting...
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 url-pattern and the actual
entrypoint that is set by the application at runtime...
The farthest I have gotten on this is as follows:
GetBaseURL() prints the following to screen:
http://scp.hostjava.net/org.yournamehere.Main/scp
that is where my entry point is being set and giving a 404.
The server log shows the following
File does not exist:
/var/www/vhosts/scp.hostjava.net/httpdocs/org.yournamehere.Main/scp
referer: http://scp.hostjava.net/welcomeGWT.html
I've tried my URL pattern as
/scp
/org.yournamehere.Main/scp
and EVEN hardcoding the full path to
http://scp.hostjava.net/org.yournamehere.Main/scp
nothing works
There must be a more intelligent way of doing this...
It sucks to write a whole application in 10 days (loved GWT at that
point) but to spend 7 days failing to get it hosted (starting to hate
GWT at this point)....
So frustrating
Thanks for the help !!!!
Sorry for the newbie question
--
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=.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home