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
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]
Problems running Tomcat from command line
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]
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
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
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]
Tomcat 4.03 Problems Setting up a Context
Hi; I'm using Tomcat 4.03 with Red Hat 7.3. I'm having trouble setting up a Context for a web application and I was hoping someone could give me a clue to what I missed in reading the manual. First I set up a test web app like this: Context path=/Projects docBase=/home/srussell/Projects debug=0 reloadable=true/ It worked. Then, I did the same thing, but for a different directory: Context path=/zoora docBase=/zoora debug=0 reloadable=true/ Did *NOT* work, yet when I set the docBase to /zoora/mysubdir it worked. Is Tomcat 4.03 blind to directories right off of root ? I am the owner of /zoora. It and all of its subdirs are chmoded to 777. Any ideas? Thanks in advance Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.03 Problems Setting up a Context
Good to know, but I don't have the option of putting my project in the webapps folder. I need to set it up elsewhere. Steve Ravindra K. Bhat wrote: I dont think you need to create a context in 4.X ..include your folder in the webapps folder ie for example test then you can access it by typing http://localhost:8080/test in you browser... The context was needed in 3.x.. On Fri, 6 Sep 2002, Steve Russell wrote: Hi; I'm using Tomcat 4.03 with Red Hat 7.3. I'm having trouble setting up a Context for a web application and I was hoping someone could give me a clue to what I missed in reading the manual. First I set up a test web app like this: Context path=/Projects docBase=/home/srussell/Projects debug=0 reloadable=true/ It worked. Then, I did the same thing, but for a different directory: Context path=/zoora docBase=/zoora debug=0 reloadable=true/ Did *NOT* work, yet when I set the docBase to /zoora/mysubdir it worked. Is Tomcat 4.03 blind to directories right off of root ? I am the owner of /zoora. It and all of its subdirs are chmoded to 777. Any ideas? Thanks in advance 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] -- Steve Russell Programmer 571-203-7083 Zeera Networks, Inc. 12801 Worldgate Drive, Suite 500, Herndon, VA 20170-4395 USA -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4 Suse 8
Gunter D'Hondt wrote: Same here Tomcat 4.01 works with Suse 8.0 although I'm having problems using the mod_webapp connector with Apache 1.3.23 but standalone Tomcat is working perfect! Thanks everyone. I feel better about buying a new Suse now that I know that the tomcat4 compatibility issues with suse 7.2 seem to be gone. Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4 Suse 8
I gave up on trying to get Tomcat 4 to work with Suse 7.2 Has anyone gotten tomcat 4.* to work on suse 8? Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomat 4.03 JAVACMD Startup Properties
Hi; I'm using tomcat 4.03 and the IBM jdk 1.3.1 I'm running these commands to start my project export JAVACMD=$JAVA_HOME/bin/java -DprojectProperties=$PROJECT_HOME/conf/project.properties ./startup.sh This worked with tomcat 3, but with tomcat 4.03 when I check the catalina.out log file it looks like it is not getting projectProperties. Does tomcat 4.03 pickup JAVACMD? Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.03 CLI options?
I did look through the docs. Where can I find a list of command line options to use with TOMCAT_HOME/bin/startup.sh ? Thanks in advance Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomat 4.03 JAVACMD Startup Properties
Shapira, Yoav wrote: No. You need to specify JAVA_OPTS or CATALINA_OPTS. See the RUNNING.txt file and the $CATALINA_HOME/bin/catalina.sh file for documentation. I set this in my .bashrc and confirmed it with an echo export CATALINA_OPTS=$JAVA_HOME/bin/java -DzeeraProperties=$PROJECT_HOME/conf/project.properties Tomcat 4.03 is still not picking up the location of my project.properties file. I know this because I can see a System.out message in the logs that I wrote into my code. Ideas? Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomat 4.03 JAVACMD Startup Properties
Shapira, Yoav wrote: Hi, Try setting them in catalina.sh. It should be just the options, e.g. in your case below CATALINA_OPTS='-DzeeraProperties=foo' Yoav Shapira Millennium ChemInformatics It didn't work, thanks anyway Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Can Tomcat 4.03 expire web pages
Hi; My boss wants to expire our jsp pages. In other words, if a user hits backspace, instead of getting the jsp page s/he just left s/he would see a notice that the page expired. I've seen snippets of code to do this on google, but I haven't been able to get them to work. Can Tomcat 4.03 expire web pages or do I need a webserver with Tomcat to do this? Also if someone could show me an example of how do this, with the example of being a whole html/jsp page I would appreciate it. Thanks in advance Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Manager App Issues: 4.03
Hi; I'm tring to migrate a JSP application from tomcat 3.2/sun jdk 1.3.1 to tomcat 4.03/ibm jdk 1.3.1 In my old server.xml file I had it set up so everything under the /net directory was big giant web app. If I had directory book ( /net/books) under /net I could access it with the following url http://host:port/books/ I used this line to achieve this my server.xml: ContextManager debug=0 home=/net workDir=work showDebugInfo=true / This hasn't worked with Tomcat 4.03. The new default manager application sounded attractive so I decided to give it a shot to get a similar set up. I modified CATALINA_HOME/conf/tomcat-user.xml so that steve would be a manager: tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / user name=steve passwords=steve roles=manager/ /tomcat-users I then tried the sample command: http://localhost:8080/manager/path? The authentication box came up. I type in steve for the password and username. The dialog box would just keep cycling back at me until tomcat locked me out. Any idea what I am missing or how I can set up one giant webapp in the style I described above? Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.03 Classpath
Hi; I just upgraded to Tomcat 4.03. I've got jsps running.except for when they call java classes. I get a 500 error complaining about not being able to find the classes. My CLASSPATH echos fine.(its pointing to classes not src ) I checked through the docs looking for changes in how 4.03 handles java classes versus how 3.02 does. I couldn't find anything. Can anyone point me to a FAQ that might handle this issue? Also where can I find startup options to use with startup.sh ? Thanks in advance Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.03 Classpath
Nope. Tomcat 4.03 is complaining about not being able to find my homemade project classes. When I was on Tomcat 3.2 I just set my systems CLASSPATH to point to these .class directories, as they are now. Steve Durham David Cntr 805CSS/SCBE wrote: I had the same thing(I think). It was something like can't find class org.apache.catalina.PrintWriter or org.apache.catalina.Vector solution was to import java.io.PrintWriter I was going from 3.2.4 to 4.0.4 Hope this helps, Dave -Original Message- From: Ron Day [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 4:23 PM To: Tomcat Users List Subject: RE: Tomcat 4.03 Classpath what version was you on before ?? -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 4:18 PM To: Tomcat Users List Subject: Tomcat 4.03 Classpath Hi; I just upgraded to Tomcat 4.03. I've got jsps running.except for when they call java classes. I get a 500 error complaining about not being able to find the classes. My CLASSPATH echos fine.(its pointing to classes not src ) I checked through the docs looking for changes in how 4.03 handles java classes versus how 3.02 does. I couldn't find anything. Can anyone point me to a FAQ that might handle this issue? Also where can I find startup options to use with startup.sh ? Thanks in advance 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] -- 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: Tomcat 4.03 Classpath
Tomcat 3.2 Ron Day wrote: what version was you on before ?? -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 4:18 PM To: Tomcat Users List Subject: Tomcat 4.03 Classpath Hi; I just upgraded to Tomcat 4.03. I've got jsps running.except for when they call java classes. I get a 500 error complaining about not being able to find the classes. My CLASSPATH echos fine.(its pointing to classes not src ) I checked through the docs looking for changes in how 4.03 handles java classes versus how 3.02 does. I couldn't find anything. Can anyone point me to a FAQ that might handle this issue? Also where can I find startup options to use with startup.sh ? Thanks in advance 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.03 Classpath
Ron Day wrote: Tomcat 4.0 and above strictly enforces the Servlet 2.2 WebApp directory structure (3.0 + did not). Inside your webapp folder you put JSP's,html etc. You also need a folder called WEB-INF (spelling and case important). Inside here are two folders classes and lib, and your web.xml if you have one. You put your class files in the classes folder (in full package structure). And I strongly suggest you use a package. Tomcat does not do well with the default packge. In other words it will not look for my classes unless it is in the specified architecture. CLASSPATH is ignored. Thanks, that is what I needed to know. I have packages. I just have to rearrange where they are being put in my project. I read the docs, but I was hoping to avoid that. Now I know I can't Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Mailing List Load.... Forum???
I think this list would make an excellent usenet group ( comp.lang.java.server-side ? ). I read the documents that you need to read before writing a usenet new newsgroup proposal. Those docs said it was VITAL to have good justifications for your proposed group in your proposal. According to the docs about the only universally accepted justification for a new usenetgroup would be a mailing list under HEAVY, HEAVY traffic. Thats this list. If the owners of the list are interested in working with me I'll pitch in some work in creating a proposal for a comp.lang.java-server-side Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]