RE: jndi.properties file and classpath

2005-04-06 Thread Eric J Kaplan
Perhaps this was missed the first time. I think the answer should be fairly simple. How do I get my servlet to pull in my jndi.properties file, which right now is in the WEB-INF/classes directory, instead of whatever one it seems to be pulling in that is directing it to tomcat? Regards Eric

jndi.properties file and classpath

2005-04-06 Thread Eric J Kaplan
We are using tomcat 5.0.28 and our servlet needs to load jndi.properties from a jndi.properties file in our WEB-INF/classes directory but it seems to be getting it from elsewhere and so our servlet, which needs to call a bean on a separate application server instance (in this case jboss) fails

RE: BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Shapira, Yoav
rom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 27, 2004 11:04 AM >To: Tomcat Users List >Subject: RE: BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but >INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft] > > >Dear Yoav, >

RE: BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Frerk . Meyer
Dear Yoav, >>My understanding of J2EE standards is that the servlet container tries >>to find the file jndi.properties on the application classpath and if found >>initializes the context environment with properties from there. >I don't think this understanding is corre

RE: BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Shapira, Yoav
Hi, >My understanding of J2EE standards is that the servlet container tries >to find the file jndi.properties on the application classpath and if found >initializes the context environment with properties from there. I don't think this understanding is correct for containers an

BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Frerk . Meyer
Task: = I want to use LdapContext lctx = new InitialLdapContext(); that is InitialLdapContext without environment parameters. My understanding of J2EE standards is that the servlet container tries to find the file jndi.properties on the application classpath and if found initializes the

RE: jndi.properties tomcat 5.0

2004-07-23 Thread Shapira, Yoav
Hi, You're not missing anything. Since I'm short on time for explanations today, I'll just say that jndi.properties is basically nice for examples/tutorials and simple applications, but the proper paradigm for an application server is the explicit context properties population th

jndi.properties tomcat 5.0

2004-07-22 Thread Phil Emerson
; p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces"); p.put(Context.PROVIDER_URL, "192.168.1.84:1099"); Defining the parameters in the jndi.properties does not work. I looked up the old posts and tried this solution too.. props.load( servlet.getServle

Re: Jndi.properties file

2003-01-14 Thread Andrzej Jan Taramina
> when i deploy the war to Tomcat, and want to get my entity bean I can't > find the Contex where my entity bean is. I ran into the same problem with JBoss and Tomcat running in separate JVM's. > Where can i put my jndi.properties file. > Any ideas??? Yup.t

Jndi.properties file

2003-01-14 Thread Konstantinis Evagelos ([EMAIL PROTECTED])
a.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); env.put("java.naming.provider.url", "jnp://localhost:1099"); Context ctx = new InitialContext(env); In my jsp i have inserted the above code for finding the entity bean, and it works ok. I want this informati

Servlet InitialContect (jndi.properties) pointing to external JBoss JNDI?

2002-11-21 Thread Andrzej Jan Taramina
I've got Tomcat 4.1.12 and JBoss 3.0.4 running on separate machines/VMs. I've put a jndi.properties file pointing to the JBoss JNDI server in my WEB- INF/classes directorybut my servlet does not pick it up for some reasonand just grabs Tomcats JNDI instance instead. Anyone k

RE: Tomcat 3.3 does not find jndi.properties

