Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The input line is too long. The syntax of the command is incorrect.

843804Nov 18 2005 — edited Nov 20 2005
I am a prentice on J2EE by using the Tutorial 1.4.

I keep getting this error message: "The input line is too long. The syntax of the command is incorrect." from the windows's terminal no matter what arguments I issued for the command asant right after I successfully executed command "asant build" under the directory of both <Install>\j2eetutorial14\examples\web\bookstore and bookstore1 when I practice the topic of The Example Servlets on Chapter 11: Java Servlet Technology.

The command and the arguments are:
asant create-db_common
asant create-bookstore-war
asant package-bookstore
asant deploy-war


All of them have the same outcome:
"The input line is too long.
The syntax of the command is incorrect
."

I have tried to do the research on the google and ased some Java developer friends and school teachers; unfortunately, none of them can solve this problem.

The OS I am using is win2k professional. The commands were issued on DOS terminal. I have successfully built application server, and pointbase, deploy tool. I have utilize this tools and environment to run all the examples very well on Chapter 8: Building Web Services with JAX-RPC.

Even worse, after failing on running the Servlets Examples, I got the same error message when I go back to the Chapter 8's Examples and run the command "asant build" on the directory <install>\j2eetutorial14\examples\jaxrpc\staticstub.

The Server and PointBase were activated when I issued those commands.

Can someone or the Tutorial's authors kindly help? Thank you very much!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2005
Added on Nov 18 2005
1 comment
309 views