You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2007/05/23 04:58:16 UTC
[jira] Assigned: (CXF-672) HTTPS sample failing
[ https://issues.apache.org/jira/browse/CXF-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned CXF-672:
--------------------------------
Assignee: Freeman Fang
> HTTPS sample failing
> --------------------
>
> Key: CXF-672
> URL: https://issues.apache.org/jira/browse/CXF-672
> Project: CXF
> Issue Type: Bug
> Components: Build system
> Affects Versions: 2.0
> Reporter: Bozhong Lin
> Assigned To: Freeman Fang
> Fix For: 2.0
>
>
> running samples/hellow_world_https server throws following errors:
> build:
> server:
> [java] The server's security configuration will be taken from server.xml using the bean name : "{http://apache.org/hello_world_soap_http}GreeterImplPort.http-destination".
> [java] Starting Server
> [java] May 23, 2007 10:44:42 AM org.apache.cxf.bus.spring.SpringBusFactory createBus
> [java] WARNING: Failed to create application context.
> [java] org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 37 in XML document from class path resource [server.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'sec:CiphersuiteFilters'. One of '{"http://cxf.apache.org/configuration/security":TrustStoreType, "http://cxf.apache.org/configuration/security":TrustStoreAlgorithm, "http://cxf.apache.org/configuration/security":SecureSocketProtocol, "http://cxf.apache.org/configuration/security":SessionCaching, "http://cxf.apache.org/configuration/security":SessionCacheKey, "http://cxf.apache.org/configuration/security":MaxChainLength, "http://cxf.apache.org/configuration/security":CertValidator}' is expected.
> [java] Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'sec:CiphersuiteFilters'. One of '{"http://cxf.apache.org/configuration/security":TrustStoreType, "http://cxf.apache.org/configuration/security":TrustStoreAlgorithm, "http://cxf.apache.org/configuration/security":SecureSocketProtocol, "http://cxf.apache.org/configuration/security":SessionCaching, "http://cxf.apache.org/configuration/security":SessionCacheKey, "http://cxf.apache.org/configuration/security":MaxChainLength, "http://cxf.apache.org/configuration/security":CertValidator}' is expected.
> [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
> [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
> [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
> [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
> [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429)
> [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185)
> [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1831)
> [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)
> [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
> [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
> [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
> [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
> [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> [java] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
> [java] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
> [java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
> [java] at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:351)
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
> [java] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
> [java] at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:108)
> [java] at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79)
> [java] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:100)
> [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
> [java] at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:69)
> [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:81)
> [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:66)
> [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
> [java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:68)
> [java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:57)
> [java] at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
> [java] at org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(ProviderImpl.java:63)
> [java] at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:73)
> [java] at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
> [java] at demo.hw_https.server.Server.<init>(Server.java:31)
> [java] at demo.hw_https.server.Server.main(Server.java:40)
> [java] Exception in thread "main" java.lang.RuntimeException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 37 in XML document from class path resource [server.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'sec:CiphersuiteFilters'. One of '{"http://cxf.apache.org/configuration/security":TrustStoreType, "http://cxf.apache.org/configuration/security":TrustStoreAlgorithm, "http://cxf.apache.org/configuration/security":SecureSocketProtocol, "http://cxf.apache.org/configuration/security":SessionCaching, "http://cxf.apache.org/configuration/security":SessionCacheKey, "http://cxf.apache.org/configuration/security":MaxChainLength, "http://cxf.apache.org/configuration/security":CertValidator}' is expected.
> [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:84)
> [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:66)
> [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
> [java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:68)
> [java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:57)
> [java] at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
> [java] at org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(ProviderImpl.java:63)
> [java] at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:73)
> [java] at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
> [java] at demo.hw_https.server.Server.<init>(Server.java:31)
> [java] at demo.hw_https.server.Server.main(Server.java:40)
> [java] Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 37 in XML document from class path resource [server.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'sec:CiphersuiteFilters'. One of '{"http://cxf.apache.org/configuration/security":TrustStoreType, "http://cxf.apache.org/configuration/security":TrustStoreAlgorithm, "http://cxf.apache.org/configuration/security":SecureSocketProtocol, "http://cxf.apache.org/configuration/security":SessionCaching, "http://cxf.apache.org/configuration/security":SessionCacheKey, "http://cxf.apache.org/configuration/security":MaxChainLength, "http://cxf.apache.org/configuration/security":CertValidator}' is expected.
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:359)
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
> [java] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
> [java] at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:108)
> [java] at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79)
> [java] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:100)
> [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
> [java] at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:69)
> [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:81)
> [java] ... 10 more
> [java] Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'sec:CiphersuiteFilters'. One of '{"http://cxf.apache.org/configuration/security":TrustStoreType, "http://cxf.apache.org/configuration/security":TrustStoreAlgorithm, "http://cxf.apache.org/configuration/security":SecureSocketProtocol, "http://cxf.apache.org/configuration/security":SessionCaching, "http://cxf.apache.org/configuration/security":SessionCacheKey, "http://cxf.apache.org/configuration/security":MaxChainLength, "http://cxf.apache.org/configuration/security":CertValidator}' is expected.
> [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
> [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
> [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
> [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
> [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429)
> [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185)
> [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1831)
> [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElem
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.