You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Lou Aloia (JIRA)" <ji...@apache.org> on 2014/04/22 17:32:15 UTC
[jira] [Commented] (TOMEE-1082) openejb-javaagent missing from
service.bat
[ https://issues.apache.org/jira/browse/TOMEE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13976913#comment-13976913 ]
Lou Aloia commented on TOMEE-1082:
----------------------------------
I tried using the javaagent in Windows 2012 R2 and TomEE hangs while trying to process the the war file. I have to kill the process to shut down the Windows Service. I don't see this issue in Windows 7 or Windows 2008 R2.
On Windows 2012 R2 running using the .bat file with the javaagent works just fine.
I am using TomEE 1.6.0.
> 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
> Assignee: Romain Manni-Bucau
> Fix For: 1.6.1
>
>
> 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.2#6252)