[ 
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

        

Reply via email to