problem after adding ERAttachment
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