Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » java.lang.reflect.invocationtargetexception
java.lang.reflect.invocationtargetexception [message #125479] Mon, 25 July 2005 13:02 Go to next message
Ben Sisson is currently offline Ben SissonFriend
Messages: 202
Registered: July 2009
Senior Member
Question about published Web Service. When I launch my Web Service from
Eclipse, start Tomcat, open the client and call the Web Service it works
fine. However, if I shut down Eclipse, and start Tomcat using the Tomcat
startup script. Then I open my client and call my Web Service I get the
following error message:

exception: java.lang.reflect.InvocationTargetException

I would have thought that the Eclipse development environment would be
separate from the Tomcat server and once developed and published I
wouldn't need to run Eclipse to run the Web Service. Can someone please
help me resolve or shed some light on this?

Thanks,
Ben
Re: java.lang.reflect.invocationtargetexception [message #126554 is a reply to message #125479] Wed, 27 July 2005 18:32 Go to previous message
Ben Sisson is currently offline Ben SissonFriend
Messages: 202
Registered: July 2009
Senior Member
I was able to correct this by deploying the web services using the
deploy.wsdd. I start a command session and type java
org.apache.axis.client.AdminClient deploy.wsdd

I am in the folder of my Web Service project where the deploy.wsdd is
located when I issue the command. It not then I would have to specify the
path for the deploy.wsdd. This corrected my problem.

In addition, I needed to create JAR files for each of my services that
needed to be deployed and placed them in the ...\Tomcat
5.0\webapps\axis\WEB-INF\lib directory.
Previous Topic:how to view source in ie using eclipse
Next Topic:Jar Project File
Goto Forum:
  


Current Time: Fri Jan 03 03:20:56 GMT 2025

Powered by FUDForum. Page generated in 0.03013 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top