Found the solution in my java I had 

  | ds = (DataSource)ctx.lookup("java:comp/env" + db);
  | 

and it was working fine for OracleDS

now I've tried 

  | ds = (DataSource)ctx.lookup("java:" + db);
  | 

and it works for both :)

now I've a question about connection pooling but it's best to put it in a new 
thread.

thanks

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to