Skip to main content

Error while starting the Domain : :1:1: Premature end of file.

No replies
flavianc
Offline
Joined: 2012-11-30
Points: 0

hi,
im using Glassfish v2.1 on Sles 11 SP2 x64
jvm jdk1.7.0_07

from past few weeks im continuously getting error when im starting the glassfish domain. I have around 5 different domain running on same install and all the domain give the same error when im starting them.

testserver:/ # /opt/SUNWappserver/bin/asadmin start-domain domain1
[Fatal Error] :1:1: Premature end of file.
Starting Domain domain1, please wait.
Default Log location is /opt/SUNWappserver/domains/domain1/logs/server.log.
Nov 30, 2012 1:27:29 PM com.sun.enterprise.update.util.LoggerUtil log
SEVERE: MSG_ErrorReadingConfig
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
at com.sun.enterprise.update.config.beans.Updatecenter.read(Updatecenter.java:668)
at com.sun.enterprise.update.config.beans.Updatecenter.read(Updatecenter.java:641)
at com.sun.enterprise.update.config.ConfigManagerImpl.initializeUpdatecenterBean(ConfigManagerImpl.java:414)
at com.sun.enterprise.update.config.ConfigManagerImpl.(ConfigManagerImpl.java:80)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.sun.enterprise.update.UpdateManager.getConfigManager(UpdateManager.java:173)
at com.sun.enterprise.update.schedule.SchedulerImpl.(SchedulerImpl.java:82)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.sun.enterprise.update.UpdateManager.getScheduler(UpdateManager.java:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.enterprise.cli.commands.StartDomainCommand$UpdateCenter.run(StartDomainCommand.java:664)
at java.lang.Thread.run(Thread.java:722)
Redirecting output to /opt/SUNWappserver/domains/domain1/logs/server.log
Domain domain1 is ready to receive client requests. Additional services are being started in background.
Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)] with its configuration and logs at: [/opt/SUNWappserver/domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[http://localhost:8080 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://app-cao24:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8080 8181 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other standalone instances.

Thanks.