I found the following exception in /var/log/daemon.log

java.io.FileNotFoundException: axis2.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)

at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)

at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)

at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)

at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)

(more)

If i am not mistaken this means that  tomcat was not able to get a hold of
the axis2.log file, but since i dont know where should the file be opened i
dont know where to go to change the permissions in order to fix it.

Also, i am assuming all actions  performed by axis2 are performed with the
tomcat user.

does anyone know where should i look?
does what it said hold water?

Thanks in advance, as usual

Rafael

Reply via email to