Skip to main content

Undeply y deploy de web services.

No replies
davor
Offline
Joined: 2006-05-05
Points: 0

hello,
I'm doing the undeploy and deploy web services in an application I have.

I set the variables:

set AXISHOME=%NX_ROOT%\java\lib
set classpath= %AXISHOME%\axis.jar;%AXISHOME%\jaxrpc.jar;%AXISHOME%\saaj.jar;%AXISHOME%\commons-logging.jar;%AXISHOME%\commons-discovery.jar;%AXISHOME%\wsdl4j.jar;%AXISHOME%\log4j-1.2.8.jar;%classpath%;

I still pointing at the path where my file undeploy.wsdd and try to run the following command:

java-cp org.apache.axis.client.AdminClient undeploy.wsdd

But it throws the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: undeploy / WSDD
Caused by: java.lang.ClassNotFoundException: undeploy.wsdd
at java.net.URLClassLoader $ 1.run (Unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (Unknown Source)
at java.lang.ClassLoader.loadClass (Unknown Source)
at sun.misc.Launcher $ AppClassLoader.loadClass (Unknown Source)
at java.lang.ClassLoader.loadClass (Unknown Source)
Could not find the main class: undeploy.wsdd. Program will exit.

Any idea why this happening to me?

Thank you.
Regards, Davor