Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

Problem With Application Assembling in WAS 4.0.1(please help..running out of time)  RSS feed

 
nisharpa
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
I've closed this thread since it has also been posted in the IBM/Websphere forum. :roll:
Nishar, please can you take a look at the naming policy and edit your profile accordingly.
Thanks
Simon
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!