quality@glassfish.java.net

Re: admin_gui not starting anymore when xercesImpl.jar present in domain1/lib/?

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Sat, 26 Sep 2009 22:46:22 -0700

Hi Kristian,

There was a bug (9535) filed for the same stack trace. Developer
checked in the fix, you can
try next promote build b66 to verify the it.

4 developers helped to trace down this issue, thanks Tim, Hong, Jan and
Ryan !

https://glassfish.dev.java.net/issues/show_bug.cgi?id=9535

Judy

Kristian Rink wrote:
> Folks;
>
> just found a peculiar behaviour in b64 while trying to get our app to run
> there: In gfv2, we deploy most of the (shared) jars used by all the webapps
> making up our application to domain1/lib/ in order to keep the wars smaller
> (most of this code is third-party and/or open source stuff anyway). Just
> tried the same thing straightforward in b64, restarted the domain, to figure
> out the admin gui is not starting anymore. Exception to be found in the log
> file:
>
> [...]
> [#|2009-09-23T15:10:15.498+0200|SEVERE|glassfish|javax.enterprise.system.core.org.glassfish.internal.data|_ThreadID=21;_ThreadName=Thread-3;|Exception
> while invoking class com.sun.enterprise.web.WebApplication start method
> java.lang.Exception: java.lang.IllegalStateException:
> ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
> com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! This
> parser does not support specification "null" version "null"
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:124)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:229)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:307)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:307)
> at
> com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:285)
> at
> com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)
> |#]
>
> [#|2009-09-23T15:10:15.499+0200|SEVERE|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=21;_ThreadName=Thread-3;|Exception
> while loading the app
> [...]
>
>
> Playing with the dependencies a little, I figured out that this behaviour
> can be "reproduced" by copying a xercesImpl.jar (i.e. [1] which is used
> here) to domain1/lib/ and restarting the domain.
>
> Is this an issue in gfv3, or should I (same as not including servlet jars in
> a webapp) keep such code out of domain1/lib/ generally? At least this
> behaviour differs from how gfv2 does it...
>
> Cheers,
> Kristian
>
>
> [1]http://repo1.maven.org/maven2/xerces/xercesImpl/2.4.0/xercesImpl-2.4.0.jar
>
>
>