Hi,
when I start jboss (3.0.0) I get the following DeploymentException:
--------------------------------
13:31:49,109 INFO [EjbModule] Creating
13:31:49,140 INFO [EjbModule] Deploying SDKT_IK
13:31:49,187 INFO [EjbModule] Deploying SDKTVerwaltung
13:31:49,437 WARN [ServiceController] Ignoring request to destroy non-existant
service: jboss.j2ee:service=EJB,jndiName=SDKT/SDKTVerwaltung
13:31:49,453 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single
:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBModule,name=252SDKT.jar
13:31:49,484 ERROR [EjbModule] Initialization failed
org.jboss.deployment.DeploymentException: SAPDBDS not bound
at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.create(Ja
wsApplicationMetaData.java:137)
at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFil
eLoader.java:85)
at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommand
Factory.java:144)
at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersiste
nceManager.java:104)
at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceMana
ger.java:155)
at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
........
---------------------------------------------------
The Exception appears only when my beans are deployed at start of jboss.
Hot deployment (after jboss is started) works fine.
I think the problem is, that the JNDI-entry for the above Database is created after the deployment of the CMP-beans.
The Database is defined in a file named sapdb-service.xml
Any idea how to fix this problem?
Regards,
Michael