weblogic发布项目

在尝试将原本在Tomcat上运行的项目迁移到WebLogic服务器时,遇到了启动错误。错误日志显示了关于JAVA内存参数、环境变量和WebLogic启动过程的详细信息。启动过程中,服务器进入STARTING、STANDBY、ADMIN和RUNNING状态,并成功建立了与Domain级别诊断服务的连接。然而,在应用部署阶段,AppMerge合并失败,抛出了'weblogic.application.ModuleException',伴随着'java.lang.IllegalArgumentException',可能与ASM库处理类信息时的问题有关。这表明项目在WebLogic上的部署存在问题,需要进一步检查和配置以适配WebLogic环境。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

出现以下错误:

.
.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=256m
.
CLASSPATH=C:\ENVIRO~1\jdk\lib\tools.jar;C:\ENVIRO~1\weblogic\wlserver\server\lib\weblogic_sp.jar;C:\ENVIRO~1\weblogic\wlserver\server\lib\weblogic.jar;C:\ENVIRO~1\weblogic\oracle_common\modules\net.sf.antcontrib_1.1.0.0_1-0b3\lib\ant-contrib.jar;C:\ENVIRO~1\weblogic\wlserver\modules\features\oracle.wls.common.nodemanager_2.0.0.0.jar;C:\ENVIRO~1\weblogic\oracle_common\modules\com.oracle.cie.config-wls-online_8.1.0.0.jar;C:\ENVIRO~1\weblogic\wlserver\common\derby\lib\derbyclient.jar;C:\ENVIRO~1\weblogic\wlserver\common\derby\lib\derby.jar;C:\ENVIRO~1\weblogic\wlserver\server\lib\xqrl.jar;C:\ENVIRO~1\jdk\lib
.
PATH=;C:\ENVIRO~1\weblogic\wlserver\server\native\win\x64;C:\ENVIRO~1\weblogic\wlserver\server\bin;C:\ENVIRO~1\weblogic\oracle_common\modules\org.apache.ant_1.9.2\bin;C:\ENVIRO~1\jdk\jre\bin;C:\ENVIRO~1\jdk\bin;C:\ENVIRO~1\jdk1.8\java\bin\server;C:\ENVIRO~1\jdk1.8\java\bin;C:\ENVIRO~1\jdk1.8\java\lib\amd64;C:\PROGRA~3\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WINDOW~1\v1.0\;C:\ENVIRO~1\jdk\bin;C:\ENVIRO~1\APACHE~1.9\bin;D:\develop\GITEXT~1\;D:\develop\ECLIPS~1\eclipse;C:\ENVIRO~1\weblogic\wlserver\server\native\win\x64\oci920_8
.
***************************************************
*  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:
Listening for transport dt_socket at address: 8453
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Starting WLS with line:
C:\ENVIRO~1\jdk\bin\java -server -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE  -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\ENVIRO~1\weblogic\wlserver\server\lib\weblogic.policy  -Xverify:none -Djava.endorsed.dirs=C:\ENVIRO~1\jdk\jre\lib\endorsed;C:\ENVIRO~1\weblogic\oracle_common\modules\endorsed  -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dwls.home=C:\ENVIRO~1\weblogic\wlserver\server -Dweblogic.home=C:\ENVIRO~1\weblogic\wlserver\server      weblogic.Server
Listening for transport dt_socket at address: 8453
<2018-7-10 下午05时00分35秒 CST> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
<2018-7-10 下午05时00分35秒 CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<2018-7-10 下午05时00分36秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.80-b11 from Oracle Corporation.>
<2018-7-10 下午05时00分36秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.3.0.0  Wed May 21 18:53:34 PDT 2014 1604337 >
<2018-7-10 下午05时00分39秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<2018-7-10 下午05时00分39秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<2018-7-10 下午05时00分39秒 CST> <Info> <WorkManager> <BEA-002942> <CMM memory level becomes 0. Setting standby thread pool size to 256.>
<2018-7-10 下午05时00分40秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file C:\environment\weblogic\WBLdomain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<2018-7-10 下午05时00分42秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
2018-07-10 17:00:43.677/8.428 Oracle Coherence 12.1.3.0.0 <Info> (thread=[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from "jar:file:/C:/environment/weblogic/coherence/lib/coherence.jar!/tangosol-coherence.xml"
2018-07-10 17:00:43.850/8.601 Oracle Coherence 12.1.3.0.0 <Info> (thread=[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "jar:file:/C:/environment/weblogic/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
2018-07-10 17:00:43.853/8.604 Oracle Coherence 12.1.3.0.0 <D5> (thread=[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
2018-07-10 17:00:43.860/8.611 Oracle Coherence 12.1.3.0.0 <D5> (thread=[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "cache-factory-config.xml" is not specified
2018-07-10 17:00:43.862/8.613 Oracle Coherence 12.1.3.0.0 <D5> (thread=[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "cache-factory-builder-config.xml" is not specified
2018-07-10 17:00:43.864/8.615 Oracle Coherence 12.1.3.0.0 <D5> (thread=[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified

Oracle Coherence Version 12.1.3.0.0 Build 52031
 Grid Edition: Development mode
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

<2018-7-10 下午05时00分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
<2018-7-10 下午05时00分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
七月 10, 2018 5:00:49 下午 weblogic.wsee.WseeCoreMessages logWseeServiceStarting
信息: 正在启动 Wsee 服务
<2018-7-10 下午05时00分50秒 CST> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>
<2018-7-10 下午05时00分51秒 CST> <Warning> <Server> <BEA-002611> <The hostname "USER-20180108HB", maps to multiple IP addresses: 10.1.40.51, fe80:0:0:0:68f9:e44a:9c90:24c4%12.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:0:5efe:a01:2833:7001 for protocols iiop, t3, ldap, snmp, http.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:2cac:356f:eeae:a502:7001 for protocols iiop, t3, ldap, snmp, http.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:75a5:76fe:dfb8:4905:7001 for protocols iiop, t3, ldap, snmp, http.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on fe80:0:0:0:94f9:4b03:6ad7:77f4:7001 for protocols iiop, t3, ldap, snmp, http.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:68f9:e44a:9c90:24c4:7001 for protocols iiop, t3, ldap, snmp, http.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.1.40.51:7001 for protocols iiop, t3, ldap, snmp, http.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[7]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started the WebLogic Server Administration Server "AdminServer" for domain "WBLdomain" running in development mode.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
<2018-7-10 下午05时00分51秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
<2018-7-10 下午05时03分39秒 CST> <Error> <J2EE> <BEA-160228> <AppMerge failed to merge your application. If you are running AppMerge on the command-line, merge again with the -verbose option for more details. See the error message(s) below.>
<2018-7-10 下午05时04分25秒 CST> <Warning> <HTTP> <BEA-101369> <WebAppModule(_auto_generated_ear_:zzSys): The encoding jsp-descriptor parameter has been deprecated. Consider declaring the encoding in the jsp-config element (web.xml) or as a page directive (pageEncoding) instead.>
<2018-7-10 下午05时04分27秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "12268741493034" for task "0". Error is: "weblogic.application.ModuleException: null
null"
weblogic.application.ModuleException: null
null
    at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1824)
    at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:270)
    at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:682)
    at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
    at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
    Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException
    at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
    at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
    at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:41)
    at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:240)
    at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:193)
    Truncated. see log file for complete stacktrace
>
<2018-7-10 下午05时04分27秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application "_auto_generated_ear_".>
<2018-7-10 下午05时04分27秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: null
null
    at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1824)
    at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:270)
    at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:682)
    at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
    at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
    Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException
    at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
    at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
    at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:41)
    at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:240)
    at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:193)
    Truncated. see log file for complete stacktrace
>

这是什么原因啊,项目是以前的tomcat上运行的,按照在tomcat上发布的步骤走了一遍就这样了

评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值