服务器启动后(自动)添加VM参数

时间:2013-02-18 13:04:18

标签: java tomcat7 ibm-rad

我的tomcat服务器遇到了严重的问题,我无法自行解决,所以我希望你能帮我解决。

设置

IBM Rational Application Developer 8.5.1

Tomcat 7.0.32

问题

当我在tomcat上部署WAR时,会自动添加一堆vm参数,这会导致我自己的vm参数“踢出”,因为有很多自动添加的参数。

参数是:

"-agentpath:D:\Entwicklung\IBM\IBMShared\plugins\org.eclipse.tptp.platform.jvmti.
runtime_4.7.101.v201210191900\agent_files\win_ia32\JPIBootLoader=JPIAgent:
server=standalone,file=;ProbekitAgent:ext-pk-BCILibraryName=BCIEngProbe,ext-pk-
probescript=D:\Entwicklung\workspaces\RAD\.metadata\.plugins\com.ibm.rational.
llc.ide.core\.coverage\1361184798442-vke-core-persistency-jar-org.eclipse.jst.
server.tomcat.core.launchConfigurationType.probescript" "-Dcoverage.out.file=
D:\Entwicklung\workspaces\RAD\.metadata\.plugins\com.ibm.rational.llc.ide.core
\.coverage\1361184798442-vke-core-persistency-jar-org.eclipse.jst.server.tomcat.
core.launchConfigurationType.coveragedata"  "-Xbootclasspath/a:D:\Entwicklung\
IBM\IBMShared\plugins\com.ibm.rational.llc.engine_1.1.1.v20121205_2240;
D:\Entwicklung\IBM\IBMShared\plugins\org.eclipse.hyades.execution_4.5.
103.v201210051900\hexl.jar;D:\Entwicklung\IBM\IBMShared\plugins\
org.eclipse.hyades.execution_4.5.103.v201210051900\hexr.jar" -Dcatalina.base
="D:\Entwicklung\workspaces\RAD\.metadata\.plugins\org.eclipse.wst.
server.core\tmp0" -Dcatalina.home="D:\Entwicklung\apache-tomcat-7.0.32\
apache-tomcat-7.0.32" -Dwtp.deploy="D:\Entwicklung\workspaces\
RAD\.metadata\.plugins\org.eclipse.wst. server.core\tmp0\wtpwebapps" 
-Djava.endorsed.dirs="D:\Entwicklung\apache-tomcat-7.0.32\apache-tomcat-
7.0.32\endorsed" -Dcoverage.server.mode=true "-Dac.library.path=D:
\Entwicklung\IBM\IBMShared\plugins\org.eclipse.tptp.platform.
ac.win_ia32_4.5.1.v201210051900\agent_controller\bin"

我试图解决问题的事情

  • tomcat new installed
  • RAD新安装(从头开始)
  • tomcat已清理并重新部署

我希望有人知道这里发生了什么,我只是好奇为什么以及为什么要更改vm参数...... 如果您需要更多信息,请告诉我

1 个答案:

答案 0 :(得分:0)

我在RAD 8.5和WAS 6.1上遇到了类似的问题,在我的情况下我必须编辑server.xml

它位于: [WEBSPHERE_HOME] \ AppServer \ profiles \ config \ cells [NodeCellName] Node01Cell \ nodes [NodeName] Node01 \ servers \ server1 \ server.xml

寻找标签:< jvmEntries /> 这个标签有很少的属性,比如@debugArgs,@ gegeJvmArguments确保你有你需要的参数。

希望对你有所帮助。

相关问题