one declares plugin = "PostgresqlPlugIn" and one doesn't

On Sep 16, 2010, at 1:19 AM, Theodore Petrosky wrote:

> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to