Yes you can lookup a datasource. Make sure the JNDI name is correct. If you can view 
your datasource from the jndi view, you should be able to look it up.

I think obtaining the datasource only makes sense on the server. Since server manages 
the connection pool and transactions. If you are doing this on the client outside of 
jboss, you may want to re-consider your design.

If you are still stuck, post your code and someone may be able to help you.


Good luck

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to