geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-1370) velocity.log is created in current directory on server startup
Date Mon, 19 Dec 2005 16:41:30 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-1370?page=comments#action_12360835 ] 

Paul McMahan commented on GERONIMO-1370:
----------------------------------------

If the current directory where you start the server is not writable then you get the following
error in the server log.

PANIC : Error configuring AvalonLogSystem : java.io.FileNotFoundException: /home/pmcmahan/download/geronimo-1.0/velocity.log
(Permission denied)
PANIC : Error configuring AvalonLogSystem : java.io.FileNotFoundException: /home/pmcmahan/download/geronimo-1.0/velocity.log
(Permission denied)
11:32:52,547 ERROR [[/debug-tool]] Debug: BasicVelocityActionServlet
java.lang.Exception: Unable to configure AvalonLogSystem : java.io.FileNotFoundException:
/home/pmcmahan/download/geronimo-1.0/velocity.log (Permission denied)
        at org.apache.velocity.runtime.log.AvalonLogSystem.init(AvalonLogSystem.java:92)
        at org.apache.velocity.runtime.log.LogManager.createLogSystem(LogManager.java:127)
        at org.apache.velocity.runtime.RuntimeInstance.initializeLogger(RuntimeInstance.java:553)
        at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:226)
        at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:80)
        at org.apache.geronimo.jmxdebug.web.velocity.BasicVelocityActionServlet.init(BasicVelocityActionServlet.java:103)
        at javax.servlet.GenericServlet.init(GenericServlet.java:168)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
        at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:64)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:267)
        at org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53)
        at org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47)
        at org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60)
        at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:187)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:287)
        at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$9f00ee94.addContext(<generated>)
        at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:407)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
        at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
        at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
        at org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
        at org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$49a67291.start(<generated>)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:323)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
11:32:52,561 ERROR [[/debug-tool]] Servlet /debug-tool threw load() exception
java.lang.Exception: Unable to configure AvalonLogSystem : java.io.FileNotFoundException:
/home/pmcmahan/download/geronimo-1.0/velocity.log (Permission denied)
        at org.apache.velocity.runtime.log.AvalonLogSystem.init(AvalonLogSystem.java:92)
        at org.apache.velocity.runtime.log.LogManager.createLogSystem(LogManager.java:127)
        at org.apache.velocity.runtime.RuntimeInstance.initializeLogger(RuntimeInstance.java:553)
        at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:226)
        at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:80)
        at org.apache.geronimo.jmxdebug.web.velocity.BasicVelocityActionServlet.init(BasicVelocityActionServlet.java:103)
        at javax.servlet.GenericServlet.init(GenericServlet.java:168)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
        at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:64)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:267)
        at org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53)
        at org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47)
        at org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60)
        at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:187)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:287)
        at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$9f00ee94.addContext(<generated>)
        at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:407)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
        at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
        at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
        at org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
        at org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$49a67291.start(<generated>)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:323)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)


> velocity.log is created in current directory on server startup
> --------------------------------------------------------------
>
>          Key: GERONIMO-1370
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1370
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0
>  Environment: 1.0 RC1
>     Reporter: Kevan Miller
>     Priority: Minor

>
> velocity.log is being created in the current directory when you start the server.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message