You'll get the same thing in Tomcat (standalone).


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message -----
From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, August 27, 2004 3:22 PM
Subject: RE: Jboss database config?


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



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

Reply via email to