0 Replies Latest reply on Mar 17, 2002 5:08 AM by brady

    jboss3.0 with tomcat4.0.2

    brady Newbie

      I deploy cmp ejb in jboss3.0 beta with tomcat4.0.2,
      i get many errors,but i can succeed deploy it in jboss3.0 alpha.

      org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping Mysql not found
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:365)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:237)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:67)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:503)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java:277)
      at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:134)
      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:330)
      at org.jboss.ejb.Container.invoke(Container.java:745)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:995)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:275)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.create(Unknown Source)
      at org.jboss.ejb.Application.create(Application.java:230)
      at org.jboss.ejb.EJBDeployer.deploy(EJBDeployer.java:433)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:484)
      2002-03-17 17:57:17,763 ERROR [org.jboss.system.ServiceController] JMException thrown during ServiceProxy operation create on mbean jboss.j2ee:service=EJB,jndiName=iworks.iworksappuser
      org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping Mysql not found
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:365)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:237)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:67)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:503)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java:277)
      at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:134)
      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:330)
      at org.jboss.ejb.Container.invoke(Container.java:745)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:995)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:275)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.create(Unknown Source)
      at org.jboss.ejb.Application.create(Application.java:230)
      at org.jboss.ejb.EJBDeployer.deploy(EJBDeployer.java:433)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:484)
      2002-03-17 17:57:17,770 ERROR [org.jboss.ejb.EJBDeployer] Could not deploy file:/usr/local/jboss/deploy/iworks-ejb.jar
      javax.management.MBeanException: Exception in service lifecyle operation: create
      at org.jboss.ejb.Container.invoke(Container.java:768)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:995)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:275)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.create(Unknown Source)
      at org.jboss.ejb.Application.create(Application.java:230)
      at org.jboss.ejb.EJBDeployer.deploy(EJBDeployer.java:433)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:484)
      2002-03-17 17:57:17,843 ERROR [org.jboss.ejb.EntityContainer] Exception in service lifecyle operation: stop
      java.lang.NullPointerException
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.stop(JDBCStoreManager.java:346)
      at org.jboss.ejb.plugins.CMPPersistenceManager.stop(CMPPersistenceManager.java:180)
      at org.jboss.ejb.EntityContainer.stop(EntityContainer.java:407)
      at org.jboss.ejb.Container.invoke(Container.java:753)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:995)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.stop(Unknown Source)
      at org.jboss.system.ServiceController.stop(ServiceController.java:402)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.stop(Unknown Source)
      at org.jboss.ejb.Application.stop(Application.java:279)
      at org.jboss.ejb.EJBDeployer.deploy(EJBDeployer.java:472)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:484)
      2002-03-17 17:57:17,849 ERROR [org.jboss.system.ServiceController] JMException thrown during ServiceProxy operation stop on mbean jboss.j2ee:service=EJB,jndiName=iworks.iworksappuser
      java.lang.NullPointerException
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.stop(JDBCStoreManager.java:346)
      at org.jboss.ejb.plugins.CMPPersistenceManager.stop(CMPPersistenceManager.java:180)
      at org.jboss.ejb.EntityContainer.stop(EntityContainer.java:407)
      at org.jboss.ejb.Container.invoke(Container.java:753)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:995)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.stop(Unknown Source)
      at org.jboss.system.ServiceController.stop(ServiceController.java:402)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.stop(Unknown Source)
      at org.jboss.ejb.Application.stop(Application.java:279)
      at org.jboss.ejb.EJBDeployer.deploy(EJBDeployer.java:472)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:484)