0
我可以通過這個命令java.lang.IllegalArgumentException異常:WASX7122E:預期 「 - 」 沒有找到
AdminApp.update('CUSWS', 'app', 'the options below')
手動更新應用程序,但是當我從Jython腳本更新
appName = '\'' +appName+ '\''
updatetype = '\'app\''
appOptions = \'' +options+ '\''
AdminApp.update(appName, updatetype, appOptions)
我下面的錯誤。
java.lang.IllegalArgumentException: WASX7122E: Expected "-" not found.
'[ -operation update -contents /data/CUSWS-uat-20141106.war -nopreCompileJSPs -installed.ear.destination $(APP_INSTALL_ROOT)/cusws1cell01 -distributeApp -nouseMetaDataFromBinary -nodeployejb -createMBeansForResources -noreloadEnabled -nodeployws -validateinstall warn -noprocessEmbeddedConfig -filepermission .*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755 -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -asyncRequestDispatchType DISABLED -nouseAutoLink -noenableClientModule -clientMode isolated -novalidateSchema -contextroot /CUSWS -MapModulesToServers [[ "Apache-Axis" CUSWS-uat-20141106.war,WEB-INF/web.xml WebSphere:cell=cusws1cell01,cluster=cuswsGWCluster+WebSphere:cell=cusws1cell01,node=cuswsIHSnode1,server=webserver1 ]] -MapWebModToVH [[ "Apache-Axis" CUSWS-uat-20141106.war,WEB-INF/web.xml default_host ]] -CtxRootForWebMod [[ "Apache-Axis" CUSWS-uat-20141106.war,WEB-INF/web.xml /CUSWS ]]]'
我試着解決這個問題2天,但找不到錯誤。
我錯過了什麼? 請幫助,謝謝..