The name of the directory to be created under ./webapps is the name of the file 
of "axis2.war" or any other ".war" file top be deployed with tomcat.
If you would deploy axis2XYZ.war the directory tomcat creates under the webapps 
dir is ./webapps/axis2 XYZ
The account under which Tomcat runs must be owner of the ./webapps dir. 
It is tomcat which needs to manage/create/delete all this directories, hence 
the tomcat-account must own this files and directories.
Josef


-----Ursprüngliche Nachricht-----
Von: Neil Aggarwal [mailto:n...@jammconsulting.com] 
Gesendet: Montag, 12. September 2011 16:21
An: java-user@axis.apache.org
Betreff: RE: [Axis2] NPE during load in DeploymentFileData.getName

Josef:

> But in this case it would be the Tomcat process itself, which 
> seems to have insufficient privileges to create a directory.

What directory is it trying to create?

I am running Tomcat under a non-priviliged user account.
I will try setting it up to run as root and see if
that avoids the error.

Neil


--
Neil Aggarwal, (972)834-1565, http://UnmeteredVPS.net/centos
Virtual private server with CentOS 6 preinstalled
Unmetered bandwidth = no overage charges


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to