Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
spar : java.io.IOException : Stream closed
KoenDeSmet
Hi ,
When trying to install the spar I've created I'm getting this :
[archiveinstaller] File being imported from archive is the same as the existing file in the repository, skip overwrite for file : //localhost/belgacom/main/com/WORKAREA/work/templatedata/system/web-analytics/data/webtrends
[archiveinstaller] Tagging DCR as type system/web-analytics
[archiveinstaller] Mar 2, 2012 5:22:21 PM com.interwoven.livesite.tools.archive.Importer importItems
[archiveinstaller] INFO: Skipping submit due to errors.
[archiveinstaller] java.io.IOException: Stream closed
[archiveinstaller] at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
[archiveinstaller] at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
[archiveinstaller] at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
[archiveinstaller] at java.security.DigestInputStream.read(DigestInputStream.java:144)
[archiveinstaller] at com.interwoven.livesite.common.security.Checksum.getInputStreamCheckSum(Checksum.java:305)
[archiveinstaller] at com.interwoven.livesite.tools.archive.Importer.getInputSimpleFileCheckSum(Importer.java:675)
[archiveinstaller] at com.interwoven.livesite.tools.archive.Importer.compareFiles(Importer.java:639)
[archiveinstaller] at com.interwoven.livesite.tools.archive.Importer.importSimpleFile(Importer.java:176)
[archiveinstaller] at com.interwoven.livesite.tools.archive.Importer.importItemByType(Importer.java:460)
[archiveinstaller] at com.interwoven.livesite.tools.archive.Importer.importItems(Importer.java:479)
[archiveinstaller] at com.interwoven.livesite.tools.archive.SiteArchiveImporter.importSubdir(SiteArchiveImporter.java:372)
[archiveinstaller] at com.interwoven.livesite.tools.archive.SiteArchiveImporter.execute(SiteArchiveImporter.java:302)
[archiveinstaller] at com.interwoven.livesite.tools.LSArchiveImportTask.execute(LSArchiveImportTask.java:60)
[archiveinstaller] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[archiveinstaller] at org.apache.tools.ant.Task.perform(Task.java:364)
[archiveinstaller] at org.apache.tools.ant.Target.execute(Target.java:341)
[archiveinstaller] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[archiveinstaller] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[archiveinstaller] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[archiveinstaller] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[archiveinstaller] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[archiveinstaller] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[archiveinstaller] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[archiveinstaller] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[archiveinstaller] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
BUILD FAILED
/ecmb/ecm/iw-home/install/install_archive.xml:103: Error importing files: Stream closed
In attach the spar config file I've used to create and install it.
Command used :
cd /iwenv/iw-home/install&&/iwenv/iw-home/iw-perl/bin/iwperl /iwenv/iw-home/inst
all/install_archive.ipl /iwmnt/iwadmin/main/spars/WORKAREA/Installed/copy_fullco
ntent_com.spar /belgacom/main/com/WORKAREA/work
I've checked the spar file with unzip & cksum to see if it's corrupt ,but that's not the case.
I've unlocked all the files in the WA prior the installation
Is there some spar check utility that can verify if a spar file is correctly made ?
Is there a maximum size for a spar file ?
Is there a way to put this ant stuff in debug mode so that I can see where exactly the import fails ?
This spar stuff is so annoying ,since so few doc is there to use this,and yet it's the only way to copy items across environments.
Thanks in advance for replying,
De Smet Koen
Teamsite 6.7.2 SP2 Solaris 10
Find more posts tagged with
Comments
dorfi
Hi,
I get the same error. Has anyone solved it?
Thanks!
Rick Poulin
That stack trace simply states that it tried to read an item from within your spar and the stream was closed unexpectedly, either because something interrupted the process, or because that file was corrupt (e.g. contains an EOF character somewhere in the middle), or because your archive is corrupt.