12 Replies Latest reply: Jan 19, 2007 7:05 AM by 807574 RSS

    org.xml.sax.SAXParseException: Document root element is missing.

    807574
      Hi,

      I am trying to get the portal login id from a weblogic server based application from iplaet portal server.

      I get this follwoing error

      org.xml.sax.SAXParseException: Document root element is missing.
      at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
      at com.sun.xml.parser.Parser.fatal(Parser.java:2805)
      at com.sun.xml.parser.Parser.parseInternal(Parser.java:493)
      at com.sun.xml.parser.Parser.parse(Parser.java:284)
      at com.sun.xml.tree.XmlDocument.createXmlDocument(XmlDocument.java:226)
      at com.iplanet.portalserver.util.XMLParser.<init>(XMLParser.java:70)
      at com.iplanet.portalserver.naming.share.NamingResponseParser.<init>(NamingResponseParser.java:33)
      at com.iplanet.portalserver.naming.share.NamingResponse.parseXML(NamingResponse.java:74)
      at com.iplanet.portalserver.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:174)
      at com.iplanet.portalserver.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:155)
      at com.iplanet.portalserver.naming.WebtopNaming.getServiceURL(WebtopNaming.java:57)
      at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:534)
      at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:520)
      at com.iplanet.portalserver.session.Session.getSession(Session.java:414)
      at jsp_servlet.__eatonPortalLogin._jspService(__eatonPortalLogin.java:155)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
      at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:462)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
      at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
      at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
      <May 19, 2004 9:01:12 AM EDT> <Error> <HTTP> <101017> <[ServletContext(id=4873279,name=ematrix,context-path=/ematrix)] Root cause of ServletException
      com.iplanet.portalserver.session.SessionException
      at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:539)
      at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:520)
      at com.iplanet.portalserver.session.Session.getSession(Session.java:414)
      at jsp_servlet.__eatonPortalLogin._jspService(__eatonPortalLogin.java:155)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
      at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:462)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
      at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
      at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)


      Any help/pointers will be appreciated.

      Ashish