3 Replies Latest reply: Aug 29, 2012 4:29 AM by Ajay Atthuluri RSS

    Ant Deployment Script error

    Ajay Atthuluri
      Hi All,

      i am getting the below Deployment script error as i am harvested all my projects by using AIAHarvester and then i have generated the BOM.xml then i have created the Deploymentplan also, but finally iam getting this error while running the deployment script

      all the steps i followed by using aia developers guide, but iam getting this error, can any one please resolve this issue..


      -bash-3.2$ ant -f ${AIA_HOME}/Infrastructure/Install/AID/AIAInstallDriver.xml -DPropertiesFile=${AIA_INSTANCE}/config/AIAInstallProperties.xml -DDeploymentPlan=${AIA_HOME}/pips/OrderAutomation/OrderAutomationR1DP.xml
      [WARN ][jrockit] MaxPermSize=512m ignored: Not a valid option for JRockit
      Buildfile: /oracle/middleware/fmw/ORACLE_AIA1/Infrastructure/Install/AID/AIAInstallDriver.xml
      Please Enter the Admin Username:weblogic
      Please Enter the Admin Password:
      [AIAXmlProperty] Decipher value does not exist for the key : participatingapplications.osmlf.wljms.password
      [AIAXmlProperty] Decipher value does not exist for the key : oer.server.password
      [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.aia.password
      [AIAXmlProperty] Decipher value does not exist for the key : pips.O2A.db.aia.syspassword
      [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.server.password
      [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.aia.syspassword
      [AIAXmlProperty] Decipher value does not exist for the key : participatingapplications.osmcfs.wljms.password
      [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.jms.password

      Install:

      InstallDeploymentPlan:
      [echo]
      [echo]
      [echo]
      [echo] Deployment log -- /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/logs/OrderAutomationR1DP_PreInstallScript_2012-08-28_05-06-09.log
      [echo]
      [echo]
      [echo] === Executing PreInstallScript of /oracle/middleware/fmw/ORACLE_AIA1/pips/OrderAutomation/OrderAutomationR1DP.xml===
      [echo]
      [echo]
      [xslt] Processing /oracle/middleware/fmw/ORACLE_AIA1/pips/OrderAutomation/OrderAutomationR1DP.xml to /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/AIDExecuteDP_temp_1020150219.xml
      [xslt] Loading stylesheet /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/AIDExtractxsl_temp_712443265.xsl

      executeDP:
      [delete] Deleting: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/AIDExecuteDP_temp_1020150219.xml
      [delete] Deleting: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/AIDExtractxsl_temp_712443265.xsl
      [echo]
      [echo] === Completed PreInstallScript of /oracle/middleware/fmw/ORACLE_AIA1/pips/OrderAutomation/OrderAutomationR1DP.xml===
      [echo]
      [echo]
      [echo]
      [echo]
      [echo] Deployment log -- /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/logs/OrderAutomationR1DP_Configurations_2012-08-28_05-06-09.log
      [echo]
      [echo]
      [echo] === Executing Configurations of /oracle/middleware/fmw/ORACLE_AIA1/pips/OrderAutomation/OrderAutomationR1DP.xml===
      [echo]
      [echo]
      [xslt] Processing /oracle/middleware/fmw/ORACLE_AIA1/pips/OrderAutomation/OrderAutomationR1DP.xml to /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/AIDExecuteDP_temp_1020150219.xml
      [xslt] Loading stylesheet /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/AIDExtractxsl_temp_712443265.xsl

      executeDP:
      [echo] executing Endpoint Configurator over the dir : /oracle/middleware/fmw/ORACLE_AIA1
      [sql] Executing resource: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/PIPSystemRegistration_363281373.sql
      [sql] 3 of 3 SQL statements executed successfully
      [delete] Deleting: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/PIPSystemRegistration_363281373.sql
      [mkdir] Created dir: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/AIAMetaData/tempMetadata/apps/AIAMetaData
      [copy] Copying 384 files to /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/AIAMetaData/tempMetadata/apps/AIAMetaData
      [delete] Deleting: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/AIAMetaData/MetaData.zip
      [zip] Building zip: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/AIAMetaData/MetaData.zip
      [exec] CLASSPATH=/oracle/middleware/fmw/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/middleware/fmw/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/middleware/java/jrockit-jdk1.6.0_24-R28.1.3-4.0.1/lib/tools.jar:/oracle/middleware/fmw/wlserver_10.3/server/lib/weblogic_sp.jar:/oracle/middleware/fmw/wlserver_10.3/server/lib/weblogic.jar:/oracle/middleware/fmw/modules/features/weblogic.server.modules_10.3.5.0.jar:/oracle/middleware/fmw/wlserver_10.3/server/lib/webservices.jar:/oracle/middleware/fmw/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oracle/middleware/fmw/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:.:/oracle/middleware/fmw/wlserver_10.3/server/lib/weblogic.jar:/oracle/middleware/fmw/ORACLE_AIA1/lib/aia.jar:/oracle/middleware/fmw/ORACLE_AIA1/lib/aia-utils.jar:/oracle/middleware/fmw/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.jps_11.1.1/jps-common.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.jps_11.1.1/jps-unsupported-api.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.pki_11.1.1/oraclepki.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.webservices_11.1.1/oracle.webservices.standalone.client.jar:/oracle/middleware/fmw/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/oracle-soa-client-api.jar:/oracle/middleware/fmw/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar:/oracle/middleware/fmw/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar:/oracle/middleware/fmw/oracle_common/BC4J/jlib/commons-cli-1.0.jar::/oracle/middleware/fmw/oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar:/oracle/middleware/fmw/oracle_common/common/wlst/lib/adfscripting.jar:/oracle/middleware/fmw/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/lib/mdswlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/auditwlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/igfwlsthelp.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/jps-wlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/jrf-wlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/oamap_help.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/ossoiap_help.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/ossoiap.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/sslconfigwlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/wsm-wlst.jar
      [exec]
      [exec] PATH=/oracle/middleware/fmw/wlserver_10.3/server/bin:/oracle/middleware/fmw/modules/org.apache.ant_1.7.1/bin:/oracle/middleware/java/jrockit-jdk1.6.0_24-R28.1.3-4.0.1/jre/bin:/oracle/middleware/java/jrockit-jdk1.6.0_24-R28.1.3-4.0.1/bin:.:/oracle/middleware/java/jrockit-jdk1.6.0_24-R28.1.3-4.0.1/jre/bin:/oracle/middleware/fmw/modules/org.apache.ant_1.7.1/bin:/oracle/middleware/fmw/ORACLE_AIA1/bin:/oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
      [exec]
      [exec] Your environment has been set.
      [exec]
      [exec] CLASSPATH=/oracle/middleware/fmw/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/middleware/fmw/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/middleware/java/jrockit-jdk1.6.0_24-R28.1.3-4.0.1/lib/tools.jar:/oracle/middleware/fmw/wlserver_10.3/server/lib/weblogic_sp.jar:/oracle/middleware/fmw/wlserver_10.3/server/lib/weblogic.jar:/oracle/middleware/fmw/modules/features/weblogic.server.modules_10.3.5.0.jar:/oracle/middleware/fmw/wlserver_10.3/server/lib/webservices.jar:/oracle/middleware/fmw/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oracle/middleware/fmw/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:.:/oracle/middleware/fmw/wlserver_10.3/server/lib/weblogic.jar:/oracle/middleware/fmw/ORACLE_AIA1/lib/aia.jar:/oracle/middleware/fmw/ORACLE_AIA1/lib/aia-utils.jar:/oracle/middleware/fmw/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.jps_11.1.1/jps-common.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.jps_11.1.1/jps-unsupported-api.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.pki_11.1.1/oraclepki.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.webservices_11.1.1/oracle.webservices.standalone.client.jar:/oracle/middleware/fmw/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/oracle-soa-client-api.jar:/oracle/middleware/fmw/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/oracle/middleware/fmw/oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar:/oracle/middleware/fmw/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar:/oracle/middleware/fmw/oracle_common/BC4J/jlib/commons-cli-1.0.jar::/oracle/middleware/fmw/oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar:/oracle/middleware/fmw/oracle_common/common/wlst/lib/adfscripting.jar:/oracle/middleware/fmw/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/lib/mdswlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/auditwlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/igfwlsthelp.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/jps-wlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/jrf-wlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/oamap_help.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/ossoiap_help.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/ossoiap.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/sslconfigwlst.jar:/oracle/middleware/fmw/oracle_common/common/wlst/resources/wsm-wlst.jar:/oracle/middleware/fmw/utils/config/10.3/config-launch.jar::/oracle/middleware/fmw/wlserver_10.3/common/derby/lib/derbynet.jar:/oracle/middleware/fmw/wlserver_10.3/common/derby/lib/derbyclient.jar:/oracle/middleware/fmw/wlserver_10.3/common/derby/lib/derbytools.jar::
      [exec]
      [exec] Initializing WebLogic Scripting Tool (WLST) ...
      [exec]
      [exec] Welcome to WebLogic Server Administration Scripting Shell
      [exec]
      [exec] Type help() for help on available commands
      [exec]
      [exec] Connecting to t3://localhost:7001 with userid weblogic ...
      [exec] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'dev1_domain'.
      [exec]
      [exec] Warning: An insecure protocol was used to connect to the
      [exec] server. To ensure on-the-wire security, the SSL port or
      [exec] Admin port should be used instead.
      [exec]
      [exec] WLS_SOA
      [exec] Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
      [exec] For more help, use help(domainRuntime)
      [exec]
      [exec] Metadata transfer operation started
      [exec] Importing metadata into repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
      [exec] Metadata transfer operation completed
      [exec]
      [exec] Import Metadata Successful !!
      [exec] Disconnected from weblogic server: AdminServer
      [delete] Deleting: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/keyFile
      [delete] Deleting: /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/propFile
      [delete] Deleting directory /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/AIAMetaData/tempMetadata
      [wlst] @@@ Starting the script ...
      [wlst] hostname = localhost
      [wlst] wlport = 7001
      [wlst] adminuser = weblogic
      [wlst] adminpassword = [C@1c1f8f0d
      [wlst] soaserverhostname = localhost
      [wlst] soaserverport = 8001
      [wlst] serverType = Server
      [wlst] soaservername = WLS_SOA
      [wlst] action = shutdown
      [wlst] Connecting to t3://localhost:7001 with userid weblogic ...
      [wlst] Traceback (innermost last):
      [wlst] File "/oracle/middleware/fmw/ORACLE_AIA1/Infrastructure/Install/AID/lib/py/ManagedServer.py", line 33, in ?
      [wlst] File "<iostream>", line 22, in connect
      [wlst] File "<iostream>", line 646, in raiseWLSTException
      [wlst] WLSTException: Error occured while performing connect : User: weblogic, failed to be authenticated.
      [wlst] Use dumpStack() to view the full stacktrace
      [wlst]
      [wlst] Exception in thread "Main Thread" java.lang.IllegalStateException: Traceback (innermost last):
      [wlst] File "/oracle/middleware/fmw/ORACLE_AIA1/Infrastructure/Install/AID/lib/py/ManagedServer.py", line 33, in ?
      [wlst] File "<iostream>", line 22, in connect
      [wlst] File "<iostream>", line 646, in raiseWLSTException
      [wlst] WLSTException: Error occured while performing connect : User: weblogic, failed to be authenticated.
      [wlst] Use dumpStack() to view the full stacktrace
      [wlst]
      [wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.printError(WLSTInterpreterInvoker.java:110)
      [wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.executePyScript(WLSTInterpreterInvoker.java:103)
      [wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLSTInterpreterInvoker.java:27)

      BUILD FAILED
      /oracle/middleware/fmw/ORACLE_AIA1/Infrastructure/Install/AID/AIAExecuteDriver.xml:103: The following error occurred while executing this line:
      /oracle/middleware/fmw/ORACLE_AIA1/Infrastructure/Install/AID/AIAExecuteDriver.xml:64: The following error occurred while executing this line:
      /oracle/middleware/fmw/ORACLE_AIA1/aia_instances/aiadev/tmp/AIDExecuteDP_temp_1020150219.xml:40: The following error occurred while executing this line:
      /oracle/middleware/fmw/ORACLE_AIA1/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:628: Java returned: 1

      Total time: 4 minutes 30 seconds

      Edited by: 955438 on Aug 28, 2012 4:30 AM
        • 1. Re: Ant Deployment Script error
          705593
          You are facing the login authentication exception as the pips.OrderAutomation.server.password is not available in the credential store. Not only that none of the PIP's and particiapting application passwords are updated to the credential store. Because of that you see the below msgs in the log:
          [AIAXmlProperty] Decipher value does not exist for the key : participatingapplications.osmlf.wljms.password
          [AIAXmlProperty] Decipher value does not exist for the key : oer.server.password
          [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.aia.password
          [AIAXmlProperty] Decipher value does not exist for the key : pips.O2A.db.aia.syspassword
          [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.server.password
          [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.aia.syspassword
          [AIAXmlProperty] Decipher value does not exist for the key : participatingapplications.osmcfs.wljms.password
          [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.jms.password

          How have you updated the AIAInstallProperties.xml with the pip and particiating application properties? Have you used PIP configuration wizard?
          If not i recommend you to use PIP configuration wizard to configure the corresponding pip properties in AIAInstallProperties.xml .

          Thanks,
          Kaushik
          • 2. Re: Ant Deployment Script error
            705593
            Hi,
            The login authentication issue is because the pips.OrderAutomation.server.password is not available in the credential store.
            Infact none of the pip's and participating application passwords are added to the credential store. You are seeing the below msgs in the log for that reason.

            [AIAXmlProperty] Decipher value does not exist for the key : participatingapplications.osmlf.wljms.password
            [AIAXmlProperty] Decipher value does not exist for the key : oer.server.password
            [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.aia.password
            [AIAXmlProperty] Decipher value does not exist for the key : pips.O2A.db.aia.syspassword
            [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.server.password
            [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.aia.syspassword
            [AIAXmlProperty] Decipher value does not exist for the key : participatingapplications.osmcfs.wljms.password
            [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.jms.password

            How have you updated the AIAInstallProperties.xml with the pip and participating application properties?

            You should be using PIP Configuration wizard to do the configuration.

            Thanks,
            Kaushik
            • 3. Re: Ant Deployment Script error
              Ajay Atthuluri
              We are using O2C PIP and the details are already deployed using Oracle AIA Configuration Wizard. Please let me know if I need to reconfigure those.

              Also In the AIAInstallProperties.xml, all the passwords are available in encripted format. Do we need to reset those as we are getting the below error msg?

              [AIAXmlProperty] Decipher value does not exist for the key : participatingapplications.osmlf.wljms.password
              [AIAXmlProperty] Decipher value does not exist for the key : oer.server.password
              [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.aia.password
              [AIAXmlProperty] Decipher value does not exist for the key : pips.O2A.db.aia.syspassword
              [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.server.password
              [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.aia.syspassword
              [AIAXmlProperty] Decipher value does not exist for the key : participatingapplications.osmcfs.wljms.password
              [AIAXmlProperty] Decipher value does not exist for the key : pips.OrderAutomation.db.jms.password

              Regards,
              Ajay