java.lang.NoSuchMethodError: com.oracle.xmlns.communications.sce.cartridgemanagement.ws.CartridgeKeyType.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V (Doc ID 1530522.1)

Last updated on NOVEMBER 25, 2016

Applies to:

Oracle Communications Order and Service Management - Version 7.0.3 and later
Information in this document applies to any platform.
**** currency Checked on 07-10-2014****
***Checked for relevance on 25-Nov-2016***

Goal

Customer is trying to deploy a cartridge on a linux environment using the cartridge management tools. Customer executed the ant task deploy-cartridge and got the following error message.

>ant deploy-cartridge
Buildfile: build.xml

deploy-cartridge:
  [echo] Deploying cartridge.../mnt/opt/cmt/user.par to http://127.0.0.1:7001/cartridge/wsapi
  [deploy] Deploy file=/mnt/opt/cmt/user.par
  [deploy] Cartridge name=ngn_voip version=3.3.0 buildID=16
  [deploy] Feb 5, 2013 11:23:33 AM oracle.communications.platform.cartridgemanagement.client.core.CartridgeManager deployCartridge
  [deploy] SEVERE: Error processing WSDL document:
  [deploy] javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
  [deploy] Deploy cartridge ngn_voip with session id null
  [deploy] Deployment of ngn_voip (3.3.0) failed due to :
  [deploy] Error processing WSDL document:
  [deploy] javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl

BUILD SUCCESSFUL
Total time: 1 second

 

Suggested customer to execute the command /OSM 7.0.3/cartridge_management_tools/cartridge_management_tools> ant -lib ./lib deploy-cartridge.

Buildfile: build.xml

deploy-cartridge:
  [echo] Deploying cartridge...
[deployCartridge] Model Name=DEFAULT_RESPONSE_QUEUE Value=osm_event
[deployCartridge] Model Name=DEFAULT_REQUEST_QUEUE Value=osm_event
[deployCartridge] Model Name=DEFAULT_AUTOMATION_USER Value=oms-automation
[deployCartridge] Cartridge Management Property Name=ENTITY_CONFLICT_ACTION_ON_DEPLOY Value=replace
[deployCartridge] Model Name=ACTIVATION_ENVIRONMENT_ID Value=ENV1
[deployCartridge] Cartridge Management Property Name=PURGE_CARTRIDGE_BEFORE_DEPLOY Value=false
[deployCartridge] Cartridge Management Property Name=PURGE_ORDER_ON_UNDEPLOY Value=false
[deployCartridge] Deploy file=/mnt/opt/cmt/user.par
[deployCartridge] Cartridge name=vpn version=1.0.0 buildID=258

BUILD FAILED
/mnt/opt/cartridge_management_tools_from_oracle/build.xml:32: java.lang.NoSuchMethodError: com.oracle.xmlns.communications.sce.cartridgemanagement.ws.CartridgeKeyType.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)

 Below error was encountered when trying to deploy the code from a Linux Machine.

java.lang.NoSuchMethodError: com.oracle.xmlns.communications.sce.cartridgemanagement.ws.CartridgeKeyType.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)

  

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms