weblogic 10.3.3 java.lang.IllegalArgumentException異常終止服務故障
weblogic 10.3.3異常終止服務了檢查日誌檔案發現如下錯誤資訊:
<2014-7-12 下午02時20分45秒 CST>
<2014-7-12 下午02時20分45秒 CST>
<2014-7-12 下午02時20分45秒 CST>
<2014-7-12 下午02時20分46秒 CST>
<2014-7-12 下午02時20分46秒 CST>
<2014-7-12 下午02時20分46秒 CST>
<2014-7-12 下午02時20分46秒 CST>
<2014-7-12 下午02時20分46秒 CST>
<2014-7-12 下午02時20分46秒 CST>
<2014-7-12 下午02時20分46秒 CST>
<2014-7-12 下午02時20分46秒 CST>
at weblogic.application.internal.flow.ApplicationRuntimeMBeanFlow.unprepare(ApplicationRuntimeMBeanFlow.java:64)
at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:1233)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:167)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:159)
at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:495)
at weblogic.application.internal.SingleModuleDeployment.unprepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:205)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:117)
at weblogic.deploy.internal.targetserver.BasicDeployment.unprepare(BasicDeployment.java:287)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doUnprepare(DeploymentAdapter.java:81)
at weblogic.management.deploy.internal.DeploymentAdapter.unprepare(DeploymentAdapter.java:224)
at weblogic.management.deploy.internal.AppTransition$7.transitionApp(AppTransition.java:75)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.unprepare(ConfiguredDeployments.java:204)
at weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:192)
at weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:195)
at weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:127)
at weblogic.application.ApplicationShutdownService.halt(ApplicationShutdownService.java:142)
at weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:504)
at weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:336)
at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:1039)
at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:945)
at weblogic.t3.srvr.T3Srvr$2.run(T3Srvr.java:958)
Caused By: java.lang.IllegalArgumentException: Failed to properly unregister weblogic.work.RequestClassRuntimeMBeanImpl@50b20090 for ObjectName com.bea:ServerRuntime=AdminServer,Name=default@plat_changde_test@null,WorkManagerRuntime=default,ApplicationRuntime=plat_changde_test,Type=RequestClassRuntime
at weblogic.management.jmx.ObjectNameManagerBase.unregisterObject(ObjectNameManagerBase.java:219)
at weblogic.management.jmx.ObjectNameManagerBase.unregisterObjectInstance(ObjectNameManagerBase.java:192)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregisteredInternal(RuntimeMBeanAgent.java:124)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregistered(RuntimeMBeanAgent.java:108)
at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:187)
at weblogic.management.provider.core.RegistrationManagerBase.unregister(RegistrationManagerBase.java:126)
at weblogic.management.runtime.RuntimeMBeanDelegate.unregister(RuntimeMBeanDelegate.java:287)
at weblogic.management.runtime.RuntimeMBeanDelegate.unregisterChildren(RuntimeMBeanDelegate.java:350)
at weblogic.management.runtime.RuntimeMBeanDelegate.unregister(RuntimeMBeanDelegate.java:274)
at weblogic.management.runtime.RuntimeMBeanDelegate.unregisterChildren(RuntimeMBeanDelegate.java:350)
at weblogic.management.runtime.RuntimeMBeanDelegate.unregister(RuntimeMBeanDelegate.java:274)
at weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl.unregister(J2EEApplicationRuntimeMBeanImpl.java:359)
at weblogic.application.internal.flow.ApplicationRuntimeMBeanFlow.unprepare(ApplicationRuntimeMBeanFlow.java:62)
at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:1233)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:167)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:159)
at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:495)
at weblogic.application.internal.SingleModuleDeployment.unprepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:205)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:117)
at weblogic.deploy.internal.targetserver.BasicDeployment.unprepare(BasicDeployment.java:287)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doUnprepare(DeploymentAdapter.java:81)
at weblogic.management.deploy.internal.DeploymentAdapter.unprepare(DeploymentAdapter.java:224)
at weblogic.management.deploy.internal.AppTransition$7.transitionApp(AppTransition.java:75)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.unprepare(ConfiguredDeployments.java:204)
at weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:192)
at weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:195)
at weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:127)
at weblogic.application.ApplicationShutdownService.halt(ApplicationShutdownService.java:142)
at weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:504)
at weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:336)
at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:1039)
at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:945)
at weblogic.t3.srvr.T3Srvr$2.run(T3Srvr.java:958)
出現原因
Caused By: java.lang.IllegalArgumentException: Failed to properly unregister weblogic.work.RequestClassRuntimeMBeanImpl@50b20090 for ObjectName com.bea:ServerRuntime=AdminServer,Name=default@plat_changde_test@null,WorkManagerRuntime=default,ApplicationRuntime=plat_changde_test,Type=RequestClassRuntime
在MOS上找到一篇關於這個錯誤的文章:
In this Document
Symptoms
Cause
Solution
APPLIES TO:
Oracle Weblogic Server - Version 9.2 to 10.3.3
Information in this document applies to any platform.
***Checked for relevance on 9-Aug-2013***
SYMPTOMS
When you have JDBC connection pool name same as application name in config.xml we are running into the issue.
Steps to reproduce:
1. Create JDBC connection pool named 'SLA'.
2. Deploy an application with same name 'SLA' as JDBC connection pool in admin console.
Deployment is successful but you can find error in server log and stdout.
And if you reboot WebLogic Server and the first time you login to AdminConsole, the Error appears to the Server log and Stdout.
at weblogic.application.internal.flow.ApplicationRuntimeMBeanFlow.unprepare(ApplicationRuntimeMBeanFlow.java:64)
at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:249)
Truncated. see log file for complete stacktrace
CAUSE
During the shutdown following message is being logged.
This Mbean is not properly being unregistered which is causing the issue during the startup.
java.lang.IllegalArgumentException: Failed to properly unregister weblogic.work.WorkManagerRuntimeMBeanImpl@145e095 for ObjectName com.bea:ServerRuntime=svcdocen_16334_a,Name=default,ApplicationRuntime=PSL,Type=WorkManagerRuntime
at weblogic.management.jmx.ObjectNameManagerBase.unregisterObject(ObjectNameManagerBase.java:219)
at weblogic.management.jmx.ObjectNameManagerBase.unregisterObjectInstance(ObjectNameManagerBase.java:192)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregisteredInternal(RuntimeMBeanAgent.java:124)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregistered(RuntimeMBeanAgent.java:108)
at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:187)
Truncated. see log file for complete stacktrace
SOLUTION
Please change the jdbc name or app deployment name so that they do not match.
原因是
When you have JDBC connection pool name same as application name in config.xml we are running into the issue.
檢查config.xml檔案:
[root@sx-weblogic31 config]# cat config.xml
在config.xml檔案中確實存在jb_zs,jb_test,plat_changde_test,plat_changde的應用名與連線池名相同將其修改為不一樣後重新weblogic解決了此問題.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26015009/viewspace-1220711/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ADG 例項異常終止故障分析報告
- 【RAC】處理因ASM例項異常導致RAC第一節點例項異常終止故障ASM
- 記一次故障排查(vnc日誌檔案過大導致crsd程式異常終止)VNC
- linux sshd服務異常Linux
- 終止非同步任務非同步
- weblogic報錯BEA-000388解決服務程式異常消失問題Web
- 華為雲服務治理 | 微服務常見故障模式微服務模式
- online rebulid index異常終止遇到ora-08104Index
- WLS 10.3.0 更新發布應用異常終止處理一例
- 應用補丁升級引起的Goldengate的replicate程式異常終止Go
- 服務之間通訊400異常
- 終止oracle日誌分析事務Oracle
- 11.2.0.3 MRP程式異常終止 ORA-00600 krr_assemble_cv_3
- java.lang.IllegalArgumentException: Could not find class異常解決方式JavaException
- 線上redis服務記憶體異常分析。Redis記憶體
- SQLServer異常故障恢復(二)SQLServer
- docker執行javaWeb服務,操作檔案異常DockerJavaWeb
- python3.4學習筆記(二) 型別判斷,異常處理,終止程式Python筆記型別
- A站大流量導致服務崩潰異常分析
- 微服務架構,客戶端如何catch服務端的異常?微服務架構客戶端服務端
- 終止expdp正在執行中的匯出任務
- 解決WebLogic中Too many open files異常Web
- 【原創】goldengate 目的端rep複製程式 遇到ora-00001 異常終止abend的血案Go
- sqlserver 異常 事務SQLServer
- JVM實戰調優(空格引發的服務異常)JVM
- 無法啟動mysql服務”1067 程式意外終止”解決辦法【簡記】MySql
- 資料庫連線異常故障報告資料庫
- 故障分析 | 從 data_free 異常說起
- 異源資料同步 → DataX 同步啟動後如何手動終止?
- WCF除錯異常資訊:ServiceHost 僅支援類服務型別除錯型別
- WCF服務端丟擲的異常會跑到客戶端服務端客戶端
- java微服務的異常Java微服務
- 微服務異常問題微服務
- zabbix active 動作配置(當weblogic服務存在問題,執行指令碼重啟weblogic服務)Web指令碼
- RAPID:近200萬英國家庭考慮終止寬頻和電視捆綁服務API
- 終止指定埠的程式
- 兩階段終止模式模式
- linux定位系統異常負載故障思路Linux負載