[jboss-user] [EJB 3.0] - Starting failed persistence; jdbc not bound... Why???

meuter do-not-reply at jboss.com
Thu Aug 31 06:55:57 EDT 2006


Hi,

I'm new to EJB3 and JBoss. Appologies on forehand for a possible mispost. I have the following problem. I created a web application where i want to handle user registration. A EJB-module handles the creation, authentication and removal of a user on a postgreSQL DB-table. The datasource xml and peristence xml are located in the ejb-module and automatically generated by netbeans 5.5. I double checked those with examples from documentation. The applcation makes use of two servlets to login and register a user. These servlets are also correctly registered according to tutorials. I cannot deploy the application: The fololowing error is generated:

Starting persistence.units:ear=Construct.ear,jar=Construct-ejb.jar,unitName=construct-PU
2006-08-31 12:31:07,971 DEBUG [org.jboss.ejb3.entity.PersistenceUnitDeployment] Found persistence.xml file in EJB3 jar
2006-08-31 12:31:07,971 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting failed persistence.units:ear=Construct.ear,jar=Construct-ejb.jar,unitName=construct-PU
javax.naming.NameNotFoundException: jdbc not bound

What is happening? The datasource is available is \\jboss\server\default\deploy.
I'm using Windows XP, Netbeans 5.5 beta, Jboss 4.04, postgreSQL 8.1.
Any help is highly appreciated.

cheers,

Eelco


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968595#3968595

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968595



More information about the jboss-user mailing list