users@glassfish.java.net

Glassfish V3.2 b-05 corrupt webui-jsf-4.0.2.6.jar

From: <forums_at_java.net>
Date: Fri, 6 May 2011 19:37:43 -0500 (CDT)

 

Symptom:

while starting the admin console the server.log indicates, that the above
mentioned jsf-file is corrup, checksum error (error logs below.)

Impact:

The admin console stops loading.

I have monitored this on earlier version even on some of Sun's V2, V2.1,
V2.1.1 variing between platforms, sparc / x86

Solution:

the fastes course of action in this instance I took was copying the same file
from V3.1 to the same location of the V3.2 server root.

Though the particular jsf-jar is in Oracles's V3.1, V3.1.1 and V3.2 b-05 the
same version 4.0.2, the files differ from their size.

for some reason the same incident comes to light using the file from V3.1.1,
but not from V3.1.1

Anyway, after having replaced the file the admin console comes up without any
problems

I hope the above is of use of you.

best regards!

error output:

 

[#|2011-05-07T02:33:27.040+0200|SEVERE|glassfish3.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=25;_ThreadName=Thread-1;|Exception
while parsing file
file:/opt/SGESv3.2/glassfish/lib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.0.2.6.jar
java.lang.NullPointerException
        at
com.sun.enterprise.deployment.deploy.shared.InputJarArchive$ArchiveJarEntrySource.<init>(InputJarArchive.java:573)
        at
com.sun.enterprise.deployment.deploy.shared.InputJarArchive$ArchiveJarEntrySource.<init>(InputJarArchive.java:565)
        at
com.sun.enterprise.deployment.deploy.shared.InputJarArchive.createEntryEnumeration(InputJarArchive.java:443)
        at
com.sun.enterprise.deployment.deploy.shared.InputJarArchive.entries(InputJarArchive.java:196)
        at
com.sun.enterprise.deployment.deploy.shared.InputJarArchive.entries(InputJarArchive.java:175)
        at
com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(ReadableArchiveScannerAdapter.java:128)
        at
org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:345)
        at
org.glassfish.hk2.classmodel.reflect.Parser.access$300(Parser.java:67)
        at
org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:304)
        at
org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:293)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
|#]
[#|2011-05-07T02:33:27.071+0200|WARNING|glassfish3.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=23;_ThreadName=Thread-1;|result
fault org.glassfish.hk2.classmodel.reflect.Parser$Result_at_4b3b20 Result for
/opt/SGESv3.2/glassfish/lib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.0.2.6.jar|#]
[#|2011-05-07T02:33:27.123+0200|WARNING|glassfish3.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=23;_ThreadName=Thread-1;|DPL8004:
file open failure; file =
file:/opt/SGESv3.2/glassfish/lib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.0.2.6.jar|#]
[#|2011-05-07T02:33:27.124+0200|WARNING|glassfish3.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=23;_ThreadName=Thread-1;|invalid
END header (bad central directory offset) --  invalid zip file:
file:/opt/SGESv3.2/glassfish/lib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.0.2.6.jar|#]
[#|2011-05-07T02:33:27.165+0200|WARNING|glassfish3.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=23;_ThreadName=Thread-1;|invalid
END header (bad central directory offset): file path:
/opt/SGESv3.2/glassfish/lib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.0.2.6.jar|#]
[#|2011-05-07T02:33:27.168+0200|WARNING|glassfish3.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=23;_ThreadName=Thread-1;|DPL8004:
file open failure; file =
file:/opt/SGESv3.2/glassfish/lib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.0.2.6.jar|#]
[#|2011-05-07T02:33:27.169+0200|WARNING|glassfish3.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=23;_ThreadName=Thread-1;|invalid
END header (bad central directory offset) --  invalid zip file:
file:/opt/SGESv3.2/glassfish/lib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.0.2.6.jar|#]
[#|2011-05-07T02:33:27.171+0200|WARNING|glassfish3.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=23;_ThreadName=Thread-1;|invalid
END header (bad central directory offset): file path:
/opt/SGESv3.2/glassfish/lib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.0.2.6.jar|#]
[#|2011-05-07T02:33:27.249+0200|SEVERE|glassfish3.2|org.apache.catalina.core.ContainerBase|_ThreadID=23;_ThreadName=Thread-1;|ContainerBase.addChild:
start:
org.apache.catalina.LifecycleException: PWC1263: Error in dependency check
for standard context
StandardEngine[glassfish-web].StandardHost[__asadmin].StandardContext[]
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5266)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:497)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:937)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:921)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
        at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1994)
        at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1645)
        at
com.sun.enterprise.web.WebApplication.start(WebApplication.java:101)
        at
org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
        at
org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
        at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:463)
        at
com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:364)
        at
com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:210)
        at
com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:108)
Caused by: java.util.zip.ZipException: invalid entry CRC (expected 0xc15e2d5a
but got 0x837cccf)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:179)
        at java.util.jar.JarInputStream.read(JarInputStream.java:195)
        at
java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
        at
java.io.BufferedInputStream.read(BufferedInputStream.java:317)
        at
java.util.jar.JarInputStream.getBytes(JarInputStream.java:100)
        at
java.util.jar.JarInputStream.checkManifest(JarInputStream.java:79)
        at java.util.jar.JarInputStream.<init>(JarInputStream.java:68)
        at java.util.jar.JarInputStream.<init>(JarInputStream.java:44)
        at
org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:427)
        at
org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:259)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5264)
        ... 14 more
|#]
[#|2011-05-07T02:33:27.249+0200|WARNING|glassfish3.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=23;_ThreadName=Thread-1;|java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
PWC1263: Error in dependency check for standard
contextStandardEngine[glassfish-web].StandardHost[__asadmin].StandardContext[]
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: PWC1263: Error in dependency check
for standard context
StandardEngine[glassfish-web].StandardHost[__asadmin].StandardContext[]
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:941)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:921)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
        at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1994)
        at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1645)
        at
com.sun.enterprise.web.WebApplication.start(WebApplication.java:101)
        at
org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
        at
org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
        at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:463)
        at
com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:364)
        at
com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:210)
        at
com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:108)
|#]
[#|2011-05-07T02:33:27.251+0200|SEVERE|glassfish3.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=23;_ThreadName=Thread-1;|Exception
while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild:
start: org.apache.catalina.LifecycleException: PWC1263: Error in dependency
check for standard context
StandardEngine[glassfish-web].StandardHost[__asadmin].StandardContext[]
        at
com.sun.enterprise.web.WebApplication.start(WebApplication.java:130)
        at
org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
        at
org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
        at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:463)
        at
com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:364)
        at
com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:210)
        at
com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:108)
|#]
[#|2011-05-07T02:33:27.251+0200|SEVERE|glassfish3.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=23;_ThreadName=Thread-1;|Exception
while loading the app|#]
[#|2011-05-07T02:33:27.509+0200|SEVERE|glassfish3.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=23;_ThreadName=Thread-1;|Exception
while loading the app|#]
[#|2011-05-07T02:33:27.510+0200|INFO|glassfish3.2|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=23;_ThreadName=Thread-1;|The
Admin Console application is loaded.|#]
 


--
[Message sent by forum member 'seagate']
View Post: http://forums.java.net/node/799380