db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piet Blok" <pbh...@wanadoo.nl>
Subject DRDA_InvalidReplyTooShort.S:Invalid reply from network server: Insufficient data.
Date Sat, 01 Apr 2006 10:40:33 GMT
Hi list,

When stress testing a mechanism to simultaneously start the Derby network 
server from different applications at the same time, I sometimes get the 
following exception:

DRDA_InvalidReplyTooShort.S:Invalid reply from network server: Insufficient 
data.

Is this possibly a bug?

If needed, I can show the source code.

The exception is thrown when executing 
instanceOfNetworkserverControl.getCurrentProperties() at a moment when, to 
my best knowledge, a derby network server has issued the message:

Server is ready to accept connections on port 1527.

Here a clip from the stacktrace:

Thread 2: jdbc:derby://localhost:1527/
Thread 5: jdbc:derby://localhost:1527/
Thread 23: DRDA_InvalidReplyTooShort.S:Invalid reply from network server: 
Insuff
icient data.
java.lang.Exception: DRDA_InvalidReplyTooShort.S:Invalid reply from network 
serv
er: Insufficient data.
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMe
ssageWork(Unknown Source)
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMe
ssage(Unknown Source)
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.fillReplyBuffer(U
nknown Source)
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.readBytesReply(Un
known Source)
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.getCurrentPropert
ies(Unknown Source)
        at 
org.apache.derby.drda.NetworkServerControl.getCurrentProperties(Unkno
wn Source)
        at org.pbjar.derby.Derby.formatURL(Derby.java:72)
        at org.pbjar.derby.Derby.getClientURL(Derby.java:57)
        at org.pbjar.derby.TestDerby$1.run(TestDerby.java:35)
        at java.lang.Thread.run(Unknown Source)
Thread 4: jdbc:derby://localhost:1527/
Thread 15: jdbc:derby://localhost:1527/
Thread 21: jdbc:derby://localhost:1527/

Here the sysinfo:

------------------ Java Information ------------------
Java Version:    1.5.0_06
Java Vendor:     Sun Microsystems Inc.
Java home:       C:\Program Files\Java\jre1.5.0_06
Java classpath: 
.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\l
ib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;C:\WINDOWS\java\classes;C:\WorkSpace\PB 
3.
0\bin;C:\WorkSpace\Filipe\bin;C:\Documents and Settings\Piet\My 
Documents\Resour
ces\Jars\ImgrRdr130.jar;C:\Documents and Settings\Piet\My 
Documents\Resources\Ja
rs\lucene-1.4.1.jar;C:\Documents and Settings\Piet\My 
Documents\Resources\Jars\M
ultivalent20040415.jar;C:\Workspace\Database\bin;
OS name:         Windows XP
OS architecture: x86
OS version:      5.1
Java user name:  Piet
Java user home:  C:\Documents and Settings\Piet
Java user dir:   C:\Documents and Settings\Piet\My Documents\StickFolder
java.specification.name: Java Platform API Specification
java.specification.version: 1.5
--------- Derby Information --------
JRE - JDBC: J2SE 5.0 - JDBC 3.0
[/org/apache/derby/info/DBMS.properties] 10.1.2.1 - (330608)
[/org/apache/derby/info/tools.properties] 10.1.2.1 - (330608)
[/org/apache/derby/info/net.properties] 10.1.2.1 - (330608)
[/org/apache/derby/info/dnc.properties] 10.1.2.1 - (330608)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale :  [Nederlands/Nederland [nl_NL]]
Found support for locale: [de_DE]
         version: 10.1.2.1 - (330608)
Found support for locale: [es]
         version: 10.1.2.1 - (330608)
Found support for locale: [fr]
         version: 10.1.2.1 - (330608)
Found support for locale: [it]
         version: 10.1.2.1 - (330608)
Found support for locale: [ja_JP]
         version: 10.1.2.1 - (330608)
Found support for locale: [ko_KR]
         version: 10.1.2.1 - (330608)
Found support for locale: [pt_BR]
         version: 10.1.2.1 - (330608)
Found support for locale: [zh_CN]
         version: 10.1.2.1 - (330608)
Found support for locale: [zh_TW]
         version: 10.1.2.1 - (330608)
------------------------------------------------------


Kind regards,

Piet Blok



Mime
View raw message