• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO 5.2.3 in Tomcat 4.1.31 not reading Properties file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO 5.2.3 in Tomcat 4.1.31 not reading Properties file


  • Subject: Re: WO 5.2.3 in Tomcat 4.1.31 not reading Properties file
  • From: Lucas Rockwell <email@hidden>
  • Date: Tue, 23 Aug 2005 12:14:53 -0700

Hi all,

I figured this out. I put my Properties file in WEB-INF/classes and I can then load it with the class loader using Application.class.getClassLoader().getResource("Properties").

-lucas

On Aug 22, 2005, at 11:06 AM, Lucas Rockwell wrote:

Hi all,

I am trying to deploy a 5.2.3 app in Tomcat 4.1.31 and it loads into the container, but it does not read my app's Properties file. The Properties file gets read when run in Tomcat 3.3.2, but not in 4.1.31. I am using System.getProperty() to get my properties which I have fully qualified with the package name. Maybe this is not the way to do this with Tomcat >= 4.x. I have also renamed the file to Properties.properties and Properties.xml, and even put them into the WEB-INF/classes directory and it still does not work (just shooting in the dark at this point).

Any insight into how I can go about debugging this problem?

This is on 10.3.9 client (my dev machine).

Thanks.

-lucas

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >WO 5.2.3 in Tomcat 4.1.31 not reading Properties file (From: Lucas Rockwell <email@hidden>)

  • Prev by Date: Re: Updating EOObjects/Selecting EOObjects
  • Next by Date: Re: String Encodings
  • Previous by thread: WO 5.2.3 in Tomcat 4.1.31 not reading Properties file
  • Next by thread: Walking an Object's Relationships
  • Index(es):
    • Date
    • Thread