WebLogic Start error Unrecognized option:-jrockit

Source: Internet
Author: User

The error is as follows:

$./startweblogic.SH .. JAVA Memory arguments:-XMS512M-xmx512m.wls Start Mode=Production.classpath=/app/weblogic/oracle/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/app/weblogic/ Oracle/patch_ocp353/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/app/weblogic/jdk1.7.0_79/lib/tools.jar:/app/weblogic/oracle/wlserver_10.3/server/lib/weblogic_sp.jar:/app/weblogic/oracle/wlserver_10.3/server/lib/weblogic.jar:/app/weblogic/oracle/modules/features/weblogic.server.modules_10.3.3.0. jar:/app/weblogic/oracle/wlserver_10.3/server/lib/webservices.jar:/app/weblogic/oracle/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/app/weblogic/oracle/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/app/weblogic/oracle/wlserver_10.3/common/derby/lib/derbyclient.jar:/app/weblogic/oracle/wlserver_10.3/server/lib/xqrl.jar:.:/ Root/jdk1.7/lib/dt.jar:/root/jdk1.7/lib/tools.jar:/root/jdk1.7/lib:/root/jdk1.7/jre/Lib. PATH=/app/weblogic/oracle/wlserver_10.3/server/bin:/app/weblogic/oracle/modules/org.apache.ant_1.7.1/bin:/app/weblogic/jdk1.7.0_79/jre/bin:/app/weblogic/jdk1.7.0_79/bin:/app/weblogic/jdk1.7.0_79/bin:/root/jdk1.7/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/app/weblogic/bin:/app/weblogic/bin.To start WebLogic Server, use a username and * * Password assigned  To an admin-level user. for * * Server administration, use the WebLogic server * * Console at http://Hostname:port/console ****************************************************starting WebLogic with Java version:unrecognized option:-jrockiterror:could not create the Java Virtual machine.error:a fatal exception have occurred. Program would exit. Starting WLS with line:/app/weblogic/jdk1.7.0_79/bin/java-jrockit-xms512m-xmx512m-dweblogic.name=adminserver-djava.security.policy=/app/weblogic/oracle/ Wlserver_10.3/server/lib/weblogic.policy-dweblogic.productionmodeenabled=true-da-dplatform.home=/app/weblogic/oracle/wlserver_10.3-dwls.home=/app/weblogic/oracle/wlserver_10.3/server-dweblogic.home=/app/weblogic/oracle/wlserver_10.3/server-dweblogic.management.discover=true-dwlw.iterativedev=false-dwlw.testconsole=false-dwlw.logerrorstoconsole=false-dweblogic.ext.dirs=/app/weblogic/oracle/patch_wls1033/profiles/default/sysext_manifest_classpath:/app/ weblogic/oracle/patch_ocp353/profiles/default/Sysext_manifest_classpath WebLogic. serverunrecognized option:-jrockiterror:could not create the Java Virtual machine.error:a fatal exception have occurred. Program would exit.

Workaround:

Enter the ~/oracle/wlserver_10.3/common/bin directory, edit the commenv.sh file, and

Oracle)    JAVA_VM=-jrockit    Mem_args="-xms128m-xmx256m"  ;;

Modified into

Oracle)    JAVA_VM=-server    Mem_args="-xms128m-xmx256m"  ;;

and then restart.

WebLogic Start error Unrecognized option:-jrockit

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.