Sun Java System Application Server Enterprise Edition 8.2 Release Notes

Cannot run asant deploy: “The input line is too long” (Windows 2000) (ID 6485174)


When installing Application Server 8.2 in the default location on Windows 2000, you may encounter the following error when running asant deploy:

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

The problem is that command lines in Windows 2000 can be no longer than 1000 characters, and depending on your system configuration, the default ANT_OPTS environment may cause the asant deploy command line to be long. This is only an issue on Windows 2000.


On Windows 2000, install Application Server in a very short directory path; for example, C:\JES5_AS).