my dog learned polymorphism*
The moose likes Web Services and the fly likes Exceptions while deploying app- somewhat point to CXF lib issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Exceptions while deploying app- somewhat point to CXF lib issue" Watch "Exceptions while deploying app- somewhat point to CXF lib issue" New topic
Author

Exceptions while deploying app- somewhat point to CXF lib issue

Anuragk kushwaha
Ranch Hand

Joined: Aug 02, 2006
Posts: 51
Dear All,

I am facing big trouble while deploying apps- getting the following exceptions





Above errors coming for every module and my analysis is saying that theses exception are coming every time when the IOC is trying to create baens defined under tag in beans.xml



I tried hard to resoolved this but no luck, please help me out on this issue.

Thanks & Regards,
Anurag>
Anuragk kushwaha
Ranch Hand

Joined: Aug 02, 2006
Posts: 51
Dear All,

Any help very much appreciated.
Carles Gasques
Ranch Hand

Joined: Apr 19, 2013
Posts: 199
    
    1
What version of wsdl4j and CXF are you deploying?
Anuragk kushwaha
Ranch Hand

Joined: Aug 02, 2006
Posts: 51
cxf-2.3.3.jar & wsdl4j-1.6.2.jar
Carles Gasques
Ranch Hand

Joined: Apr 19, 2013
Posts: 199
    
    1
If you take a look to wsdl4j-1.6.2.jar (with eclipse explorer 4 example)
the interface "javax.wsdl.xml.WSDLReader"
has a method like "public readWSDL(WSDLLocator locator, Element element);" ?
Anuragk kushwaha wrote:cxf-2.3.3.jar & wsdl4j-1.6.2.jar
Anuragk kushwaha
Ranch Hand

Joined: Aug 02, 2006
Posts: 51
Yes sir, here is the method at javax.wsdl.xml



Carles Gasques
Ranch Hand

Joined: Apr 19, 2013
Posts: 199
    
    1
I understand that you deploy in a websphere.
Is there a wsdl4j-1.6.2.jar packaged in your war / ear?
Could be another provider for the service javax.wsdl.factory.WSDLFactory, some other jar that have the service in the websphere classpath, packaged in your war/ear?


The reader comes from an WSDLFactory that does the lookup
1. Is there a service named javax.wsdl.factory.WSDLFactory under /META-INF/services in any jar in the classpath
2. Is there a system property named javax.wsdl.factory.WSDLFactory
3. Is there a properties file at JAVA_HOME with a key javax.wsdl.factory.WSDLFactory
4. If not found instantiate the factory com.ibm.wsdl.factory.WSDLFactoryImpl that is already packaged inside wsdl4j-1.6.2.jar (at last in my distribution)


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exceptions while deploying app- somewhat point to CXF lib issue