• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem when Application Assembly in WAS4.0.1 ( help me please-urgent.....)

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai All,
I am trying to assemble an (J2EE)application which includs a session bean , servlet client and java client. I am following the exact steps from the IBM infocenter
:http://www3.ibm.com/software/webservers/appserv/doc/v40/aes/infocenter/index.html
all the thinks going fine but at last when I tryed to save the all stuff in .ear it rise with an exception :
Exception:
java.io.IOException: java.lang.IllegalStateException: zip file closed
at com.ibm.etools.archive.impl.ZipFileLoadStrategyImpl.getInputStream(ZipFileLoadStrategyImpl.java:86)
at com.ibm.etools.commonarchive.impl.ContainerImpl.primGetInputStream(ContainerImpl.java:230)
at com.ibm.etools.commonarchive.impl.FileImpl.getInputStream(FileImpl.java:37)
at com.ibm.etools.archive.impl.FileIteratorImpl.getInputStream(FileIteratorImpl.java:21)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:92)
at com.ibm.etools.archive.impl.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:107)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:63)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.save(ArchiveImpl.java:664)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.save(ModuleFileImpl.java:233)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:77)
at com.ibm.etools.archive.impl.ZipStreamSaveStrategyImpl.save(ZipStreamSaveStrategyImpl.java:76)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:87)
at com.ibm.etools.archive.impl.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:107)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:63)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.save(ArchiveImpl.java:664)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.save(ModuleFileImpl.java:233)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.saveAsNoReopen(ArchiveImpl.java:694)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.saveAs(ArchiveImpl.java:679)
at com.ibm.ejs.assembly.gui.command.SaveAsCommand.save(SaveAsCommand.java:26)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.assembly.gui.command.BaseCommand.run(BaseCommand.java:84)
at com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java:89)
com.ibm.etools.archive.exception.SaveFailureException: com/ibm/websphere/gettingstarted/ejbs/SimpleSession.class
Stack trace of nested exception:
java.io.IOException: java.lang.IllegalStateException: zip file closed
at com.ibm.etools.archive.impl.ZipFileLoadStrategyImpl.getInputStream(ZipFileLoadStrategyImpl.java:86)
at com.ibm.etools.commonarchive.impl.ContainerImpl.primGetInputStream(ContainerImpl.java:230)
at com.ibm.etools.commonarchive.impl.FileImpl.getInputStream(FileImpl.java:37)
at com.ibm.etools.archive.impl.FileIteratorImpl.getInputStream(FileIteratorImpl.java:21)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:92)
at com.ibm.etools.archive.impl.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:107)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:63)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.save(ArchiveImpl.java:664)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.save(ModuleFileImpl.java:233)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:77)
at com.ibm.etools.archive.impl.ZipStreamSaveStrategyImpl.save(ZipStreamSaveStrategyImpl.java:76)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:87)
at com.ibm.etools.archive.impl.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:107)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:63)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.save(ArchiveImpl.java:664)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.save(ModuleFileImpl.java:233)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.saveAsNoReopen(ArchiveImpl.java:694)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.saveAs(ArchiveImpl.java:679)
at com.ibm.ejs.assembly.gui.command.SaveAsCommand.save(SaveAsCommand.java:26)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.assembly.gui.command.BaseCommand.run(BaseCommand.java:84)
at com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java:89)
java.lang.reflect.InvocationTargetException: com.ibm.etools.archive.exception.SaveFailureException: com/ibm/websphere/gettingstarted/ejbs/SimpleSession.class
Stack trace of nested exception:
java.io.IOException: java.lang.IllegalStateException: zip file closed
at com.ibm.etools.archive.impl.ZipFileLoadStrategyImpl.getInputStream(ZipFileLoadStrategyImpl.java:86)
at com.ibm.etools.commonarchive.impl.ContainerImpl.primGetInputStream(ContainerImpl.java:230)
at com.ibm.etools.commonarchive.impl.FileImpl.getInputStream(FileImpl.java:37)
at com.ibm.etools.archive.impl.FileIteratorImpl.getInputStream(FileIteratorImpl.java:21)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:92)
at com.ibm.etools.archive.impl.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:107)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:63)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.save(ArchiveImpl.java:664)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.save(ModuleFileImpl.java:233)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:77)
at com.ibm.etools.archive.impl.ZipStreamSaveStrategyImpl.save(ZipStreamSaveStrategyImpl.java:76)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:87)
at com.ibm.etools.archive.impl.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:107)
at com.ibm.etools.archive.impl.SaveStrategyImpl.save(SaveStrategyImpl.java:63)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.save(ArchiveImpl.java:664)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.save(ModuleFileImpl.java:233)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.saveAsNoReopen(ArchiveImpl.java:694)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.saveAs(ArchiveImpl.java:679)
at com.ibm.ejs.assembly.gui.command.SaveAsCommand.save(SaveAsCommand.java:26)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.assembly.gui.command.BaseCommand.run(BaseCommand.java:84)
at com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java:89)

even I tryed the examples from the infocenter but same result stuck with the exception.
please give me some hits to resolve this issue.
Looking forward to the team.
Chrres,
Nishar.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you elaborate on the steps which u have followed while packaging.
 
reply
    Bookmark Topic Watch Topic
  • New Topic