Also, the Datasource will be bound under java:MySQLDS (or is it java:/MySQLDS, I think they are the same anyway), so you need to look up that if using the global name. Also, objects bound in the java: namespace are not accessible from outside the jvm.
It lokks like you are jvm-a) running JBoss with the datasource defined. jvm-b) running a comand-line app trying to get the datasource defined in jvm-a), which is not possible. Regards, Kab View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831870#3831870 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831870 ------------------------------------------------------- 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