users@glassfish.java.net

Administration Console Web App not running

From: Pete Helgren <pete_at_valadd.com>
Date: Wed, 27 Oct 2010 19:50:05 -0600

Long ago I posted on this subject and never got a satisfactory
response. That problem was that the asadmin command shell died with a
dump of garbage, which I eventually sorted out. Now I can start a
domain but I cannot access the Administration Console at the designated
url/port. I get the Glassfish splash screen telling me the the console
is starting but it then it produces a error page:

HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException:
java.lang.reflect.InvocationTargetException while attempting to process
a 'initPage' event for '/common/index.jsf'.
root cause
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
while attempting to process a 'initPage' event for '/common/index.jsf'.
root cause
java.lang.reflect.InvocationTargetException
root cause
javax.xml.transform.TransformerFactoryConfigurationError: Provider
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl not
found
note The full stack traces of the exception and its root causes are
available in the GlassFish Server Open Source Edition 3.0.1 logs.
GlassFish Server Open Source Edition 3.0.1

In the log I see this (this is the most significant entry):

javax.management.RuntimeMBeanException: RuntimeException thrown in
postRegister method
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegisterInvoke(DefaultMBeanServerInterceptor.java:1037)
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:974)
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
     at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
     at
org.glassfish.admin.amx.impl.j2ee.loader.AMXJ2EEStartupService.loadAMXMBeans(AMXJ2EEStartupService.java:133)
     at
org.glassfish.admin.amx.impl.AMXStartupService$AMXLoaderThread.run(AMXStartupService.java:321)
Caused by: java.lang.RuntimeException:
javax.management.RuntimeErrorException: Error thrown in postRegister method
     at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.registerChild(AMXImplBase.java:1249)
     at
org.glassfish.admin.amx.impl.j2ee.J2EEDomainImpl.registerChildren(J2EEDomainImpl.java:93)
     at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.postRegisterHook(AMXImplBase.java:1168)
     at
org.glassfish.admin.amx.impl.mbean.MBeanImplBase.postRegister(MBeanImplBase.java:448)
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegisterInvoke(DefaultMBeanServerInterceptor.java:1035)
     ... 6 more
Caused by: javax.management.RuntimeErrorException: Error thrown in
postRegister method
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegisterInvoke(DefaultMBeanServerInterceptor.java:1040)
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:974)
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
     at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
     at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.registerChild(AMXImplBase.java:1243)
     ... 10 more
Caused by: javax.xml.transform.TransformerFactoryConfigurationError:
Provider
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl not
found
     at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
     at
com.sun.enterprise.deployment.node.J2EEDocumentBuilder.write(J2EEDocumentBuilder.java:150)
     at
com.sun.enterprise.deployment.node.J2EEDocumentBuilder.write(J2EEDocumentBuilder.java:136)
     at
com.sun.enterprise.deployment.io.DeploymentDescriptorFile.write(DeploymentDescriptorFile.java:369)
     at
org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.getDeploymentDescriptor(RegistrationSupport.java:206)
     at
org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.registerWebModuleAndItsComponents(RegistrationSupport.java:383)
     at
org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.createAppMBeans(RegistrationSupport.java:262)
     at
org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.processApplicationRef(RegistrationSupport.java:522)
     at
org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.registerApplications(RegistrationSupport.java:474)
     at
org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.<init>(RegistrationSupport.java:158)
     at
org.glassfish.admin.amx.impl.j2ee.J2EEServerImpl.registerChildren(J2EEServerImpl.java:116)
     at
org.glassfish.admin.amx.impl.j2ee.DASJ2EEServerImpl.registerChildren(DASJ2EEServerImpl.java:68)
     at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.postRegisterHook(AMXImplBase.java:1168)
     at
org.glassfish.admin.amx.impl.mbean.MBeanImplBase.postRegister(MBeanImplBase.java:448)
     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegisterInvoke(DefaultMBeanServerInterceptor.java:1035)
     ... 15 more

This seems to be the culprit:
javax.xml.transform.TransformerFactoryConfigurationError: Provider
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl not
found

For the life of me I can't sort this out. I am running IBM's JVM (J9
Java 6) :
java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build
pap3260sr8ifix-20100709_01(SR8+IZ75061
))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 OS/400 ppc-32
jvmap3260sr8-2010041
2 (JIT enabled, AOT enabled)
J9VM - 20100401_055940
JIT - r9_20100401_15339
GC - 20100308_AA)
JCL - 20100405_01

Based on what I am able to read this may be a latent bug that IBM picked
up from Java 6 but I don't know. I don't have the opportunity to
install any other Java JVM because of the OS environment I am running in.

Suggestions?

-- 
Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com