Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Has anyone ever seen this "invalid LOC header" error when launching RRDI Setup Server?

I'm trying to upgrade an existing Insight 1.1.1.1 install to 1.1.1.3 and launching the RRDI setup server on Tomcat loads fine.  But when I try to go to the setup server URL (which I verified is correct) I get the error below.

I tried on a couple different machines and browsers and got same error.  Launched another Insight install's setup server on same machine and was able to get to it fine.


java.lang.RuntimeException: java.util.zip.ZipException: invalid LOC header (bad
signature)
        at net.jazz.ajax.internal.util.Util.stringBuffer(Util.java:103)
        at net.jazz.ajax.model.DojoMessageBundle$LocalizedContent.getContent(Doj
oMessageBundle.java:110)
        at net.jazz.ajax.model.DojoMessageBundle$LocalizedContent.write(DojoMess
ageBundle.java:155)
        at net.jazz.ajax.model.DojoMessageBundle.write(DojoMessageBundle.java:74
)
        at net.jazz.ajax.servlets.ResourceGraph.writeJavascript(ResourceGraph.ja
va:326)
        at net.jazz.ajax.servlets.JavascriptServlet.write(JavascriptServlet.java
:54)
        at net.jazz.ajax.servlets.AbstractResourceServlet.doGet(AbstractResource
Servlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at net.jazz.ajax.servlets.LoggingHttpServlet.service(LoggingHttpServlet.
java:34)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service
(ServletRegistration.java:61)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:126)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:68)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet
.java:120)
        at com.ibm.team.repository.server.servletbridge.JazzServlet.service(Jazz
Servlet.java:68)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDele
gate(BridgeFilter.java:133)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(Br
idgeFilter.java:154)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:224)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:169)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:98)
        at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
va:309)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:987)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:579)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:307)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
        at java.lang.Thread.run(Thread.java:736)
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
        at java.util.zip.ZipFile.read(Native Method)
        at java.util.zip.ZipFile.access$1200(ZipFile.java:36)
        at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:490)
        at java.util.zip.ZipFile$1.fill(ZipFile.java:258)
        at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
        at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntry
InputStream.read(ZipBundleEntry.java:155)
        at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:452)
        at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:494)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:222)
        at java.io.InputStreamReader.read(InputStreamReader.java:177)
        at java.io.Reader.read(Reader.java:123)
        at net.jazz.ajax.internal.util.Util.stringBuffer(Util.java:98)
        ... 36 more

0 votes



2 answers

Permanent link
Hi David - I have not seen this specific error, however, there are 2 things you might look into:

1. ZipExceptions in general can happen if the ulimits are too low.  Have a look here for more on this.
2. One of the JARs or libraries are somehow corrupted from your install.  Maybe try downloading the update again and starting fresh?

Regards,
Ali

1 vote


Permanent link
Thanks Ali for the response.

I actually got past it by backing up the setup directory,  copying over it with the setup directory from another install where I knew it was working, then recopying the Conf directory from my backed up copy so I could keep all the saved values from the project in the Setup screens.

This worked and everything was prepopulated.  Was just odd since the Setup utility must have worked during the last upgrade of the project.  Not sure what corrupted it.

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,510

Question asked: Jan 22 '14, 8:06 p.m.

Question was seen: 38,756 times

Last updated: Jan 23 '14, 6:03 p.m.

Confirmation Cancel Confirm