db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jessie Zhang <jzh...@splicemachine.com>
Subject could not connect to derby network server via Squirrel SQL client
Date Wed, 06 Feb 2013 22:32:13 GMT
Hi there

I tried to use Squirrel SQL client to connect to my modified Derby network
server (using org.apache.derby.jdbc.ClientDriver), and I got a
ClassCastException. Not sure why EmbedDatabaseMetaData would be mixed into
this. I can connect to this network server via ij and
junit test case using port 1527.

Anyone has any insights?

thx
Jessie

--------------------
Wed Feb 06 14:14:45 PST 2013 :
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40 cannot be cast to
java.lang.Boolean
java.lang.ClassCastException:
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40 cannot be cast to
java.lang.Boolean
at
org.apache.derby.impl.drda.DRDAConnThread.writeFdocaVal(DRDAConnThread.java:7979)
at
org.apache.derby.impl.drda.DRDAConnThread.writeFDODTA(DRDAConnThread.java:7246)
at
org.apache.derby.impl.drda.DRDAConnThread.writeQRYDTA(DRDAConnThread.java:6980)
at
org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTT(DRDAConnThread.java:4268)
at
org.apache.derby.impl.drda.DRDAConnThread.processCommands(DRDAConnThread.java:1063)
at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:295)
Wed Feb 06 14:14:45 PST 2013 : Execution failed because of Permanent Agent
Error: SVRCOD = 40; RDBNAM = wombat; diagnostic msg =
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40 cannot be cast to
java.lang.Boolean
org.apache.derby.impl.drda.DRDAProtocolException: Execution failed because
of Permanent Agent Error: SVRCOD = 40; RDBNAM = wombat; diagnostic msg =
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40 cannot be cast to
java.lang.Boolean
at
org.apache.derby.impl.drda.DRDAProtocolException.newAgentError(DRDAProtocolException.java:340)
at
org.apache.derby.impl.drda.DRDAConnThread.sendUnexpectedException(DRDAConnThread.java:8504)
at
org.apache.derby.impl.drda.DRDAConnThread.handleException(DRDAConnThread.java:8455)
at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:320)
Wed Feb 06 14:14:45 PST 2013 :
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40 cannot be cast to
java.lang.Boolean
java.lang.ClassCastException:
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40 cannot be cast to
java.lang.Boolean
at
org.apache.derby.impl.drda.DRDAConnThread.writeFdocaVal(DRDAConnThread.java:7979)
at
org.apache.derby.impl.drda.DRDAConnThread.writeFDODTA(DRDAConnThread.java:7246)
at
org.apache.derby.impl.drda.DRDAConnThread.writeQRYDTA(DRDAConnThread.java:6980)
at
org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTT(DRDAConnThread.java:4268)
at
org.apache.derby.impl.drda.DRDAConnThread.processCommands(DRDAConnThread.java:1063)
at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:295)

Mime
View raw message