java.lang.ClassNotFoundException: com.ibm.ws.rsadapter.spi.WSResourceAdapterImpl

来源:互联网 发布:网络安全标志图片大全 编辑:程序博客网 时间:2024/06/05 04:47

APAR status

  • Closed as program error.

     

Error description

  • When a deployment manager is migrated from V6.0 or V6.1 toV7.0, and it still manages V6.0 or V6.1 nodes, a transformation(sib-resources.xsl) fails to strip the V7.0 WebSphere MQresource adapter from the resources.xml when the V7.0 deploymentmanager synchronizes with the V6 node.  Because the V7.0WebSphere MQ resource adapter does not exist in V6.0 or V6.1, aClassNotFoundException is thrown during the startup of theapplication server:java.lang.ClassNotFoundException:com.ibm.mq.connector.ResourceAdapterImplThe problem does not occur in V7.0; it is introduced inV7.0.0.1.Here is the stack trace of the exception:WSVR0501E: Error creating component null [classcom.ibm.ws.runtime.component.ApplicationServerImpl]com.ibm.ws.exception.RuntimeWarning: Unable to startResourceAdapter due to exception atcom.ibm.ejs.j2c.RALifeCycleManagerImpl.resourceProviderEvent(RALifeCycleManagerImpl.java:835) atcom.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProvider(ResourceMgrImpl.java:1099) atcom.ibm.ws.runtime.component.ResourceMgrImpl.installResource(ResourceMgrImpl.java:1004) atcom.ibm.ws.runtime.component.ResourceMgrImpl.installResources(ResourceMgrImpl.java:957) atcom.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(ResourceMgrImpl.java:756) atcom.ibm.ws.runtime.component.ResourceMgrImpl.start(ResourceMgrImpl.java:631)...Caused by: java.security.PrivilegedActionException:java.lang.ClassNotFoundException:com.ibm.mq.connector.ResourceAdapterImpl atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:122) atcom.ibm.ejs.j2c.RAWrapperImpl.createAndConfigureRA(RAWrapperImpl.java:2064)     atcom.ibm.ejs.j2c.RAWrapperImpl.startRA(RAWrapperImpl.java:584) atcom.ibm.ejs.j2c.RALifeCycleManagerImpl.startRA(RALifeCycleManagerImpl.java:1072) atcom.ibm.ejs.j2c.RALifeCycleManagerImpl.resourceProviderEvent(RALifeCycleManagerImpl.java:823)...Caused by: java.lang.ClassNotFoundException:com.ibm.mq.connector.ResourceAdapterImpl at java.net.URLClassLoader.findClass(URLClassLoader.java:496) atcom.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:132) at java.lang.ClassLoader.loadClass(ClassLoader.java:631) atcom.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:87) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) at com.ibm.ejs.j2c.RAWrapperImpl$2.run(RAWrapperImpl.java:2066) atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)...

     

Local fix

  • Migrating the V6 nodes in the cell to V7.0 will resolve theproblem.

     

Problem summary

  • ***************************************************************** USERS AFFECTED:  Users of WebSphere Application Server       **                  Version 7.0, with fix pack 7.0.0.1 applied  **                  to the deployment manager of a cell         **                  containing nodes that have not yet been     **                  migrated to version 7.0                     ****************************************************************** PROBLEM DESCRIPTION: After migration of a deployment         **                      manager to Version 7.0.0.1 servers on   **                      version 6.1 (or earlier) nodes log      **                      J2CA0043E messages during startup.      ****************************************************************** RECOMMENDATION:  The error messages logged do not affect     **                  the operation of the system, and can be     **                  ignored.                                    **                                                              **                  To resolve the issue, after installing the  **                  fix pack containing the APAR, perform a full**                  resynchronization of all version 6.1 or     **                  earlier nodes.                              *****************************************************************This issue only affects users with fix pack 7.0.0.1 applied tothe deployment manager of the cell.The issue is due to some V7.0 configuration information beingincorrectly synchronized to the older version nodes.The configuration information relates to the WebSphere MQresource adapter, available only in WebSphere ApplicationServer Version 7.0.An example of the error seen in the JVM logs is as follows:[11/15/08 21:49:21:360 EST] 0000000a RAWrapperImpl EJ2CA0043E: An Exception occurred while trying to instantiate aResourceAdapter java bean instance for the installedResourceAdapter defined by keycells/artaccCell01/resources.xml#J2CResourceAdapter_1226802925350.  The exception is:java.security.PrivilegedActionException:java.lang.ClassNotFoundException:com.ibm.mq.connector.ResourceAdapterImpl

     

Problem conclusion

  • The fix for this APAR prevents the invalid configurationinformation from being synchronized to Version 6.1 and earliernodes.The fix is currently targeted for fix pack 7.0.0.3.
原创粉丝点击