Hi everyone,

I have been trying to kick off the container on Windows XP (SP2) using the
default openejb.bat and discovered that it doesn't work. To get things
working the batch file needs to be modified as follows:

@echo off

SETLOCAL

SET COMMAND=%~f0
SET OPENEJB_HOME=%COMMAND:~0,-16%

java %JAVA_OPTS% -jar "%OPENEJB_HOME%\lib\openejb-core-1.0.jar" %*

Note that this configuration allows you to run the file from directories
which have spaces in their names.

PS:
Apologies if I post this message in the wrong place.
-- 
View this message in context: 
http://www.nabble.com/Running-openejb.bat-tf4330787.html#a12333956
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to