3.设置%JAVA_HOME%\bin\java行:
原值为:
%JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS%
-Xbootclasspath/p:%WILY_HOME%/connectors/AutoProbeConnector.jar;%WILY_HOME%/Agent.jar
-Dcom.wily.introscope.agentProfile=%WILY_HOME%/IntroscopeAgent.profile
-Dweblogic.Name=%SERVER_NAME%
-Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%
-Djava.security.policy=”%WL_HOME%\server\lib\weblogic.policy”
weblogic.Server
修改后:
“%JAVA_HOME%\bin\java” %JPROFILER_OPTIONS% %JAVA_VM% %MEM_ARGS%
%JAVA_OPTIONS%
-Xbootclasspath/p:%WILY_HOME%/connectors/AutoProbeConnector.jar;%WILY_HOME%/Agent.jar
-Dcom.wily.introscope.agentProfile=%WILY_HOME%/IntroscopeAgent.profile
-Dweblogic.Name=%SERVER_NAME%
-Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%
-Djava.security.policy=”%WL_HOME%\server\lib\weblogic.policy”
weblogic.Server
其他不变。