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

APAR status

  • Closed as program error.

     

Error description

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

     

Local fix

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

     

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 to
    the deployment manager of the cell.
    
    The issue is due to some V7.0 configuration information being
    incorrectly synchronized to the older version nodes.
    The configuration information relates to the WebSphere MQ
    resource adapter, available only in WebSphere Application
    Server 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 E
    J2CA0043E: An Exception occurred while trying to instantiate a
    ResourceAdapter java bean instance for the installed
    ResourceAdapter defined by key
    cells/artaccCell01/resources.xml#J2CResource
    Adapter_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 configuration
    information from being synchronized to Version 6.1 and earlier
    nodes.
    
    The fix is currently targeted for fix pack 7.0.0.3.
    
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值