Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

InvocationTargetException in an axis WS  RSS feed

 
David Brossard
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've got an application which runs fine on its own. I wrap it in an Axis 1 webservice and when I call it, Tomcat suddenly returns java.lang.reflect.InvocationTargetException.

The runtime exception is raised at the following line:



incomindDocEpr and instanceDocEpr are two XML documents (of type Document) and I can print them out easily (I know they're not null). And yet although the comparison works fine (and returns true) in the application, once the latter is exposed as a WS in Tomcat, the method throws the java.lang.reflect.InvocationTargetException.

Does anyone know why?
 
David Brossard
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The solution is to get the latest xerces implementation and drop it in Tomcat's common/endorsed folder.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!