Hi Petri.

I experience the same with jboss_final2.0+tomcat on sun solaris and jdk1.3.
(i.e. I initiate the InitialContext with Hashtable which is populated hard
coded)
If you find the solution, please let me know.

Shahar

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Petri Wessman
Sent: Thursday, January 11, 2001 1:50 PM
To: jBoss
Subject: RE: [jBoss-User] Fresh pair of eyes


On Thu, 11 Jan 2001 11:24:12 -0000, "Bordet, Simone"
<[EMAIL PROTECTED]> said:

Bordet,> Hey,
>> Hi, I've been trying to get a servlet to talk with an EJB (using the
>> bundled jboss+tomcat binary from the JBoss web site). If I set the
>> JNDI properties in the servlet code with System.setProperty(...)
>> everything works fine, but so for I haven't managed to get the
>> jndi.properties style of configuration to work.
>>
>> Where should I put the jndi.properties file? In the war file?

Bordet,> Yes, under WEB-INF/classes

Thanks... but that doesn't work for me, for some reason.

My war file has WEB-INF/classes/jndi.properties, and the war file is
bundled inside an ear file. No luck.

I also tried deploying only the war file (without the enclosing ear
file), no luck either. For some reason, the jndi.properties file is
not read in and I get a javax.naming.NoInitialContextException.

Anyone else seen this, or is this some weird bug in my system (bundled
jboss+tomcat, Debian Linux 2.4.0-test11, Sun JDK 1.3beta_refresh)?

//Petri


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to