Access Manager Administration XML validation errors

  • 3635691
  • 10-Nov-2006
  • 26-Apr-2012

Environment

Access Administrator FCS build 491
iManager interface for Access Manager
Novell Access Gateway
Linux Access Gateway

Situation

Created a reverse proxy configuration under the Access Administrator's Access Gateway tab. Then attempted to make multiple changes to this reverse proxy configuration at once - for example, added protected resources, defined contracts and policies for those resources, changed tcp settings. Tried applying the changes, but a pop up error would appear indicating that an XML validation error occurs.

Resolution

Multiple options exist, depending on how serious the error generated it;

1. make some small change to one setting and reapply all the changes eg. enable and disable the mini FTP server and apply the changes. This often works around the issue

2. delete the changes that you created, apply these changes and then read them again. To locate the exact changes that caused the problems, one needs to focus on the app_sc.0.log file (from /opt/novell/devman/share/logs directory, or available to download from the Access Administrator console via the 'Auditing -> General logging -> Administration' tab.

When the file is opened, do a search for 'Error - XML VALIDATION FAILED'. Just above this message, a series of java exceptions will occur. These exceptions will describe the XML variable that caused the error. The example below shows an error that was caused by making multiple changes to some TCP connect option for a secure reverse proxy. Using this information to back out of the changes, one could reapply them and move on with the setup.

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value 'tcpconnectoptions_Global'.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:370)
... 53 more
Caused by: org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value 'tcpconnectoptions_Global'.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:370)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:684)
at com.volera.vcdn.platform.util.XmlUtil.validateXML(y:2414)
at com.volera.vcdn.webui.sc.dispatcher.ConfigWorkDispatcher.A(y:1129)
at com.volera.vcdn.webui.sc.dispatcher.ConfigWorkDispatcher.do_deviceConfig(y:1075)
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 com.volera.vcdn.webui.sc.dispatcher.DefaultDispatcher.invoke(y:437)
at com.volera.vcdn.webui.sc.dispatcher.DefaultDispatcher.processRequest(y:2340)
at com.volera.vcdn.webui.sc.dispatcher.DefaultDispatcher.processRequest(y:1455)
at com.volera.vcdn.webui.sc.dispatcher.MacroDispatcher.processRequest(y:916)
at com.volera.vcdn.webui.sc.dispatcher.ExceptionDispatcher.processRequest(y:2988)
at com.volera.vcdn.webui.sc.dispatcher.ServletDispatcher.service(y:1821)
at com.volera.roma.app.handler.DispatcherHandler.processRequest(y:2316)
at com.volera.roma.servlet.GenericController.doPost(y:722)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:199)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at com.novell.accessmanager.tomcat.SynchronizationValve.invoke(y:3051)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
(Msg)AM#200904025: Error - XML VALIDATION FAILED. PLEASE CHECK APP_SC LOG

Feedback service temporarily unavailable. For content questions or problems, please contact Support.