Skip to main content

Hi All

 

I am using Derby database and in my local port 8081 gives error. so i have to use other ports to run the application.

when i deployed to cloud, i am getting following error:

 

org.mule.module.db.internal.domain.connection.ConnectionCreationException: java.sql.SQLException: Cannot get connection for URL jdbc:derby://localhost:1527/memory:training : java.net.ConnectException : Error connecting to server localhost on port 1,527 with message Connection refused. (java.sql.SQLException) (org.mule.module.db.internal.processor.DbConnectionException).

 

I tried deploying with both 8081 and 8085 http ports. i am getting same error. What is the possible reason for this?

 

Edit: My implementation url is: http://apdev-american-ws-mk.cloudhub.io/api/flights

답변 2개
  1. 2016년 7월 8일 오후 10:51
    Build the solution with Derby in mind, the DataWeave portion will work. But since Derby is not available in the cloud, you cannot deploy your app with Derby as an option. You may not like this suggestion, but the easiest solution would be to use a personal laptop to do these exercises, or may be connect to a guest wifi from work, and attempt to access the MySQL DB. The course requires access to some cloud services, without it, some of the walk-throughs won't work.

     

    -gopal

0/9000