users@glassfish.java.net

Re: JRoR WAR deployment to GF3 fails

From: Hassan Schroeder <hassan.schroeder_at_gmail.com>
Date: Mon, 29 Jun 2009 07:42:30 -0700

On Mon, Jun 29, 2009 at 7:15 AM, Dick Davies<rasputnik_at_hellooperator.net> wrote:
> 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.

I used the admin gui to set the context as "/", plus added a
'sun-web.xml' file to the WEB-INF dir:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD
Application Server 8.1 Servlet 2.4//EN' 'http://www.sun.com/softwa
re/appserver/dtds/sun-web-app_2_4-1.dtd'>
<sun-web-app>
  <context-root>/</context-root>
</sun-web-app>

And of course I also tried accessing the URL /${warfilename} just
for grins, but no different result.

Anything else I can check?

-- 
Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com