Accessing OWSM Component Results in Error "WSM-01605 : XML Parser Exception" on a Fresh Installation of SOA 11g (Doc ID 1332212.1)

Last updated on JULY 29, 2017

Applies to:

Oracle Web Services Manager - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to access the OWSM component of a SOA 11g installation, the following error is returned:

oracle.wsm.policymanager.PolicyManagerException: WSM-01605 : XML parser exception
Caused by: oracle.wsm.policy.parser.PolicyParseFailedException: WSM-01605 : XML parser exception
Caused by: org.xml.sax.SAXParseException: Premature end of file.

oracle.wsm.policymanager.PolicyManagerException: WSM-01605 : XML parser exception
at oracle.wsm.policymanager.util.PolicyMgrUtil.convertStrsToPolicies(PolicyMgrUtil.java:452)
at oracle.wsm.policymanager.client.QueryServiceDelegate.getPolicies(QueryServiceDelegate.java:758)
at oracle.wsm.policymanager.web.PolicyManagerValidator.writePageBody(PolicyManagerValidator.java:143)
at oracle.wsm.policymanager.web.BaseServlet.doGet(BaseServlet.java:103)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(AccessController.java:284)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(AccessController.java:284)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: oracle.wsm.policy.parser.PolicyParseFailedException: WSM-01605 : XML parser exception
at oracle.wsm.xml.XMLUtils.getDocFromInputStream(XMLUtils.java:477)
at oracle.wsm.policy.util.PolicyParser.parsePolicy(PolicyParser.java:319)
at oracle.wsm.policy.util.PolicyUtil.convertStrToPolicy(PolicyUtil.java:815)
at oracle.wsm.policy.util.PolicyUtil.convertStrsToPolicies(PolicyUtil.java:645)
at oracle.wsm.policymanager.util.PolicyMgrUtil.convertStrsToPolicies(PolicyMgrUtil.java:450)
... 37 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:228)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at oracle.wsm.xml.XMLUtils.getDocFromInputStream(XMLUtils.java:469)


The installation is a default installation with no modification or additions performed.

Changes

 

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