Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exceptions while deploying app- somewhat point to CXF lib issue

 
Anuragk kushwaha
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Any help very much appreciated.
 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of wsdl4j and CXF are you deploying?
 
Anuragk kushwaha
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cxf-2.3.3.jar & wsdl4j-1.6.2.jar
 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes sir, here is the method at javax.wsdl.xml



 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic