[jboss-user] [EJB 3.0] - Re: lookup datasource from ejb3 sessionbean (jboss 4.2.3)

jaikiran do-not-reply at jboss.com
Mon Oct 20 09:10:02 EDT 2008


Going by the jndi tree output, i think your ejb-jar.xml is not being read. Where have you placed this file? How is your application packaged? Is it a EAR file or a jar file? Post the output of:

jar -tf myapp.jar

where myapp.jar is the ejb jar file containing the ejb-jar.xml. Also please post the entire console logs. While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted. That way, its much more easier to read the post.



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

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



More information about the jboss-user mailing list