码迷,mamicode.com
首页 > 编程语言 > 详细

weblogic 10.3不能启动报数组越界

时间:2015-04-17 18:21:47      阅读:249      评论:0      收藏:0      [点我收藏+]

标签:

   今天一个weblogic服务启动到一半报错,这个错误一看就是weblogic内部的错误:

  <BEA-000386> <Server subsystem failed. Reason: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at weblogic.rmi.cluster.BasicReplicaList.getPrimary(BasicReplicaList.java:91)
at weblogic.rmi.cluster.ClusterableRemoteRef.getPrimaryRef(ClusterableRemoteRef.java:153)
at weblogic.rmi.cluster.ClusterableRemoteRef.add(ClusterableRemoteRef.java:472)
Truncated. see log file for complete stacktrace

<2015-4-17 上午11时04分19秒 CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 

技术分享转到底部 技术分享

技术分享

In this Document

Symptoms
  Cause
  Solution
  References


APPLIES TO:

Oracle WebLogic Server - Version 10.3.6 to 12.1.2.0.0
Information in this document applies to any platform.

SYMPTOMS

Intermittently, the servers in the cluster fail with java.lang.IndexOutOfBoundsException:

Index: 0, Size: 0 ####<30-Oct-2013 13:16:50 o‘clock GMT> <Critical> <WebLogicServer>
 <vrtstwls101.iggroup.local> <p01> <main> <<WLS Kernel>> <> <> <1383139010950>
 <BEA-000386> <Server subsystem failed. Reason:
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

 at java.util.ArrayList.RangeCheck(ArrayList.java:547)
 at java.util.ArrayList.get(ArrayList.java:322)
 at weblogic.rmi.cluster.BasicReplicaList.getPrimary(BasicReplicaList.java:90)
 at weblogic.rmi.cluster.ClusterableRemoteRef.getPrimaryRef(ClusterableRemoteRef.j ava:155)
 at weblogic.rmi.cluster.ClusterableRemoteRef.add(ClusterableRemoteRef.java:474)
 at weblogic.rmi.cluster.ClusterableRemoteObject.onBind(ClusterableRemoteObject.java:193)
 at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:373)
 at weblogic.jndi.internal.ServerNamingNode.bindHere(ServerNamingNode.java:140)
 at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:319)
 at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:277)
 at weblogic.cluster.BasicServiceOffer.install(BasicServiceOffer.java:101)
 at weblogic.cluster.NodeInfo.install(NodeInfo.java:63)
 at weblogic.cluster.TreeManager.install(TreeManager.java:59)
 at weblogic.cluster.MemberServices.processOffer(MemberServices.java:64)
 at weblogic.cluster.RemoteMemberInfo.processStateDump(RemoteMemberInfo.java:339)
 at weblogic.cluster.AnnouncementManager$2.run(AnnouncementManager.java:242)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject. java:321)
 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
 at weblogic.cluster.AnnouncementManager.receiveStateDump(AnnouncementManager.java:233)
 at weblogic.cluster.MemberManager.getJNDIStateDump(MemberManager.java:268)
 at weblogic.cluster.MemberManager.waitForSync(MemberManager.java:222)
 at weblogic.cluster.MemberManager.waitToSyncWithCurrentMembers(MemberManager.java :182)
 at weblogic.cluster.InboundService.start(InboundService.java:37)
 at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
 >

CAUSE

This issue is caused by starting a clustered Managed Server when there is an IOException on the clients invoking Idempotent remote/EJB methods.This issue has been addressed by Bug 17721032

SOLUTION

Patches are available for Bug 17721032:

PATCH INFORMATION
WLS Version Patch Number
10.3.5 Patch 17721032
10.3.6.0.7 Overlay Patch 17721032
10.3.6.0.8 Overlay Patch 17721032
10.3.6.0.9 Overlay Patch 17721032

Fixed in: 12.1.4

