RE: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29)

2004-10-27 Thread Shapira, Yoav
Hi, >How do I get this value from within context in java program, thanks > > type="java.lang.Integer" override="false"/> Context c = new InitialContext(); Integer david = (Integer) c.lookup("java:comp/env/david"); >Could you please tell me how environment variables can be accessed with

RE: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29)

2004-10-27 Thread David Lee
How do I get this value from within context in java program, thanks From: Igor [mailto:[EMAIL PROTECTED] Sent: Tue 10/26/2004 9:52 PM To: [EMAIL PROTECTED] Subject: Re: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29) Hello

Re: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29)

2004-10-26 Thread Igor
Hello! >>Another question is: how do I get the JNDI enviroment variable value >>from the java program? still using ctx.lookup or other way. >All JNDI references should be lookup using the naming context. If >you're using simple Environment variables, you don't need to use JNDI, >you retrieve the

RE: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29)

2004-10-26 Thread David Lee
List' Subject: RE: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29) I personally have never tried environment variables. Do what Yoav recommends. BTW, why do you need to use environemtn variables? -Original Message- From: Shapira, Yoav [mailto:[EMAIL

RE: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29)

2004-10-26 Thread Shapira, Yoav
Hi, >After I uploaded the war file, I found that this action not only >uppacked war into the myapp directory with the >context.xml in mata-inf directory, ALSO, it generated myapp.xml in >C:\jakarta-tomcat-5.0.29\conf\Catalina\localhost Funny, this is what I said would happen earlier today on thi

Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29)

2004-10-26 Thread David Lee
Phillip, thanks the context.xml file works. I finally got the JNDI mail/Session to work. But I found one thing interesting about the GUI manager deploy (upload the ant generated war file) After I uploaded the war file, I found that this action not only uppacked war into the myapp directory with