Error occurred while downloading files from admin server for deployment

xz43發表於2013-04-07
透過weblogic 10.3.6的叢集控制檯,採用目錄的方式應用部署,儲存完點選“啟用更改”,則控制檯輸出如下錯誤資訊,且啟用失敗。

java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,365,321,820,868". Underlying error is: "null"
        at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86)
        at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:153)
        at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:39)
        at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:57)
        at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
        at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:687)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepareDataUpdate(AbstractOperation.java:899)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.stageFilesFromAdminServer(AbstractOperation.java:265)
        at weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:1409)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:162)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.updateDeploymentContext(DeploymentServiceDispatcher.java:156)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentReceiverCallbackDeliverer.java:147)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCallbackDeliverer.java:29)
        at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:203)
        at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:114)
        at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:52)
        at weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:211)
        at weblogic.deploy.service.internal.transport.CommonMessageReceiver$1.run(CommonMessageReceiver.java:458)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

最開始懷疑是不是管理節點與服務節點之間的通訊出了問題,檢查了防火牆之類的設定,發現互相通訊沒問題。然後開始懷疑,採用目錄的部署方式在叢集環境下是否可行,這個一直沒看到官方的否定,所以只能抱著試試看的態度,在本地部署了一個節點,應用正常。
檢查伺服器上stage目錄下專案檔案的時候,發現下面居然只有2箇中文命名的文字檔案,看來,極有可能是中文檔名引起的問題,如是刪除部署目錄下的所有中文檔名的檔案,再次部署,啟用更新,一切順利。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9399028/viewspace-757906/,如需轉載,請註明出處,否則將追究法律責任。

相關文章