Yes, that was the problem. I changed the permissions and now it works as 
advertised.

Thanks!

Mark

On Tuesday 13 December 2005 12:13 am, Jan Behrens wrote:
> I am not a Linux man myself but I would think that you do have a problem
> with the access rights - unless Tomcat is running as root, which I thing
> would be even worse. If not, the Tomcat user will need rw access to its
> webapp dir (and should own it) in order to unpack anything.
>
> HTH, Jan
>
> Mark Phillips <[EMAIL PROTECTED]> schrieb am 13.12.2005 00:32:42:
> > I have Tomcat 5.5.9 running on a Linux server. I am having hard
>
> timedeploying
>
> > 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 itis
>
> 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]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
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