• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CentOS deployment problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CentOS deployment problem


  • Subject: Re: CentOS deployment problem
  • From: Theodore Petrosky <email@hidden>
  • Date: Sun, 27 Apr 2014 19:24:27 -0400

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@hidden> 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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: CentOS deployment problem
      • From: Ângelo Andrade Cirino <email@hidden>
References: 
 >CentOS deployment problem (From: Ângelo Andrade Cirino <email@hidden>)

  • Prev by Date: CentOS deployment problem
  • Next by Date: ERMooToolsDirectToWeb.framework compile errors
  • Previous by thread: CentOS deployment problem
  • Next by thread: Re: CentOS deployment problem
  • Index(es):
    • Date
    • Thread