<bea-050001> <wlcontext.close()was =“”被称为=“” in =“” a =“” different =“” thread =“” than =“” the =“” one =“” in =“创建了“ which =“ =” it =“” was =“”。=“”>

时间:2018-11-19 12:52:08

标签: weblogic wlst

当我通过WLST脚本部署多只耳朵时,无法激活更改。错误如下,无法激活更改。

    WLSTException: Error occurred while performing activate : Error while Activating changes. : weblogic.application.ModuleException: Context path '/deployment' is already in use by the module: deployment application: my.ear

我的脚本是:

import os
import sys
import java

def connectAdmin() :

    print('connecting to the url:')

    try:
        connect(username, password, url)
        print('Successfully connected')
    except:
        print 'Unable to find admin server...'
        exit()

def deployApplication() :
       directory='D:/AMSP/VerCrossCorp/Srinivas/DOMAIN_HOME/amspv97-9709-wl12/servers/AdminServer/deployment' 
       for filename in os.listdir(directory):
                if filename.endswith(".war") or filename.endswith(".ear"):    

                    progress=deploy(filename,directory,targets='AdminServer')


if __name__== "main":

        print 'starting the script ....'
        username = 'weblogic'
        password = 'weblogic'
        url='t3://172.27.49.161:9709'
        connectAdmin()
        edit()
        startEdit()
        deployApplication()
        activate()
        disconnect()

0 个答案:

没有答案