Hello!  

You were very right.  I had the setenv and setclasspath being called from Catalina.bat 
but somehow the tomcat was not picking this up correctly.  Perhaps because of XP?  I 
then went to control panel and set all the environment variables & classpath which 
then picked up my property file now.  I got it to work now but am getting the 
following error message on the Tomcat console:
- "Netscape security model is no longer supported.  Please migrate to the Java 2 
security model instead."

No idea where is this coming from but my utility works fine.

Thanks for your help,
Sudha


Sudha Ramanujan
SunGard Futures Systems
[EMAIL PROTECTED]
(312) 577 6179
(312) 577 6101 - Fax

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 27, 2003 8:29 AM
To: Tomcat Users List
Subject: RE: Property file not picked up right by servlet

Howdy,
Are the environment variables for PATH and CLASSPATH (mainly the latter) different 
between your NT and XP systems?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 24, 2003 5:18 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Property file not picked up right by servlet
>
>Wendy,
>
>Right in the beginning, we have a login servlet that loads the properties
>file entries. The servlet first gets the context and then looks for the
>prop files under property + file separater.  In NT, I had the properties
>file under c:/Tomcat/bin/property (and it is still working).  I tried this
>in XP as well, then I tried to copy under apache bin! (Just trying anything
>to get it working.) The error I am getting is on the console, "Property
>file not found, Loading default properties", and gives me wrong system
>name.  I am running Apache 1.3.27 and Tomcat 4.0.
>
>Thanks for your help,
>Sudha
>
>Sudha Ramanujan
>SunGard Futures Systems
>[EMAIL PROTECTED]
>(312) 577 6179
>(312) 577 6101 - Fax
>
>
>-----Original Message-----
>From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 24, 2003 3:12 PM
>To: 'Tomcat Users List'
>Subject: RE: Property file not picked up right by servlet
>
>
>> I just moved to XP from NT and setup the apache and Tomcat servers. They
>work fine for the servlets,
>> jsps and so the setup seem to be fine.  But my
>> servlet is not finding the property file that connects me to the right
>system.
>
>What is the code in your Servlet that is not working, and where exactly is
>the properties file?  What is the exact error message you're seeing?  I
>would suspect file permissions, without knowing anything else.
>
>--
>Wendy Smoak
>Applications Systems Analyst, Sr.
>Arizona State University PA Information Resources Management
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user-
>[EMAIL PROTECTED]>


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


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

Reply via email to