1 Reply Latest reply on Oct 2, 2001 11:34 PM by David Jencks

    How do I set up the ejb container for a db2 database?

    Markus Locher Newbie

      Hello Folks,

      I use an JBoss/Tomcat environment. I want to connect a DB/2 database through a entity bean, but I always got the below errormsg from the server.
      So, how do I tell the container, which db to use, where to find and what settings are needed???

      I did some settings in "jboss.jcml" for db2 db, but it doesn´t fit so far...




      -----START ERROR MSG------------------------
      [AutoDeployer]
      - Deployment failed:file:/E:/JBoss/deploy/customer.jar
      - org.jboss.deployment.J2eeDeploymentException:
      Error while starting customer.jar:
      Could not deploy
      file:/E:/JBoss/tmp/deploy/Default/customer.jar,
      Cause: org.jboss.ejb.Den:
      Could not deploy
      file:/E:/JBoss/tmp/deploy/Default/customer.jar,
      Cause:java.lang.ClassNotFoundException:
      de.xifs.beans.entity.CustomerHome
      [AutoDeployer]
      at org.jboss.deployment.J2eeDeployer.startModules
      (J2eeDeployer.java:519)
      [AutoDeployer]
      at org.jboss.deployment.J2eeDeployer.startApplication
      (J2eeDeployer.java:468)
      [AutoDeployer]
      at org.jboss.deployment.J2eeDeployer.deploy
      (J2eeDeployer.java:208)
      [AutoDeployer]
      at java.lang.reflect.Method.invoke(Native Method)
      [AutoDeployer]
      at com.sun.management.jmx.MBeanServerImpl.invoke
      (MBeanServerImpl.java:1628)
      [AutoDeployer]
      at com.sun.management.jmx.MBeanServerImpl.invoke
      (MBeanServerImpl.java:1523)
      [AutoDeployer]
      at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      [AutoDeployer] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
      [AutoDeployer] at java.lang.Thread.run(Unknown Source)
      -----END ERROR MSG------------------------

      Thanks