• 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: [Wonder-disc] Where and when does WebObjects read its Properties file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wonder-disc] Where and when does WebObjects read its Properties file?


  • Subject: Re: [Wonder-disc] Where and when does WebObjects read its Properties file?
  • From: James Cicenia <email@hidden>
  • Date: Sat, 11 Aug 2007 22:36:16 -0500

I don't see that method in the javadocs ?!

Is that WOApplication or a wonder version?

thanks
James Cicenia


On Aug 11, 2007, at 9:22 PM, Jeff Clites wrote:

You should probably do it in Application.didFinishLaunching(). The constructor is too early--instantiating your app instance is the very first thing that happens.

JEff

On Aug 11, 2007, at 11:29 AM, James Cicenia <email@hidden> wrote:

My problem is simply that ERJavaMail is not reading my Properties file in Application.
I am pretty sure that is now the problem.

Since we reboot our servers every night, I now have put a notification system that 
will alert customers if something is late, a status change, etc.

However, in the Application contstructor I have my routine to send out the emails. 
It gives me an error which states that I have it set to test.. email@hidden etc...
This means it didn't yet read my properties file. However once I log into my app
the emails are being sent properly... It seems to correct itself which to me means
that in Application() it hasn't yet read the properties file.

So any suggestion on where it should go?

Thanks
James


On Aug 11, 2007, at 12:43 PM, Daniele Corti wrote:



2007/8/11, James Cicenia <email@hidden>:
Hello --

I just upgraded my framework and now am having problems with
ERJavaMail reading the correct properties file.

Whitch problems?

Maybe this is because
I am now sending email in Application ?

So, what did you do before, and how did you change you Application

When or where does the Properties file get read in WebObjects

I'm not sure about that, but it should be after calling Application.main(), before calling the constructor for Application

Thanks
James Cicenia

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>   http://get.splunk.com/
_______________________________________________
Wonder-disc mailing list
email@hidden
https://lists.sourceforge.net/lists/listinfo/wonder-disc



--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/_______________________________________________
Wonder-disc mailing list
email@hidden
https://lists.sourceforge.net/lists/listinfo/wonder-disc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Wonder-disc mailing list
email@hidden
https://lists.sourceforge.net/lists/listinfo/wonder-disc

 _______________________________________________
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

  • Follow-Ups:
    • Re: [Wonder-disc] Where and when does WebObjects read its Properties file?
      • From: Art Isbell <email@hidden>
References: 
 >Where and when does WebObjects read its Properties file? (From: James Cicenia <email@hidden>)
 >Re: [Wonder-disc] Where and when does WebObjects read its Properties file? (From: "Daniele Corti" <email@hidden>)
 >Re: [Wonder-disc] Where and when does WebObjects read its Properties file? (From: James Cicenia <email@hidden>)

  • Prev by Date: Prototypes primer needed
  • Next by Date: Re: [Wonder-disc] Where and when does WebObjects read its Properties file?
  • Previous by thread: Re: [Wonder-disc] Where and when does WebObjects read its Properties file?
  • Next by thread: Re: [Wonder-disc] Where and when does WebObjects read its Properties file?
  • Index(es):
    • Date
    • Thread