On Mon, Jul 12, 2004 at 01:45:01PM +0100, Paulo Lopes wrote:
> I'm testing OpenEJB(CVS) + Tomcat 5 and i'm getting one error on 
> startup. I've installed tomcat, compiled OpenEJB and copied the war file 
> into tomcat and when i start it up i get the following error:
> 
> 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.

We'll have to look into it, but for now you should be able to start tomcat in the 
tomcat.home directory and things should workout.

  C:\xsite2\jakarta-tomcat-5.0.25

> should openejb.base be defined? where do i define it? inside the 
> web.xml, just like openejb.home?

You only need to define openejb.base if you want it to be different from openejb.home. 
 Say for example you want several openejb setups but don't want to copy the lib and 
dist directories all over the place.  We look in openejb.home for lib/ and dist/ and 
look in openejb.base for beans/ and logs/ and conf/.  If openejb.base isn't defined it 
is set to openejb.home.

-David

Reply via email to