Le 2011-09-06 à 09:29, James Cicenia a écrit : > Hello - > > I am down to my last deployment issue. > > I have in my EOModels which are in their own frameworks, connection > properties. > However, those are for my development database. > > In deployment I put in the URL of the production database. > > During startup it gets read, but then, upon use, the model's database > properties are being used?
How do you change the connection dictionary in deployment? With dbConnectURLGLOBAL? > Early on in the log file upon startup (it reads my deployment parameters): > > sun.management.compiler=HotSpot Client Compiler > sun.os.patch.level=unknown >>>>>>>>>>>>>>>>>>>>>>>>>> (OK) >>>>>>>>>>>>>>>>>>>>>>>>>> url=jdbc:mysql://sgroupdbinstance.c628bvskpqpl.us-east-1.rds.amazonaws.com:3306/Blessings > user.country=US > user.dir=/opt/WOApplications/BlessingsApp.woa > user.home=/home/helloworld > user.language=en > user.name=helloworld > user.timezone=GB > username=asdfasdfadf > wolips.password=<deleted for log> > > Sep 06 12:58:19 iBlessings[2005] DEBUG NSLog - Finished initialization after > launch: ERXExtensions > Sep 06 12:58:19 iBlessings[2005] DEBUG NSLog - Finished initialization after > launch: ERPrototypes > Sep 06 12:58:20 iBlessings[2005] DEBUG NSLog - Finished initialization after > launch: ERDirectToWeb > Sep 06 12:58:20 iBlessings[2005] DEBUG NSLog - Finished initialization after > launch: Ajax > Sep 06 12:58:20 iBlessings[2005] INFO er.extensions.appserver.ERXApplication > - Welcome to iBlessings ! > Sep 06 12:58:20 iBlessings[2005] DEBUG NSLog - The URL for webserver connect > is: > http://domU-12-31-39-0A-09-87/cgi-bin/WebObjects/iBlessings.woa/-2005 > Sep 06 12:58:20 iBlessings[2005] WARN NSLog - > Sep 06 12:58:20 iBlessings[2005] DEBUG NSLog - ***** Warning: The > DirectToWeb WebAssistant will not be able to modify your DirectToWeb > resources. You must have your application proj > ect opened in Project Builder to save changes using the WebAssistant. > Sep 06 12:58:20 iBlessings[2005] DEBUG NSLog - Waiting for requests... > Sep 06 12:58:35 iBlessings[2005] INFO NSLog - ***DirectAction.loginAction - > username: asdfasdfasdf : password: asdfasdfadsfafads > Sep 06 12:58:35 iBlessings[2005] WARN er.extensions.eof.ERXModelGroup - > Clearing previous class descriptions > Sep 06 12:58:35 iBlessings[2005] WARN er.extensions.eof.ERXModelGroup - The > EOModel 'erprototypes' has an empty connection dictionary. > Sep 06 12:58:35 iBlessings[2005] WARN er.extensions.eof.ERXModelGroup - The > EOModel 'erprototypes' has an empty connection dictionary. > Sep 06 12:58:35 iBlessings[2005] DEBUG NSLog - Using JDBCPlugIn > 'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@6068467 > Sep 06 12:58:35 iBlessings[2005] DEBUG NSLog - Using JDBCPlugIn > 'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@30949581 > Sep 06 12:58:35 iBlessings[2005] DEBUG NSLog - Using JDBCPlugIn > 'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@14098944 > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (WHY DOES IT READ THIS INSTEAD ?) Sep >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 06 12:58:35 iBlessings[2005] DEBUG NSLog >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - connecting with dictionary: {driver >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> = "com.mysql.jdbc.Driver"; password = >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "<password deleted for log>"; username = >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "root"; URL = "jdb > c:mysql://localhost:3306/Blessings"; } > > Sep 06 12:58:36 iBlessings[2005] WARN NSLog - An exception occurred while > trying to open a channel: Communications link failure > > Thanks > James _______________________________________________ > 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/probert%40macti.ca > > 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]
