The error is "Could not create the java virtual machine" when I use Appmanager 10 monitor Oracle application Server

The error is "Could not create the java virtual machine" when I use Appmanager 10 monitor Oracle application Server

I create a new monitor to monitor oracle application server through port 7200, it success.

Then I download APM Insight.

My OAS Home Directory is D:\oracle\oas101202,I put APM Insight.zip into D:\oracle\oas101202 .

Then I unzip APM Insight.zip file, it create two files

Then I modify the opmn.xml.which is locate D:\oracle\oas101202\opmn\conf

Before I modify,the part content of opmn.xml is:

<category id="start-parameters">

<data id ="java-options"  value="-Xrs -hotspot -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:NewSize=256m,

-XX:MaxNewSize=256m -Djava.Security.policy=$ORACLE_HOME ...........">

After I modify,the part content of opmn.xml is:

<category id="start-parameters">

<data id ="java-options"  value="-Xrs -hotspot -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:NewSize=256m,

-XX:MaxNewSize=256m -javaagent:D:\oracle\oas101202\apminsight\apminsight-javaagent.jar Djava.Security.policy=$ORACLE_HOME ...........">

Then When I  startup oas use command:

opmnctl startall

The error is:

Unrecognized option: -javaagent:D:\oracle\oas101202\apminsight\apminsight-javaagent.jar

could not create the Java virtual machine

Please help me to solve this problem , thank you!

              New to ADManager Plus?

                New to ADSelfService Plus?