tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: log4j:ERROR setFile(null,true) call failed.
Date Wed, 05 Aug 2015 18:22:23 GMT


Am 5. August 2015 10:32:34 MESZ, schrieb Rahul Singh <rksingh98@hotmail.com>:
>Dear Tomcat team,thanks for your continuous support.
>please assist us to find the root cause of the below problem.
>during the start of tomcat server, the below error occurred. 
>
>Jul 30, 2015 6:57:38 AM org.apache.coyote.AbstractProtocol initINFO:
>Initializing ProtocolHandler ["http-bio-8585"]Jul 30, 2015 6:57:38 AM
>org.apache.coyote.AbstractProtocol initINFO: Initializing
>ProtocolHandler ["http-bio-8282"]Jul 30, 2015 6:57:39 AM
>org.apache.catalina.startup.Catalina loadINFO: Initialization processed
>in 1601 msJul 30, 2015 6:57:39 AM
>org.apache.catalina.core.StandardService startInternalINFO: Starting
>service CatalinaJul 30, 2015 6:57:39 AM
>org.apache.catalina.core.StandardEngine startInternalINFO: Starting
>Servlet Engine: Apache Tomcat Serverlog4j:ERROR setFile(null,true) call
>failed.java.io.FileNotFoundException:
>/var/log/HYDRAstor/hydragui/hydragui.log (Permission denied)        at

Maybe you have no permission to read or write the log file? 

Regards, 
Felix

>java.io.FileOutputStream.open(Native Method)        at
>java.io.FileOutputStream.<init>(FileOutputStream.java:221)        at
>java.io.FileOutputStream.<init>(FileOutputStream.java:142)        at
>org.apache.log4j.FileAppender.setFile(FileAppender.java:290)        at
>org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194)
>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)
>at
>org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
>at
>org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
>at
>org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
>at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)        at
>org.apache.log4j.Logger.getLogger(Logger.java:105)        at
>org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283)
>at
>org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>Method)        at
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>at
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>at java.lang.reflect.Constructor.newInstance(Constructor.java:526)     
>at
>org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
>at
>org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
>at
>org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
>at
>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
>at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:664)   
>at org.apache.commons.digester.Digester.<init>(Digester.java:303)      
>at
>com.nec.hydragui.model2.biz.framework.menu.MenuFactory.parse(MenuFactory.java:88)
>at
>com.nec.hydragui.model2.biz.framework.menu.MenuFactory.init(MenuFactory.java:72)
>at
>com.nec.hydragui.utils.HydraServletContextListener.parseMenuConfig(HydraServletContextListener.java:84)
>at
>com.nec.hydragui.utils.HydraServletContextListener.contextInitialized(HydraServletContextListener.java:39)
>at
>org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
>at
>org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
>at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>at
>org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>at
>org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>at java.util.concurrent.FutureTask.run(FutureTask.java:262)        at
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>at
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>at java.lang.Thread.run(Thread.java:745)log4j:ERROR setFile(null,true)
>call failed.
> 		 	   		  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message