Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WLST deployment script fails to deploy

755 views
Skip to first unread message

deepshri santane

unread,
Mar 8, 2012, 1:44:51 AM3/8/12
to
Hi Everyone,

I have ANT script which calls wlst script to deploy the application.
Even though the wlst script is being called, it fails to deploy.

I did restart the complete domain , but still get the same error.

Is there any place I can upload my script as definitely my script has
some problem.

run-wlst-script:
[wlst] Executing the command line :
[wlst] /u01/app/oracle/product/fmw3/jrmc/jre/bin/java -Ddebug=true -
DfailOnError=true -DexecuteScriptBeforeFile=true -
DfileName=deploy_jee.py -classpath /apps/gct/bhcrr/wlstbuild/ant/lib/
ant-launcher.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/ant-antlr.jar:/apps/
gct/bhcrr/wlstbuild/ant/lib/ant-apache-bcel.jar:/apps/gct/bhcrr/
wlstbuild/ant/lib/ant-apache-bsf.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/
ant-apache-log4j.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/ant-apache-
oro.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/ant-apache-regexp.jar:/apps/
gct/bhcrr/wlstbuild/ant/lib/ant-apache-resolver.jar:/apps/gct/bhcrr/
wlstbuild/ant/lib/ant-apache-xalan2.jar:/apps/gct/bhcrr/wlstbuild/ant/
lib/ant-commons-logging.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/ant-
commons-net.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/ant-jai.jar:/apps/
gct/bhcrr/wlstbuild/ant/lib/ant-javamail.jar:/apps/gct/bhcrr/wlstbuild/
ant/lib/ant-jdepend.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/ant-jmf.jar:/
apps/gct/bhcrr/wlstbuild/ant/lib/ant-jsch.jar:/apps/gct/bhcrr/
wlstbuild/ant/lib/ant-junit.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/
ant.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/ant-junit4.jar:/apps/gct/
bhcrr/wlstbuild/ant/lib/ant-netrexx.jar:/apps/gct/bhcrr/wlstbuild/ant/
lib/ant-swing.jar:/apps/gct/bhcrr/wlstbuild/ant/lib/ant-testutil.jar:/
u01/app/oracle/product/fmw3/jrmc/lib/tools.jar:/u01/app/oracle/product/
fmw3/wlserver_10.3/server/lib/weblogic.jar
weblogic.management.scripting.WLSTInterpreterInvoker
[wlst] sys.argv is ['deploy_jee.py']
[wlst] Loading Python files
[wlst] Connecting to t3://DBPM3HOST1VHN1.trcw.us.aexp.com:7026 with
userid deepshri …
[wlst] Successfully connected to Admin Server ‘AdminServer’ that
belongs to domain ‘gct_domain’.
[wlst]
[wlst] Warning: An insecure protocol was used to connect to the
[wlst] server. To ensure on-the-wire security, the SSL port or
[wlst] Admin port should be used instead.
[wlst]
[wlst] Location changed to edit tree. This is a writable tree with
[wlst] DomainMBean as the root. To make changes you will need to start
[wlst] an edit session via startEdit().
[wlst]
[wlst] For more help, use help(edit)
[wlst]
[wlst] Starting an edit session …
[wlst] Started edit session, please be sure to save and activate your
[wlst] changes once you are done.
[wlst] Deploying Application ‘BHC_Application_application1′ …
[wlst] Deploying application from /apps/gct/bhcrr/wlstbuild/src/test/
ADF/BHCApp/deploy/BHC_Application_application1.ear to targets
SOA_Cluster,AdminServer (upload=false) …
[wlst]
[wlst] You have an edit session in progress, hence WLST will not
[wlst] block for your deployment to complete.
[wlst] Started the Deployment of Application. Please refer to the
returned WLSTProgress object or variable LAST to track the status.
[wlst]
[wlst] *** WARNING ***
[wlst] Preparing to activate changes.
[wlst] *** WARNING ***
[wlst]
[wlst] Press the ‘Enter’ key to activate changes:
[wlst] Starting an edit session …
[wlst] Started edit session, please be sure to save and activate your
[wlst] changes once you are done.
[wlst] Saving all your changes …
[wlst] Saved all your changes successfully.
[wlst] Activating all your changes, this may take a while …
[wlst] The edit lock associated with this edit session is released
[wlst] once the activation is completed.
[wlst] weblogic.management.DeploymentException: [Deployer:
149189]Attempt to operate ‘deploy’ on null BasicDeploymentMBean for
deployment BHC_Application_application1. Operation can not be
performed until server is restarted.
[wlst] at
weblogic.deploy.internal.targetserver.DeploymentManager.assertDeploymentMBeanIsNonNull(DeploymentManager.java:
1319)
[wlst] at
weblogic.deploy.internal.targetserver.DeploymentManager.findDeploymentMBean(DeploymentManager.java:
1360)
[wlst] at
weblogic.deploy.internal.targetserver.DeploymentManager.createOperation(DeploymentManager.java:
1050)
[wlst] at
weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:
1406)
[wlst] at
weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:
162)
[wlst] at
weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.updateDeploymentContext(DeploymentServiceDispatcher.java:
156)
[wlst] at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentReceiverCallbackDeliverer.java:
147)
[wlst] at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCallbackDeliverer.java:
29)
[wlst] at
weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:
203)
[wlst] at
weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:
114)
[wlst] at
weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:
52)
[wlst] at
weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:
211)
[wlst] at
weblogic.deploy.service.internal.transport.CommonMessageReceiver
$1.run(CommonMessageReceiver.java:458)
[wlst] at weblogic.work.SelfTuningWorkManagerImpl
$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
[wlst] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
[wlst] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[wlst] Unexpected error: main.WLSTException
[wlst] This Exception occurred at Wed Mar 07 06:04:28 MST 2012.
[wlst] Edit session is cancelled successfully
[wlst] Disconnected from weblogic server: AdminServer
[wlst] Exception in thread “Main Thread”
java.lang.IllegalStateException: Traceback (innermost last):
[wlst] File “deploy_jee.py”, line 207, in ?
[wlst] File “deploy_jee.py”, line 92, in endTransaction
[wlst] File “”, line 376, in activate
[wlst] File “”, line 1848, in raiseWLSTException
[wlst] WLSTException: Error occured while performing activate : Error
while Activating changes. : [Deployer:149189]Attempt to operate
‘deploy’ on null BasicDeploymentMBean for deployment
BHC_Application_application1. Operation can not be performed until
server is restarted.
[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)
[wlst] Disconnecting from WebLogic Server
[wlst] Traceback (innermost last):
[wlst] File “deploy_jee.py”, line 207, in ?
[wlst] File “deploy_jee.py”, line 92, in endTransaction
[wlst] File “”, line 376, in activate
[wlst] File “”, line 1848, in raiseWLSTException
[wlst] WLSTException: Error occured while performing activate : Error
while Activating changes. : [Deployer:149189]Attempt to operate
‘deploy’ on null BasicDeploymentMBean for deployment
BHC_Application_application1. Operation can not be performed until
server is restarted.
[wlst] Use dumpStack() to view the full stacktrace
[wlst]
[wlst]


0 new messages