Hi ,

Sorry for missing so many jars here.

That's the stax api implementation jar, we use the wstx-asl-*.jar in CXF.

And you get more information for this URL[1] , which is WHICH_JARS that current CXF use.

[1]https://svn.apache.org/repos/asf/incubator/cxf/trunk/distribution/src/main/release/lib/WHICH_JARS

Willem.


Velidanda Srinivas wrote:
I copied the below jars(other than what you specified) to get my client working.

spring-beans*
commons-logging*
geronimo-annotation_1.0_spec-1.1.jar
XmlSchema-1.2.jar
xml-resolver-1.2.jar
neethi-2.0.jar
saaj-api-1.3.jar
geronimo-javamail_1.4_spec-1.0-M1.jar
geronimo-activation_1.1_spec-1.0-M1.jar

Stuck up with the below error

Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider 
com.bea.xml.stream.MXParserFactory not found

and not finding which jar file to be copied, to get rid of this.

I have jsr173_api-1.0.jar in classpath, but still I am getting the error.

Please let me know how to fix this.

Here is the description of errors and jars copied as mentioned above.

**********************Description of error and jar file copied to get rid of 
the error***************************************
*********Error*****
java.lang.NoClassDefFoundError: javax/annotation/Resource
Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource
**********required jar >>>>>>>.geronimo-annotation_1.0_spec-1.1.jar

*********Error*****Caused by: java.lang.NoClassDefFoundError: 
org/apache/ws/commons/schema/XmlSchemaAnnotated
**********required jar****XmlSchema-1.2.jar

********Error*****java.lang.NoClassDefFoundError: 
org/apache/xml/resolver/CatalogManager
**********required jar********xml-resolver-1.2.jar

********Error*****Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder' defined in class 
path resource [META-INF/cxf/cxf-extension-policy.xml]: Instantiation of bean 
failed; nested exception is java.lang.NoClassDefFoundError: 
org/apache/neethi/Assertion
Caused by: java.lang.NoClassDefFoundError: org/apache/neethi/Assertion
**********required jar********neethi-2.0.jar

********Error*****
Caused by: org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class 
[org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider]: Constructor threw 
exception; nested exception is java.lang.NoClassDefFoundError: 
javax/xml/soap/SOAPException
Caused by: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException
**********required jar********saaj-api-1.3.jar

********Error*****
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/geronimo/mail/util/StringBufferOutputStream
**********required jar********geronimo-javamail_1.4_spec-1.0-M1.jar

********Error*****
Caused by: java.lang.NoClassDefFoundError: 
javax/activation/MimeTypeParseException
**********required jar********geronimo-activation_1.1_spec-1.0-M1.jar

Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider 
com.bea.xml.stream.MXParserFactory not found
????????????????????

Thanks,
Srinivas

-----Original Message-----
From: Willem Jiang [mailto:[EMAIL PROTECTED]
Sent: 08 August 2007 11:08
To: [email protected]
Subject: Re: Dynamic Client


Hi,

If you use maven that could much easy , you just need add the dependency artifact

<  <dependency>
      <groupId>org.apache.cxf</groupId>
     <artifactId>cxf-rt-databinding-jaxb</artifactId>
     <version>${cxf.version}</version>
</dependency>

CXF relate jars
If you use the bundler jar, there only one cxf-***-incubator.jar
If you just want include related models' jar, they are
cxf-api
cxf-common-schemas
cxf-common-utilities
cxf-rt-core
cxf-tools-common

The third part jars
ant*,
jaxb-*
geronimo-ws-metadata*
stax-api-*
spring-core-*
spring-context-*
jaxws-api-*
wsdl4j-*

Willem.


Velidanda Srinivas wrote:
Hi,
Could someone list the jar files required to run Dynamic
Client application
using DynamicClientFactory.
Srinivas.


______________________________________________________________
__________
This e-mail has been scanned for all viruses by MessageLabs.

To learn more about Singularity's business process
management solutions and services please visit:
www.singularity.co.uk www.singularity.us.com Singularity operates globally through its offices in New
York, London, Singapore, Ireland and India. Singularity Limited is incorporated in the United Kingdom with Registration Number NI 31519 and its Registered Office at 100 Patrick Street, Derry, BT48 7EL, United Kingdom.
______________________________________________________________
__________
This e-mail has been scanned for all viruses by MessageLabs.
______________________________________________________________
__________


________________________________________________________________________
This e-mail has been scanned for all viruses by MessageLabs.

To learn more about Singularity's business process management solutions and 
services please visit:
www.singularity.co.uk www.singularity.us.com
Singularity operates globally through its offices in New York, London, 
Singapore, Ireland and India. Singularity Limited is incorporated in the United 
Kingdom with Registration Number NI 31519 and its Registered Office at 100 
Patrick Street, Derry, BT48 7EL, United Kingdom.

Reply via email to