Sun Java System Application Server Enterprise Edition 8.2 版本說明

無法執行 asant deploy︰「輸入資料太長」(Windows 2000) (ID 6485174)

說明

當在 Windows 2000 的預設位置上安裝 Application Server 8.2 時,執行 asant deploy 可能會遇到以下錯誤︰


$ C:/Sun/JavaES5/appserver/bin/asant deploy
The input line is too long.
The syntax of the command is incorrect.

發生此問題是由於 Windows 2000 中的指令行不得超過 1000 個字元,根據您的系統配置,預設 ANT_OPTS 環境可能導致 asant deploy 指令行過長。此問題僅出現在 Windows 2000 上。

解決方案

在 Windows 2000 上請使用非常簡短的目錄路徑安裝 Application Server (例如 C:\JES5_AS)。