WebLogic Turn on Debug mode when startup occurs Error:cannot load this JVM TI agent Twice__web

Source: Internet
Author: User
Tags parse error in domain

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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.