Results 1 to 4 of 4
- 08-27-2010, 05:39 AM #1
Member
- Join Date
- Aug 2010
- Location
- Kuala Lumpur, Malaysia
- Posts
- 4
- Rep Power
- 0
java.sql.SQLException: java.net.ConnectException
I'm following this tutorial. At step A4j, when I click "Test Connection", I got an error message as attached.
The test connection operation failed for data source Order DS on server server1 at node xxxxx with the following exception: java.sql.SQLException: java.net.ConnectException : Error opening socket to server localhost on port 1527 with message : Connection refused: connectDSRA0010E: SQL State = null, Error Code = -4,499. View JVM logs for further details.
Then I went to open 1527 port, but still the same error message. Any idea?
- 08-27-2010, 10:01 AM #2
Member
- Join Date
- Aug 2010
- Location
- Kuala Lumpur, Malaysia
- Posts
- 4
- Rep Power
- 0
After I run startNetworkServer.bat, the previous error message is not more. But now is another error message,
The test connection operation failed for data source Order DS on server server1 at node xxxxxxx with the following exception: java.sql.SQLException: The application server rejected establishment of the connection. An attempt was made to access a database, JPATEST, which was not found.DSRA0010E: SQL State = 08004, Error Code = -4,499. View JVM logs for further details.
Will try to figure this out.
- 08-27-2010, 12:05 PM #3
Member
- Join Date
- Aug 2010
- Location
- Kuala Lumpur, Malaysia
- Posts
- 4
- Rep Power
- 0
After I run CONNECT 'JPATEST;create=true'; at ij command. I can now test the connection without any error.
- 08-27-2010, 12:42 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,382
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
java.sql.SQLException: Closed Connection
By sunjavaboy in forum JDBCReplies: 4Last Post: 03-21-2012, 01:38 PM -
java.sql.SQLException: No suitable driver
By Heather in forum JDBCReplies: 6Last Post: 09-01-2010, 11:29 AM -
java.sql.SQLException: Exhausted Resultset
By boy22 in forum JDBCReplies: 2Last Post: 06-07-2010, 08:45 AM -
Error opening socket: java.net.ConnectException: Connection refused: connect
By somersst in forum Java ServletReplies: 3Last Post: 01-26-2009, 05:30 PM -
java.net.ConnectException: Connection refused
By Albert in forum Advanced JavaReplies: 2Last Post: 07-03-2007, 04:49 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks