[jboss-user] [EJB 3.0] - Re: Accessing stateless EJB3 bean from a ejb-jar

jaikiran do-not-reply at jboss.com
Wed Jul 30 03:22:08 EDT 2008


anonymous wrote : ObjectName: jboss.jca:name=cattleDB,service=DataSourceBinding
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  |     persistence.units:jar=demoEJB-1.0.jar,unitName=cattle_persis
  | 	

This shows that the datasource is not yet bound. But earlier in the log:
anonymous wrote : 
  | [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=/cattleDB' to JNDI name 'java:/cattleDB'

This indicates that the datasource is being bound. The only strange thing that i see in that log message is the front-slash in:

anonymous wrote : 'jboss.jca:service=DataSourceBinding,name=/cattleDB'

Can you post the contents of your datasource file (*-ds.xml) and where is it placed?




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

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



More information about the jboss-user mailing list