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)