I have Tomcat 5.5.9 running on a Linux server. I am having hard time deploying 
war files remotely from my Linux desktop over the LAN. I have tried the 
following:

1. Upload war file using tomcat manager
I can access the war file on my local machine using the tomcat manager from 
the server. So, I select the war file and click on deploy. I get the error 
message - FAIL - Deploy Upload Failed, Exception: null

Do I have a permissions problem? I am deploying to /var/webapps (root.root) on 
the server from my local machine.

2. Deploy a local war file
I copy the war file to my local directory the server (not the appBase). I then 
try to deploy the file:

Context: /HopiRockets
URL: jar:file:/home/mark/HopiRockets/HopiRockets.war!/

and I get the error message: FAIL - Failed to deploy application at context 
path /HopiRockets

3. Copy the war file to /var/webapps/. Tomcat recognizes the application and 
it runs correctly. However, the application is never unpacked, so it is slow. 
The server.xml file is setup to automatically unpack the war file, but tomcat 
never does.

<Host name="localhost" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

Perhaps permission problem? /var/webapps is owned by root.

Thanks for any help you can give me!

-- 
Mark Phillips
Phillips Marketing, Inc
[EMAIL PROTECTED]
602 524-0376
480 945-9197 fax

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to