java.lang.NoClassDefFoundError: IllegalName: [C error using DB Adapter (Doc ID 862578.1)

Last updated on JULY 30, 2013

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.4 and later
Information in this document applies to any platform.
***Checked for relevance on 04-Apr-2011***


Symptoms

You are trying to insert/merge records into a database using DB Adapter. The operation fails and the following error occurs in the $SOA_HOME/bpel/domains/<domain_name>/logs/domain.log file

<2009-07-14 14:22:53,911> <DEBUG> <default.collaxa.cube.ws>
<BPELInvokeWMP::__invoke> invoke failed
java.lang.NoClassDefFoundError: IllegalName: [C
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:477)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at oracle.tip.adapter.db.ox.TopLinkClassLoader.findClass(TopLinkClassLoader.java:45)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at oracle.toplink.internal.helper.ConversionManager.convertObjectToClass(ConversionManager.java:392)
at oracle.toplink.internal.helper.ConversionManager.convertObject(ConversionManager.java:131)
at oracle.toplink.internal.ox.XMLConversionManager.convertObject(XMLConversionManager.java:83)
at
oracle.toplink.internal.databaseaccess.DatasourcePlatform.convertObject(DatasourcePlatform.java:142)
at
oracle.toplink.mappings.foundation.AbstractDirectMapping.getAttributeValue(AbstractDirectMapping.jav
a:334)
at
oracle.toplink.mappings.foundation.AbstractDirectMapping.valueFromRow(AbstractDirectMapping.java:693
)
at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1045)
at
oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:244)
at oracle.toplink.internal.ox.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:136)
at
oracle.toplink.ox.mappings.XMLCompositeCollectionMapping.buildCompositeObject(XMLCompositeCollection
Mapping.java:157)
at
oracle.toplink.mappings.foundation.AbstractCompositeCollectionMapping.valueFromRow(AbstractComposite
CollectionMapping.java:735)
at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1045)
at
oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:244)
at oracle.toplink.internal.ox.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:136)
at
oracle.toplink.ox.mappings.XMLCompositeCollectionMapping.buildCompositeObject(XMLCompositeCollection
Mapping.java:157)
at
oracle.toplink.mappings.foundation.AbstractCompositeCollectionMapping.valueFromRow(AbstractComposite
CollectionMapping.java:735)
at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1045)
at
oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:244)
at oracle.toplink.internal.ox.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:136)
at oracle.toplink.internal.ox.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:287)
at oracle.toplink.internal.ox.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:267)
at oracle.toplink.internal.ox.record.DOMUnmarshaller.unmarshal(DOMUnmarshaller.java:154)
at oracle.toplink.ox.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:347)
at oracle.tip.adapter.db.util.CustomXMLProjectReader.customRead(CustomXMLProjectReader.java:215)
at oracle.tip.adapter.db.util.CustomXMLProjectReader.read(CustomXMLProjectReader.java:120)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:482)
at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:451)
at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:222)
at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(DBInteraction.java:629)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:225)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation_aroundBody0(WSIFOpe
ration_JCA.java:486)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation_aroundBody1$advice(
WSIFOperation_JCA.java:305)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.j
ava:1)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:73
9)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke_aroundBody0(WSIFInvocationHandler.java:472)
at
com.collaxa.cube.ws.WSIFInvocationHandler.invoke_aroundBody1$advice(WSIFInvocationHandler.java:366)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:1)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:511)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:268)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:835)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:402)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform_aroundBody0(BPELActivityWMP.java:199)
at
com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform_aroundBody1$advice(BPELActivityWMP.java:307)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:1)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3704)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1656)
at
com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHa
ndler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:317)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5777)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms