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
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
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
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
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