the line that adds javaagent to catalina.bat has an error so JavaAgent does not 
get installed when you run installer in tomcat
------------------------------------------------------------------------------------------------------------------------------

                 Key: OPENEJB-1026
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1026
             Project: OpenEJB
          Issue Type: Bug
         Environment: Windows XP Tomcat 6
            Reporter: Mho Salim
            Priority: Minor


when catalina.bat gets changed the three lines that create JavaAgent have 
aproblem.  The value of CATALINA_BASE is copied next to %CATALINA.BASE and 
there is "" around the text that is assigned to JAVA-OPTS.  I got it to work by 
aditing catalina.bat and replacing these lines with

rem Add OpenEJB javaagent
if not exist "%CATALINA_BASE%\lib\openejb-javaagent.jar" goto noOpenEJBJavaagent
set JAVA_OPTS= -javaagent:%CATALINA_BASE%\lib\openejb-javaagent.jar %JAVA_OPTS% 
:noOpenEJBJavaagent


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to