I have realized java 1.6.0_18 is not the stable release availabe at Sun downloads.
I have installed java version "1.6.0_16" and it solved my problem !
VD
-----Original Message-----
From: Vincent Deschênes [mailto:vdeschenes_at_stelvio.com]
Sent: Wednesday, November 18, 2009 12:27 PM
To: users_at_glassfish.dev.java.net
Subject: Console load error on fresh install (Cannot create XMLStreamReader ... jaxpSourcetoXMLInputSource)
I am setting up a centos server to host application on glassfishV3.
Centos 4.5, 2.6.9-55.ELsmp
glassfish-v3-b72.zip
java version "1.6.0_18-ea"
After unziping the install archive I start the domain:
./asadmin start-domain
Waiting for DAS to start ...
Started domain: domain1
Domain location: /stelvio/glassfishv3/glassfish/domains/domain1
Log file: /stelvio/glassfishv3/glassfish/domains/domain1/logs/server.log
Admin port for the domain: 4848
Command start-domain executed successfully.
Then I go to
http://myserver:4848.
When it redirect to the login page I get this error :
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
'/login.jsf'.
root cause
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'initPage' event for
'/login.jsf'.
root cause
java.lang.reflect.InvocationTargetException
root cause
java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a
javax.xml.transform.stream.StreamSource
With this stack :
Caused by: java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a
javax.xml.transform.stream.StreamSource
at com.sun.xml.internal.stream.XMLInputFactoryImpl.jaxpSourcetoXMLInputSource(XMLInputFactoryImpl.java:285)
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:145)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:109)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:104)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:100)
at org.glassfish.admingui.plugin.ConsolePluginService.init(ConsolePluginService.java:121)
at org.glassfish.admingui.plugin.ConsolePluginService.getIntegrationPoints(ConsolePluginService.java:423)
at org.glassfish.admingui.common.handlers.PluginHandlers.getIntegrationPoints(PluginHandlers.java:160)
at org.glassfish.admingui.handlers.ThemeHandlers.getThemeFromIntegrationPoints(ThemeHandlers.java:98)
Here is a part of the startup log:
Nov 18, 2009 1:07:58 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
/usr/java/jdk1.6.0_18/bin/java
-cp
/stelvio/glassfishv3/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=/stelvio/glassfishv3/glassfish/domains/domain1/logs/jvm.log
-Xmx512m
-client
-javaagent:/stelvio/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true
-Dosgi.shell.telnet.maxconn=1
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=/stelvio/glassfishv3/glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=/stelvio/glassfishv3/glassfish/domains/domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=/stelvio/glassfishv3/glassfish/domains/domain1/config/server.policy
-Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=/stelvio/glassfishv3/glassfish/domains/domain1
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dosgi.shell.telnet.ip=127.0.0.1
-Djava.endorsed.dirs=/stelvio/glassfishv3/glassfish/modules/endorsed:/stelvio/glassfishv3/glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=/stelvio/glassfishv3/glassfish
-Djava.ext.dirs=/usr/java/jdk1.6.0_18/lib/ext:/usr/java/jdk1.6.0_18/jre/lib/ext:/stelvio/glassfishv3/glassfish/domains/domain1/lib/e
xt
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=/stelvio/glassfishv3/glassfish/domains/domain1/config/cacerts.jks
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djava.security.auth.login.config=/stelvio/glassfishv3/glassfish/domains/domain1/config/login.conf
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dfelix.fileinstall.debug=1
-Dorg.glassfish.web.rfc2109_cookie_names_enforced=false
-Djava.library.path=/stelvio/glassfishv3/glassfish/lib:/usr/java/jdk1.6.0_18/jre/lib/i386/client:/usr/java/jdk1.6.0_18/jre/lib/i386:
/usr/java/jdk1.6.0_18/lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname
domain1
-asadmin-args
start-domain
-instancename
server
-verbose
...
This is a fresh install on a new server, I did not changed anything to any configuration file.
What could have done wrong ?
I have tried the gui installer and older version of glasfish too, I always get the exact same problem.
I do all the operation as root user.
If I go to
http://myserver:8080 I get the default glassfish index page.
Help please !
Thanks.
Vincent Deschenes
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net