How to use Field mapping for custom classes in an EJB2 CMP application in EAP6

Solution Unverified - Updated -


  • We migrate an EJB2 application with CMP Entities to EAP6 and use the following jbosscmp-jdbc.xml mapping
  • After deploy a legacy EJB2 CMP application in EAP6 we see the following Exception
ERROR [] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."persistence.jar" org.jboss.msc.service.StartException in service jboss.deployment.unit."persistence.jar" JBAS010784: Failed to start JDBCStore
Caused by: java.lang.RuntimeException: JBAS010793: Could not create mapper: customer.cmp.FieldMapper
Caused by: java.lang.ClassNotFoundException: customer.cmp.FieldMapper from [Module "" from local module loader @5b5ac942 (finder: local module finder @25533ae9 (roots: :\opt\jboss\jboss-eap-6.2.2\modules\system\layers\base\.overlays\layer-base-jboss-eap-6.2.2.CP,


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In