Tim, I believe that is part of the spec.

Slattery, Tim - BLS wrote:

change this: datasource = (DataSource) ic.lookup("ds.Freqs");
to:
datasource = (DataSource) ic.lookup("java:/ds.Freqs");



Thanks! That makes it work in Jboss. Of course, the same source breaks in BEA.

Hmm...I guess I could search for one, and if the "NamingException" exception
is thrown, have it lood for the other one.


Why the &#*$&#! does JBoss prepend "java:/" to the jndi name I specified?


-- Tim Slattery [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to