I'll have a look at it...
Are you running a sample from samples/ws-policy using ant script ?
Cheers, Sergey
I have done most sanity check today, found ws_policy sample failed with following error, could some one take a look at the error? I
could file a jira but I am having problem accessing the JIRA system right now:
[java] Starting Server
[java] Sep 6, 2007 5:26:29 PM org.apache.cxf.bus.spring.SpringBusFactory
createBus
[java] WARNING: Failed to create application context.
[java] org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 35 in XML document from class path resource
[server.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 'p:externalAttachment'.
[java] 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 'p:externalAttachment'.
[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:1955)
[java] at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:725)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:322)
[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:71)
[java] at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:84)
[java] at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65)
[java] at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:52)
[java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
[java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:58)
[java] at
org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:98)
[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.ws_policy.server.Server.<init>(Server.java:32)
[java] at demo.ws_policy.server.Server.main(Server.java:36)
[java] Exception in thread "main" java.lang.RuntimeException:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 35 in XML document from class path resource
[server.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 'p:externalAttachment'.
[java] at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:87)
[java] at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65)
[java] at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:52)
[java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
[java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:58)
[java] at
org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:98)
[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.ws_policy.server.Server.<init>(Server.java:32)
[java] at demo.ws_policy.server.Server.main(Server.java:36)
[java] Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 35 in XML document from class
path resource [server.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 'p:externalAttachment'.
[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:71)
[java] at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:84)
[java] ... 10 more
[java] 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 'p:externalAttachment'.
[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:1955)
[java] at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:725)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:322)
[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] ... 19 more
[java] Java Result: 1
BUILD SUCCESSFUL
Bozhong Lin wrote:
I have done some sanity check yesterday and so far didn't find any problem yet. I will continue doing some test today and
tomorrow and will raise issues if there is any.
Cheers,
Bo
Daniel Kulp wrote:
We only have a couple more JIRA items open for 2.0.2. I'd like to do the 2.0.2 build on Friday. Thus, if anyone else has any
"must haves", please make sure to get them committed before Friday.
Also, it would be very good if people could do some smoke testing of the
samples and such before then to make sure they work.
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland