Hi,

I'm trying to follow http://www.wso2.org/library/90.

I added stax-api-1.0.1.jar for XML streaming.

When I start tomcat, in package org.apache.axis2.deployment, the following is executed:

public OMElement buildOM() throws XMLStreamException {
       XMLStreamReader xmlReader = StAXUtils
               .createXMLStreamReader(descriptionStream);
       OMFactory fac = OMAbstractFactory.getOMFactory();
       StAXOMBuilder staxOMBuilder = new StAXOMBuilder(fac, xmlReader);
       OMElement element = staxOMBuilder.getDocumentElement();

       element.build();

       return element;
 }

When createXMLStreamReader is called, org.apache.axiom.om.util.StAXUtils gets initialized, and tries to fill some of its fields, which fails:

Caused by: java.lang.IllegalStateException: No valid ObjectCreator found.
   at org.apache.axiom.om.util.StAXUtils$Pool.<init>(StAXUtils.java:41)
   at org.apache.axiom.om.util.StAXUtils.<clinit>(StAXUtils.java:62)

Any ideas where I could look for the problem?


Arnout

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to