Fatal Error: URI=null Line=-1: Premature end of file.

Hi,

I am getting the below error :

INFO | jvm 1 | 2013/12/18 12:46:39 | 2013-12-18 12:46:39 CET (Framework:WARN) - org.apache.axis.InternalException: org.apache.axis.ConfigurationException: org.xml.sax.SAXException: Fatal Error: URI=null Line=-1: Premature end of file.
INFO | jvm 1 | 2013/12/18 12:46:39 | org.xml.sax.SAXException: Fatal Error: URI=null Line=-1: Premature end of file.
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.utils.XMLUtils$ParserErrorHandler.fatalError(XMLUtils.java:723)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.webservices.configuration.MwsFileProvider.configureEngine(MwsFileProvider.java:46)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.AxisEngine.(AxisEngine.java:156)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.server.AxisServer.(AxisServer.java:88)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.webservices.servlet.PortalAxisServlet.init(PortalAxisServlet.java:97)
INFO | jvm 1 | 2013/12/18 12:46:39 | at javax.servlet.GenericServlet.init(GenericServlet.java:241)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.jetty.Server.doStart(Server.java:224)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.webapp.jetty6.JettySystem.initializeJetty(JettySystem.java:99)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.webapp.jetty6.JettySystem.init(JettySystem.java:94)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.webapp.jetty6.JettySystem.main(JettySystem.java:79)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.webapp.jetty6.JettySystem.init(JettySystem.java:42)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.init.impl.DefaultPhase$InitializableWrapper.init(DefaultPhase.java:126)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.init.impl.DefaultPhase.initComponent(DefaultPhase.java:107)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.impl.BaseProvider.initComponents(BaseProvider.java:603)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.impl.BaseProvider.init(BaseProvider.java:170)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.init.impl.DefaultPhase.init(DefaultPhase.java:49)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.init.impl.DefaultPhaseProvider.initComponent(DefaultPhaseProvider.java:262)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.impl.BaseProvider.initComponents(BaseProvider.java:603)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.impl.BaseProvider.init(BaseProvider.java:170)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.init.impl.DefaultPhaseProvider.initializePhases(DefaultPhaseProvider.java:91)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.initializePhases(ClusterPhaseProvider.java:65)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.init.impl.PartitionPhaseProvider.initializePhases(PartitionPhaseProvider.java:59)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.PortalSystem.init(PortalSystem.java:917)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.PortalSystem.main(PortalSystem.java:843)
INFO | jvm 1 | 2013/12/18 12:46:39 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2013/12/18 12:46:39 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2013/12/18 12:46:39 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2013/12/18 12:46:39 | at java.lang.reflect.Method.invoke(Method.java:597)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.start.Main.start(Main.java:133)
INFO | jvm 1 | 2013/12/18 12:46:39 | at com.webmethods.portal.system.start.Main.main(Main.java:38)
INFO | jvm 1 | 2013/12/18 12:46:39 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2013/12/18 12:46:39 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2013/12/18 12:46:39 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2013/12/18 12:46:39 | at java.lang.reflect.Method.invoke(Method.java:597)
INFO | jvm 1 | 2013/12/18 12:46:39 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:247)
INFO | jvm 1 | 2013/12/18 12:46:39 | at java.lang.Thread.run(Thread.java:662)

Can someone please help me with this.

Thanks and Regards
Atmane.

I wonder if the server-config.wsdd has been corrupted. Please have a look at server/WEB-INF/server-config.wsdd
Regards, --mark

As Mark said:

This is the correct solution. It worked for me. Thank you.

The error can also occur if your JDBC adapter is not setup. In my case I spent some good time to read through all blogs and Tech community articles and finally realized (after reading problem log) that the SQL JDBC connectivity was not working. All I had to do was copy the sqljdbc jars to the WMJDBCAdapter package and restart IS.