|
Up for grabs -- [ openejb-Bugs-687404 ] java.io.FileNotFoundException: logs: msg#00083java.openejb.devel
This rather critical bug is up for grabs. Should be a simple log4j configuration fix. We would need it completed before releasing 0.9.2 Any takers? -David -----Original Message----- From: SourceForge.net [mailto:noreply@xxxxxxxxxxxxxxx] Sent: Thursday, February 20, 2003 3:42 PM To: noreply@xxxxxxxxxxxxxxx Subject: [ openejb-Bugs-687404 ] java.io.FileNotFoundException: logs/openejb.log Bugs item #687404, was opened at 2003-02-16 03:07 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=439274&aid=687404&grou p_id=44351 Category: None >Group: 0.9.1 Status: Open Resolution: None Priority: 7 Submitted By: Oswald Campesato (ocampesato) Assigned to: Nobody/Anonymous (nobody) Summary: java.io.FileNotFoundException: logs/openejb.log Initial Comment: I did the following: +++++++++++++++++++++++++++++++++++ 1) deployed openejb_loader-0.9.1.war into the "webapps" sub-directory of Tomcat (4.1.18) 2) modified openejb_loader-0.9.1\WEB-INF\web.xml: <param-value>C:\openejb-0.9.1</param-value> 3) restarted Tomcat +++++++++++++++++++++++++++++++++++ That's when I got the error listed below. I tried commenting out different combinations of the parameters "openejb.conf" and "openejb.localcopy" but the error persists. I noticed the following in default.logging.conf: log4j.appender.R.File = logs/openejb.log log4j.appender.TX.File = logs/transaction.log Since they are relative paths, I don't know which root directory is expected:( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: logs/openejb.log (The system cannot find the path specified) I'm sure it's something simple that I've overlooked, and your help would be appreciated... ---------------------------------------------------------------------- Comment By: David Blevins (dblevins) Date: 2003-02-20 15:40 Message: Logged In: YES user_id=374830 Changing the status of this to a bug. Others are reporting the exact same logging error message when using OpenEJB in Tomcat. On the notes of Cocoon, this should still work. If something is amiss, we would certainly like to be aware of it and fix for the next release if possible. Can you open a new support request with details on how the OpenEJB war is affecting the Cocoon app? On the notes of the documentation wording, I'll make sure that is revised. Thanks for the feedback. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2003-02-16 19:43 Message: Logged In: NO Hello, David: A quick update for you: 1) I know that something's amiss because I can no longer access an HTML page that's in a Cocoon-based 'war' application that's deployed in webapps; everything is back to normal when I remove the openejb webapp 2) I created a logs sub-directory -- problem persists 3) incidentally, the web page with instructions seems to imply that the following snippet is in the 'web.xml' file in the sample application (but it's not): "Our example's web application declares the referenced bean in the deployment descriptor ( /WEB-INF/web.xml) as follows: <ejb-ref> <description> EJB Reference to the bean deployed to OpenEJB </description> <ejb-ref-name>ejb/hello</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>org.acme.HelloHome</home> <remotel>org.acme.Hello</remote> </ejb-ref> 4) here's the full stack trace: OpenEJB 0.9.1 build: 20030118-2142 http://openejb.sf.net log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: logs/openejb.log (The system cannot find the path specified) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init> (FileOutputStream.java:100) 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:2 47) at org.apache.log4j.config.PropertySetter.setProperties (PropertySetter.j ava:123) at org.apache.log4j.config.PropertySetter.setProperties (PropertySetter.j ava:87) at org.apache.log4j.PropertyConfigurator.parseAppender (PropertyConfigura tor.java:645) at org.apache.log4j.PropertyConfigurator.parseCategory (PropertyConfigura tor.java:603) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderer s(PropertyC onfigurator.java:524) at org.apache.log4j.PropertyConfigurator.doConfigure (PropertyConfigurato r.java:408) at org.apache.log4j.PropertyConfigurator.doConfigure (PropertyConfigurato r.java:432) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure (OptionCon verter.java:456) at org.apache.log4j.LogManager.<clinit> (LogManager.java:145) at org.apache.log4j.Category.getInstance (Category.java:518) at org.apache.commons.logging.impl.Log4jFactory.getInstance (Log4jFactory .java:153) at org.apache.commons.logging.impl.LogFactoryImpl.getInstanc e(LogFactory Impl.java:285) at org.apache.commons.logging.LogFactory.getLog (LogFactory.java:409) at org.apache.axis.components.logger.LogFactory.getLog (LogFactory.java:7 6) at org.apache.axis.configuration.FileProvider.<clinit> (FileProvider.java :93) at com.ibm.wsbus.channels.axis.AxisInitServlet.initAxisEngine (AxisInitSe rvlet.java:67) at com.ibm.wsbus.channels.axis.AxisInitServlet.init (AxisInitServlet.java :20) at javax.servlet.GenericServlet.init (GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper. java:934) at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:82 1) at org.apache.catalina.core.StandardContext.loadOnStartup (StandardContex t.java:3420) at org.apache.catalina.core.StandardContext.start (StandardContext.java:3 608) at org.apache.catalina.core.ContainerBase.addChildInternal (ContainerBase .java:821) at org.apache.catalina.core.ContainerBase.access$000 (ContainerBase.java: 162) at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.r un(Contain erBase.java:182) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java:80 5) at org.apache.catalina.core.StandardHost.addChild (StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install (StandardHostDep loyer.java:257) at org.apache.catalina.core.StandardHost.install (StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployWARs (HostConfig.java:502 ) at org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java:410 ) at org.apache.catalina.startup.HostConfig.start (HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java :368) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (Lifecycl eSupport.java:166) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start (StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start (StandardEngine.java:347 ) at org.apache.catalina.core.StandardService.start (StandardService.java:4 97) at org.apache.catalina.core.StandardServer.start (StandardServer.java:218 9) at org.apache.catalina.startup.Catalina.start (Catalina.java:512) at org.apache.catalina.startup.Catalina.execute (Catalina.java:400) at org.apache.catalina.startup.Catalina.process (Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:203) log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: logs/transaction.log (The system cannot find the path specified) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init> (FileOutputStream.java:100) 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:2 47) at org.apache.log4j.config.PropertySetter.setProperties (PropertySetter.j ava:123) at org.apache.log4j.config.PropertySetter.setProperties (PropertySetter.j ava:87) at org.apache.log4j.PropertyConfigurator.parseAppender (PropertyConfigura tor.java:645) at org.apache.log4j.PropertyConfigurator.parseCategory (PropertyConfigura tor.java:603) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderer s(PropertyC onfigurator.java:524) at org.apache.log4j.PropertyConfigurator.doConfigure (PropertyConfigurato r.java:408) at org.apache.log4j.PropertyConfigurator.doConfigure (PropertyConfigurato r.java:432) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure (OptionCon verter.java:456) at org.apache.log4j.LogManager.<clinit> (LogManager.java:145) at org.apache.log4j.Category.getInstance (Category.java:518) at org.apache.commons.logging.impl.Log4jFactory.getInstance (Log4jFactory .java:153) at org.apache.commons.logging.impl.LogFactoryImpl.getInstanc e(LogFactory Impl.java:285) at org.apache.commons.logging.LogFactory.getLog (LogFactory.java:409) at org.apache.axis.components.logger.LogFactory.getLog (LogFactory.java:7 6) at org.apache.axis.configuration.FileProvider.<clinit> (FileProvider.java :93) at com.ibm.wsbus.channels.axis.AxisInitServlet.initAxisEngine (AxisInitSe rvlet.java:67) at com.ibm.wsbus.channels.axis.AxisInitServlet.init (AxisInitServlet.java :20) at javax.servlet.GenericServlet.init (GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper. java:934) at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:82 1) at org.apache.catalina.core.StandardContext.loadOnStartup (StandardContex t.java:3420) at org.apache.catalina.core.StandardContext.start (StandardContext.java:3 608) at org.apache.catalina.core.ContainerBase.addChildInternal (ContainerBase .java:821) at org.apache.catalina.core.ContainerBase.access$000 (ContainerBase.java: 162) at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.r un(Contain erBase.java:182) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java:80 5) at org.apache.catalina.core.StandardHost.addChild (StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install (StandardHostDep loyer.java:257) at org.apache.catalina.core.StandardHost.install (StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployWARs (HostConfig.java:502 ) at org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java:410 ) at org.apache.catalina.startup.HostConfig.start (HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java :368) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (Lifecycl eSupport.java:166) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start (StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start (StandardEngine.java:347 ) at org.apache.catalina.core.StandardService.start (StandardService.java:4 97) at org.apache.catalina.core.StandardServer.start (StandardServer.java:218 9) at org.apache.catalina.startup.Catalina.start (Catalina.java:512) at org.apache.catalina.startup.Catalina.execute (Catalina.java:400) at org.apache.catalina.startup.Catalina.process (Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:203) [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 9080 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 [INFO] JkMain - -Jk running ID=0 time=0/281 config=C:\apache_1.3.27\Apache\Tomc at 4.1\conf\jk2.properties ---------------------------------------------------------------------- Comment By: David Blevins (dblevins) Date: 2003-02-16 12:11 Message: Logged In: YES user_id=374830 Hello Oswald, I think you are right that there may be an issue with relative paths. Overlooking the logging for the moment, does the rest of the integration work, i.e. are you able to access EJBs? Out of curiosity, try adding a "logs" directory to the "webapps/openejb-0.9.1/" directory. So that would make a new directory "webapps/openejb-0.9.1/logs". Try that, then restart. If an openejb.log file shows up in the directory, then we'll definitely need to add some code support for creating the directory automatically. Let us know and we'll change the status of this from a support request to a bug report. Thanks, David ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=439274&aid=687404&grou p_id=44351 ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ http://OpenEJB.sf.net OpenEJB-development mailing list OpenEJB-development@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openejb-development
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [INFO] Sun's XACML Implementation, Daniel S. Haischt |
|---|---|
| Next by Date: | [ openejb-Bugs-690370 ] openEJB+Tomcat+Cocoon: blank page appears, SourceForge.net |
| Previous by Thread: | [INFO] Sun's XACML Implementation, Daniel S. Haischt |
| Next by Thread: | Re: Up for grabs -- [ openejb-Bugs-687404 ] java.io.FileNotFoundException: logs/openejb.log, Jacek Laskowski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |