I figured this out. All you need to do is copy the whole war folder
into the Tomcat deploy folder. On Ubuntu that folder is located at /
var/lib/tomcat6/webapps

So say if you have a project named "testProject" create that folder in
the Tomcat deploy folder, giving you /var/lib/tomcat6/webapps/
testProject

Then reload Tomcat (this may not be needed) and in your browser browse
to http://<server address>:8080/testProject

And your new app should be loaded. 8080 is the default port used by
Tomcat.

On Apr 28, 1:27 am, Dan King <[email protected]> wrote:
> It works fine when running/debugging in the hosted mode.
>
> I have Tomcat installed on a separate server but I am not really sure
> how to get it to serve the Java part of the project.
>
> On Apr 27, 5:01 am, Vitali Lovich <[email protected]> wrote:
>
> > On Mon, Apr 27, 2009 at 4:51 AM, newtoGWT <[email protected]> wrote:
>
> > > Did you test your application in hosted mode? try debugging it in the
> > > hosted mode..
>
> > That kind of defeats the whole deployment aspect of his question.   This
> > only helps if you need to debug an error in your application logic, not
> > configuration or integration (I'm assuming that he's already done this since
> > he talks about deployment to apache).
>
> > > On Apr 27, 2:38 am, Dan King <[email protected]> wrote:
> > > > Hi there,
>
> > > > Can anyone give me any instructions on how to deploy the default GWT
> > > > application. I have successfully gotten the client to appear properly
> > > > in the browser by reference it as a website in Apache. The problem I
> > > > am getting is when I click "Send" to send the name to the server I
> > > > receive a Remote Procedure Call - Failure message. I'm not sure what I
> > > > need to do. Any help is greatly appreciated as I am new to web
> > > > development and GWT.
>
> > Apache is an HTTP server.  RPC requires a Java servlet (i.e. served by
> > something like Tomcat, JBoss, Glassfish, etc).  Are you properly integrating
> > the two?  Typically, AFAIK, you use your Java servlet server to also serve
> > the HTML.  I have no experience with deployment of this kind, so I dunno
> > (I'm assuming that it is possible to integrate Apache + some Java server - I
> > don't even have a clue either way).
>
> > > > Thanks
--~--~---------~--~----~------------~-------~--~----~
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