Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

InvocationTargetException in an axis WS

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The solution is to get the latest xerces implementation and drop it in Tomcat's common/endorsed folder.
reply
    Bookmark Topic Watch Topic
  • New Topic