My Oracle Support Banner

Undeploy Of Cartridge With ANT Failed (Doc ID 1626811.1)

Last updated on APRIL 18, 2023

Applies to:

Oracle Communications Order and Service Management - Version 7.0.1 and later
Information in this document applies to any platform.

Symptoms

On : 7.0.1 version, Deployment Tool

Undeploy of cartridge with ANT failed

Customer tried to undeploy cartridge by ANT's "undeploy-cartridge" parameter. The undeploy failed. This is the command they used:

/opt/apache-ant-1.6.5/bin/ant -lib ./lib -debug -logfile logs/undeploy-20140118-VoIP-1026-osm-debug.log undeploy-cartridge 2>&1 | tee logs/undeploy-20140118-VoIP-1026.log

These are the suspicious lines from the log produced by "-logfile" paratemter:
...
[undeployCartridge] javax.xml.rpc.ServiceException: Error processing WSDL document:
[undeployCartridge] java.lang.IllegalArgumentException: interface com.oracle.xmlns.communications.sce.cartridgemanagement.ws.CartridgeManagementWSPort is not visible from class loader
[undeployCartridge] at org.apache.axis.client.Service.getPort(Service.java:460)
[undeployCartridge] at org.apache.axis.client.Service.getPort(Service.java:324)
[undeployCartridge] at oracle.communications.sce.cartridgemanagement.ws.CartridgeDeployer.getPort(Unknown Source)
[undeployCartridge] at oracle.communications.sce.cartridgemanagement.ws.CartridgeDeployer.undeployCartridge(Unknown Source)
[undeployCartridge] at oracle.communications.sce.cartridgemanagement.ws.CartridgeDeployer.undeployCartridge(Unknown Source)
[undeployCartridge] at oracle.communications.sce.cartridgemanagement.ws.tools.UndeployCartridge.execute(Unknown Source)
[undeployCartridge] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
...
BUILD FAILED
/opt/app/wlsbase_a/Oracle/Middleware/deployments/SOM_Build.old/build.xml:37: Undeploy failed
at oracle.communications.sce.cartridgemanagement.ws.tools.UndeployCartridge.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
...

ERROR
-----------------------

BUILD FAILED
/opt/app/wlsbase_a/Oracle/Middleware/deployments/SOM_Build.old/build.xml:37: Undeploy failed
at oracle.communications.sce.cartridgemanagement.ws.tools.UndeployCartridge.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.