Announcement Announcement Module
Collapse
No announcement yet.
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document

    Getting the above error while starting the JBOSS server :



    10:03:43,467 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
    10:03:43,528 INFO [ChannelSocket] JK: ajp13 listening on localhost/127.0.0.1:8009
    10:03:43,544 INFO [JkMain] Jk running ID=0 time=0/31 config=null
    10:03:43,544 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 21s:32ms
    10:03:49,489 WARN [DeployerInterceptorJSE] Cannot load servlet class: org.apache.axis.transport.http.AxisServlet
    10:03:49,489 WARN [DeployerInterceptorJSE] Cannot load servlet class: org.apache.struts.action.ActionServlet
    10:03:49,520 INFO [TomcatDeployer] deploy, ctxPath=/myWebAplication, warUrl=file:/C:/JOY_Eclipse/Projects/BPA/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.0_Runtime_7_Server1302774117721/deploy/myWebAplication.war/
    10:03:49,798 INFO [ContextLoader] Root WebApplicationContext: initialization started
    10:03:49,798 INFO [[/myWebAplication]] Loading Spring root WebApplicationContext
    10:03:49,890 INFO [CollectionFactory] JDK 1.4+ collections available
    10:03:49,906 INFO [CollectionFactory] Commons Collections 3.x available
    10:03:49,952 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/EGP-descriptors.xml]
    10:03:50,045 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/defaultObjectContext-default.xml]
    10:03:50,076 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/defaultObjectContext-conf1.xml]
    10:03:50,107 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/defaultObjectContext-conf2.xml]
    10:03:50,137 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/defaultObjectContext-conf3.xml]
    10:03:50,168 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/defaultObjectContext-conf4.xml]
    10:03:50,184 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/defaultObjectContext-conf5.xml]
    10:03:50,199 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/HPMTemplateConfiguration.xml]
    10:03:50,245 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/persistenceContext.xml]
    10:03:50,261 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/propertyFile-loader.xml]
    10:03:50,292 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/serviceContext.xml]
    10:03:50,338 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/securityContext.xml]
    10:04:11,370 WARN [XmlBeanDefinitionReader] Ignored XML validation warning
    org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/security/spring-security-2.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at org.apache.xerces.util.ErrorHandlerWrapper.createS AXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.warning (Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportErro r(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportErro r(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHa
    ..................
    ..................
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.loop(AbstractDeploymentScanner. java:274)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.run(AbstractDeploymentScanner.j ava:225)
    10:04:11,401 ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanDefinitionSt oreException: Line 10 in XML document from ServletContext resource [/WEB-INF/securityContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'sec:filter-chain-map'.
    Caused by:
    org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'sec:filter-chain-map'.
    at org.apache.xerces.util.ErrorHandlerWrapper.createS AXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(U nknown Source)
    ..................
    ..................
    ..................
    ..................
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.loop(AbstractDeploymentScanner. java:274)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.run(AbstractDeploymentScanner.j ava:225)
    10:04:11,401 ERROR [[/myWebAplication]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListe ner
    org.springframework.beans.factory.BeanDefinitionSt oreException: Line 10 in XML document from ServletContext resource [/WEB-INF/securityContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'sec:filter-chain-map'.
    Caused by:
    org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'sec:filter-chain-map'.
    at org.apache.xerces.util.ErrorHandlerWrapper.createS AXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(U nknown Source)
    ......................................
    ......................................
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy(URLDeploymentScanner.java:421)
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan(URLDeploymentScanner.java:634)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan(AbstractDeploymentScanne r.java:263)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.loop(AbstractDeploymentScanner. java:274)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.run(AbstractDeploymentScanner.j ava:225)
    10:04:11,401 ERROR [StandardContext] Error listenerStart
    10:04:11,401 ERROR [StandardContext] Context [/myWebAplication] startup failed due to previous errors
    10:04:11,401 INFO [[/myWebAplication]] Closing Spring root WebApplicationContext
    10:04:11,401 WARN [ServiceController] Problem starting service jboss.web.deployment:war=myWebAplication.war,id=-627649350
    org.jboss.deployment.DeploymentException: URL file:/C:/JOY_Eclipse/Projects/BPA/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.0_Runtime_7_Server1302774117721/deploy/myWebAplication.war/ deployment failed
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal(TomcatDeployer.java:375)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy(TomcatDeployer.java:103)
    ..................
    ..................
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan(AbstractDeploymentScanne r.java:263)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.loop(AbstractDeploymentScanner. java:274)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.run(AbstractDeploymentScanner.j ava:225)
    10:04:11,401 ERROR [MainDeployer] Could not start deployment: file:/C:/JOY_Eclipse/Projects/BPA/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.0_Runtime_7_Server1302774117721/deploy/myWebAplication.war/
    org.jboss.deployment.DeploymentException: URL file:/C:/JOY_Eclipse/Projects/BPA/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.0_Runtime_7_Server1302774117721/deploy/myWebAplication.war/ deployment failed
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal(TomcatDeployer.java:375)





    Can any one tell em what is this error and how to resolve it.
    Please let me know if anyone has any imformation about this error.
    Please let me know if you need any more imformation from my side.


    THANKS IN ADVANCE
    Last edited by argho; Apr 15th, 2011, 01:52 AM.
Working...
X