I managed to solve the issue by making a symbolic link of the driver into /usr/java/packages/lib/ext (I had to create this directory)
2014-04-27 20:24 GMT-03:00 Theodore Petrosky <[email protected]>: > did you try to deploy the app with all the frameworks (including the mysql > driver) embedded? > > I always copy the postgresql.jar into the library folder and add it to the > path. > > > On Apr 27, 2014, at 4:20 PM, Ângelo Andrade Cirino <[email protected]> > wrote: > > Hi, > > I am migrating a deployment from an Ubuntu server to a CentOS install on > Rackspace with a cloud database separate from the web server, where WO and > Apache reside. The Ubuntu install runs fine, but in CentOS I am not able to > start my application from the command line neither from the WOMonitor. I am > getting the following exception: > > Apr 27 20:07:40 Visiontur0.11[42504] DEBUG NSLog - Using JDBCPlugIn > 'MySQLPlugIn' for JDBCAdaptor@365863915 > Apr 27 20:07:40 Visiontur0.11[42504] WARN NSLog - An exception occurred > while trying to open a channel: N/A > Apr 27 20:07:40 Visiontur0.11[42504] ERROR > com.webobjects.eoaccess.ERXEntityDependencyOrderingDelegate - Unexpected > non-EOGeneralAdaptorException exception > IllegalStateException: _obtainOpenChannel -- > com.webobjects.eoaccess.EODatabaseContext > com.webobjects.eoaccess.EODatabaseContext@58383316: failed to open > database channel. Check your connection dictionary, and ensure your > database is correctly configured. > > For the record, I am able to connect to the MySQL server with mysql client > in the CentOS server, so it doesn't seem a firewall or database permission > issue. Anyway, the application deployed on the Ubuntu server has the same > configuration and runs flawlessly. > > The MySQL JDBC driver is in /opt/Library/Frameworks and I used the > following instructions to install the deployment environment: > > http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux > > What can I possibly be doing wrong? > > Angelo > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