To apply one of these patches, click on the link for your WLS version and download the appropriate patch from My Oracle Support. You can also search in My Oracle Support for the patch number for your WLS version: for detailed instructions, please see Master Note: How to Locate and Download Patches for WebLogic Server Using My Oracle Support Note 1302053.1. If you are using WLS 12.1.1 or earlier (including Fusion Middleware 11g/WLS 10.3.x), please use Smart Update to apply the patches. For instructions, please see How to Apply WebLogic Server (WLS) Patches Using Smart Update Note 876004.1. Smart Update is no longer applicable for WLS 12.1.2 and higher. On these versions, please use the OPatch tool to apply the patches. For instructions, please see the documentation atPatching with OPatch. Coverage of all patching and maintenance issues is available at the Information Center at Note 1573509.2.

Patches are specifically tied to a particular release and maintenance pack of WebLogic Server (WLS). A patch for WLS 12.1.1, for example, would not work on WLS 12.1.2. In a few cases, patches are also specific to particular operating systems. If you think you are experiencing the problem outlined in this note, and you are running a WLS version which is eligible for error correction (see Note 950131.1 for more about the Oracle Error Correction Policy), but your WLS version is not included in the list of patches provided here, please contact support and ask for a version of the patch appropriate for you. Please reference this note as well as this bug number to help speed our service for you.

NOTE: Patches are applied per WLS installation and not per domain. That is, if you apply this patch on one WLS installation, then all of the servers from all the domains in that installation will have this patch. On the other hand, if you have a managed server in another machine in a domain (that is, set up with its own WLS installation), you need to install this patch on that other machine as well. Generally, patches can only be applied while the server is not running because WLS locks the needed files while it is running. If, however, you are able to apply a patch while WLS is running, you must restart WLS before the patch will take effect.

REFERENCES

NOTE:883024.1 - IndexOutOfBoundsException When Booting Managed Servers into Cluster in WebLogic Server (WLS)
BUG:17721032 - JAVA.LANG.INDEXOUTOFBOUNDSEXCEPTION: INDEX: 0, SIZE: 0
技术分享



技术分享
技术分享 技术分享 技术分享转到底部 技术分享

技术分享

In this Document

Symptoms
  Cause
  Solution
  References

APPLIES TO:

Oracle WebLogic Server - Version 9.2.3 to 10.3.5
Oracle WebLogic Server - Version 10.3.6 to 10.3.6
Information in this document applies to any platform.

SYMPTOMS

In WebLogic Server, intermittently the below exception occurs and application won‘t process the request properly. To recover, one needs to restart the whole domain.

<Error> <Kernel> <BEA-000802> <ExecuteRequest failed java.lang.IndexOutOfBoundsException: Index: 0, Size: 0. 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 
at java.util.ArrayList.RangeCheck(ArrayList.java:546) 
at java.util.ArrayList.get(ArrayList.java:321) 
at weblogic.rmi.cluster.BasicReplicaList.getPrimary(BasicReplicaList.java:91) 
at weblogic.rmi.cluster.ClusterableRemoteRef.getPrimaryRef(ClusterableRemoteRef.java:146) 
at weblogic.rmi.cluster.ClusterableRemoteRef.add(ClusterableRemoteRef.java:462) 
at weblogic.rmi.cluster.ClusterableRemoteObject.onBind(ClusterableRemoteObject.java:193) 
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:371) 
at weblogic.jndi.internal.ServerNamingNode.bindHere(ServerNamingNode.java:136) 
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:317) 
at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:292) 
at weblogic.cluster.BasicServiceOffer.install(BasicServiceOffer.java:93) 
at weblogic.cluster.NodeInfo.install(NodeInfo.java:63) 
at weblogic.cluster.TreeManager.install(TreeManager.java:59) 
at weblogic.cluster.MemberServices.processOffer(MemberServices.java:64) 
at weblogic.cluster.RemoteMemberInfo.processStateDump(RemoteMemberInfo.java:305)
at weblogic.cluster.AnnouncementManager$2.run(AnnouncementManager.java:242) 
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) 
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) 
at weblogic.cluster.AnnouncementManager.receiveStateDump(AnnouncementManager.java:233) 
at weblogic.cluster.StateDumpMessage.execute(StateDumpMessage.java:36)
at weblogic.cluster.HTTPExecuteRequest$1.run(HTTPExecuteRequest.java:95) 
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) 
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.cluster.HTTPExecuteRequest.run(HTTPExecuteRequest.java:92) 
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) 
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

