[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Tomcat 6 + Seam 2.0 + Hibernate - Cannot find datasour

jaikiran do-not-reply at jboss.com
Sun Mar 9 10:32:20 EDT 2008


anonymous wrote : 2008.03.08 17:55:17,523 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/gaDatasource
  | javax.naming.NameNotFoundException: Name gaDatasource is not bound in this Context 

Are you sure the gaDatasource is bound in the java: namespace? Or is it bound to the global jndi-name namespace, in which case you will have to change the hibernate configuration file to remove the java: prefix from the datasource jndi-name. What does the tomcat console logs show about the jndi-name to which the datasource is bound?

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

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



More information about the jboss-user mailing list