This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am pretty new to JSP, after I install Tomcat on Win98, and run startup of tomcat, it gave the following message: Bad command or file name Does any one have idea what is wrong with my installation? The environmet variables which I set up are: set JAVA_HOME=C:\jdk1.3 set CLASSPATH=C:\JDK1.3\LIB\TOOLS.jar set TOMCAT_HOME=C:\jakarta-tomcat PATH c:\jdk1.3\bin;C:\jakarta-tomcat\bin;C:\MSSQL7\BINN;%JAVA_HOME%\bin ";" Thank you!
Add these to the classpath setting : C:\jakarta-tomcat\lib\servlet.jar C:\jakarta-tomcat\lib\jasper.jar and Your development directory, like ... C:\ServletCode By the way, the error that You are getting is because You are not starting the tomcat correctly. Double click on startup.bat and that should do it. Let us know if You still have problems after doing so. You might run out of environment space. Vladan
Joined: Dec 11, 2000
Thanks for your response! After I added it to the autoexec and double click the startup.bat, it gave me the same error message, I don't know why? Please advise!
Joined: Mar 20, 2000
Well all I can think of is that SET JAVA_HOME=C:\JDK1.3 SET TOMCAT_HOME=C:\jakarta-tomcat lines should be added to Your startup.bat and shutdown.bat and not to autoexec.bat For example add them below the line if not "%TOMCAT_HOME%" == "" goto start If you run out of environment space which is very possible open a dos window, click on properties, then memory and change "Initial Environment" value to 2816 or more. Well that should work, hopefully. Vladan
Joined: Dec 11, 2000
Thanks for your advice! I tried it, but it still not work. Do you have any idea where is wrong, do you think i install jdk1.3 wrong? Could you write the whole steps of installation, so I can follow step by step and do it again. Thanks for your help!
this will probably slve the problem it solved mine this was in the tomcat faq in the user manual. go into the tomcat.bat file and find the following line: echo tomcat (start^|run^|env^|stop) delete it. save and run startup.bat it should work. ------------------ I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com