Deployment Question

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Deployment Question

Postby vampie » Sat Oct 13, 2007 2:30 am

where can I find step by step deployment guide?
I can create war file I look inside everything seems ok
but when deploy to tomcat 5.5
I got the error seen below:

HTTP Status 404 - /PBTourPortal/

type Status report

message /PBTourPortal/

description The requested resource (/PBTourPortal/) is not available.
Apache Tomcat/5.5


Thx
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: Deployment Question

Postby Eric Clayberg » Sat Oct 13, 2007 4:16 am

vampie wrote:where can I find step by step deployment guide?

Our docs for creating WAR files are here.

More detailed information on building and deploying GWT apps is available from Google's GWT web site and forum and from a variety of other places.

If you are looking for dcos specific to a particular web server, you need to review the docs provided by that web server and visit their respective forums.

vampie wrote:but when deploy to tomcat 5.5
I got the error seen below:
HTTP Status 404 - /PBTourPortal/
type Status report
message /PBTourPortal/
description The requested resource (/PBTourPortal/) is not available.
Apache Tomcat/5.5

I don't know what would cause that, but there seems to be a lot of discussion/advice available via Google on the subject of "HTTP Status 404 tomcat".
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby vampie » Sat Oct 13, 2007 8:18 am

when I generate war file from GWT Deployment menu

inside generated web.xml the following lines exist :


-----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<web-app>

</web-app>
-----------------------------------------------------------------

huh where can i do something wrong?
I am using latest gwt designer and gwt from google...
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Postby Eric Clayberg » Sat Oct 13, 2007 3:38 pm

We need to see a test case.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby vampie » Sun Oct 14, 2007 4:39 am

Here you can download the project
It is sample GWT application with a button and window.alert thing
nothing else...
I am using eclipse 3.3 and Windows XP 32 bit
GWT and designer is last version


LINK :
http://213.243.33.4/PBMP_IMAGES/PBTourPortal.zip
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Postby vampie » Sun Oct 14, 2007 12:51 pm

can you send me valid web.xml for the Standard ImageViewer Class?
so i may understand where i am doing wrong...
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Postby Eric Clayberg » Mon Oct 15, 2007 8:50 am

Your test case does not include any remove services or servlets, so there is no server logic and nothing to declare in the web.xml.

Here's an example of what a web.xml file would look like, if your project contained a single remote service...

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<web-app>
   <servlet>
      <servlet-name>com.mycompany.project.server.MyServiceImpl</servlet-name>
      <servlet-class>com.mycompany.project.server.MyServiceImpl</servlet-class>
   </servlet>
   <servlet-mapping>
      <servlet-name>com.mycompany.project.server.MyServiceImpl</servlet-name>
      <url-pattern>/MyService</url-pattern>
   </servlet-mapping>
</web-app>
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby vampie » Mon Oct 15, 2007 10:16 am

huh ?
i did exactly before i deployed. so where can i make it wrong?
i am confused really...
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Postby Eric Clayberg » Mon Oct 15, 2007 11:45 am

vampie wrote:i did exactly before i deployed. so where can i make it wrong?

I don't know. Maybe you deployed your WAR into the wrong directory. We aren't Tomcat experts, so debugging a Tomcat deployment is not something we can really help you with.

I'm sorry, but this really isn't the right forum for expert help in deploying to Tomcat servers. Google's GWT forum would be a better choice for questions like this as would a forum dedicated to Tomcat.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests