db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-777) Hang in starting network server on Z/OS
Date Tue, 20 Dec 2005 00:11:31 GMT
     [ http://issues.apache.org/jira/browse/DERBY-777?page=all ]

Daniel John Debrunner updated DERBY-777:

    Attachment: derby777_1.txt

Patch to avoid using this code to get the default encoding, rather just use the standard constructors
for objects that use
the default encoding.

encode = new java.io.InputStreamReader(System.in).getEncoding()

Only initial testing has been performed on patch (suite i18nTest), will run derbyall before

> Hang in starting network server on Z/OS
> ---------------------------------------
>          Key: DERBY-777
>          URL: http://issues.apache.org/jira/browse/DERBY-777
>      Project: Derby
>         Type: Bug
>   Components: Localization, Network Server
>     Versions:
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>  Attachments: derby777_1.txt
> Hang is in the java library call java/io/InputStreamReader.getEncoding
> Looking at the Derby code, this call is used to get the default encoding as a String,
> the default encoding value is not required, the localization code can just use the constructors
> that use default encoding. Will attach a 10.1 branch patch soon. See if this can work
> the hang in the java library.
> 3XMTHREADINFO      "main" (TID:0x0A06D000, sys_thread_t:0x09F396EC, state:R, native ID:0x098B7500)
> 4XESTACKTRACE          at java/io/FileInputStream.readBytes(Native Method)
> 4XESTACKTRACE          at java/io/FileInputStream.read(FileInputStream.java:229)
> 4XESTACKTRACE          at java/io/BufferedInputStream.read1(BufferedInputStream.java:265)
> 4XESTACKTRACE          at java/io/BufferedInputStream.read(BufferedInputStream.java:324)
> 4XESTACKTRACE          at java/io/BufferedInputStream.fill(BufferedInputStream.java:229)
> 4XESTACKTRACE          at java/io/BufferedInputStream.read(BufferedInputStream.java:246)
> 4XESTACKTRACE          at sun/nio/cs/StreamDecoder$LocalizedSD.sdInit(StreamDecoder.java:662)
> 4XESTACKTRACE          at sun/nio/cs/StreamDecoder$LocalizedSD.encodingName(StreamDecoder.java:625)
> 4XESTACKTRACE          at sun/nio/cs/StreamDecoder.getEncoding(StreamDecoder.java:180)
> 4XESTACKTRACE          at java/io/InputStreamReader.getEncoding(InputStreamReader.java:184)
> 4XESTACKTRACE          at org/apache/derby/iapi/tools/i18n/LocalizedResource.init(Bytecode
> 4XESTACKTRACE          at org/apache/derby/iapi/tools/i18n/LocalizedResource.<init>(Bytecode
> 4XESTACKTRACE          at org/apache/derby/impl/drda/NetworkServerControlImpl.init(Bytecode
> 4XESTACKTRACE          at org/apache/derby/impl/drda/NetworkServerControlImpl.<init>(Bytecode
> 4XESTACKTRACE          at org/apache/derby/drda/NetworkServerControl.main(Bytecode PC:6)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message