Xavier Dury [
https://community.jboss.org/people/xdury] created the discussion
"Re: Migrating secured WS from JBoss 5.1 to 7.1.1"
To view the discussion, visit:
https://community.jboss.org/message/822460#822460
--------------------------------------------------------------
Hi,
I'm facing the same problem since I migrated to JBoss EAP 6.1 (AS7.2). We are behind a
proxy and our JBoss instances cannot access internet and thus fail to load the cxf xml
schema:
09:09:17,334 WARN [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC
service thread 1-6) Ignored XML validation warning: org.xml.sax.SAXParseException;
systemId:
http://cxf.apache.org/schemas/jaxws.xsd; lineNumber: 30; columnNumber: 145;
schema_reference.4: Failed to read schema document
'http://cxf.apache.org/schemas/configuration/cxf-beans.xsd', because 1) could not
find the document; 2) the document could not be read; 3) the root element of the document
is not .
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(Unknown
Source) [xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source) [xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
[xercesImpl-2.9.1-redhat-4.jar:]
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
[spring-beans.jar:3.0.7.RELEASE]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
[spring-beans.jar:3.0.7.RELEASE]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
[spring-beans.jar:3.0.7.RELEASE]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
[spring-beans.jar:3.0.7.RELEASE]
at
org.jboss.wsf.stack.cxf.configuration.SpringBusHolder.loadAdditionalConfig(SpringBusHolder.java:188)
[jbossws-cxf-server-4.1.3.Final-redhat-3.jar:4.1.3.Final-redhat-3]
at
org.jboss.wsf.stack.cxf.configuration.SpringBusHolder.configure(SpringBusHolder.java:136)
[jbossws-cxf-server-4.1.3.Final-redhat-3.jar:4.1.3.Final-redhat-3]
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:128)
[jbossws-cxf-server-4.1.3.Final-redhat-3.jar:4.1.3.Final-redhat-3]
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:67)
[jbossws-cxf-server-4.1.3.Final-redhat-3.jar:4.1.3.Final-redhat-3]
at
org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)
[jboss-as-webservices-server-integration-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_03]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_03]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
09:09:17,373 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed
to start service
jboss.deployment.subunit."myear.ear"."myejb.jar".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."myear.ear"."myejb.jar".INSTALL: JBAS018733:
Failed to process phase INSTALL of subdeployment "myejb.jar" of deployment
"myear.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127)
[jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_03]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_03]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 106
in XML document from resource loaded through InputStream is invalid; nested exception is
org.xml.sax.SAXParseException; systemId:
http://cxf.apache.org/schemas/jaxws.xsd;
lineNumber: 106; columnNumber: 63; src-resolve: Cannot resolve the name
'cxf-beans:beanAttributes' to a(n) 'attribute group' component.
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at
org.jboss.wsf.stack.cxf.configuration.SpringBusHolder.loadAdditionalConfig(SpringBusHolder.java:188)
at
org.jboss.wsf.stack.cxf.configuration.SpringBusHolder.configure(SpringBusHolder.java:136)
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:128)
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:67)
at
org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)
[jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
... 5 more
Caused by: org.xml.sax.SAXParseException; systemId:
http://cxf.apache.org/schemas/jaxws.xsd; lineNumber: 106; columnNumber: 63; src-resolve:
Cannot resolve the name 'cxf-beans:beanAttributes' to a(n) 'attribute
group' component.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown Source)
at
org.apache.xerces.impl.xs.traversers.XSDAttributeGroupTraverser.traverseLocal(Unknown
Source)
at
org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAttrsAndAttrGrps(Unknown
Source)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.processComplexContent(Unknown
Source)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexContent(Unknown
Source)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexTypeDecl(Unknown
Source)
at org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseLocal(Unknown
Source)
at
org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown
Source)
at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseGlobal(Unknown
Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
... 13 more
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/822460#822460]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]