[jboss-user] [JNDI/Naming/Network] - Re: Oracle Datasource not bound to JNDI

2008-05-07 Thread paidadilip
I am also having he same error i am configuring Jboss portal with mysql if any solutioon than give me info.to this [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149084#4149084 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JNDI/Naming/Network] - Re: Oracle Datasource not bound to JNDI

2006-12-12 Thread javabean42195
Hello, great, that was exactly it! I changed the lookup to java:/OracleDS and the in jboss.xml to java:/OracleDB and it worked! So probably JBoss needs the java:/ prefix in the JNDI name, i guess. Thank you very much for your help. View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JNDI/Naming/Network] - Re: Oracle Datasource not bound to JNDI

2006-12-12 Thread visolvejboss
Hello, Modify your program as given below. session bean InitialContext ctx = new InitialContext(); | DataSource ds = (DataSource)ctx.lookup("java:/OracleDS"); | Connection conn = ds.getConnection(); jboss.xml | java:OracleDS | javax.sql.DataSource | java:/OracleDS | View the

[jboss-user] [JNDI/Naming/Network] - Re: Oracle Datasource not bound to JNDI

2006-12-12 Thread javabean42195
Hi, I tried both, to use only OracleDS in ejb-jar.xml and jboss.xml and also to use jdbc/OracleDS in oracle-ds.xml and in the lookup. But unfortunately nothing worked. I still get the NameNotFoundException. There is probably something else wrong or missing. Any further ideas? View the original

[jboss-user] [JNDI/Naming/Network] - Re: Oracle Datasource not bound to JNDI

2006-12-11 Thread PeterJ
Try this. Either change the < res-ref-name > in ejb-jar.xml and jboss.xml to simply OracleDS (instead of jdbc/OracleDS), or change the < jndi-name > in oracle-ds.xml to jdbc/OracleDS and likewise change your lookup to lookup("jdbc/OracleDS"); View the original post : http://www.jboss.com/inde