users@glassfish.java.net

Re: JRoR WAR deployment to GF3 fails

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Mon, 29 Jun 2009 15:15:38 +0100

Probably worth checking what URL is been deployed under.

How did you deploy it (did you set a context root)? It defaults to
'/${warfilename}/' unless you explicitly set one.

On Thu, Jun 25, 2009 at 7:51 PM, Hassan
Schroeder<hassan.schroeder_at_gmail.com> wrote:
> Relatively new to Glassfish and trying to deploy a WAR file to a GF3
> (latest) server as the default app.
>
> The deployment seems to succeed, but when I try to view it, the
> browser only shows a 404. The logs don't show much interesting
> (at least to me): here's the last three entries:
>
> [#|2009-06-25T11:18:07.470-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=25;_ThreadName=Thread-1;|PWC1412:
> WebModule[] ServletContext.log():Rails init time: 21126ms|#]
>
> [#|2009-06-25T11:18:07.470-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=25;_ThreadName=Thread-1;|PWC1412:
> WebModule[] ServletContext.log():Runtime 0 loaded|#]
>
> [#|2009-06-25T11:18:07.470-0700|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=25;_ThreadName=Thread-1;|PWC1412:
> WebModule[] ServletContext.log():Requests can now be processed|#]
>
> :: which looks pretty unremarkable.
>
> This same WAR file deploys fine on a Tomcat 6.0.20 server, and
> the app even runs from its normal directory using the GF gem.
>
> Not even sure what I should be looking at, so all suggestions are
> welcome  :-)
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>