glassfish
  1. glassfish
  2. GLASSFISH-13217

Redeploy during upgrade from 2.1.1 of a timer app results in IOException: Stream closed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_b20
    • Component/s: deployment
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      13,217

      Description

      Redeploy during the upgrade fails with (the app is from ejb devtests
      (ejb/timer/timertests) and was deployed using 'ant clean build create-resources
      deploy'):

      Repackaging of application ejb-timer-timertestsApp failed: Stream closed
      java.io.IOException: Stream closed
      at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
      at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:200)
      at com.sun.enterprise.util.io.FileUtils.copy(FileUtils.java:910)
      at
      com.sun.enterprise.v3.server.UpgradeStartup.processModule(UpgradeStartup.java:478)
      at
      com.sun.enterprise.v3.server.UpgradeStartup.repackageApplication(UpgradeStartup.java:392)
      at
      com.sun.enterprise.v3.server.UpgradeStartup.repackageArchive(UpgradeStartup.java:362)
      at
      com.sun.enterprise.v3.server.UpgradeStartup.redeployApp(UpgradeStartup.java:294)
      at com.sun.enterprise.v3.server.UpgradeStartup.start(UpgradeStartup.java:171)
      at org.glassfish.kernel.GlassFishActivator$1$1.start(GlassFishActivator.java:100)
      at
      com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:121)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at
      com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:102)
      at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:65)

      #]

        Activity

        Hide
        Hong Zhang added a comment -

        this was already fixed as the deployment part of the fix for issue 13330

        Show
        Hong Zhang added a comment - this was already fixed as the deployment part of the fix for issue 13330

          People

          • Assignee:
            Hong Zhang
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: