[
https://issues.apache.org/jira/browse/CXF-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider closed CXF-881.
-----------------------------------
Resolution: Fixed
Closing this issue because of inactivity. Please feel free to reopen if the
problem is still present.
> Class cast exception when running JCA Integration sample
> --------------------------------------------------------
>
> Key: CXF-881
> URL: https://issues.apache.org/jira/browse/CXF-881
> Project: CXF
> Issue Type: Bug
> Components: Resources
> Affects Versions: 2.0
> Environment: CXF running as a shared library in WebSphere Application
> Server V6.1
> Reporter: Rohith Ashok
>
> JCA code, it looks like CXF is doing improper casting.
> It should be casting the resource adapter to a
> javax.resource.spi.ResourceAdapter, but
> rather it is casting to is own implementation which is failing.
> Trace: 2007/07/23 20:26:00.078 01 t=8C5B00 c=UNK key=P8 (13007002)
>
> ThreadId: 00000022
>
> FunctionName: com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl
>
> SourceId: com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl
>
> Category: SEVERE
>
> ExtendedMessage: BBOO0220E: J2CA0009E: An exception occurred while trying
> to instantiate the ManagedConnectionFactory class org.ap
> ache.cxf.jca.cxf.AssociatedManagedConnectionFactoryImpl used by resource
> CXFConnectionFactory class org.ap
> urceAdapterInternalException: ResourceAdapter is not correct, it should be
> instof ResourceAdapterImpl
> at
> org.apache.cxf.jca.cxf.AssociatedManagedConnectionFactoryImpl.setResourceAd
> at
> com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.createMCFandPM(Connectio
> at
> com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.processObjectInstance(Co
> at
> com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFa
> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:316)
>
> at
> com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.
> at
> com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.jav
> at
> com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl
> at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1947)
>
> at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
>
> at
> com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
> at
> com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLo
> at
> com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.jav
> at
> com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstanceExt
> at
> com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(In
> at
> com.ibm.ws.util.ResRefJndiLookupObjectFactory.getObjectInstance(ResRefJndiL
> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:316)
>
> at
> com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.