users@glassfish.java.net

web apps are not in docroot

From: <glassfish_at_javadesktop.org>
Date: Tue, 09 Sep 2008 07:12:51 PDT

Hello
I have a few web applications that run OK on SJSAS 8.1, I am having difficulty deploying them to SJSAS 9.1_02 (build b04-fcs).

I deploy web apps by uploading the .war file via the Admin Console, this appeared to go OK and the applications have been extracted into the usual place:
/opt/SUNWappserver/domains/domain1/applications/j2ee-modules

When the SJSAS is started it records errors in the server log saying the applications do not exist in
/opt/SUNWappserver/domains/domain1/docroot
This is correct, they don't.

When I try to access the applications with a browser I get a 404 error.

I do not want to change anything in the applications that will prevent them from working in our old SJSAS 8.1 servers.

Any idea what I need configure in SJSAS 9.1_02 to tell it the applications are where they are ?

The following lines are an extract from server.log:
[#|2008-09-05T18:27:18.625+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=10;_ThreadName=main;_RequestID=7c1284
-4793-b69e-ac190def4cc2;|PWC1300: Error starting resources in context /mywebapp|#]

[#|2008-09-05T18:27:18.639+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=10;_ThreadName=main;_RequestID=7c1284
-4793-b69e-ac190def4cc2;|PWC4430: Document base /opt/SUNWappserver/domains/domain1/docroot/mywebapp does not exist or is not a readable directory|#]
[Message sent by forum member 'vincewebb' (vincewebb)]

http://forums.java.net/jive/thread.jspa?messageID=298064