Hi,
I have a project that is correctly built and run on a machine, but when built on another computer gives me a problem when connecting to the MySQL server.
I am able to generate SQL and connect to the MySQL server with Entity Modeler, so it seems that the driver, plugin and connection parameters are correctly set up. But when the application is run there the application raises a no connection exception:
Abr 04 12:27:38 PartyEvaluation[48844] DEBUG NSLog - Using JDBCPlugIn 'MySQLPlugIn' for JDBCAdaptor@530468383
Abr 04 12:27:38 PartyEvaluation[48844] DEBUG NSLog - Using JDBCPlugIn 'MySQLPlugIn' for JDBCAdaptor@183946516
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - Checking JDBC connection with information {plugin = "MySQLPlugIn"; username = "aacirino"; driver = "com.mysql.jdbc.Driver"; password = "<password deleted for log>"; URL = "" }
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - Trying to create JDBCAdaptor...
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - Successfully created adaptor com.webobjects.jdbcadaptor.JDBCAdaptor
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - Trying to create plugin...
Abr 04 12:27:38 PartyEvaluation[48844] DEBUG NSLog - Using JDBCPlugIn 'MySQLPlugIn' for JDBCAdaptor@469418656
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - Created plugin com.webobjects.jdbcadaptor.MySQLPlugIn
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - Trying to load JDBC driver com.mysql.jdbc.Driver...
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - Successfully loaded JDBC driver com.mysql.jdbc.Driver
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - JDBC driver and plugin are loaded, trying to connect...
Abr 04 12:27:38 PartyEvaluation[48844] INFO er.transaction.adaptor.ConnectionAnalyzer - Error: Exception thrown while connecting.
Check exception message carefully.
Abr 04 12:27:38 PartyEvaluation[48844] ERROR er.transaction.adaptor.ConnectionAnalyzer - No connection.
What can be causing this? Entity Modeler and the application are using the same connection properties but one fails.