Jacek Laskowski wrote:

David Blevins wrote:

OpenEJB init-params:
param-name: openejb.home, param-value: C:\xsite2\openejb-1.0-SNAPSHOT
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: C:\xsite2\jakarta-tomcat-5.0.25\bin\logs\server.log: The system cannot find the path specified
at jrockit.io.FileNativeIO.open0(Ljava.lang.String;I)I(Unknown Source)



Ick, old problem back again. Looks like you are starting tomcat from "C:\xsite2\jakarta-tomcat-5.0.25\bin" so all relative paths are getting resolved from there. This was fixed sometime in the 0.9.x branch, but must have been rebroken with all Jacek's property changes for the one openejb per tomcat webapp support.


Whoops, did I do it again (as the songs goes :))? I'm looking into it.

Done.

The only question remained is where to write messages from different webapps. Now, the last wins as all of the messages go to the same log file (unless log4j.configuration is set up). I don't like it and would rather prefer using Tomcat logging facility when embedded. Definitely worth to do before releasing OpenEJB 1.0.

Also, what about using jakarta-logging instead of relying only on log4j?

And the last but not least, we could also leverage Tomcat JMX support, so when OpenEJB is embedded in Catalina (Tomcat ver > 4) it'd ask for a logger via JMX. Does anyone know how to do it?

Best,
Jacek

Reply via email to