CAUSE

It happens only when global-transactions-protocol for the DataSource is EmulateTwoPhaseCommit. Issue has been fixed via Bug 11796397 - <BEA-000802> <EXECUTEREQUEST FAILED JAVA.LANG.INDEXOUTOFBOUNDSEXCEPTION: INDEX

SOLUTION

Patches are available for Bug 11796397:

PATCH INFORMATION
WLS Version Patch Number
9.2.3 Patch 11796397
9.2.4 Patch 11796397
10.3.3 Patch 11796397
10.3.4 Patch 11796397

Fixed in: 12.1.1 , 10.3.6

To apply one of these patches, click on the link for your WLS version and download the appropriate patch from My Oracle Support. You can also search in My Oracle Support for the patch number for your WLS version: for detailed instructions, please see Master Note: How to Locate and Download Patches for WebLogic Server Using My Oracle Support Note 1302053.1. If you are using WLS 12.1.1 or earlier (including Fusion Middleware 11g/WLS 10.3.x), please use Smart Update to apply the patches. For instructions, please see How to Apply WebLogic Server (WLS) Patches Using Smart Update Note 876004.1. Smart Update is no longer applicable for WLS 12.1.2 and higher. On these versions, please use the OPatch tool to apply the patches. For instructions, please see the documentation at Patching with OPatch. Coverage of all patching and maintenance issues is available at the Information Center at Note 1573509.2.

Patches are specifically tied to a particular release and maintenance pack of WebLogic Server (WLS). A patch for WLS 12.1.1, for example, would not work on WLS 12.1.2. In a few cases, patches are also specific to particular operating systems. If you think you are experiencing the problem outlined in this note, and you are running a WLS version which is eligible for error correction (see Note 950131.1 for more about the Oracle Error Correction Policy), but your WLS version is not included in the list of patches provided here, please contact support and ask for a version of the patch appropriate for you. Please reference this note as well as this bug number to help speed our service for you.

NOTE: Patches are applied per WLS installation and not per domain. That is, if you apply this patch on one WLS installation, then all of the servers from all the domains in that installation will have this patch. On the other hand, if you have a managed server in another machine in a domain (that is, set up with its own WLS installation), you need to install this patch on that other machine as well. Generally, patches can only be applied while the server is not running because WLS locks the needed files while it is running. If, however, you are able to apply a patch while WLS is running, you must restart WLS before the patch will take effect.

REFERENCES

BUG:11796397 -

技术分享
技术分享 技术分享 技术分享转到底部 技术分享

技术分享

In this Document

Symptoms
  Cause
  Solution
  References

APPLIES TO:

Oracle WebLogic Server - Version 9.2.3 to 10.3.5
Oracle WebLogic Server - Version 10.3.6 to 10.3.6
Information in this document applies to any platform.

SYMPTOMS

In WebLogic Server, intermittently the below exception occurs and application won‘t process the request properly. To recover, one needs to restart the whole domain.

