GlassFish Server - Fatal Error "Premature end of file" Reported During The Domain Administration Server's Initialization (Doc ID 1336324.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 9.1 and later
Information in this document applies to any platform.
***Checked for relevance on 09-Jun-2014***

Symptoms

You have encountered this problem if you see the following error being reported during the start-up of the Domain Administration Server:

Default Log location is /opt/SUNWappserver/glassfish/domains/domain1/logs/server.log.
[Fatal Error] :1:1: Premature end of file.
Jul 1, 2011 5:18:14 PM com.sun.enterprise.update.util.LoggerUtil log
SEVERE: MSG_ErrorReadingConfig
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
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.<init>(ConfigManagerImpl.java:80)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.enterprise.update.UpdateManager.getConfigManager(UpdateManager.java:173)
at com.sun.enterprise.update.schedule.SchedulerImpl.<init>(SchedulerImpl.java:82)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.enterprise.update.UpdateManager.getScheduler(UpdateManager.java:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.cli.commands.StartDomainCommand$UpdateCenter.run(StartDomainCommand.java:664)
at java.lang.Thread.run(Thread.java:619)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms