Skip to main content

Undeply y deploy de web services.

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2006-05-05
Points: 0

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 $ (Unknown Source)
at (Native Method)
at (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