db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xianghan Zheng" <xiang...@student.hia.no>
Subject org.apache.derby.client.am.DisconnectException in Derby
Date Sun, 24 Sep 2006 11:32:06 GMT
hi,
I get a strange exception:

Failure making connection: org.apache.derby.client.am.DisconnectException:
java.security.PrivilegedActionException : Error opening socket to server
192.168.0.105 on port 1527 with message : null
org.apache.derby.client.am.DisconnectException:
java.security.PrivilegedActionException : Error opening socket to server
192.168.0.105 on port 1527 with message : null
        at org.apache.derby.client.net.NetAgent.<init>(Unknown Source)
        at org.apache.derby.client.net.NetConnection.newAgent_(Unknown
Source)
        at org.apache.derby.client.am.Connection.<init>(Unknown Source)
        at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
        at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:525)
        at java.sql.DriverManager.getConnection(DriverManager.java:140)
        at DerbyTest.getClientDriverManagerConnection(DerbyTest.java:142)
        at DerbyTest.startSample(DerbyTest.java:91)
        at DerbyTest.main(DerbyTest.java:75)
debug:
BUILD SUCCESSFUL (total time: 49 seconds)

The problem is that i can only access the derby server in localhost, not
the remote access. Does somebody know what is the problem. How to solve
it?

Best Regards,
Zheng Xianghan





Mime
View raw message