What is the proper URI (URL?) form to get a DataSource object from the jBoss
context? The following code gives me this exception:
javax.naming.NameNotFoundException: Oracle not bound:
InitialContext jndiContext = new InitialContext();
String dbName = "java:comp/env/Oracle";
DataSource ds = (DataSource) jndiContext.lookup(dbName);
conn = ds.getConnection();
What is the proper form? I used the name 'Oracle' in setting up the
jBoss.conf and the .xml deployment files.
TIA,
Bill Pfeiffer
Arbitration Forums, Inc
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]