0 Replies Latest reply: Mar 21, 2013 8:51 AM by Elaine W. RSS

    Can't undeploy - what am I doing wrong?

    Elaine W.
      I am deploying an application using a deployment plan. Weblogic 10.3.6 is the version.

      The deployment works fine:
      java weblogic.Deployer -adminurl t3://Oraapp10.nsf.org:7001/ -user weblogic -password xxxx -verbose -deploy -targets ASM1,ASM2 \
      -name asm-2013.R3.2 -source /u06/apps/appsrollout/asm/asm-2013.R3.2.war \
      -plan /u06/apps/appsrollout/deploy_plans/asm/plan.asm-2013.R3.2.xml
      weblogic.Deployer invoked with options: -adminurl t3://Oraapp10.nsf.org:7001/ -user weblogic -verbose -deploy -targets ASM1,ASM2 -name asm-2013.R3.2 -source /u06/apps/appsrollout/asm/asm-2013.R3.2.war -plan /u06/apps/appsrollout/deploy_plans/asm/plan.asm-2013.R3.2.xml

      <Mar 21, 2013 9:19:38 AM EDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, asm-2013.R3.2 [archive: /u06/apps/appsrollout/asm/asm-2013.R3.2.war], to ASM1 ASM2 .>
      Task 81 initiated: [Deployer:149026]deploy application asm-2013.R3.2 on ASM2,ASM 1.
      Task 81 completed: [Deployer:149026]deploy application asm-2013.R3.2 on ASM2,ASM 1.
      Target state: deploy completed on Server ASM2
      Target state: deploy completed on Server ASM1

      Target Assignments:
      + asm-2013.R3.2 ASM1,ASM2


      But when I try to UNDEPLOY it, it fails - (used the debug option to provide more info):

      java weblogic.Deployer -adminurl t3://Oraapp10.nsf.org:7001/ -user weblogic -password xxxx -verbose -undeploy -targets ASM1 -name asm->2013.R3.2 -debug weblogic.Deployer invoked with options: -adminurl t3://Oraapp10.nsf.org:7001/ -user weblogic -verbose -undeploy -targets ASM1 ->name asm-2013.R3.2 -debug
      [WebLogicDeploymentManagerImpl.<init>():115] : Constructing DeploymentManager for J2EE version V1_4 deployments
      [WebLogicDeploymentManagerImpl.getNewConnection():158] : Connecting to admin server at Oraapp10.nsf.org:7001, as user weblogic
      [ServerConnectionImpl.getEnvironment():286] : setting environment
      [ServerConnectionImpl.getEnvironment():289] : getting context using t3://Oraapp10.nsf.org:7001
      [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://Oraapp10.nsf.org:7001/jndi/weblogic.management.mbeanservers.domainruntime
      [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://Oraapp10.nsf.org:7001/jndi/weblogic.management.mbeanservers.runtime
      [DomainManager.resetDomain():36] : Getting new domain
      [DomainManager.resetDomain():39] : Using pending domain: false
      [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@580754fc
      [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@580754fc
      [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@6d46b6db
      [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@6d46b6db
      [ServerConnectionImpl.initialize():169] : Connected to WLS domain: test_domain
      [ServerConnectionImpl.init():159] : Initializing ServerConnection : weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl@70eb67e8
      [BasicOperation.dumpTmids():713] : Incoming tmids:
      [BasicOperation.dumpTmids():715] : {Target=ASM1, WebLogicTargetType=server, Name=asm-2013.R3.2}, targeted=true
      [BasicOperation.deriveAppName():141] : appname established as: asm-2013.R3.2
      <Mar 21, 2013 9:43:19 AM EDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating undeploy operation for application, asm-2013.R3.2 [archive: null], to ASM1 .>
      [BasicOperation.dumpTmids():713] : Incoming tmids:
      [BasicOperation.dumpTmids():715] : {Target=ASM1, WebLogicTargetType=server, Name=asm-2013.R3.2}, targeted=true
      [BasicOperation.loadGeneralOptions():628] : Delete Files:false
      Timeout :3600000
      Targets:
      ASM1
      ModuleTargets={}
      SubModuleTargets={}
      }
      Files:
      null
      Deployment Plan: null
      App root: null
      App config: null
      Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=null,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=asm-2013.R3.2,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0,deploymentPrincipalName=null,useExpiredLock=false}

      [BasicOperation.execute():445] : Initiating undeploy operation for app, asm-2013.R3.2, on targets:
      [BasicOperation.execute():447] : ASM1
      Task 85 initiated: [Deployer:149026]remove application asm-2013.R3.2 on ASM1.
      Task 85 failed: [Deployer:149026]remove application asm-2013.R3.2 on ASM1.
      Target state: undeploy running on Server ASM1

      [ServerConnectionImpl.close():332] : Closing DM connection
      [ServerConnectionImpl.close():352] : Unregistered all listeners
      [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
      [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
      [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection
      [oracle@oraapp10 test_domain]$

      Edited by: Elaine W. on Mar 21, 2013 9:50 AM