java 1.6.0_31 tcp sending fails

Bug #1322125 reported by Theo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Confirmed
Undecided
Theo

Bug Description

Since upgrading to java 1.6.0_31 on precise I get the following when sending via tcp.

java.io.IOException: Stream closed
 at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:162)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:325)
 at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282)
 at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324)
 at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176)
 at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:125)
 at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:111)
 at java.io.InputStreamReader.read(InputStreamReader.java:168)
 at java.io.FilterReader.read(FilterReader.java:65)
 at java.io.PushbackReader.read(PushbackReader.java:90)
 at com.sun.xml.messaging.saaj.util.XMLDeclarationParser.parse(XMLDeclarationParser.java:96)
 at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.lookForXmlDecl(SOAPPartImpl.java:660)
 at com.sun.xml.messaging.saaj.soap.ver1_2.SOAPPart1_2Impl.createEnvelopeFromSource(SOAPPart1_2Impl.java:81)
 at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
 at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPHeader(MessageImpl.java:1374)
 at com.flame.connection.impl.ebXML.AS4.Session.run(Session.java:560)

java 1.6.0_b30 and earlier works fine both on other precise and lucid machines

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-6-jre 6b31-1.13.3-1ubuntu1~0.12.04.2
ProcVersionSignature: Ubuntu 3.2.0-61.93-generic 3.2.55
Uname: Linux 3.2.0-61-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Thu May 22 12:05:48 2014
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.3)
MarkForUpload: True
SourcePackage: openjdk-6
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Theo (launchpad-flame) wrote :
Revision history for this message
Theo (launchpad-flame) wrote :

That should be receiving - ie. the problem is on receiving

Revision history for this message
Theo (launchpad-flame) wrote :

Also not possible to revert to openjdk-6-jre 1.6.0_30 eg.

# apt-get install openjdk-6-jre=6b30-1.13.1-1ubuntu2~0.12.04.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '6b30-1.13.1-1ubuntu2~0.12.04.1' for 'openjdk-6-jre' was not found

Revision history for this message
Theo (launchpad-flame) wrote :

Reverting to openjdk-6-jre 1.6.0_24 does not work, java remains at 1.6.0_31 - this after removing openjdk-6-jre 1.6.0_31 and all dependencies

# apt-get install openjdk-6-jre=6b24-1.11.1-4ubuntu2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  ca-certificates-java icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx libatk-wrapper-java libatk-wrapper-java-jni
  openjdk-6-jre-headless openjdk-6-jre-lib
Suggested packages:
  icedtea-plugin libnss-mdns sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei
  ttf-indic-fonts-core ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
The following NEW packages will be installed:
  ca-certificates-java icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx libatk-wrapper-java libatk-wrapper-java-jni
  openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib
0 upgraded, 9 newly installed, 0 to remove and 4 not upgraded.
Need to get 85,9 kB/40,6 MB of archives.
After this operation, 58,7 MB of additional disk space will be used.
<snip>
ldconfig deferred processing now taking place

# java -version
java version "1.6.0_31"
OpenJDK Runtime Environment (IcedTea6 1.13.3) (6b31-1.13.3-1ubuntu1~0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

Revision history for this message
Theo (launchpad-flame) wrote :

Problem resolved by setting saaj.lazy.contentlength to false

Changed in openjdk-6 (Ubuntu):
assignee: nobody → Theo (launchpad-flame)
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.