java.lang.NoClassDefFoundError: oracle/tip/adapter/db/DBConnectionManager

During activation of one of our osb project we get the next stacktrace

java.lang.NoClassDefFoundError: oracle/tip/adapter/db/DBConnectionManager
            at oracle.tip.adapter.db.DBConnectionFactory.<init>(DBConnectionFactory.java:71)
            at oracle.tip.adapter.db.DBManagedConnectionFactory.createConnectionFactory(DBManagedConnectionFactory.java:274)
            at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFPort_JCA.getResourceAdapterMetaData(WSIFPort_JCA.java:729)
            at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFPort_JCA.parseDeploymentDescriptorProps(WSIFPort_JCA.java:210)
            at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:331)
            at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:316)
            at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:359)
            at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:257)
            at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:150)
            at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
            at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
            at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:571)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
            at $Proxy125.sendMessageAsync(Unknown Source)

Solution (for us)

Make sure the adapter itself in deployments is targeted to both the admin server and managed servers

Thanks to Marc for the genius solution 😉

Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

2 Responses to “java.lang.NoClassDefFoundError: oracle/tip/adapter/db/DBConnectionManager”

commenter

Thanks 🙂 Can you add a FB link? So we can add your articles in FB?

commenter

Nice post.. that’s a perfect solution..

Targeting the dbadapter to the AdminServer resolved my issue. 🙂

Many thanks,
Anj

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>