Re: Problems running Tomcat from command line
You are right. The issue is memory. I know this because I tried: command /e:2861 then startup.bat It got going. Unfortunatley it opens up a new dos window, which I don't want as the whole point in doing this for me was to be able to use my shell emulator/tool ( either eshell or cygwin ) to run tomcat so I could easily ( without going to /logs ) see, search, analyze standart out. All of the things I have found for permantly increasing memory size in windows 2000 are methods that work for other versions of windows, but not 2000. Oy! Steve At 04:31 AM 11/26/2002 +0530, you wrote: Did you try this by opening a new command window? (After you change the comspec parameters, the changes take place only in a new window). Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 4:09 AM Subject: Re: Problems running Tomcat from command line ComSpec, I made a typo Steve At 04:09 AM 11/26/2002 +0530, you wrote: Are you sure you modified ComSpec or ComSec (as you mentioned)? Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 3:56 AM Subject: RE: Problems running Tomcat from command line At 02:04 PM 11/25/2002 -0800, you wrote: Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Win 2000 does it differently. I went into control panel | system | advanced | environment and set ComSec to C:\WINNT\sysem32\cmd.exe /e:32768 No effect -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Problems running Tomcat from command line
Hello, If you are using NT/W2K then use the command cmd and not command. cmd has more capabilities than command. Regards, Stephen. -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 14:32 To: Tomcat Users List Subject: Re: Problems running Tomcat from command line You are right. The issue is memory. I know this because I tried: command /e:2861 then startup.bat It got going. Unfortunatley it opens up a new dos window, which I don't want as the whole point in doing this for me was to be able to use my shell emulator/tool ( either eshell or cygwin ) to run tomcat so I could easily ( without going to /logs ) see, search, analyze standart out. All of the things I have found for permantly increasing memory size in windows 2000 are methods that work for other versions of windows, but not 2000. Oy! Steve At 04:31 AM 11/26/2002 +0530, you wrote: Did you try this by opening a new command window? (After you change the comspec parameters, the changes take place only in a new window). Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 4:09 AM Subject: Re: Problems running Tomcat from command line ComSpec, I made a typo Steve At 04:09 AM 11/26/2002 +0530, you wrote: Are you sure you modified ComSpec or ComSec (as you mentioned)? Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 3:56 AM Subject: RE: Problems running Tomcat from command line At 02:04 PM 11/25/2002 -0800, you wrote: Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Win 2000 does it differently. I went into control panel | system | advanced | environment and set ComSec to C:\WINNT\sysem32\cmd.exe /e:32768 No effect -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents. The material and information is intended for the use of the intended addressee only. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful. The views expressed in this e-mail may not be official policy but the personal views of the originator. If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact [EMAIL PROTECTED] Please also delete this e-mail and all documents attached immediately. Many thanks for your co-operation. BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537. Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Problems running Tomcat from command line
I am using windows 2000 and there is no difference I can see between cmd vs command. Both lack the option to encrease dos environment memory under properties Steve At 02:43 PM 11/26/2002 +, you wrote: Hello, If you are using NT/W2K then use the command cmd and not command. cmd has more capabilities than command. Regards, Stephen. -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 14:32 To: Tomcat Users List Subject: Re: Problems running Tomcat from command line You are right. The issue is memory. I know this because I tried: command /e:2861 then startup.bat It got going. Unfortunatley it opens up a new dos window, which I don't want as the whole point in doing this for me was to be able to use my shell emulator/tool ( either eshell or cygwin ) to run tomcat so I could easily ( without going to /logs ) see, search, analyze standart out. All of the things I have found for permantly increasing memory size in windows 2000 are methods that work for other versions of windows, but not 2000. Oy! Steve At 04:31 AM 11/26/2002 +0530, you wrote: Did you try this by opening a new command window? (After you change the comspec parameters, the changes take place only in a new window). Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 4:09 AM Subject: Re: Problems running Tomcat from command line ComSpec, I made a typo Steve At 04:09 AM 11/26/2002 +0530, you wrote: Are you sure you modified ComSpec or ComSec (as you mentioned)? Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 3:56 AM Subject: RE: Problems running Tomcat from command line At 02:04 PM 11/25/2002 -0800, you wrote: Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Win 2000 does it differently. I went into control panel | system | advanced | environment and set ComSec to C:\WINNT\sysem32\cmd.exe /e:32768 No effect -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents. The material and information is intended for the use of the intended addressee only. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful. The views expressed in this e-mail may not be official policy but the personal views of the originator. If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact [EMAIL PROTECTED] Please also delete this e-mail and all documents attached immediately. Many thanks for your co-operation. BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537. Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Hi; These are all of the things I have tried to increase the default environment space Windows 2000 gives to shell applications: It used to be with Windows 98 that if you right clicked the icon in a shell window, then properties, you got an option to increase default memory size. This option does not exist in windows 2000. I have also tried setting ComSpec in system | advanced | environment to C:\WINNT\system32\cmd.exe /e:32768 No effect. I have also put this line in C:\Config.sys : shell=%systemroot%\system32\cmd.com /e:32767 No effect. I also put this at the bottom of C:\WINNT\system32\Config.nt : shell=%systemroot%\system32\command.com /e:32768 No effect. I even fully rebooted after each of these things. No luck Is there a way to permantly increase the memory for all dos/shell apps in MS Windows 2000 or is this something that the operating system cannot do? Thanks in advance Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
You should set CLASSPATH as a Windows environment variable. I always make sure that the slashes in the CLASSPATH value should all point the same direction. - CB Steve Russell wrote: Hi; I just started a new job. The company is using MS Windows 2000 and Tomcat 3.2.4 ( not my choice - peace! ). I am able to start tomcat by going to C:\Tomcat\bin and double clicking startup.bat in explorer. However, I am not able to start tomcat from a command line. When I try it from dos I get bad command or filename When I try startup.sh from my cygwin I get Using classpath: C:\TOMCAT/lib/ant.jar:C:\TOMCAT/lib/crimson.jar:C:\TOMCAT/lib/jasper.jar:C:\TOMCAT/lib/jaxp.jar:C:\TOMCAT/lib/servlet.jar:C:\TOMCAT/lib/test:C:\TOMCAT/lib/tools.jar:C:\TOMCAT/lib/webserver.jar:C:\JDK/lib/tools.jar:.;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes stever@STEVER c:/TOMCAT/bin $ Exception in thread main java.lang.NoClassDefFoundError: org/apache/tomcat/s tartup/Tomcat == When I have tried starting C:\Tomcat\bin directly, in dos I get the error message that %TOMCAT_HOME%/lib/servet.jar does not exist. It exists at that location. TOMCAT_HOME is set properly at C:\Tomcat, output statements I put in tomcat.bat reflect that. It seems like windows is not TOMCAT_HOME/lib I'm not a windows expert, can anyone give me a clue? Here is my system PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C:JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PROGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; I have a JAVA_HOME and a JDK_HOME set, and those work. Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- . . . / This Cabinet is formd of Gold / And Pearl Crystal shining bright And within it opens into a World / . . . Another England there I saw / Another London with its Tower Another Thames other Hills / And another pleasant Surrey Bower . . . - from The Crystal Cabinet, a poem by William Blake. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Ya, Christopher Balz is right on the money with his solid judgement that all of the various slashes in BOTH the path and the classpath env. variables should definitely point in just one direction only!!! Listen, can someone please tell me how I start to package up a WAR file and then in what folder I stick it to run a JSP/Servlet??! __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
At 12:41 PM 11/25/2002 -0800, you wrote: Ya, Christopher Balz is right on the money with his solid judgement that all of the various slashes in BOTH the path and the classpath env. variables should definitely point in just one direction only!!! This isn't an issue. As I wrote in my post I had two sets of output. One I got when trying to run tomcat from dos which only gave me bad command or file name. The second set of output is from cygwin, a unix emulator that mixes up/ takes care of slashes of different directions. I included that output because it gave a little bit more information. My apologies if it gave anyone the mistaken impression that I had mixed slash types in my Windows 2000 environmental variables. I could still use some help. Clicking on startup.bat gets tomcat running. typing startup.bat at a dos prompt in C:\TOMCAT\bin does nothing. Here are the enviromental variables for Windows 2000 I set under system: CLASSPATH: .;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\lib\servlet.jar PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C:JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PROGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Any ideas? Please? :) Steve Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Steve, are you typing (literally) startup.bat at the DOS command line to start Tomcat?? If so, you should just type in startup--one word--and that should quickly activate it to your satisfaction!! If it still doesn't, get back to me at the speed of light and I will go on with trying to help you! * On Mon 11/25, Steve Russell wrote:From: Steve Russell [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Mon, 25 Nov 2002 16:18:37 -0500Subject: Re: Problems running Tomcat from command lineAt 12:41 PM 11/25/2002 -0800, you wrote: Ya, Christopher Balz is right on the money with his solid judgement that all of the various slashes in BOTH the path and the classpath env. variables should definitely point in just one direction only!!! This isn't an issue. As I wrote in my post I had two sets of output. One I got when trying to run tomcat from dos which only gave me bad command or file name. The second set of output is from cygwin, a unix emulator that mixes up/ takes care of slashes of different directions. I included that output because it gave a little bit more information. My apologies if it gave anyone the mistaken impression that I had mixed slash types in my Windows 2000 environmental variables. I could still use some help. Clicking on startup.bat gets tomcat running. typing startup.bat at a dos prompt in C:\TOMCAT\bin does nothing. Here are the enviromental variables for Windows 2000 I set under system: CLASSPATH: ..;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\lib\servlet.jar PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C:JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PROGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Any ideas? Please? :) Steve Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: For additional commands, e-mail: ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!
Re: Problems running Tomcat from command line
Yes I am literally typing startup.bat ( without quotes ) at the dos prompt in the appropiate directory. It works for other *.bat files. I also tried literally typing just startup ( without quotes ). No difference. Tomcat will still start by clicking on the icon for startup.bat in explorer, but it will not start by typing the name of the bat file at the Windows 2000 command line. Thanks in advance Steve At 04:25 PM 11/25/2002 -0500, you wrote: Steve, are you typing (literally) startup.bat at the DOS command line to start Tomcat?? If so, you should just type in startup--one word--and that should quickly activate it to your satisfaction!! If it still doesn't, get back to me at the speed of light and I will go on with trying to help you! * On Mon 11/25, Steve Russell wrote:From: Steve Russell [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Mon, 25 Nov 2002 16:18:37 -0500Subject: Re: Problems running Tomcat from command lineAt 12:41 PM 11/25/2002 -0800, you wrote: Ya, Christopher Balz is right on the money with his solid judgement that all of the various slashes in BOTH the path and the classpath env. variables should definitely point in just one direction only!!! This isn't an issue. As I wrote in my post I had two sets of output. One I got when trying to run tomcat from dos which only gave me bad command or file name. The second set of output is from cygwin, a unix emulator that mixes up/ takes care of slashes of different directions. I included that output because it gave a little bit more information. My apologies if it gave anyone the mistaken impression that I had mixed slash types in my Windows 2000 environmental variables. I could still use some help. Clicking on startup.bat gets tomcat running. typing startup.bat at a dos prompt in C:\TOMCAT\bin does nothing. Here are the enviromental variables for Windows 2000 I set under system: CLASSPATH: ..;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\lib\servlet.jar PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C:JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PROGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Any ideas? Please? :) Steve Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: For additional commands, e-mail: ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Hi; I'm reposting this, hoping that this version is more clear. -- I'm on Windows 2000 using Tomcat 3.2.4 ( not my choice ). I can start tomcat by double clicking the startup.bat file in C:\TOMCAT\bin. However, I can't start tomcat programmatically by typing startup.bat or startup ( without quotes ) from a dos prompt that is in C:\TOMCAT\bin I have tried running C:\TOMCAT\bin directly. It complains that it is out of environment space ( how do you set that in win 2000 )AND that it cant find C:\TOMCAT\lib\servlet.jar Its there. Here are the Windows 2000 environmental variables I have set for system: CLASSPATH: ..;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\lib\servlet.jar PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C:JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PROGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Thanks in advance for any clues Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Problems running Tomcat from command line
Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Julius Davies, Programmer, CUCBC Email: [EMAIL PROTECTED], Ph: 604.730.6385 -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 1:55 PM To: Tomcat Users List Subject: Re: Problems running Tomcat from command line Hi; I'm reposting this, hoping that this version is more clear. -- I'm on Windows 2000 using Tomcat 3.2.4 ( not my choice ). I can start tomcat by double clicking the startup.bat file in C:\TOMCAT\bin. However, I can't start tomcat programmatically by typing startup.bat or startup ( without quotes ) from a dos prompt that is in C:\TOMCAT\bin I have tried running C:\TOMCAT\bin directly. It complains that it is out of environment space ( how do you set that in win 2000 )AND that it cant find C:\TOMCAT\lib\servlet.jar Its there. Here are the Windows 2000 environmental variables I have set for system: CLASSPATH: ..;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\ lib\servlet.jar PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; %SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C: JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PR OGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Thanks in advance for any clues Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
As you probably know, the icon shows what command it actually issues in the properties dialogue (right-click on it) along with a directory to start in property. What are these poperties? Julius Davies wrote: Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Julius Davies, Programmer, CUCBC Email: [EMAIL PROTECTED], Ph: 604.730.6385 -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 1:55 PM To: Tomcat Users List Subject: Re: Problems running Tomcat from command line Hi; I'm reposting this, hoping that this version is more clear. -- I'm on Windows 2000 using Tomcat 3.2.4 ( not my choice ). I can start tomcat by double clicking the startup.bat file in C:\TOMCAT\bin. However, I can't start tomcat programmatically by typing startup.bat or startup ( without quotes ) from a dos prompt that is in C:\TOMCAT\bin I have tried running C:\TOMCAT\bin directly. It complains that it is out of environment space ( how do you set that in win 2000 )AND that it cant find C:\TOMCAT\lib\servlet.jar Its there. Here are the Windows 2000 environmental variables I have set for system: CLASSPATH: ..;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\ lib\servlet.jar PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; %SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C: JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PR OGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Thanks in advance for any clues Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- . . . / This Cabinet is formd of Gold / And Pearl Crystal shining bright And within it opens into a World / . . . Another England there I saw / Another London with its Tower Another Thames other Hills / And another pleasant Surrey Bower . . . - from The Crystal Cabinet, a poem by William Blake. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Hi, All your problems stem from the lack of environment space. If you run this on '95/98 you'd get the same error. While running tomcat, do you really need to have such a long path (as specified)? You could write a small batch file to keep the path to the bare minimum - this way you'd have more space for initialization of tomcat. this is a temporary solution - since most of the jar files you'd come across force you to include them in the classpath. Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 3:25 AM Subject: Re: Problems running Tomcat from command line Hi; I'm reposting this, hoping that this version is more clear. -- I'm on Windows 2000 using Tomcat 3.2.4 ( not my choice ). I can start tomcat by double clicking the startup.bat file in C:\TOMCAT\bin. However, I can't start tomcat programmatically by typing startup.bat or startup ( without quotes ) from a dos prompt that is in C:\TOMCAT\bin I have tried running C:\TOMCAT\bin directly. It complains that it is out of environment space ( how do you set that in win 2000 )AND that it cant find C:\TOMCAT\lib\servlet.jar Its there. Here are the Windows 2000 environmental variables I have set for system: CLASSPATH: ..;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\lib\servlet.ja r PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\s ystem32\nls;%SystemRoot%\system32\nls\English;C:JDK\bin;C:\ProgramFiles\GnuE macs21.2\bin;C:\ProgramFiles;C:\PROGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Thanks in advance for any clues Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Right clicking on the startup.bat icon, going to properties I get Target : C:\TOMCAT\bin\startup.bat Start In: C:\TOMCAT\bin Steve At 02:11 PM 11/25/2002 -0800, you wrote: As you probably know, the icon shows what command it actually issues in the properties dialogue (right-click on it) along with a directory to start in property. What are these poperties? Julius Davies wrote: Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Julius Davies, Programmer, CUCBC Email: [EMAIL PROTECTED], Ph: 604.730.6385 -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 1:55 PM To: Tomcat Users List Subject: Re: Problems running Tomcat from command line Hi; I'm reposting this, hoping that this version is more clear. -- I'm on Windows 2000 using Tomcat 3.2.4 ( not my choice ). I can start tomcat by double clicking the startup.bat file in C:\TOMCAT\bin. However, I can't start tomcat programmatically by typing startup.bat or startup ( without quotes ) from a dos prompt that is in C:\TOMCAT\bin I have tried running C:\TOMCAT\bin directly. It complains that it is out of environment space ( how do you set that in win 2000 )AND that it cant find C:\TOMCAT\lib\servlet.jar Its there. Here are the Windows 2000 environmental variables I have set for system: CLASSPATH: ..;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\ lib\servlet.jar PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; %SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C: JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PR OGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Thanks in advance for any clues Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- . . . / This Cabinet is formd of Gold / And Pearl Crystal shining bright And within it opens into a World / . . . Another England there I saw / Another London with its Tower Another Thames other Hills / And another pleasant Surrey Bower . . . - from The Crystal Cabinet, a poem by William Blake. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Problems running Tomcat from command line
At 02:04 PM 11/25/2002 -0800, you wrote: Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Win 2000 does it differently. I went into control panel | system | advanced | environment and set ComSec to C:\WINNT\sysem32\cmd.exe /e:32768 No effect -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
ComSpec, I made a typo Steve At 04:09 AM 11/26/2002 +0530, you wrote: Are you sure you modified ComSpec or ComSec (as you mentioned)? Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 3:56 AM Subject: RE: Problems running Tomcat from command line At 02:04 PM 11/25/2002 -0800, you wrote: Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Win 2000 does it differently. I went into control panel | system | advanced | environment and set ComSec to C:\WINNT\sysem32\cmd.exe /e:32768 No effect -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Did you try this by opening a new command window? (After you change the comspec parameters, the changes take place only in a new window). Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 4:09 AM Subject: Re: Problems running Tomcat from command line ComSpec, I made a typo Steve At 04:09 AM 11/26/2002 +0530, you wrote: Are you sure you modified ComSpec or ComSec (as you mentioned)? Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 3:56 AM Subject: RE: Problems running Tomcat from command line At 02:04 PM 11/25/2002 -0800, you wrote: Steve Russell, Perhaps this link will help: http://www.google.com/search?q=out+of+environment+space+tomcat Try to get that out of environment space error to go away, then we'll work on the absentee servlet.jar issue. Win 2000 does it differently. I went into control panel | system | advanced | environment and set ComSec to C:\WINNT\sysem32\cmd.exe /e:32768 No effect -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]