The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Summary

This article is about the fix for 'org.xml.sax.SAXException'" in the flexnet log for seemingly no particular reason. This may also be accompanied by an exception when a FlexNet Agent fails to connect with the FlexNet Manager.

Symptoms

Error in flexnet.log below.
2007-08-29 09:38:49,752  ERROR [platform.wsdd] [main] wsdd/manager/usagehistory.wsdd
org.apache.axis.InternalException: org.apache.axis.ConfigurationException: org.xml.sax.SAXException: Fatal Error: URI=null Line=157: XML document structures must start and end within the same entity.
org.xml.sax.SAXException: Fatal Error: URI=null Line=157: XML document structures must start and end within the same entity.
 at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
 at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
 at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:322)
 at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:335)
 at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209)
 at org.apache.axis.AxisEngine.init(AxisEngine.java:187)
 at org.apache.axis.AxisEngine.<init>(AxisEngine.java:172)
 at org.apache.axis.server.AxisServer.<init>(AxisServer.java:126)
 at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:148)
 at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:112)
 at org.apache.axis.server.AxisServer.getServer(AxisServer.java:111)
 at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:221)
 at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:187)
 at com.macrovision.flexnet.web.platform.container.AutoRegisterServlet.getDeployment(AutoRegisterServlet.java:206)
 at com.macrovision.flexnet.web.platform.container.AutoRegisterServlet.registerStream(AutoRegisterServlet.java:123)
 at com.macrovision.flexnet.web.platform.container.AutoRegisterServlet.registerResource(AutoRegisterServlet.java:147)
 at com.macrovision.flexnet.web.platform.container.AutoRegisterServlet.registerAndLogResource(AutoRegisterServlet.java:268)
 at com.macrovision.flexnet.web.platform.container.AutoRegisterServlet.autoRegister(AutoRegisterServlet.java:246)
 at com.macrovision.flexnet.web.platform.container.AutoRegisterServlet.init(AutoRegisterServlet.java:107)
 at javax.servlet.GenericServlet.init(GenericServlet.java:256)
 at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
 at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
 at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
 at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
 at org.mortbay.jetty.plus.PlusWebAppContext.start(PlusWebAppContext.java:133)
 at org.mortbay.http.HttpServer.start(HttpServer.java:663)
 at org.mortbay.jetty.plus.Server.start(Server.java:135)
 at org.mortbay.jetty.plus.Server.main(Server.java:184)
 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:324)
 at org.mortbay.start.Main.invokeMain(Main.java:153)
 at org.mortbay.start.Main.start(Main.java:483)
 at org.mortbay.start.Main.main(Main.java:91)


Cause



Resolution

The fix for this problem is to do a flexnet site make. Do the following:
1 > flexnet stop
2 > flexnet site make
3 > flexnet start
No ratings
Version history
Last update:
‎Jan 09, 2008 11:55 AM
Updated by: