• 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
problem after adding ERAttachment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem after adding ERAttachment


  • Subject: problem after adding ERAttachment
  • From: Theodore Petrosky <email@hidden>
  • Date: Wed, 15 Sep 2010 22:19:40 -0700 (PDT)

after adding ERAttachment Framework, then adding the Relationship and adding a migration using the Practical Wonder example, I get the following error about the connection Dictionaries.
This is my connection dictionary from my properties file:

# Migrations
er.migration.migrateAtStartup=true
er.migration.createTablesIfNecessary=true
er.migration.modelNames=TheWorkTrackerModel
TheWorkTrackerModel.MigrationClassPrefix=com.eltek.migrations.TWTMigration

# Connection Dictionary
dbConnectURLGLOBAL=jdbc:postgresql://localhost/theworktracker?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull
dbConnectUserGLOBAL=asacksadmin
dbConnectPasswordGLOBAL=4004

Why do I now get this error? There was no mention in the podcast of doing anything with the dictionary.

Ted

INFO  er.extensions.eof.ERXModelGroup  - The connection dictionaries for TheWorkTrackerModel and erprototypes have the same URL and username, but at least one of them is a prototype model, so it shouldn't be a problem.
Sep 16 01:05:18 TheWorkTracker[63050]
INFO  er.extensions.eof.ERXModelGroup  - The connection dictionaries for TheWorkTrackerModel and erprototypes have the same URL and username, but at least one of them is a prototype model, so it shouldn't be a problem.
Sep 16 01:05:18 TheWorkTracker[63050] ERROR er.extensions.appserver.ERXApplication  - TheWorkTracker failed to start.
IllegalArgumentException: The connection dictionaries for ERAttachment and TheWorkTrackerModel 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 TheWorkTrackerModel.removeJdbc2Info=true in your Properties file. (ERAttachment={password = "4004"; username = "asacksadmin"; URL = "jdbc:postgresql://localhost/theworktracker?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull"; }; and TheWorkTrackerModel={plugin = "PostgresqlPlugIn"; username = "asacksadmin"; driver = "org.postgresql.Driver"; password = "4004"; URL = "jdbc:postgresql://localhost/theworktracker?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull"; }).




 _______________________________________________
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: problem after adding ERAttachment
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: multipart upload become garbage
  • Next by Date: Re: problem after adding ERAttachment
  • Previous by thread: Re: multipart upload become garbage
  • Next by thread: Re: problem after adding ERAttachment
  • Index(es):
    • Date
    • Thread