2002-08-20 Thread Larry Isaacs
the moment. Cheers, Larry > -Original Message- > From: Olaf Jahn [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 6:40 AM > To: Tomcat Users List > Subject: Re: Tomcat 3.3 does not find jndi.properties > > > "Larry Isaacs" <[EMAIL PROTECTED

Re: Tomcat 3.3 does not find jndi.properties

2002-08-20 Thread Olaf Jahn
I wrote: > Thanks a lot, the problem does not exist any more with the lastest > 3.3.2-dev. The jndi.properties file placed in WEB-INF/classes is now > found and read. I little experimenting showed that this is already fixed in 3.3.1. So I just switch vom Tomcat 3.3a to 3.3.1 and e

Re: Tomcat 3.3 does not find jndi.properties

2002-08-20 Thread Olaf Jahn
s not exist any more with the lastest 3.3.2-dev. The jndi.properties file placed in WEB-INF/classes is now found and read. When is a release of 3.3.2 to be expected? Regards Olaf -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Tomcat 3.3 does not find jndi.properties

2002-08-19 Thread Larry Isaacs
-- > From: Olaf Jahn [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 12:42 PM > To: 'Tomcat Users List' > Subject: Tomcat 3.3 does not find jndi.properties > > > Hi, > > my Tomcat 3.3a does not find the jndi.properties file regardless of > wher

Tomcat 3.3 does not find jndi.properties

2002-08-19 Thread Olaf Jahn
Hi, my Tomcat 3.3a does not find the jndi.properties file regardless of where I put it inside the web application tree. That is, I tried the web app root as well as WEB-INF/lib and WEB-INF/classes. Only if I place it directly into jre/lib the file is found, which of course is not really an

tomcat + jndi.properties

2002-08-13 Thread Michael Delamere
Hi, I want to get hold of my service classes on a seperate box via jndi/tomcat. Could someone give me an example of what a tomcat specific jndi.properties should look like. Thanks very much. Regards, Michael -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional comma

Re: jndi.properties

2001-11-15 Thread Janek Bogucki
ine-2/howto/jboss-howto.html (The list of moved JARs in this second HOWTO is excessive) --- Andrew <[EMAIL PROTECTED]> wrote: > Hi, I've some ejbeans on other host(EJB > container) and I want to use it > in Tomcat(4.0.1). My question is: > How I can specify/place jndi.prop

jndi.properties

2001-11-15 Thread Andrew
Hi, I've some ejbeans on other host(EJB container) and I want to use it in Tomcat(4.0.1). My question is: How I can specify/place jndi.properties file for successful lookup my beans.If Tomcat supports some other means through webapp configuration options (I mean Tomcat jndi namespace)-

Re: Repost: jndi.properties

2001-11-02 Thread Jim Crossley
"McDowell, Mark" <[EMAIL PROTECTED]> writes: > I'll preface this with *I am NOT an expert* :) Me neither. > The only information I'm aware of is that if the jndi.properties > file is in the CLASSPATH, it should be found Try adding > WEB-INF/clas

RE: Repost: jndi.properties

2001-11-02 Thread McDowell, Mark
I'll preface this with *I am NOT an expert* :) The only information I'm aware of is that if the jndi.properties file is in the CLASSPATH, it should be found Try adding WEB-INF/classes to the CLASSPATH prior to starting Tomcat... Mark -Original Message- From: Jim Crossl

Repost: jndi.properties

2001-11-02 Thread Jim Crossley
I'm reposting due to a lack of response. I've searched the archives, and I'm doing everything mentioned there, yet I still can't seem to get the default InitialContext to load the jndi.properties from the application's classpath. PREVIOUS POST: How do I make the defau

jndi.properties

2001-11-01 Thread Jim Crossley
How do I make the default InitialContext use the jndi.properties in my application's WEB-INF/classes directory? I'm using 3.2.2 with the correct Interceptor: I'm open to upgrading my Tomcat if that's the only way. Thanks. -- To unsubscribe: <mailto:[EMAIL PRO

AdaptiveClassLoader, getResources, jndi.properties (Tomcat bug?)

2001-07-17 Thread David Haraburda
Hi, I am having problems with jndi.properties being read from my WEB-INF/classes directory. I have seen this problem referenced once on the tomcat-dev mailing list -- someone submitted a patch, but apparently it did not get committed. (I couldn't find a reason why, so I am not sure if tha

jndi.properties not found in app. classpath

2001-01-09 Thread Erik Grøntoft Dybdahl
jndi.properties file placed in WEB-INF/classes dir of my application. Is the latter method incorrect? erik ___ Do You Yahoo!? Del dine bilder med andre på http://no.photos.yahoo.com - To