Try printing out both dictionaries and look to see how they are different. On Wed, Jan 11, 2012 at 8:31 AM, James Cicenia <ja...@jimijon.com> wrote:
> Now I am all confused ( I know, I know). > > If I just put the Global DB info in my App properties file, Wonder > complains: > > IllegalArgumentException: The connection dictionaries for ERAttachment > and BlessingsAndToasts 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 > BlessingsAndToasts.removeJdbc2Info=true in your Properties file. > > So, I do as it says. Same exception. > > This is my first application with the Model in a separate framework. All > my other apps had the model included so I have never seen this issue. > > Thanks > James > > > > > On Jan 11, 2012, at 4:02 AM, Amedeo Mantica wrote: > > why not in your app properties ? > > > > On 11/gen/2012, at 02:58, James Cicenia wrote: > > If I have a model in a Framework, what controls it's connection > configuration? > > I thought the properties file in the App would, but it looks like it > doesn't. It barks > about ERAttachment's configuration vs. the apps. If I put the connection > info > in the Model Frameworks's properties file, it runs... sort of. But now I > get this > kind of exception on startup: > > setting traceOpenLocks to false > Jan 10 19:53:00 BlessingsApp[6789] DEBUG > er.extensions.eof.ERXEC$DefaultFactory - Setting default delegate on > editing context: er.extensions.eof.ERXEC@4a4854f6 allows validation: true > Jan 10 19:53:00 BlessingsApp[6789] DEBUG er.extensions.eof.ERXEC - > setting delegate to > er.extensions.eof.ERXDefaultEditingContextDelegate@d054f93 > Jan 10 19:53:00 BlessingsApp[6789] DEBUG er.extensions.eof.ERXEC - > at er.extensions.eof.ERXEC.setDelegate(ERXEC.java:1469) > at > er.extensions.eof.ERXEC$DefaultFactory.setDefaultDelegateOnEditingContext( > ERXEC.java:1563) > at er.extensions.eof.ERXEC$DefaultFactory._newEditingContext( > ERXEC.java:1618) > at er.extensions.eof.ERXEC$DefaultFactory._newEditingContext( > ERXEC.java:1589) > at er.extensions.eof.ERXEC.newEditingContext(ERXEC.java:1681) > at er.extensions.jdbc.ERXJDBCUtilities.databaseProductName( > ERXJDBCUtilities.java:826) > at er.extensions.migration.ERXMigrator._buildDependenciesForModel( > ERXMigrator.java:352) > at er.extensions.migration.ERXMigrator._buildDependenciesForModelsNamed( > ERXMigrator.java:275) > at er.extensions.migration.ERXMigrator.migrateToLatest( > ERXMigrator.java:184) > at er.extensions.appserver.ERXApplication.finishInitialization( > ERXApplication.java:1128) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at com.webobjects.foundation.NSSelector._safeInvokeMethod( > NSSelector.java:122) > at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod( > NSNotificationCenter.java:588) > at com.webobjects.foundation.NSNotificationCenter.postNotification( > NSNotificationCenter.java:532) > at com.webobjects.foundation.NSNotificationCenter.postNotification( > NSNotificationCenter.java:546) > at com.webobjects.appserver.WOApplication.run(WOApplication.java:1229) > at er.extensions.appserver.ERXApplication.run(ERXApplication.java:1241) > at com.webobjects.appserver.WOApplication.main(WOApplication.java:548) > at er.extensions.appserver.ERXApplication.main(ERXApplication.java:726) > at com.jimijon.blessings.app.Application.main(Application.java:16) > > Jan 10 19:53:00 BlessingsApp[6789] DEBUG > er.extensions.eof.ERXEC$DefaultFactory - setting useSharedEditingContext > to false > Jan 10 19:53:00 BlessingsApp[6789] DEBUG er.extensions.eof.ERXEC - > setting useUnlocker to true > Jan 10 19:53:00 BlessingsApp[6789] DEBUG er.extensions.eof.ERXEC - After > pushing: [er.extensions.eof.ERXEC@4a4854f6] > Jan 10 19:53:00 BlessingsApp[6789] DEBUG er.extensions.ERXEC.LockLogger - > locked er.extensions.eof.ERXEC@4a4854f6 > Jan 10 19:53:00 BlessingsApp[6789] DEBUG > er.extensions.localization.ERXLocalizer - FrameworkSearchPath: ("app", > "ERJars", "ERPrototypes", "ERModernLook", "ERModernDefaultSkin", > "ERModernDirectToWeb", "JavaWOExtensions", "Ajax", "ModelBlessings", > "ERAttachment", "MySQLPlugIn", "ERDirectToRest", "ExcelGenerator", > "ERExcelLook", "ERRest", "WOLips", "JavaDTWGeneration", "JavaDirectToWeb", > "JavaFoundation", "JavaXML", "JavaJDBCAdaptor", "JavaWebObjects", > "JavaEOAccess", "JavaEOControl", "JavaEOProject", "ERDirectToWeb", > "ERExtensions") > Exception > at er.extensions.eof.ERXEC.lock(ERXEC.java:513) > at er.extensions.eof.ERXEC$DefaultFactory._newEditingContext( > ERXEC.java:1620) > at er.extensions.eof.ERXEC$DefaultFactory._newEditingContext( > ERXEC.java:1589) > at er.extensions.eof.ERXEC.newEditingContext(ERXEC.java:1681) > at er.extensions.jdbc.ERXJDBCUtilities.databaseProductName( > ERXJDBCUtilities.java:826) > at er.extensions.migration.ERXMigrator._buildDependenciesForModel( > ERXMigrator.java:352) > at er.extensions.migration.ERXMigrator._buildDependenciesForModelsNamed( > ERXMigrator.java:275) > at er.extensions.migration.ERXMigrator.migrateToLatest( > ERXMigrator.java:184) > at er.extensions.appserver.ERXApplication.finishInitialization( > ERXApplication.java:1128) > > > James Cicenia > cell: 773.398.4649 > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/webobjects-dev/amedeomailing%40insigno.it > > This email sent to amedeomail...@insigno.it > > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com > > This email sent to johnth...@gmail.com > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com