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