geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Genender (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (GERONIMO-1676) Tomcat assembly get FileNotFoundException for geronimo.log during server initalization
Date Tue, 14 Mar 2006 19:35:04 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1676?page=all ]
     
Jeff Genender closed GERONIMO-1676:
-----------------------------------

    Fix Version: 1.2
     Resolution: Fixed

Make sense why it runs on *nix machines, bacause /var/log is typically a real and valid dircetory
that exists already.  Patch applied...thanks.

Sending        assemblies/j2ee-tomcat-server/src/var/log/server-log4j.properties
Sending        assemblies/minimal-tomcat-server/src/var/log/server-log4j.properties
Sending        assemblies/web-jms-tomcat-server/src/var/log/server-log4j.properties
Transmitting file data ...
Committed revision 385862.


> Tomcat assembly get FileNotFoundException for geronimo.log during server initalization
> --------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1676
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1676
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.x
>  Environment: Windows XP   .... using trunk rev 382444
>     Reporter: Joe Bohn
>      Fix For: 1.2
>  Attachments: log4j.patch
>
> I hit this problem with Tomcat on 2 different windows machines after getting a new image
from trunk today.   It only happens in the tomcat assembly but not in the jetty assembly.
  Here's the stack trace:
> C:\geronimo\assemblies\j2ee-tomcat-server\target\geronimo-1.2-SNAPSHOT>java -jar bin\server.jar
> Booting Geronimo Kernel (in Java 1.4.2_08)...
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: \var\log\geronimo.log (The system cannot find the path
specified)
>         at java.io.FileOutputStream.openAppend(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
>         at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
>         at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
>         at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
>         at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
>         at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
>         at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
>         at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
>         at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.doConfigure(URLConfigurator.java:117)
>         at org.apache.geronimo.system.logging.log4j.URLConfigurator.configure(URLConfigurator.java:44)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.reconfigure(Log4jService.java:518)
>         at org.apache.geronimo.system.logging.log4j.Log4jService.doStart(Log4jService.java:561)
>         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.GBeanInstance.start(GBeanInstance.java:520)
>         at org.apache.geronimo.gbean.runtime.GBeanSingleReference.attemptFullStart(GBeanSingleReference.java:154)
>         at org.apache.geronimo.gbean.runtime.GBeanSingleReference.targetAdded(GBeanSingleReference.java:127)
>         at org.apache.geronimo.gbean.runtime.AbstractGBeanReference.addTarget(AbstractGBeanReference.java:242)
>         at org.apache.geronimo.gbean.runtime.GBeanSingleReference$1.running(GBeanSingleReference.java:163)
>         at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:155)
>         at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:38)
>         at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:231)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:350)
>         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.system.main.Daemon.doStartup(Daemon.java:298)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:416)

-- 
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