weblogic启动报错之Unrecognized option: -jrockit

报错如下:

$ ./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: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will 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.Server
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

解决办法:

进入~/Oracle/wlserver_10.3/common/bin目录,编辑commEnv.sh文件,将

Oracle)
    JAVA_VM=-jrockit
    MEM_ARGS="-Xms128m -Xmx256m"
  ;;

修改成

Oracle)
    JAVA_VM=-server
    MEM_ARGS="-Xms128m -Xmx256m"
  ;;

然后重新启动。

时间: 2024-11-07 15:53:26

weblogic启动报错之Unrecognized option: -jrockit的相关文章

解决JVM启动报错:Unrecognized VM option '+HeapDumpOnOutOfMemeryError'

今天再搞一些OutOfMemery的相关知识探索,我想在JVM遇到OOM错误的时候,能够打印出heap dump,以便事后用Eclipse Memory Analyzer Tool(MAT)等内存分析工具分析内存的占用情况.我使用了JDK1.6.0_37和JDK1.7.0_60版本进行试验,到网上找了下,知道-XX:+HeapDumpOnOutOfMemoryError可以让JVM在探测到内存OOM的时候打印dump.但是在JVM启动参数添加这个参数的时候,JVM启动失败: Unrecogniz

Weblogic 启动报错:java.lang.NoClassDefFoundError

Weblogic 启动报错:java.lang.NoClassDefFoundError  ####<2015-6-17 下午03时30分47秒 CST> <Error> <HTTP> <HDQSDOCMTAPP4> <zonyappserver> <[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS

weblogic启动报错

重启了一次linux服务器后,weblogic启动莫名报错,查看日志发现说部署的项目有个bean类无法加载, 1.然后手动删除 已经部署的项目,先在 domais/servers/AdminServer/upload 删除上传的项目:启动报错 <Jul 13, 2016 10:01:47 AM CST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDe

weblogic启动报错之建域时未指定AdminServer的监听IP的引起的子节点启动故障

各子节点不能启动,查看日志,报错如下: Unable to establish JMX Connectivity with the Adminstration Server AdminServer at service:jmx:t3://192.168.122.1:7001/jndi/weblogic.management.mbeanservers.domainruntime ..... Caused By: javax.naming.CommunicationException [Root e

weblogic启动报错之WLS_DIAGNOSTICS000000.DAT

查看控制台日志报错信息如下: <2014-10-30 下午04时46分42秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file /app/weblogic103/bea/domains/fxgservice/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will

weblogic启动报错之未修改hosts产生错误

报错如下: Enter username to boot WebLogic server:weblogic Enter password to boot WebLogic server: <Jul 1, 2015 9:41:36 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> <Jul 1, 2015 9:41:36 AM C

weblogic10.3 启动报错 Unrecognized option: -jrockit Error: Could not create the Java Virtual Machine

今天在使用weblogic10.3+jdk7创建domain的时候,建好domain后启动报如下错误信息: Unrecognized option: -jrockitError: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit. 启动截图如下: 初步分析错误原因后,感觉是不识别-jrockit这个参数项.这个参数不是手工增加的,所以把分析重点聚集在

在WSL中安装swool报错 error: unrecognized command line option &#39;-V&#39; 的解决方法

Windows Subsystem for Linux Ubuntu中使用pecl安装swool时遇到错误"error: C compiler cannot create executables"."error: unrecognized command line option '-V'" 解决方法 先看解决方法, 将gcc版本降低到4.8即可,因为高版本gcc取消了-V参数: sudo apt install gcc-4.8 -y sudo update-alte

Unrecognized option: -jrockit Error: Could not create the Java Virtual Machine.

Unrecognized option: -jrockit Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit 是weblogic 10.3.5 启动的时候抛出的一个错误 weblogic安装时选择的是开发模式,选用的jdk是jdk1.7,domain域创建的时候选择的jdk也是jdk1.7 在 %DOMAIN_HOME%\bin\st