You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Mho Salim (JIRA)" <ji...@apache.org> on 2009/05/17 22:29:45 UTC
[jira] Created: (OPENEJB-1026) the line that adds javaagent to
catalina.bat has an error so JavaAgent does not get installed when you run
installer in tomcat
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.