The lookup should be
DataSource ds = (DataSource)ctx.lookup("java:/jspNedirMysql");
instead of DataSource ds = (DataSource)ctx.lookup("jspNedirMysql");
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861588#3861588
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861588
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user