<Error> <Kernel> <BEA-000802> <ExecuteRequest failed java.lang.IndexOutOfBoundsException: Index: 0, Size: 0. 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 
at java.util.ArrayList.RangeCheck(ArrayList.java:546) 
at java.util.ArrayList.get(ArrayList.java:321) 
at weblogic.rmi.cluster.BasicReplicaList.getPrimary(BasicReplicaList.java:91) 
at weblogic.rmi.cluster.ClusterableRemoteRef.getPrimaryRef(ClusterableRemoteRef.java:146) 
at weblogic.rmi.cluster.ClusterableRemoteRef.add(ClusterableRemoteRef.java:462) 
at weblogic.rmi.cluster.ClusterableRemoteObject.onBind(ClusterableRemoteObject.java:193) 
at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:371) 
at weblogic.jndi.internal.ServerNamingNode.bindHere(ServerNamingNode.java:136) 
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:317) 
at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:292) 
at weblogic.cluster.BasicServiceOffer.install(BasicServiceOffer.java:93) 
at weblogic.cluster.NodeInfo.install(NodeInfo.java:63) 
at weblogic.cluster.TreeManager.install(TreeManager.java:59) 
at weblogic.cluster.MemberServices.processOffer(MemberServices.java:64) 
at weblogic.cluster.RemoteMemberInfo.processStateDump(RemoteMemberInfo.java:305)
at weblogic.cluster.AnnouncementManager$2.run(AnnouncementManager.java:242) 
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) 
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) 
at weblogic.cluster.AnnouncementManager.receiveStateDump(AnnouncementManager.java:233) 
at weblogic.cluster.StateDumpMessage.execute(StateDumpMessage.java:36)
at weblogic.cluster.HTTPExecuteRequest$1.run(HTTPExecuteRequest.java:95) 
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) 
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.cluster.HTTPExecuteRequest.run(HTTPExecuteRequest.java:92) 
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) 
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

CAUSE

It happens only when global-transactions-protocol for the DataSource is EmulateTwoPhaseCommit. Issue has been fixed via Bug 11796397 - <BEA-000802> <EXECUTEREQUEST FAILED JAVA.LANG.INDEXOUTOFBOUNDSEXCEPTION: INDEX

SOLUTION

Patches are available for Bug 11796397:

PATCH INFORMATION
WLS Version Patch Number
9.2.3 Patch 11796397
9.2.4 Patch 11796397
10.3.3 Patch 11796397
10.3.4 Patch 11796397

Fixed in: 12.1.1 , 10.3.6

To apply one of these patches, click on the link for your WLS version and download the appropriate patch from My Oracle Support. You can also search in My Oracle Support for the patch number for your WLS version: for detailed instructions, please see Master Note: How to Locate and Download Patches for WebLogic Server Using My Oracle Support Note 1302053.1. If you are using WLS 12.1.1 or earlier (including Fusion Middleware 11g/WLS 10.3.x), please use Smart Update to apply the patches. For instructions, please see How to Apply WebLogic Server (WLS) Patches Using Smart Update Note 876004.1. Smart Update is no longer applicable for WLS 12.1.2 and higher. On these versions, please use the OPatch tool to apply the patches. For instructions, please see the documentation at Patching with OPatch. Coverage of all patching and maintenance issues is available at the Information Center at Note 1573509.2.

Patches are specifically tied to a particular release and maintenance pack of WebLogic Server (WLS). A patch for WLS 12.1.1, for example, would not work on WLS 12.1.2. In a few cases, patches are also specific to particular operating systems. If you think you are experiencing the problem outlined in this note, and you are running a WLS version which is eligible for error correction (see Note 950131.1 for more about the Oracle Error Correction Policy), but your WLS version is not included in the list of patches provided here, please contact support and ask for a version of the patch appropriate for you. Please reference this note as well as this bug number to help speed our service for you.

NOTE: Patches are applied per WLS installation and not per domain. That is, if you apply this patch on one WLS installation, then all of the servers from all the domains in that installation will have this patch. On the other hand, if you have a managed server in another machine in a domain (that is, set up with its own WLS installation), you need to install this patch on that other machine as well. Generally, patches can only be applied while the server is not running because WLS locks the needed files while it is running. If, however, you are able to apply a patch while WLS is running, you must restart WLS before the patch will take effect.

REFERENCES

BUG:11796397 -

weblogic 10.3不能启动报数组越界

标签:

原文地址:http://blog.csdn.net/stevendbaguo/article/details/45098535

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!