Parse Error:
WebLogic The following error occurred while opening debug mode startup:
Error:cannot load THISJVM TI agent twice, check your Java command line for duplicate options.
Error occurred during initialization of VM
Agent Library failed to init:jdwp
Cannot load this JVM TI agent twice, cannot load this JVM ti proxy twice.
Presumably, what configuration in the startup file might be duplicated.
The final lookup found that in WebLogic's Startweblogic.cmd file, the following code was found
This file will start debug mode by default, but we found a debug profile in the Setdomainenv.cmd file
That is, when you started, you ran two copies of the debug configuration file, so there was an error.
To this, the solution of the problem is basically come out.
As long as two places, the arbitrary reservation can be.
Mode one: In Startweblogic.cmd, add java_debug to force DEBUG mode to run. Set Debugflag=false in Setdomainenv.cmd, ignoring configuration information for debug mode inside
Mode two: Do not join Java_debug configuration in Startweblogic.cmd. Set the set debugflag=true in Setdomainenv.cmd.
Method Two is recommended here because the Setdomainenv.cmd file is originally a Dimain-specific configuration file for WebLogic.
So don't arbitrarily modify configuration information in Startweblogic.cmd.
When WebLogic is started, various configuration information in domain is read from the Setdomainenv.cmd file.
General configuration information changes are recommended in this area, do not write in the Startweblogic.cmd death.
attachment:Some configuration options for Setdomainenv.cmd