3 Replies Latest reply on Apr 10, 2014 8:18 AM by Wolf-Dieter Fink

    Type-mapping is not initialized for created datasource in JBoss eap 6.0

    Sanjeev Kumar Newbie

      Hi All,

       

      I have created a datasource "java:/jdbc/FinancialClaimDS" in the jboss eap 6.0. and i am able to connect the database using test connection. I need to use same datasource from my test.ear file containg the jbosscmp-jdbc.xml file , but i am not able to deploy the test.ear file in jboss eap 6.0 ,getting following error.

       

      19:38:55,469 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."StaffwareJCA.ear"."15_StaffwareConnectionFacade.jar".component.BPMMapping.jdbc.store-manager.INIT: org.jboss.msc.service.StartException in service jboss.deployment.subunit."StaffwareJCA.ear"."15_StaffwareConnectionFacade.jar".component.BPMMapping.jdbc.store-manager.INIT: JBAS010784: Failed to start JDBCStore

          at org.jboss.as.cmp.jdbc.JdbcStoreManagerInitService.start(JdbcStoreManagerInitService.java:46)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]

      Caused by: java.lang.RuntimeException: JBAS018853: type-mapping is not initialized: java:/jdbc/FinancialClaimDS was not deployed or type-mapping was not configured.

          at org.jboss.as.cmp.jdbc.metadata.JDBCEntityMetaData.getTypeMapping(JDBCEntityMetaData.java:752)

          at org.jboss.as.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:159)

          at org.jboss.as.cmp.jdbc.JdbcStoreManagerInitService.start(JdbcStoreManagerInitService.java:44)

       

       

      Can anybody suggest why am i getting this error?

       

      Regards

      Sanjeev Kumar