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

Kimmel Tamás updated TOMEE-1082:
--------------------------------

    Description: 
http://openejb.979440.n4.nabble.com/openejb-javaagent-missing-from-service-bat-td4666290.html

My fix is simple.
In service.bat change line 196:
++JvmOptions 
"-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed"
 ^

to:
++JvmOptions 
"-javaagent:%CATALINA_HOME%\lib\openejb-javaagent.jar;-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed"
 ^

  was:
http://openejb.979440.n4.nabble.com/openejb-javaagent-missing-from-service-bat-td4666290.html

My fix is simple.
In update.bat change line 196:
++JvmOptions 
"-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed"
 ^

to:
++JvmOptions 
"-javaagent:%CATALINA_HOME%\lib\openejb-javaagent.jar;-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed"
 ^


> openejb-javaagent missing from service.bat
> ------------------------------------------
>
>                 Key: TOMEE-1082
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1082
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.5.2, 1.6.0, (trunk/tomee)
>         Environment: windows
>            Reporter: Kimmel Tamás
>
> http://openejb.979440.n4.nabble.com/openejb-javaagent-missing-from-service-bat-td4666290.html
> My fix is simple.
> In service.bat change line 196:
> ++JvmOptions 
> "-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed"
>  ^
> to:
> ++JvmOptions 
> "-javaagent:%CATALINA_HOME%\lib\openejb-javaagent.jar;-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed"
>  ^



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to