• 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
Defining DB Connection Info in the Properties file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Defining DB Connection Info in the Properties file


  • Subject: Defining DB Connection Info in the Properties file
  • From: David Avendasora <email@hidden>
  • Date: Tue, 18 Aug 2009 14:37:50 -0400

Hi all,

I'm trying to define my DB connections in the Properties.username files so I get the correct connection depending on if I am running my app in Developement, QA or Production.

I have removed all my connection information out of the EO Models and have set the following properties:

CommunicationCenter.URL="">
CommunicationCenter.DBUser=user
CommunicationCenter.DBPassword=password

But I'm getting the following error, which leads me to believe that it is _not_ picking up my properties. The Resources/Properties file has the default connection dictionaries in it, so this should work, right?

A fatal exception occurred: The connection dictionaries for ERAttachment and CommunicationCenter have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two.  One fix for this is to set ERAttachment.removeJdbc2Info=true and CommunicationCenter.removeJdbc2Info=true in your Properties file. (ERAttachment={}; and CommunicationCenter={plugin = "EROraclePlugIn"; }).


Any ideas? Am I not using the correct properties?

Thanks,

Dave
 _______________________________________________
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: Defining DB Connection Info in the Properties file
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: JDBC close() exception?
  • Next by Date: Re: Defining DB Connection Info in the Properties file
  • Previous by thread: Re: Generating Tumbnails
  • Next by thread: Re: Defining DB Connection Info in the Properties file
  • Index(es):
    • Date
    • Thread