tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Louis MONTEIRO (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (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
Date Wed, 29 Jun 2011 13:25:28 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Louis MONTEIRO closed OPENEJB-1026.
----------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Jean-Louis MONTEIRO

I haven't been able to reproduce the problem.
Removing " makes it fail when there is a space in the path.

> 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
>            Assignee: Jean-Louis MONTEIRO
>            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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message