com.ibm.ws.install.ni.framework.NIFException: Stream closed

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I'm trying Pax Runner 0.91.1 with Felix 1.6.1, But when I start my system, some exception occurred: -> wrap:file:../lib/json-lib-2.2.3-jdk15.jar : downloading... -> wrap:file:../lib/json-lib-2.2.3-jdk15.jar : 150823 bytes @ [ 1464kBps ] -> wrap:file:../lib/ezmorph-1.0.6.jar : downloading... -> wrap:file:../lib/ezmorph-1.0.6.jar : 87925 bytes @ [ 1570kBps ] -> file:../lib/groovy-all-1.6.0.jar : downloading... Exception in thread "Thread-19" java.lang.RuntimeException: Bundle cannot be generated at org.ops4j.pax.url.bnd.BndUtils$1.run(BndUtils.java:144) Caused by: java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(Unknown Source) at java.io.PipedInputStream.receive(Unknown Source) at java.io.PipedOutputStream.write(Unknown Source) at java.util.zip.ZipOutputStream.writeInt(Unknown Source) at java.util.zip.ZipOutputStream.writeCEN(Unknown Source) at java.util.zip.ZipOutputStream.finish(Unknown Source) at aQute.lib.osgi.Jar.write(Jar.java:214) at org.ops4j.pax.url.bnd.BndUtils$1.run(BndUtils.java:140) I've created some config files to let pax runner download the bundle file (in my problem is groovy-all-1.6.0.jar) from local path (../lib from the current running folder) instead of the internet. I've checked the source code ,it seems that when copy the bundle jar from my local path to bundle cache, piped stream is used, the exception throws when write the input stream to output stream. And the exception isn't always thrown when creating groovy bundles, but maybe some large bundle jar will do. But after the exception, the system can start correctly, and the groovy bundle can work well. This matter won't happen when I use pax runner 0.17.2 with felix 1.4.1. Attachment #1 pax-run.log Attachment #2 contains the following pax-run properties file custom platform definition default started bundles Attachment #3 is useless and has been contained in #2
    via by tangrui,
  • Here is the config of my bnd + command used : karaf@root> D:\Dvlpt\Java\workspace\apache-smx4-source\apache-servicemix-4.1.0-SNAPSHOT\bin>servicemix.bat ____ _ __ __ _ / ___| ___ _ ____ _(_) ___ ___| \/ (_)_ __ \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ / ___) | __/ | \ V /| | (_| __/ | | | |> < |____/ \___|_| \_/ |_|\___\___|_| |_|_/_/\_\ Apache ServiceMix (4.1.0-SNAPSHOT) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. karaf@root> osgi:install -s warref:file:///d:/temp/camel-web.bnd Exception in thread "Thread-19" java.lang.RuntimeException: Bundle cannot be generated at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:171) Caused by: java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244) at java.io.PipedInputStream.receive(PipedInputStream.java:185) at java.io.PipedOutputStream.write(PipedOutputStream.java:105) at java.util.zip.ZipOutputStream.writeInt(ZipOutputStream.java:447) at java.util.zip.ZipOutputStream.writeCEN(ZipOutputStream.java:398) at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:309) at aQute.lib.osgi.Jar.write(Jar.java:214) at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:167) Bundle ID: 104 {code} WAR-URL:\ war:mvn:org.apache.camel/camel-web/2.1.0/war Bundle-SymbolicName:\ camel.webconsole Bundle-Version:\ 2.1.0 Export-Package:\ !* Bundle-Classpath:\ .,\ WEB-INF/classes,\ WEB-INF/tags/api Webapp-Context:\ activemqweb Import-Package:\ javax.*; resolution:=optional,\ com.sun.jersey.spi.spring.container.servlet.*; resolution:=optional,\ !* {code} Result of what PAX generates : {code} Manifest-Version: 1.0 Bundle-ClassPath: .,WEB-INF/classes,WEB-INF/lib/activation-1.1.jar,WEB -INF/lib/ant-1.7.1.jar,WEB-INF/lib/ant-launcher-1.7.1.jar,WEB-INF/lib /aopalliance-1.0.jar,WEB-INF/lib/asm-3.1.jar,WEB-INF/lib/camel-core-2 .1.0.jar,WEB-INF/lib/camel-groovy-2.1.0.jar,WEB-INF/lib/camel-ruby-2. 1.0.jar,WEB-INF/lib/camel-spring-2.1.0.jar,WEB-INF/lib/commons-loggin g-api-1.1.jar,WEB-INF/lib/commons-management-1.0.jar,WEB-INF/lib/groo vy-all-1.6.3.jar,WEB-INF/lib/jdom-1.0.jar,WEB-INF/lib/jline-0.9.94.ja r,WEB-INF/lib/jruby-1.2.0.jar,WEB-INF/lib/jstl-1.1.2.jar,WEB-INF/lib/ rome-0.9.jar,WEB-INF/lib/sitemesh-2.3.jar,WEB-INF/lib/slf4j-api-1.5.8 .jar,WEB-INF/lib/slf4j-log4j12-1.5.8.jar,WEB-INF/lib/spring-2.5.6.jar ,WEB-INF/lib/spring-aop-2.5.6.jar,WEB-INF/lib/spring-beans-2.5.6.jar, WEB-INF/lib/spring-context-2.5.6.jar,WEB-INF/lib/spring-core-2.5.6.ja r,WEB-INF/lib/spring-tx-2.5.6.jar,WEB-INF/lib/spring-web-2.5.6.jar,WE B-INF/lib/standard-1.1.2.jar,WEB-INF/lib/stax-api-1.0-2.jar,WEB-INF/l ib/stax-api-1.0.1.jar Built-By: hadrian Tool: Bnd-0.0.313 Bundle-Name: mvn_org.apache.camel_camel-web_2.1.0_war Created-By: 1.6.0_16 (Sun Microsystems Inc.) WAR-URL: mvn:org.apache.camel/camel-web/2.1.0/war Generated-By-Ops4j-Pax-From: mvn:org.apache.camel/camel-web/2.1.0/war Build-Jdk: 1.5.0_20 Bundle-Version: 0 Bnd-LastModified: 1262961421375 Bundle-ManifestVersion: 2 Bundle-SymbolicName: mvn_org.apache.camel_camel-web_2.1.0_war Import-Package: javax.accessibility;resolution:=optional,javax.annotat ion;resolution:=optional,javax.ejb;resolution:=optional,javax.el;reso lution:=optional,javax.faces.application;resolution:=optional,javax.f aces.context;resolution:=optional,javax.faces.el;resolution:=optional ,javax.faces.event;resolution:=optional,javax.interceptor;resolution: =optional,javax.jdo;resolution:=optional,javax.jdo.datastore;resoluti on:=optional,javax.jms;resolution:=optional,javax.jws;resolution:=opt ional,javax.mail;resolution:=optional,javax.mail.internet;resolution: =optional,javax.management;resolution:=optional,javax.management.mode lmbean;resolution:=optional,javax.management.openmbean;resolution:=op tional,javax.management.remote;resolution:=optional,javax.naming;reso lution:=optional,javax.naming.spi;resolution:=optional,javax.persiste nce;resolution:=optional,javax.persistence.spi;resolution:=optional,j avax.resource;resolution:=optional,javax.resource.cci;resolution:=opt ional,javax.resource.spi;resolution:=optional,javax.resource.spi.endp oint;resolution:=optional,javax.resource.spi.work;resolution:=optiona l,javax.rmi;resolution:=optional,javax.rmi.CORBA;resolution:=optional ,javax.script;resolution:=optional,javax.servlet;resolution:=optional ,javax.servlet.http;resolution:=optional,javax.servlet.jsp;resolution :=optional,javax.servlet.jsp.el;resolution:=optional,javax.servlet.js p.tagext;resolution:=optional,javax.sql;resolution:=optional,javax.sq l.rowset;resolution:=optional,javax.swing;resolution:=optional,javax. swing.border;resolution:=optional,javax.swing.event;resolution:=optio nal,javax.swing.plaf;resolution:=optional,javax.swing.plaf.basic;reso lution:=optional,javax.swing.plaf.metal;resolution:=optional,javax.sw ing.table;resolution:=optional,javax.swing.text;resolution:=optional, javax.swing.tree;resolution:=optional,javax.swing.undo;resolution:=op tional,javax.transaction;resolution:=optional,javax.transaction.xa;re solution:=optional,javax.ws.rs;resolution:=optional,javax.ws.rs.core; resolution:=optional,javax.ws.rs.ext;resolution:=optional,javax.xml.b ind;resolution:=optional,javax.xml.bind.annotation;resolution:=option al,javax.xml.bind.annotation.adapters;resolution:=optional,javax.xml. parsers;resolution:=optional,javax.xml.rpc;resolution:=optional,javax .xml.rpc.encoding;resolution:=optional,javax.xml.rpc.server;resolutio n:=optional,javax.xml.rpc.soap;resolution:=optional,javax.xml.soap;re solution:=optional,javax.xml.transform;resolution:=optional,javax.xml .transform.dom;resolution:=optional,javax.xml.transform.sax;resolutio n:=optional,javax.xml.transform.stream;resolution:=optional,javax.xml .validation;resolution:=optional,javax.xml.ws;resolution:=optional,ja vax.xml.ws.handler;resolution:=optional,javax.xml.ws.soap;resolution: =optional,javax.xml.xpath;resolution:=optional,org.w3c.dom;resolution :=optional,org.w3c.dom.traversal;resolution:=optional,org.xml.sax;res olution:=optional,org.xml.sax.ext;resolution:=optional,org.xml.sax.he lpers;resolution:=optional Originally-Created-By: Apache Maven Archiver-Version: Plexus Archiver {code} IT SEEMS THAT PAX KEEP INFO IN CACHE SOMEWHERE BECAUSE THE RESULT GENERATED CORRESPOND TO WHAT WAS DEFINED IN FIRST INSTALL
    via by Charles Moulliard,
  • soot.CompilationDeathException
    via GitHub by yogiam
    ,
  • hi, i got these errors at the startup... what should i do? ----------------------------------------------------------------------------------- 2004-10-22 10:46:28,765 WARN [service.services.export.ExportService] Exception r unning export service: Error in action: com.atlassian.jira.action.admin.DataExpo rt@5574b5, result: null: Stream closed java.io.IOException: Stream closed at java.util.zip.ZipOutputStream.ensureOpen(ZipOutputStream.java:41) at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:281) at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:13 1) at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:307) at com.atlassian.jira.action.admin.DataExport.execute(DataExport.java:20 9) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher. java:131) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActi onDispatcher.java:34) at com.atlassian.jira.service.services.export.ExportService.run(ExportSe rvice.java:90) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContai ner.java:53) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:5 0) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j ava:387) rethrown as com.atlassian.core.AtlassianCoreException: Error in action: com.atlassian.jira.a ction.admin.DataExport@5574b5, result: null: Stream closed at com.atlassian.core.action.ActionUtils.checkForErrors(ActionUtils.java :49) at com.atlassian.jira.service.services.export.ExportService.run(ExportSe rvice.java:91) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContai ner.java:53) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:5 0) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j ava:387) -----------------------------------------------------------------------------------
    via by Huseyin KAHRAMAN,
  • 1) Install 3.0.1 Standalone Enterprise (Eval copy) on a separate dir. (than the one that currently exists for 2.6.1). 2) Change the entityengine.xml, server.xml to point to the existing oracle database that contains 8000+ bugs (from 2.6.1) 3) Start the 3.0.1 server. As soon as I start the server, I get the resulting exception on the command prompt... Also when I try to type the URL for the server, I get a exception screen instead of a login screen... [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 [INFO] StdSchedulerFactory - -Quartz scheduler 'JiraQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' [INFO] StdSchedulerFactory - -Quartz scheduler version: 1.0.7 2004-10-18 12:59:40,784 ERROR [atlassian.jira.upgrade.UpgradeManagerImpl] Error occured during export before upgrade. java.io.IOException: Stream closed at java.util.zip.ZipOutputStream.ensureOpen(ZipOutputStream.java:41) at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:280) at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:131) at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:306) at com.atlassian.jira.action.admin.DataExport.execute(DataExport.java:209) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:34) at com.atlassian.jira.bean.export.AutoExportImpl.exportData(AutoExportImpl.java:57) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeeded(UpgradeManagerImpl.java:300) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeededAndAllowed(UpgradeManagerImpl.java:279) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:69) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3271) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3613) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) rethrown as com.atlassian.core.AtlassianCoreException: Error in action: com.atlassian.jira.action.admin.DataExport@49f997, result: null: Stream closed at com.atlassian.core.action.ActionUtils.checkForErrors(ActionUtils.java:49) at com.atlassian.jira.bean.export.AutoExportImpl.exportData(AutoExportImpl.java:66) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeeded(UpgradeManagerImpl.java:300) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeededAndAllowed(UpgradeManagerImpl.java:279) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:69) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3271) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3613) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) [INFO] QuartzScheduler - -Scheduler JiraQuartzScheduler_$_NON_CLUSTERED started. [Filter: profiling] Using parameter [jira_profile] [Filter: profiling] defaulting to off [autostart=false] [Filter: profiling] Turning filter off [jira_profile=off] [WARN] ServletDispatcher - -Unable to find 'webwork.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir [INFO] ServletDispatcher - -Action dispatcher initialized [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 2004-10-18 12:59:51,519 WARN [service.services.export.ExportService] Exception running export service: Error in action: com.atlassian.jira.action.admin.DataExport@196b6 , result: null: Stream closed java.io.IOException: Stream closed at java.util.zip.ZipOutputStream.ensureOpen(ZipOutputStream.java:41) at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:280) at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:131) at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:306) at com.atlassian.jira.action.admin.DataExport.execute(DataExport.java:209) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:34) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:90) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:53) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) rethrown as com.atlassian.core.AtlassianCoreException: Error in action: com.atlassian.jira.action.admin.DataExport@196b65, result: null: Stream closed at com.atlassian.core.action.ActionUtils.checkForErrors(ActionUtils.java:49) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:91) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:53) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)
    via by Preetham V V,
    • com.ibm.ws.install.ni.framework.NIFException: Stream closed at com.ibm.ws.install.ni.framework.satellites.DeploySatellitesPlugin.execute(DeploySatellitesPlugin.java:191) at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.executeTheseInstallPackages(InstallNIFMaintenance.java:1110) at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.executeThisInstallPackage(InstallNIFMaintenance.java:663) at com.ibm.ws.install.ismp.actions.InstallListOfMaintenances.executeThisInstallPackage(InstallListOfMaintenances.java:706) at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.executeThisInstallPackage(InstallNIFMaintenance.java:1061) at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.executeThisInstallPackage(InstallNIFMaintenance.java:527) at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.executeThisInstallPackage(InstallNIFMaintenance.java:459) at com.ibm.ws.install.ismp.actions.InstallListOfMaintenances.executeInstallPackagePaths(InstallListOfMaintenances.java:577) at com.ibm.ws.install.ismp.actions.InstallListOfMaintenances.performExecution(InstallListOfMaintenances.java:424) at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.execute(InstallNIFMaintenance.java:80) at com.ibm.ws.install.ismp.actions.InstallListOfMaintenances.execute(InstallListOfMaintenances.java:67) at com.installshield.wizard.RunnableWizardBeanContext.run(RunnableWizardBeanContext.java:21) Caused by: java.io.IOException: Stream closed at java.util.zip.ZipOutputStream.ensureOpen(ZipOutputStream.java:81) at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:307) at com.ibm.ws.install.ni.framework.io.UnclosableZIPOutputStream.closeWrappedStream(UnclosableZIPOutputStream.java:63) at com.ibm.ws.install.ni.framework.io.ZIPFileSystem.closeAllCachedZIPOutputStreams(ZIPFileSystem.java:1396) at com.ibm.ws.install.ni.framework.io.ZIPFileSystem.flush(ZIPFileSystem.java:1093) at com.ibm.ws.install.ni.framework.io.FileSystem.flushAllFileSystems(FileSystem.java:87) at com.ibm.ws.install.ni.framework.satellites.DeploySatellitesPlugin.execute(DeploySatellitesPlugin.java:187) ... 11 more

    Users with the same issue

    musketyr
    musketyr2 times, last one,
    Unknown visitor1 times, last one,