Thanks Daniel.. That clue helped... tomcat was running as a different user
and I tried to start using root.


On Tue, May 6, 2014 at 7:38 PM, Daniel Mikusa <dmik...@gopivotal.com> wrote:

> On May 6, 2014, at 9:25 AM, Rahul R <rahul.ra...@gmail.com> wrote:
>
> > Hi
> >
> > I have put ROOT.war under webapps folder of tomcat. When I start the
> > instance I am getting the below error on catalina.out.
> >
> > INFO: Deploying web application archive
> /opt/tomcat-proxy/webapps/ROOT.war
> > May 06, 2014 6:28:22 PM org.apache.catalina.startup.ContextConfig
> > beforeStart
> > SEVERE: Exception fixing docBase for context [/ROOT]
> > java.io.IOException: Unable to create the directory
> > [/opt/tomcat-proxy/webapps/ROOT]
> >
> > I am not sure why this is happening. Checked the permissions on webapps
> > folder as well as the war file. Its 755.
> >
> > P.S: I am able to use jar to unpack it manually under webapps.
>
> What about the owner of webapps?  Is that the same as the user you’re
> using to run Tomcat?  Can that user extract the files?
>
> Dan
>
> >
> > Any help would be much appreciated.
> >
> >
> > --
> > Thanks,
> > Regards,
> > Rahul R
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Thanks,
Regards,
Rahul R

  .~.
  /V\
 // \\
/(   )\
 ^`~'^

Mob: 09008030921

Reply via email to