Hi ,

        Does anybody have any code samples how to access
        datasource pointer from JNDI. Something like this :

        xads = ( javax.sql.DataSource )jndiCtx.lookup ( "java:/OracleDB" );


        I created "OracleDB" datasource and the server output tells me that
it's
        bound to the context. But when I run my code I get an error :
        "javax.naming.NameNotFoundException: OracleDB not bound"

        I do not know what I am doing wrong. The same code works in
weblogic.


                                                Thanks a lot.


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to