<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Apache Cocoon won't start (java.util.zip.ZipException) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090951#M542571</link>
    <description>I suppose it would be possible that the 2G limit is causing problems, except that it should work since it is a HP-UX 11iv3 installed configuration.  These are not add-on programs here.&lt;BR /&gt;&lt;BR /&gt;However, the cocoon.war file is listed as 14M in size (specifically, 14776318 bytes).  That does not come up against the 2G limit by a long shot - and I think (though don't know) that the filesystem (/opt) is large-file aware in any case.&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Oct 2007 19:31:28 GMT</pubDate>
    <dc:creator>David G. Douthitt</dc:creator>
    <dc:date>2007-10-23T19:31:28Z</dc:date>
    <item>
      <title>Apache Cocoon won't start (java.util.zip.ZipException)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090949#M542569</link>
      <description>&lt;!--!*#--&gt;I'll try to compress the error message suitably (but not extraordinarily).  The message is:&lt;BR /&gt;&lt;BR /&gt;Oct 23, 2007 4:28:48 PM org.apache.catalina.core.StandardContext start&lt;BR /&gt;SEVERE: Error in dependencyCheck java.util.zip.ZipException: invalid entry size (expected 2472738816 but got 48 bytes)&lt;BR /&gt;&lt;BR /&gt;The cocoon.war file was installed with HP-UX 11iv3, and swverify finds no errors with the package hpuxwsXML.  Tomcat works fine and the error with Cocoon happens on startup (though Tomcat succeeds).&lt;BR /&gt;&lt;BR /&gt;The versions are:&lt;BR /&gt;&lt;BR /&gt;hpuxwsAPACHE:     B.2.0.58.00&lt;BR /&gt;hpuxwsTOMCAT:     B.5.5.9.04&lt;BR /&gt;hpuxwsXML:        A.2.01&lt;BR /&gt;&lt;BR /&gt;I'd look into a cocoon.war file from the Apache Cocoon project, but last I heard they'd stopped creating binaries.&lt;BR /&gt;&lt;BR /&gt;This version of 11iv3 contains the latest (Sept. 2007) patch bundle as well.&lt;BR /&gt;&lt;BR /&gt;I tried this cocoon.war file on two different machines (clustered with a Tomcat package) with the same results in both cases.  The package was brought down and then back up on the different nodes (with no failover - AUTORUN is off).&lt;BR /&gt;&lt;BR /&gt;I can't find any zip or unzip utilities; presumably the Zip process is being handled by a Java program/procedure.  7zip on Windows is able to extract the *.war file, and finds no errors; HP-UX Tomcat also extracts the file just fine (at runtime).&lt;BR /&gt;&lt;BR /&gt;One apparently relevant snippet from the stack trace may be this:&lt;BR /&gt;&lt;BR /&gt;        at org.apache.catalina.util.ExtensionValidator.getManifest(Unknown Sourc&lt;BR /&gt;e)&lt;BR /&gt;        at org.apache.catalina.util.ExtensionValidator.validateApplication(Unkno&lt;BR /&gt;wn Source)&lt;BR /&gt;        at org.apache.catalina.core.StandardContext.start(Unknown Source)&lt;BR /&gt;&lt;BR /&gt;However, as I said, the *.war file extracts just fine.  Tomcat is being started using the setup from the ServiceGuard/Tomcat Toolkit and with the cmrunpkg tomcat command.&lt;BR /&gt;&lt;BR /&gt;PS: There is another David Douthitt..... but I *seriously* doubt it would be none other than myself.  How do I fix that?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 23 Oct 2007 16:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090949#M542569</guid>
      <dc:creator>David G. Douthitt</dc:creator>
      <dc:date>2007-10-23T16:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Cocoon won't start (java.util.zip.ZipException)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090950#M542570</link>
      <description>I may be out of my depth here, but if&lt;BR /&gt;cocoon.war is some kind of Zip archive, and&lt;BR /&gt;if it's either bigger than 2GB or has a&lt;BR /&gt;member which is bigger than 2GB, then many&lt;BR /&gt;kinds of unzip programs will have trouble,&lt;BR /&gt;possibly looking like this.&lt;BR /&gt;&lt;BR /&gt;Until fairly recently, the Zip archive format&lt;BR /&gt;used only 32-bit file size values.  In some&lt;BR /&gt;environments the sizes are interpreted as&lt;BR /&gt;unsigned, allowing values up to 4GB, while in&lt;BR /&gt;others they're interpreted as signed,&lt;BR /&gt;allowing values up to 2GB.  The latter is, I&lt;BR /&gt;believe, more typical on UNIX (-like)&lt;BR /&gt;systems, such as HP-UX.  In the Info-ZIP&lt;BR /&gt;Zip and UnZip programs, it comes down to&lt;BR /&gt;whether off_t is signed or unsigned, and the&lt;BR /&gt;modern standard says signed.  In other&lt;BR /&gt;implementations, many things are possible.&lt;BR /&gt;(On very old VMS VAX systems, you can get an&lt;BR /&gt;unsigned off_t, but that won't help you&lt;BR /&gt;here.)&lt;BR /&gt;&lt;BR /&gt;I know nothing, but I would not be amazed if&lt;BR /&gt;the HP-UX Java unzip code had a 2GB size&lt;BR /&gt;limit, while 7zip on Windows had a 4GB size&lt;BR /&gt;limit.  In which case, you may be doomed.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] the *.war file extracts just fine.&lt;BR /&gt;&lt;BR /&gt;Well, try it with an UnZip program on HP-UX&lt;BR /&gt;and see how far you get.</description>
      <pubDate>Tue, 23 Oct 2007 17:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090950#M542570</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-10-23T17:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Cocoon won't start (java.util.zip.ZipException)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090951#M542571</link>
      <description>I suppose it would be possible that the 2G limit is causing problems, except that it should work since it is a HP-UX 11iv3 installed configuration.  These are not add-on programs here.&lt;BR /&gt;&lt;BR /&gt;However, the cocoon.war file is listed as 14M in size (specifically, 14776318 bytes).  That does not come up against the 2G limit by a long shot - and I think (though don't know) that the filesystem (/opt) is large-file aware in any case.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Oct 2007 19:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090951#M542571</guid>
      <dc:creator>David G. Douthitt</dc:creator>
      <dc:date>2007-10-23T19:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Cocoon won't start (java.util.zip.ZipException)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090952#M542572</link>
      <description>&amp;gt; [...] the cocoon.war file is listed as&lt;BR /&gt;&amp;gt; 14M in size (specifically, 14776318 bytes).&lt;BR /&gt;&amp;gt; That does not come up against the 2G limit&lt;BR /&gt;&amp;gt; by a long shot&lt;BR /&gt;&lt;BR /&gt;As I said, "or has a member which is bigger&lt;BR /&gt;than 2GB", but I wouldn't bet on that from a&lt;BR /&gt;14MB archive.  Knowing nothing about the size&lt;BR /&gt;of the archive or its contents until now (and&lt;BR /&gt;I still haven't seen anything about its&lt;BR /&gt;contents), it was hard to know whether that&lt;BR /&gt;"expected 2472738816" (one of the few data&lt;BR /&gt;you did supply) had anything to do with&lt;BR /&gt;reality or not.  Blame my ignorance on weak&lt;BR /&gt;psychic powers, if you wish.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  - and I think (though don't know) that the&lt;BR /&gt;&amp;gt; filesystem (/opt) is large-file aware in&lt;BR /&gt;&amp;gt; any case.&lt;BR /&gt;&lt;BR /&gt;A file system with large-file capabilities&lt;BR /&gt;does not ensure large-file capabilities in&lt;BR /&gt;the parts of the C run-time library being&lt;BR /&gt;used, as a little experimentation with&lt;BR /&gt;Info-ZIP Zip 2.x and UnZip 5.x can clearly&lt;BR /&gt;show.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Well, try it with an UnZip program on HP-UX&lt;BR /&gt;&amp;gt; and see how far you get.&lt;BR /&gt;&lt;BR /&gt;Still waiting for a report on that outcome.&lt;BR /&gt;(Assuming, of course, that the ".war" file&lt;BR /&gt;really is a normal Zip archive.)  Commands&lt;BR /&gt;like "unzip -t", "unzip -l", and "unzip -lv"&lt;BR /&gt;could be informative.</description>
      <pubDate>Tue, 23 Oct 2007 21:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090952#M542572</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-10-23T21:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Cocoon won't start (java.util.zip.ZipException)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090953#M542573</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] the cocoon.war file is listed as&lt;BR /&gt;&amp;gt; 14M in size (specifically, 14776318 bytes).&lt;BR /&gt;&lt;BR /&gt;If it's any comfort, around here:&lt;BR /&gt;&lt;BR /&gt;dy # ls -l /opt/hpws/xmltools/cocoon/cocoon.war&lt;BR /&gt;-r--r--r--   1 bin        bin        14776318 Feb 10  2004 /opt/hpws/xmltools/cocoon/cocoon.war&lt;BR /&gt;&lt;BR /&gt;dy # cksum /opt/hpws/xmltools/cocoon/cocoon.war&lt;BR /&gt;2664803458 14776318 /opt/hpws/xmltools/cocoon/cocoon.war&lt;BR /&gt;&lt;BR /&gt;And UnZip loves it:&lt;BR /&gt;&lt;BR /&gt;dy # unzip -t /opt/hpws/xmltools/cocoon/cocoon.war&lt;BR /&gt;Archive:  /opt/hpws/xmltools/cocoon/cocoon.war&lt;BR /&gt;    testing: META-INF/                OK&lt;BR /&gt;    testing: META-INF/MANIFEST.MF     OK&lt;BR /&gt;    testing: i18n/                    OK&lt;BR /&gt;[...]&lt;BR /&gt;    testing: logicsheets/hello.xsl    OK&lt;BR /&gt;    testing: templates/hello-page.vm   OK&lt;BR /&gt;No errors detected in compressed data of /opt/hpws/xmltools/cocoon/cocoon.war.</description>
      <pubDate>Wed, 24 Oct 2007 01:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090953#M542573</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-10-24T01:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Cocoon won't start (java.util.zip.ZipException)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090954#M542574</link>
      <description>I see points, but it would be nice to know if&lt;BR /&gt;you actually learned anything useful (here or&lt;BR /&gt;elsewhere), and, if so, what.</description>
      <pubDate>Wed, 24 Oct 2007 10:20:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-cocoon-won-t-start-java-util-zip-zipexception/m-p/4090954#M542574</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-10-24T10:20:38Z</dc:date>
    </item>
  </channel>
</rss>

