Windows NT
Hi, Shouldn't TC install under (not manufacturer supported any more) Windows NT 4? I´m using a product called DeskNow and it uses Tomcat 5.x. Unfortunately (or not), ver 2.6 of the product started using ver 5.x of Tomcat. I use a retired WinNT box as the DeskNow Server, but, when upgrading to version 2.6, service registration failed with the following message on Dr. Watson: Title: desknow.exe Exception: access violation (0x0005), Address 0x77f92a66 In event viewer, the corresponding message is: The application, , generated an application error The error occurred on 2/22/2005 @ 11:10:20.763 The exception generated was c005 at address 77f92a66 (wcslen) Since WinNT is not supported anymore by MS, I was instructed by DeskNow Support to contact Tomcat support, in the hope that you can give somehelp. I'll not justify my choice of (unsupported) WinNT as my server for this application, but I'll say that it's what we have available now. Thanks for your attention and time, Best regards Serginho
Re: Windows NT
On Fri, 2005-03-18 at 08:13 -0300, Inove Infoshop Ltda wrote: Hi, Shouldn't TC install under (not manufacturer supported any more) Windows NT 4? I´m using a product called DeskNow and it uses Tomcat 5.x. Unfortunately (or not), ver 2.6 of the product started using ver 5.x of Tomcat. I use a retired WinNT box as the DeskNow Server, but, when upgrading to version 2.6, service registration failed with the following message on Dr. Watson: Title: desknow.exe Exception: access violation (0x0005), Address 0x77f92a66 Well, tomcat itself is a pure-java application. As such, as long as you have a working java virtual machine you can run tomcat, regardless of what the operating system is. I'm 99.99% sure that it will still work on NT as a stand-alone program, so there's always that option as long as you don't absolutely *have* to run it as a windows service. [1] But java doesn't support the concept of a windows service natively. Tomcat does that via the commons-daemon library that provides some native code to do that on various platforms; see http://jakarta.apache.org/commons/daemon. I would suggest investigating what version of commons-daemon your Tomcat instance uses, then have a look at what platforms that version of commons-daemon supports. If the latest release has dropped support for NT then you might be able to install an old release of commons-daemon over what DeskNow bundles. There's also the possibility that the crash is not anything to do with Tomcat, but instead in some custom code provided by DeskNow. You said that service registration failed but I'm not sure exactly what that means. Are you sure the crash is occurring within some part of tomcat or commons-daemon? [1] Of course if DeskNow is just a java application, then you could also run it on Linux :-) Cheers, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems in Starting Tomcat 4.1 in Windows NT using JDK 1.2.2
Hi, I have encountered this problem while I start to run the catalina.bat in the current window. Can anyone see this.. E:\Tomcat\bincatalina run Using CATALINA_BASE: e:\tomcat Using CATALINA_HOME: e:\tomcat Using CATALINA_TMPDIR: e:\tomcat\temp Using JAVA_HOME: c:\jdk1.2.2 Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java, Compiled Code) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va, Compiled Code) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java, Compiled Code) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code) Thanks in advance, Shankar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JAAS Realm on windows NT
Can some one give me an example of how to configure a JAASRealm on windows NT. In particular i'm looking for what the realm entry in server.xml would look like, what the login config file would like, and what the web.xml file would look like. I'm using Tomcat 4.1 and jsdk 1.4.1. Thanks, Philip B. - Philip G. Baruc Tel: 212-420-9270 Mobile: 646-345-0988 E-mail: [EMAIL PROTECTED] Web: http://www.appsecinc.com Securing Business by Securing Enterprise Applications - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to: Run Tomcat 4.x as a Windows NT service
Hi, How about How To instructions for running versions of Tomcat = 4.x as a Windows NT service. Something similar to: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html Additionally, for the life of me I cannot find where in the documentation there is any mention of Tomcat's command-line parameters which I believe solves the issue I mentioned above. Thanks. Stephen Lafredo Merck Co., Inc. USHH IS Application Architecture, WP97-A315 V: (215) 652-2668 E: [EMAIL PROTECTED] -- Notice: This e-mail message, together with any attachments, contains information of Merck Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. == -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: How to: Run Tomcat 4.x as a Windows NT service
The archives are your friend. http://www.mattkelli.com/tech/tomcat/ntservice.htm John -Original Message- From: Lafredo, Stephen [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 1:15 PM To: '[EMAIL PROTECTED]' Subject: How to: Run Tomcat 4.x as a Windows NT service Hi, How about How To instructions for running versions of Tomcat = 4.x as a Windows NT service. Something similar to: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-ho wto.html Additionally, for the life of me I cannot find where in the documentation there is any mention of Tomcat's command-line parameters which I believe solves the issue I mentioned above. Thanks. Stephen Lafredo Merck Co., Inc. USHH IS Application Architecture, WP97-A315 V: (215) 652-2668 E: [EMAIL PROTECTED] -- Notice: This e-mail message, together with any attachments, contains information of Merck Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. == -- 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: How to: Run Tomcat 4.x as a Windows NT service
See: http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake At 01:15 PM 1/23/2003 -0500, you wrote: Hi, How about How To instructions for running versions of Tomcat = 4.x as a Windows NT service. Something similar to: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html Additionally, for the life of me I cannot find where in the documentation there is any mention of Tomcat's command-line parameters which I believe solves the issue I mentioned above. Thanks. Stephen Lafredo Merck Co., Inc. USHH IS Application Architecture, WP97-A315 V: (215) 652-2668 E: [EMAIL PROTECTED] -- Notice: This e-mail message, together with any attachments, contains information of Merck Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. == -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
setting up classpath for tomcat running as windows NT service
Hi, How to setup classpath for tomcat 4.x running as windows NT service? Apparently, when started, tomcat.exe does not read from catalina.bat (or so i think). Regards, Manav.
RE: setting up classpath for tomcat running as windows NT service
Tomcat sets it's own classpath...it ignores environment variables except JAVA_HOME, CATALINA_HOME, and CATALINA_BASE. If your Tomcat installation or webapp has a problem finding particular classes, or you suspect that it does, you might want to check the ClassLoader HOWTO for information on exactly how Tomcat finds classes: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html John -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 5:29 PM To: Tomcat Users List Subject: setting up classpath for tomcat running as windows NT service Hi, How to setup classpath for tomcat 4.x running as windows NT service? Apparently, when started, tomcat.exe does not read from catalina.bat (or so i think). Regards, Manav. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: setting up classpath for tomcat running as windows NT service
From: Turner, John [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:44 AM Subject: RE: setting up classpath for tomcat running as windows NT service Tomcat sets it's own classpath...it ignores environment variables except JAVA_HOME, CATALINA_HOME, and CATALINA_BASE. This is only partially true, and a common misconception. (John, you should know better.) Tomcat does indeed go to great lengths to set up its own class loaders, and catalina.bat/.sh happens to, mostly, ignore CLASSPATH, but that does not mean the Tomcat does. In many ways, it simply can't. You can always change catalina.bat/.sh (or not use it at all if you so desire) to set the CLASSPATH environment variable, or pass the -classpath parameter on the java command line, and Tomcat will see those classes through the system class loader. It is not the recommended way to add classes to Tomcat, but it is still a viable, and rarely, a necessary option. Now, how this affects setting up the CLASSPATH for running Tomcat as a NT service, I haven't a clue. But, FYI and all that y'all. Regards, Will Hartung ([EMAIL PROTECTED]) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: setting up classpath for tomcat running as windows NT service
I know that you can change CLASSPATH in the startup scripts or on the command line, as well as other things. My point was that, out of the box, if you execute startup.bat or startup.sh, an environment variable named CLASSPATH isn't going to do much. Since a large portion of the traffic on the list is from folks just trying to install and run Tomcat to do/learn JSP and servlet development, and the poster originally mentioned NT, I assumed that they were probably interested in a default, lowest-common-denominator answer. Probably a bad assumption. John -Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 12:23 PM To: Tomcat Users List Subject: Re: setting up classpath for tomcat running as windows NT service From: Turner, John [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:44 AM Subject: RE: setting up classpath for tomcat running as windows NT service Tomcat sets it's own classpath...it ignores environment variables except JAVA_HOME, CATALINA_HOME, and CATALINA_BASE. This is only partially true, and a common misconception. (John, you should know better.) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
a sure way to work with tomcat under windows NT/2000/XP
this seems to be a recurring theme here: these steps I give out to my clients, if they are followed without variation then tomcat will run happilly. Downloads: 1: download jdk 1.4.1_01 from http://java.sun.com/webapps/download/Display?BundleId=7150 2: download tomcat 4.1.12 from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bin/jakarta-tomcat-4.1.12.exe 3: download ant 1.5.1 from http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.gz PreInstall: 4: browse to http://windowsupdate.microsoft.com/ 4a: install all required patches 4b: Reboot the machine if instructed. 4c: Repeat step 4 until there are no more reboots required, or software installed. 5: open control pannel, open system, choose environment variables. 5a: find SYSTEM VARIABLES 5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01 5c: set variable CATALINA_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5d: set variable JASPER_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5e: set variable tomcat_home to value: C:\Program Files\Apache Group\Tomcat 4.1 5f: edit variable Path and prepend to value: C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin; Installs and tests: 5: install JDK 5a: click [next] button 5b: aggree to license 5c: verify: Destination folder should read C:\j2sdk1.4.1_01 5d: click [next] button 5e: verify: all boxes should be checked 5f: click [next] button 5g: verify: Microsoft Internet Explorer box should be checked 5h: click [next] button 6: Start-Run cmd.exe 6a: at the shell propmt type and press enter:java -version 6b: verify java executes and reports: java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) 6c: at the shell prompt type and press enter: echo public class test{public static void main(String[] args){System.out.println(Hello World!);}} test.java 6d: at the shell prompt type and press enter: javac test.java 6e: at the shell prompt type and press enter: java test 6f: verify java executes and reports: Hello World! 7: install tomcat 7a: verify an alert box pops up stating: Using Java Development Kit found in c:\j2sdk1.4.1_01 7b: click [OK] button 7c: click [I Agree] button 7d: select all boxes [Full (w/Source Code)] 7e: click [Install] button 7f: choose defaults for port/user/password [8080,Admin,] 7g: click [Next] button 7h: click [close] nutton 8: test tomcat: 8a: verify Apache Tomcat 4.1 service is started [control panel - Administrative tools - Services] 8b: browse to http://127.0.0.1:8080 9: install ant 9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your favorite archive utility 9b: extract to c:\Program Files 10: test ant 10a: Start-Run cmd.exe 10b: at the shell propmt type and press enter:ant -version 10c: verify ant executes and reports: Apache Ant version 1.5.1 compiled on October 2 2002 DONE! :) steps for windows 9x/ME may vary slightly. cmd.exe is command.com variables are set in autoexec.bat and require a reboot tomcat cannot install a service, and will have to be run as an application from the start menu. I highly suggest the you install cygwin, a full install http://www.cygwin.com/setup.exe -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: a sure way to work with tomcat under windows NT/2000/XP
Hello Jason, My name is Kinsley and I am new to Tomcat. I have successfully installed the Jakarta Tomcat on Windows 2000 Advanced Server. It seems to be OK for now as I have not done so much with it. I noticed that there are some differences between your procedures and the one I followed. They are as follows: 1. I had installed j2sdk1.4.1, and then I also installed the j2sdkee1.3.1 setting class path to j2sdkee1.3.1.jar 2. I installed the Tomcat and set the following variables, JAVA_HOME, J2EE_HOME, TOMCAT_HOME, CATALINA_HOME. But I did all of these in the User Variables for Administrator and not in the System Variables section as your suggested below. I eventually hit the Tomcat home page which makes me think all is well. I ran some of the examples, and they went well. I am about to proceed to install the Watchdog. But I need to know if the installation I have done has any fundamental error in it that may lead to problems later. Please revert. Kingsley Omon-Edo, Developer, MTech Communications Ltd -Original Message- From: Jason Pyeron [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:59 AM To: Tomcat Users List Subject: a sure way to work with tomcat under windows NT/2000/XP this seems to be a recurring theme here: these steps I give out to my clients, if they are followed without variation then tomcat will run happilly. Downloads: 1: download jdk 1.4.1_01 from http://java.sun.com/webapps/download/Display?BundleId=7150 2: download tomcat 4.1.12 from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bin /jakarta-tomcat-4.1.12.exe 3: download ant 1.5.1 from http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.g z PreInstall: 4: browse to http://windowsupdate.microsoft.com/ 4a: install all required patches 4b: Reboot the machine if instructed. 4c: Repeat step 4 until there are no more reboots required, or software installed. 5: open control pannel, open system, choose environment variables. 5a: find SYSTEM VARIABLES 5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01 5c: set variable CATALINA_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5d: set variable JASPER_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5e: set variable tomcat_home to value: C:\Program Files\Apache Group\Tomcat 4.1 5f: edit variable Path and prepend to value: C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin; Installs and tests: 5: install JDK 5a: click [next] button 5b: aggree to license 5c: verify: Destination folder should read C:\j2sdk1.4.1_01 5d: click [next] button 5e: verify: all boxes should be checked 5f: click [next] button 5g: verify: Microsoft Internet Explorer box should be checked 5h: click [next] button 6: Start-Run cmd.exe 6a: at the shell propmt type and press enter:java -version 6b: verify java executes and reports: java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) 6c: at the shell prompt type and press enter: echo public class test{public static void main(String[] args){System.out.println(Hello World!);}} test.java 6d: at the shell prompt type and press enter: javac test.java 6e: at the shell prompt type and press enter: java test 6f: verify java executes and reports: Hello World! 7: install tomcat 7a: verify an alert box pops up stating: Using Java Development Kit found in c:\j2sdk1.4.1_01 7b: click [OK] button 7c: click [I Agree] button 7d: select all boxes [Full (w/Source Code)] 7e: click [Install] button 7f: choose defaults for port/user/password [8080,Admin,] 7g: click [Next] button 7h: click [close] nutton 8: test tomcat: 8a: verify Apache Tomcat 4.1 service is started [control panel - Administrative tools - Services] 8b: browse to http://127.0.0.1:8080 9: install ant 9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your favorite archive utility 9b: extract to c:\Program Files 10: test ant 10a: Start-Run cmd.exe 10b: at the shell propmt type and press enter:ant -version 10c: verify ant executes and reports: Apache Ant version 1.5.1 compiled on October 2 2002 DONE! :) steps for windows 9x/ME may vary slightly. cmd.exe is command.com variables are set in autoexec.bat and require a reboot tomcat cannot install a service, and will have to be run as an application from the start menu. I highly suggest the you install cygwin, a full install http://www.cygwin.com/setup.exe -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253
RE: a sure way to work with tomcat under windows NT/2000/XP
You should set up your variables under System instead of User because if you run Tomcat as a service, the User variables will not be read. Also, Tomcat doesn't care about the system classpath. J2EE_HOME is fine to set if you need that for something else. Tomcat doesn't need it. Also, TOMCAT_HOME is for Tomcat-3.x.x and below. CATALINA_HOME is the only variable that Tomcat-4.x.x cares about other than JAVA_HOME. Jake At 12:42 PM 12/23/2002 +0100, you wrote: Hello Jason, My name is Kinsley and I am new to Tomcat. I have successfully installed the Jakarta Tomcat on Windows 2000 Advanced Server. It seems to be OK for now as I have not done so much with it. I noticed that there are some differences between your procedures and the one I followed. They are as follows: 1. I had installed j2sdk1.4.1, and then I also installed the j2sdkee1.3.1 setting class path to j2sdkee1.3.1.jar 2. I installed the Tomcat and set the following variables, JAVA_HOME, J2EE_HOME, TOMCAT_HOME, CATALINA_HOME. But I did all of these in the User Variables for Administrator and not in the System Variables section as your suggested below. I eventually hit the Tomcat home page which makes me think all is well. I ran some of the examples, and they went well. I am about to proceed to install the Watchdog. But I need to know if the installation I have done has any fundamental error in it that may lead to problems later. Please revert. Kingsley Omon-Edo, Developer, MTech Communications Ltd -Original Message- From: Jason Pyeron [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:59 AM To: Tomcat Users List Subject: a sure way to work with tomcat under windows NT/2000/XP this seems to be a recurring theme here: these steps I give out to my clients, if they are followed without variation then tomcat will run happilly. Downloads: 1: download jdk 1.4.1_01 from http://java.sun.com/webapps/download/Display?BundleId=7150 2: download tomcat 4.1.12 from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bin /jakarta-tomcat-4.1.12.exe 3: download ant 1.5.1 from http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.g z PreInstall: 4: browse to http://windowsupdate.microsoft.com/ 4a: install all required patches 4b: Reboot the machine if instructed. 4c: Repeat step 4 until there are no more reboots required, or software installed. 5: open control pannel, open system, choose environment variables. 5a: find SYSTEM VARIABLES 5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01 5c: set variable CATALINA_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5d: set variable JASPER_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5e: set variable tomcat_home to value: C:\Program Files\Apache Group\Tomcat 4.1 5f: edit variable Path and prepend to value: C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin; Installs and tests: 5: install JDK 5a: click [next] button 5b: aggree to license 5c: verify: Destination folder should read C:\j2sdk1.4.1_01 5d: click [next] button 5e: verify: all boxes should be checked 5f: click [next] button 5g: verify: Microsoft Internet Explorer box should be checked 5h: click [next] button 6: Start-Run cmd.exe 6a: at the shell propmt type and press enter:java -version 6b: verify java executes and reports: java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) 6c: at the shell prompt type and press enter: echo public class test{public static void main(String[] args){System.out.println(Hello World!);}} test.java 6d: at the shell prompt type and press enter: javac test.java 6e: at the shell prompt type and press enter: java test 6f: verify java executes and reports: Hello World! 7: install tomcat 7a: verify an alert box pops up stating: Using Java Development Kit found in c:\j2sdk1.4.1_01 7b: click [OK] button 7c: click [I Agree] button 7d: select all boxes [Full (w/Source Code)] 7e: click [Install] button 7f: choose defaults for port/user/password [8080,Admin,] 7g: click [Next] button 7h: click [close] nutton 8: test tomcat: 8a: verify Apache Tomcat 4.1 service is started [control panel - Administrative tools - Services] 8b: browse to http://127.0.0.1:8080 9: install ant 9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your favorite archive utility 9b: extract to c:\Program Files 10: test ant 10a: Start-Run cmd.exe 10b: at the shell propmt type and press enter:ant -version 10c: verify ant executes and reports: Apache Ant version 1.5.1 compiled on October 2 2002 DONE! :) steps for windows 9x/ME may vary slightly. cmd.exe is command.com variables are set in autoexec.bat and require a reboot tomcat cannot install a service, and will have to be run as an application from the start menu. I highly suggest the you install cygwin, a full install http://www.cygwin.com/setup.exe
RE: a sure way to work with tomcat under windows NT/2000/XP
Thanks for the advice. I will implement these changes right away and keep you posted. Kingsley Omon-Edo, Developer, MTech Communications Ltd -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 3:17 PM To: Tomcat Users List Subject: RE: a sure way to work with tomcat under windows NT/2000/XP You should set up your variables under System instead of User because if you run Tomcat as a service, the User variables will not be read. Also, Tomcat doesn't care about the system classpath. J2EE_HOME is fine to set if you need that for something else. Tomcat doesn't need it. Also, TOMCAT_HOME is for Tomcat-3.x.x and below. CATALINA_HOME is the only variable that Tomcat-4.x.x cares about other than JAVA_HOME. Jake At 12:42 PM 12/23/2002 +0100, you wrote: Hello Jason, My name is Kinsley and I am new to Tomcat. I have successfully installed the Jakarta Tomcat on Windows 2000 Advanced Server. It seems to be OK for now as I have not done so much with it. I noticed that there are some differences between your procedures and the one I followed. They are as follows: 1. I had installed j2sdk1.4.1, and then I also installed the j2sdkee1.3.1 setting class path to j2sdkee1.3.1.jar 2. I installed the Tomcat and set the following variables, JAVA_HOME, J2EE_HOME, TOMCAT_HOME, CATALINA_HOME. But I did all of these in the User Variables for Administrator and not in the System Variables section as your suggested below. I eventually hit the Tomcat home page which makes me think all is well. I ran some of the examples, and they went well. I am about to proceed to install the Watchdog. But I need to know if the installation I have done has any fundamental error in it that may lead to problems later. Please revert. Kingsley Omon-Edo, Developer, MTech Communications Ltd -Original Message- From: Jason Pyeron [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:59 AM To: Tomcat Users List Subject: a sure way to work with tomcat under windows NT/2000/XP this seems to be a recurring theme here: these steps I give out to my clients, if they are followed without variation then tomcat will run happilly. Downloads: 1: download jdk 1.4.1_01 from http://java.sun.com/webapps/download/Display?BundleId=7150 2: download tomcat 4.1.12 from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bi n /jakarta-tomcat-4.1.12.exe 3: download ant 1.5.1 from http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar. g z PreInstall: 4: browse to http://windowsupdate.microsoft.com/ 4a: install all required patches 4b: Reboot the machine if instructed. 4c: Repeat step 4 until there are no more reboots required, or software installed. 5: open control pannel, open system, choose environment variables. 5a: find SYSTEM VARIABLES 5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01 5c: set variable CATALINA_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5d: set variable JASPER_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5e: set variable tomcat_home to value: C:\Program Files\Apache Group\Tomcat 4.1 5f: edit variable Path and prepend to value: C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin; Installs and tests: 5: install JDK 5a: click [next] button 5b: aggree to license 5c: verify: Destination folder should read C:\j2sdk1.4.1_01 5d: click [next] button 5e: verify: all boxes should be checked 5f: click [next] button 5g: verify: Microsoft Internet Explorer box should be checked 5h: click [next] button 6: Start-Run cmd.exe 6a: at the shell propmt type and press enter:java -version 6b: verify java executes and reports: java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) 6c: at the shell prompt type and press enter: echo public class test{public static void main(String[] args){System.out.println(Hello World!);}} test.java 6d: at the shell prompt type and press enter: javac test.java 6e: at the shell prompt type and press enter: java test 6f: verify java executes and reports: Hello World! 7: install tomcat 7a: verify an alert box pops up stating: Using Java Development Kit found in c:\j2sdk1.4.1_01 7b: click [OK] button 7c: click [I Agree] button 7d: select all boxes [Full (w/Source Code)] 7e: click [Install] button 7f: choose defaults for port/user/password [8080,Admin,] 7g: click [Next] button 7h: click [close] nutton 8: test tomcat: 8a: verify Apache Tomcat 4.1 service is started [control panel - Administrative tools - Services] 8b: browse to http://127.0.0.1:8080 9: install ant 9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your favorite archive utility 9b: extract to c:\Program Files 10: test ant 10a: Start-Run cmd.exe 10b: at the shell propmt type and press enter:ant -version 10c: verify ant executes and reports: Apache Ant version 1.5.1 compiled on October 2 2002 DONE
RE: a sure way to work with tomcat under windows NT/2000/XP
On Mon, 23 Dec 2002, Jacob Kjome wrote: : :You should set up your variables under System instead of User because if they are :you run Tomcat as a service, the User variables will not be read. Also, :Tomcat doesn't care about the system classpath. J2EE_HOME is fine to set :if you need that for something else. Tomcat doesn't need it. Also, :TOMCAT_HOME is for Tomcat-3.x.x and below. CATALINA_HOME is the only this list is designed to be 'fool proof'? not efficient. :variable that Tomcat-4.x.x cares about other than JAVA_HOME. : :Jake : :At 12:42 PM 12/23/2002 +0100, you wrote: :Hello Jason, : :My name is Kinsley and I am new to Tomcat. I have successfully :installed the Jakarta Tomcat on Windows 2000 Advanced Server. It seems :to be OK for now as I have not done so much with it. : :I noticed that there are some differences between your procedures and :the one I followed. They are as follows: :1. I had installed j2sdk1.4.1, and then I also installed the :j2sdkee1.3.1 setting class path to j2sdkee1.3.1.jar :2. I installed the Tomcat and set the following variables, JAVA_HOME, :J2EE_HOME, TOMCAT_HOME, CATALINA_HOME. : :But I did all of these in the User Variables for Administrator and not :in the System Variables section as your suggested below. : :I eventually hit the Tomcat home page which makes me think all is well. : :I ran some of the examples, and they went well. : :I am about to proceed to install the Watchdog. But I need to know if :the installation I have done has any fundamental error in it that may :lead to problems later. : :Please revert. : : :Kingsley Omon-Edo, :Developer, :MTech Communications Ltd : : :-Original Message- :From: Jason Pyeron [mailto:[EMAIL PROTECTED]] :Sent: Monday, December 23, 2002 11:59 AM :To: Tomcat Users List :Subject: a sure way to work with tomcat under windows NT/2000/XP : :this seems to be a recurring theme here: : :these steps I give out to my clients, if they are followed without :variation then tomcat will run happilly. : :Downloads: : :1: download jdk 1.4.1_01 from :http://java.sun.com/webapps/download/Display?BundleId=7150 :2: download tomcat 4.1.12 from :http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bin :/jakarta-tomcat-4.1.12.exe :3: download ant 1.5.1 from :http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.g :z : :PreInstall: : :4: browse to http://windowsupdate.microsoft.com/ :4a: install all required patches :4b: Reboot the machine if instructed. :4c: Repeat step 4 until there are no more reboots required, or software : installed. : :5: open control pannel, open system, choose environment variables. :5a: find SYSTEM VARIABLES :5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01 :5c: set variable CATALINA_HOME to value: C:\Program Files\Apache :Group\Tomcat 4.1 :5d: set variable JASPER_HOME to value: C:\Program Files\Apache :Group\Tomcat 4.1 :5e: set variable tomcat_home to value: C:\Program Files\Apache :Group\Tomcat 4.1 :5f: edit variable Path and prepend to value: :C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin; : : : :Installs and tests: : :5: install JDK :5a: click [next] button :5b: aggree to license :5c: verify: Destination folder should read C:\j2sdk1.4.1_01 :5d: click [next] button :5e: verify: all boxes should be checked :5f: click [next] button :5g: verify: Microsoft Internet Explorer box should be checked :5h: click [next] button : :6: Start-Run cmd.exe :6a: at the shell propmt type and press enter:java -version :6b: verify java executes and reports: : : java version 1.4.1_01 : Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) : Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) : :6c: at the shell prompt type and press enter: echo public class :test{public static void main(String[] args){System.out.println(Hello :World!);}} test.java :6d: at the shell prompt type and press enter: javac test.java :6e: at the shell prompt type and press enter: java test :6f: verify java executes and reports: : : Hello World! : :7: install tomcat :7a: verify an alert box pops up stating: Using Java Development Kit :found in c:\j2sdk1.4.1_01 :7b: click [OK] button :7c: click [I Agree] button :7d: select all boxes [Full (w/Source Code)] :7e: click [Install] button :7f: choose defaults for port/user/password [8080,Admin,] :7g: click [Next] button :7h: click [close] nutton : :8: test tomcat: :8a: verify Apache Tomcat 4.1 service is started [control panel - :Administrative tools - Services] :8b: browse to http://127.0.0.1:8080 : :9: install ant :9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your favorite archive :utility :9b: extract to c:\Program Files : :10: test ant :10a: Start-Run cmd.exe :10b: at the shell propmt type and press enter:ant -version :10c: verify ant executes and reports: : : Apache Ant version 1.5.1 compiled on October 2 2002 : : :DONE! :) : :steps for windows 9x/ME may vary slightly. : :cmd.exe is command.com :variables are set
Re[2]: a sure way to work with tomcat under windows NT/2000/XP
Hello Jason, Monday, December 23, 2002, 12:44:02 PM, you wrote: JP this list is designed to be 'fool proof'? not efficient. Huh? What are you saying herewhat is your point??? Jake -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re[2]: a sure way to work with tomcat under windows NT/2000/XP (sorrymisread)
sorry, misread the post (skippied over the first reply) . On Mon, 23 Dec 2002, Jacob Kjome wrote: Hello Jason, Monday, December 23, 2002, 12:44:02 PM, you wrote: JP this list is designed to be 'fool proof'? not efficient. Huh? What are you saying herewhat is your point??? Jake -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: a sure way to work with tomcat under windows NT/2000/XP
Hi Jake, I have effected the modifications as and everything is perfect. I can now see the Apache Tomcat service running. Thanks for the help. I was wondering though what the JASPER_HOME environment variable is meant to do, as the only thing Tomcat cares about is the CALINA_HOME environment variable. Just being curious... Kingsley Omon-Edo, Developer, MTech Communications Ltd -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 3:17 PM To: Tomcat Users List Subject: RE: a sure way to work with tomcat under windows NT/2000/XP You should set up your variables under System instead of User because if you run Tomcat as a service, the User variables will not be read. Also, Tomcat doesn't care about the system classpath. J2EE_HOME is fine to set if you need that for something else. Tomcat doesn't need it. Also, TOMCAT_HOME is for Tomcat-3.x.x and below. CATALINA_HOME is the only variable that Tomcat-4.x.x cares about other than JAVA_HOME. Jake At 12:42 PM 12/23/2002 +0100, you wrote: Hello Jason, My name is Kinsley and I am new to Tomcat. I have successfully installed the Jakarta Tomcat on Windows 2000 Advanced Server. It seems to be OK for now as I have not done so much with it. I noticed that there are some differences between your procedures and the one I followed. They are as follows: 1. I had installed j2sdk1.4.1, and then I also installed the j2sdkee1.3.1 setting class path to j2sdkee1.3.1.jar 2. I installed the Tomcat and set the following variables, JAVA_HOME, J2EE_HOME, TOMCAT_HOME, CATALINA_HOME. But I did all of these in the User Variables for Administrator and not in the System Variables section as your suggested below. I eventually hit the Tomcat home page which makes me think all is well. I ran some of the examples, and they went well. I am about to proceed to install the Watchdog. But I need to know if the installation I have done has any fundamental error in it that may lead to problems later. Please revert. Kingsley Omon-Edo, Developer, MTech Communications Ltd -Original Message- From: Jason Pyeron [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:59 AM To: Tomcat Users List Subject: a sure way to work with tomcat under windows NT/2000/XP this seems to be a recurring theme here: these steps I give out to my clients, if they are followed without variation then tomcat will run happilly. Downloads: 1: download jdk 1.4.1_01 from http://java.sun.com/webapps/download/Display?BundleId=7150 2: download tomcat 4.1.12 from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bi n /jakarta-tomcat-4.1.12.exe 3: download ant 1.5.1 from http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar. g z PreInstall: 4: browse to http://windowsupdate.microsoft.com/ 4a: install all required patches 4b: Reboot the machine if instructed. 4c: Repeat step 4 until there are no more reboots required, or software installed. 5: open control pannel, open system, choose environment variables. 5a: find SYSTEM VARIABLES 5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01 5c: set variable CATALINA_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5d: set variable JASPER_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5e: set variable tomcat_home to value: C:\Program Files\Apache Group\Tomcat 4.1 5f: edit variable Path and prepend to value: C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin; Installs and tests: 5: install JDK 5a: click [next] button 5b: aggree to license 5c: verify: Destination folder should read C:\j2sdk1.4.1_01 5d: click [next] button 5e: verify: all boxes should be checked 5f: click [next] button 5g: verify: Microsoft Internet Explorer box should be checked 5h: click [next] button 6: Start-Run cmd.exe 6a: at the shell propmt type and press enter:java -version 6b: verify java executes and reports: java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) 6c: at the shell prompt type and press enter: echo public class test{public static void main(String[] args){System.out.println(Hello World!);}} test.java 6d: at the shell prompt type and press enter: javac test.java 6e: at the shell prompt type and press enter: java test 6f: verify java executes and reports: Hello World! 7: install tomcat 7a: verify an alert box pops up stating: Using Java Development Kit found in c:\j2sdk1.4.1_01 7b: click [OK] button 7c: click [I Agree] button 7d: select all boxes [Full (w/Source Code)] 7e: click [Install] button 7f: choose defaults for port/user/password [8080,Admin,] 7g: click [Next] button 7h: click [close] nutton 8: test tomcat: 8a: verify Apache Tomcat 4.1 service is started [control panel - Administrative tools - Services] 8b: browse to http://127.0.0.1:8080 9: install ant 9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your
Newbie: Infos about Windows NT Authentication
Hello, where can I get basic-information about Windows NT Authentication and Tomcat. I read the Tomcat Documentation JNDI-Resource HOW-TO and REALM HOW-TO, but I didnt understand for example how to configure the Windows NT Server to run Tomcat with Windows NT Authentication thanks for help, Jasper -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Newbie: Infos about Windows NT Authentication
Jasper Dammann writes: Hello, where can I get basic-information about Windows NT Authentication and Tomcat. I read the Tomcat Documentation JNDI-Resource HOW-TO and REALM HOW-TO, but I didnt understand for example how to configure the Windows NT Server to run Tomcat with Windows NT Authentication thanks for help, Jasper -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Hello Jasper, the actual os should not matter. what matters is ur http server. i'm running a linux box w/ apache http server that talks to tomcat. though possible, apache can run on nt but it seems many people elect to run ms iis. iis presents its own set of problems: 1) more difficult to config w/ tomcat. 2) to run a publicly accessible server u will have to run a firewall router appliance like a cisco router because nt/win2k/xp have no built-in firewall protection that is reliable. also, iis is one of the most security compromised servers on the planet. check out ur local isp running linux or solaris servers and take a look at their syslog logs to see the amount of compromised iis servers running that r looking for more platforms to compromise. also, the cisco tcp stack has flaws that r easily compromised if the router is not configured correctly. finally, look at: http://www.netcraft.net/survey/. hope this helps, david. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Newbie: Infos about Windows NT Authentication
You might be better off looking at the NT documentation than Tomcat documentation. The way environmental variables, etc. are set on NT is an NT matter. At 06:39 PM 12/3/2002 +0100, you wrote: Hello, where can I get basic-information about Windows NT Authentication and Tomcat. I read the Tomcat Documentation JNDI-Resource HOW-TO and REALM HOW-TO, but I didnt understand for example how to configure the Windows NT Server to run Tomcat with Windows NT Authentication thanks for help, Jasper -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Micael --- This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1.10 and Windows NT 4.0
I'm trying to run Tomcat 4.1.10 out of the box and get the following error when executing catalina.bat run: Using CATALINA_BASE: C:\Tomcat Using CATALINA_HOME: C:\Tomcat Using CATALINA_TMPDIR: C:\Tomcat\temp Using JAVA_HOME: D:\Jdk1.2.2 Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java, Compiled Code) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va, Compiled Code) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java, Compiled Code) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code) My environment is setup as follows: CATALINE_HOME = C:\Tomcat JAVA_HOME = D:\Jdk1.2.2 JDK_LATEST = D:\Jdk1.2.2 Any help would be greatly appreciated. Dave LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1.10 and Windows NT - Repost - Urgent
I'm trying to run Tomcat 4.1.10 out of the box and get the following error when executing catalina.bat run: Using CATALINA_BASE: C:\Tomcat Using CATALINA_HOME: C:\Tomcat Using CATALINA_TMPDIR: C:\Tomcat\temp Using JAVA_HOME: D:\Jdk1.2.2 Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java, Compiled Code) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va, Compiled Code) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java, Compiled Code) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code) My environment is setup as follows: CATALINE_HOME = C:\Tomcat JAVA_HOME = D:\Jdk1.2.2 JDK_LATEST = D:\Jdk1.2.2 Any help would be greatly appreciated. Dave LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1.10 and Windows NT - Repost - Urgent
I'm trying to run Tomcat 4.1.10 out of the box and get the following error when executing catalina.bat run: Using CATALINA_BASE: C:\Tomcat Using CATALINA_HOME: C:\Tomcat Using CATALINA_TMPDIR: C:\Tomcat\temp Using JAVA_HOME: D:\Jdk1.2.2 Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java, Compiled Code) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va, Compiled Code) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java, Compiled Code) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code) My environment is setup as follows: CATALINE_HOME = C:\Tomcat JAVA_HOME = D:\Jdk1.2.2 JDK_LATEST = D:\Jdk1.2.2 Any help would be greatly appreciated. Dave LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.1.10 and Windows NT - Repost - Urgent
Yes I ran into this myself, I think it is because of this error: http://developer.java.sun.com/developer/bugParade/bugs/4776385.html You can try to use JVM 1.3 or JVM 1.4 instead. Short, Dave [EMAIL PROTECTED] wrote on 19.11.2002 17:02:14: I'm trying to run Tomcat 4.1.10 out of the box and get the following error when executing catalina.bat run: Using CATALINA_BASE: C:\Tomcat Using CATALINA_HOME: C:\Tomcat Using CATALINA_TMPDIR: C:\Tomcat\temp Using JAVA_HOME: D:\Jdk1.2.2 Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java, Compiled Code) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va, Compiled Code) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java, Compiled Code) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code) My environment is setup as follows: CATALINE_HOME = C:\Tomcat JAVA_HOME = D:\Jdk1.2.2 JDK_LATEST = D:\Jdk1.2.2 Any help would be greatly appreciated. Dave LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.1.10 and Windows NT - Repost - Urgent
Thanks! -Original Message- From: Kristján Bjarni Guðmundsson [mailto:[EMAIL PROTECTED]] Sent: November 19, 2002 9:06 AM To: Tomcat Users List Subject: Re: Tomcat 4.1.10 and Windows NT - Repost - Urgent Yes I ran into this myself, I think it is because of this error: http://developer.java.sun.com/developer/bugParade/bugs/4776385.html You can try to use JVM 1.3 or JVM 1.4 instead. Short, Dave [EMAIL PROTECTED] wrote on 19.11.2002 17:02:14: I'm trying to run Tomcat 4.1.10 out of the box and get the following error when executing catalina.bat run: Using CATALINA_BASE: C:\Tomcat Using CATALINA_HOME: C:\Tomcat Using CATALINA_TMPDIR: C:\Tomcat\temp Using JAVA_HOME: D:\Jdk1.2.2 Bootstrap: Class loader creation threw exception java.lang.IllegalMonitorStateException: current thread not owner at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java, Compiled Code) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va, Compiled Code) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java, Compiled Code) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code) My environment is setup as follows: CATALINE_HOME = C:\Tomcat JAVA_HOME = D:\Jdk1.2.2 JDK_LATEST = D:\Jdk1.2.2 Any help would be greatly appreciated. Dave LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. -- 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]
IBM HTTP Server, Tomcat 4.1.12, mod_jk and the IBM GSK [Windows NT]
Hi all, I have a question regarding the usage of Tomcat together with IBM Http Server 1.3.19 (which is based on Apache httpd 1.3.20). I uses the http server for handling static pages and redirect servlet and jsp requests to tomcat through mod_jk.dll and it works fine for port 80 but when I use 443 (SSL) I only receive about 32-40KB of a page of 200KB. I think it's the IBM GSK* module which makes the trouble but I'm not 100% sure. So what I would like to here is any of you have experienced the same problem on a Windows NT 4.0 system running IBM Http Server 1.3.19.3, Tomcat 4.1.12, mod_jk (latest), Sun J2SDK 1.3.1_04?? Best regards, J. Andersen * The GSK module handles SSL certificates etc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: IBM HTTP Server, Tomcat 4.1.12, mod_jk and the IBM GSK [Windows NT]
Jens, Sorry I can't help you on your question. I would like to know where do you run your tomcat 4.1.12 ? I couldn't get it to work under IBM's os/390. The bug was reported at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13014 If you do get it to work under os/390 I would like to know how. Thanks. Joseph Tan --- Jens Andersen [EMAIL PROTECTED] wrote: Hi all, I have a question regarding the usage of Tomcat together with IBM Http Server 1.3.19 (which is based on Apache httpd 1.3.20). I uses the http server for handling static pages and redirect servlet and jsp requests to tomcat through mod_jk.dll and it works fine for port 80 but when I use 443 (SSL) I only receive about 32-40KB of a page of 200KB. I think it's the IBM GSK* module which makes the trouble but I'm not 100% sure. So what I would like to here is any of you have experienced the same problem on a Windows NT 4.0 system running IBM Http Server 1.3.19.3, Tomcat 4.1.12, mod_jk (latest), Sun J2SDK 1.3.1_04?? Best regards, J. Andersen * The GSK module handles SSL certificates etc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] http://mobile.yahoo.com.au - Yahoo! Messenger for SMS - Always be connected to your Messenger Friends -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.4 under Windows NT crashes: memory cannot beread
I have actually found the 1.4.1 release candidate to be MORE stable than 1.4.0 was. You might try that. Larry [EMAIL PROTECTED] 09/09/02 23:32 PM Randall Schulz suggested that I upgrade Java. I've checked the Java system on this machine, and it is already 1.4.0.01, so about as recent as we can get. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.4 under Windows NT crashes: memory cannot be read
I reported that this error happened on two different machines: my Dell laptop running NT 4, and a colleague's Sony Vaio running XP. I've now got hold of his machine and seen the symptoms there. They're somewhat different from on my NT system. When I run the bit of the application that provokes the fault, a window pops up: JavaService JavaService has encountered a problem and needs to close. We are sorry for the inconvenience. If you were in the middle of something, the information you were working on may have been lost. Please tell Microsoft about this problem. etc [Send Error Report] [Don't Send] I don't know XP well enough to know under which circumstances it uses this pop-up. If I then press either of the buttons, it stops Tomcat. However, if I just ignore the pop-up, I can carry on interacting with the application. Tomcat remains running, and if I exercise the same part of the application again (without restarting anything or rebooting), it usually runs normally. Randall Schulz suggested that I upgrade Java. I've checked the Java system on this machine, and it is already 1.4.0.01, so about as recent as we can get. So - any ideas? I could try some hardware diagnostics, but with the fault occurring (in different ways) on two very different machines and systems, I don't believe they can both have hardware problems. Jocelyn Paine http://www.ifs.org.uk/~popx/ +44 (0)7768 534 091 On Sun, 1 Sep 2002, Randall R Schulz wrote: Jocelyn, I didn't read enough or carefully enough. You really ought to get a more up-to-date version of the JRE or SDK. I recommend 1.4.0_01 or 1.3.1, but using 1.2 at this point is not a good idea. By the way, how do you (or your colleague) you get Tomcat to run as a service? Via Apache? Are you certain that it's the Tomcat process that's crashing? Your diagnostic didn't include the application name that is (I believe) in the window title of the alert whose contents you reported. Is it java.exe or something else? Randall Schulz Mountain View, CA USA At 23:59 2002-08-31, you wrote: My system: Tomcat 4.0.4 is running stand-alone on Windows NT 4 (service pack 3); starting it by invoking Tomcat's startup.bat from a DOS window. My Java is Sun's Classic VM (build JDK-1.2-V, native threads). Machine is a 64 MB Dell Latitude. My colleague's system is a new Sony Vaio running Windows XP, same version of Tomcat, also a Sun JVM but probably a slightly newer one. Tomcat running as a service... Jocelyn Paine -- 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.0.4 under Windows NT crashes: memory cannot be read
Randall, I installed the 1.3.1 JSDK in place of 1.2, and this error _seems_ to have gone away. Since it wasn't 100% repeatable, I can't be sure, and will have to test it on my colleague's machine (which always tended to manifest the fault more often), but I may be lucky. You suggested I install JSDK 1.3.1 or 1.4.0: I wasn't able to install the latter, because InstallShield crashed Interface not found when it started the install proper, after unpacking its files. Surely Sun can't have left such an obvious bug, but perhaps they don't support NT 4 any more? In answer to your question, I'd been running Tomcat stand-alone, not glued to Apache. Finally, with reference to a comment in your earlier mail, is Tomcat indeed 100% Java? I.e. it doesn't include any native code? If so, I wonder what it was provoking to crash the 1.2 JVM (assuming that is indeed what happened) - nothing I've run has ever managed that before, not even the same application under a different server. (Since the fault appeared on two different machines, with different hardware configurations and Windows versions, I'd been assuming it was unlikely to be hardware or drivers.) Anyway, thanks for the advice. My colleague's machine is in France until next week, but when I can get at it, I'll post again if upgrading his JVM doesn't fix the problem. Jocelyn Paine http://www.ifs.org.uk/~popx/ +44 (0)7768 534 091 On Sun, 1 Sep 2002, Randall R Schulz wrote: Jocelyn, I didn't read enough or carefully enough. You really ought to get a more up-to-date version of the JRE or SDK. I recommend 1.4.0_01 or 1.3.1, but using 1.2 at this point is not a good idea. By the way, how do you (or your colleague) you get Tomcat to run as a service? Via Apache? Are you certain that it's the Tomcat process that's crashing? Your diagnostic didn't include the application name that is (I believe) in the window title of the alert whose contents you reported. Is it java.exe or something else? Randall Schulz Mountain View, CA USA At 23:59 2002-08-31, you wrote: My system: Tomcat 4.0.4 is running stand-alone on Windows NT 4 (service pack 3); starting it by invoking Tomcat's startup.bat from a DOS window. My Java is Sun's Classic VM (build JDK-1.2-V, native threads). Machine is a 64 MB Dell Latitude. My colleague's system is a new Sony Vaio running Windows XP, same version of Tomcat, also a Sun JVM but probably a slightly newer one. Tomcat running as a service... Jocelyn Paine -- 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]
Tomcat 4.0.4 under Windows NT crashes: memory cannot be read
I'm using Tomcat for Java and JSP in a large server-side application under NT4. Most of it works fine, but in a few parts of the application, Tomcat crashes: Application Error. The instruction at memory address referenced memory at memory address. The memory cannot be read. This error is semi-repeatable. It only shows up in some parts of the application, but not every time, even though I take exactly the same path through the application after starting Tomcat. It never happens immediately after starting the app., but only when I reach one particular part: but as I've said, it doesn't always happen, even with identical inputs. Perhaps it shows up one time in 5. The Java code itself is OK: it has run fine on the same machine under New Atlanta's ServletExec servlet engine, and under various flavours of Linux using the JRun servlet engine. On one ISP, it has run for a year and a half without any crashes. The crash also happens - same version of Tomcat - on a colleague's Windows XP machine, and shows the same semi-repeatability. Lest anybody suggest it's an out-of-memory error, this machine has at least 128 MB (don't know exactly) against my 64MB. The part of the application that sometimes crashes is not generating any large objects. Any developers lurking here? I'd like to use Tomcat, but dare not if it is going to fail with this kind of random error. What puzzles me is this semi-repeatability - why, if the fault is only provoked in specific parts of the application, does it not happen every time? I've not found any other reports of such crashes in the mail archives. My system: Tomcat 4.0.4 is running stand-alone on Windows NT 4 (service pack 3); starting it by invoking Tomcat's startup.bat from a DOS window. My Java is Sun's Classic VM (build JDK-1.2-V, native threads). Machine is a 64 MB Dell Latitude. My colleague's system is a new Sony Vaio running Windows XP, same version of Tomcat, also a Sun JVM but probably a slightly newer one. Tomcat running as a service. This probably isn't relevant, but on both systems, the web browser is also running on the same machine, using loopback to connect to the server. I've not been able to get any info about the error from Tomcat's logs, or from the DOS window in which I started it. Jocelyn Paine http://www.ifs.org.uk/~popx/ +44 (0)7768 534 091 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.4 under Windows NT crashes: memory cannot be read
Jocelyn, That's not a Tomcat problem. The diagnostic you're seeing is indicative of a problem in the JVM or a native library or of some flaw external to the whole Tomcat / JVM complex (hardware or driver, e.g.). Short of a bug in the bytecode interpreter, the JIT translator or other code running as native instructions within the JVM's address space, this cannot happen. Thus the problem is by definition not Tomcat, since Tomcat is 100% Java. Even if only Tomcat triggers the symptom, it cannot be a problem in the Tomcat code. Such a bug would produce misbehavior (non-compliant with the pertinent specs) and / or an inappropriate or unhandled Java exception, possibly even abortive shutdown of Tomcat as a whole, but not a low-level fault such as you've reported. You should consider driver bugs (network driver, e.g.) or bugs in the platform's native (JNI) libraries or corrupted files containing code that is activated when you run Tomcat. You should also consider hardware problems. Run a RAM diagnostic at the very least (check out MemTest86--it's good and mature. Get the latest release, especially if you have a P4-based system). Good luck. Randall Schulz Mountain View, CA USA At 23:59 2002-08-31, Jocelyn Paine wrote: I'm using Tomcat for Java and JSP in a large server-side application under NT4. Most of it works fine, but in a few parts of the application, Tomcat crashes: Application Error. The instruction at memory address referenced memory at memory address. The memory cannot be read. ... Jocelyn Paine -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.4 under Windows NT crashes: memory cannot be read
Jocelyn, I didn't read enough or carefully enough. You really ought to get a more up-to-date version of the JRE or SDK. I recommend 1.4.0_01 or 1.3.1, but using 1.2 at this point is not a good idea. By the way, how do you (or your colleague) you get Tomcat to run as a service? Via Apache? Are you certain that it's the Tomcat process that's crashing? Your diagnostic didn't include the application name that is (I believe) in the window title of the alert whose contents you reported. Is it java.exe or something else? Randall Schulz Mountain View, CA USA At 23:59 2002-08-31, you wrote: My system: Tomcat 4.0.4 is running stand-alone on Windows NT 4 (service pack 3); starting it by invoking Tomcat's startup.bat from a DOS window. My Java is Sun's Classic VM (build JDK-1.2-V, native threads). Machine is a 64 MB Dell Latitude. My colleague's system is a new Sony Vaio running Windows XP, same version of Tomcat, also a Sun JVM but probably a slightly newer one. Tomcat running as a service... Jocelyn Paine -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.0.4 under Windows NT crashes with system error: memorycannot be read
I'm using Tomcat for Java and JSP in a large server-side application. My Web browser is also running on this machine (a 64 MB Dell Latitude laptop), using loopback to connect to the server. Most of this works fine. However, in a few parts of the application, Tomcat crashes: Application Error. The instruction at memory address referenced memory at memory address. The memory cannot be read. This error is semi-repeatable. It only shows up in some parts of the application, but not every time, even though I take exactly the same path through the application after starting Tomcat. Perhaps it shows up one time in 5. The Java code itself is OK: it has run fine on the same machine under New Atlanta's ServletExec servlet engine, and under various flavours of Linux using the JRun servlet engine. (On one ISP, it has run for a year and a half without any crashes.) I've not been able to get any info about the error from Tomcat's logs, or from the DOS window in which I started it. The system: Tomcat 4.0.4 is running stand-alone on Windows NT 4 (service pack 3); starting it by invoking Tomcat's startup.bat from a DOS window. My Java is Sun's Classic VM (build JDK-1.2-V, native threads). The Windows version is probably not too important, since the same fault happens under Windows XP. The crash also happens on a colleague's system: a new Sony Vaio running Windows XP, same version of Tomcat, also a Sun JVM but probably a slightly newer one. Ideas for circumvention? I'd like to use Tomcat, but dare not if it is going to fail with this kind of random error. What puzzles me is this semi-repeatability - why, if the fault is only provoked in specific parts of the application, does it not happen every time? Jocelyn Paine http://www.ifs.org.uk/~popx/ +44 (0)7768 534 091 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Authenticating to a Windows NT domain
Hey everybody I've spent some time going back through old archived tomcat-user mailing lists and I haven't been able to find anything that answers my question yet.. maybe I just wasn't looking for the right thing, I'm not sure. Anyway, here goes. I have a web application consisting of JSPs and servlets, and I need to put some security/login stuff in with it. I need to authenticate to a windows nt domain that has a big list of users that are allowed to use my application. However, I can't seem to figure out if I can configure Tomcat to do the authentication for me, or if I have to write some java code (using JAAS I guess) that will do the authentication. If it's the writing java code case, can someone point me to some useful documentation? I've skimmed through the JAAS docs and they don't seem all that helpful for what I'm trying to do. Thanks, any help would be greatly appreciated! ~ Shaun Kenny Acadia Institute for Teaching and Technology Acadia University
RE: Authenticating to a Windows NT domain
I'm not positive, but you might be able to use a JNDIRealm. See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html -Original Message- From: Shaun Kenny [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 11:18 AM To: [EMAIL PROTECTED] Subject: Authenticating to a Windows NT domain Hey everybody I've spent some time going back through old archived tomcat-user mailing lists and I haven't been able to find anything that answers my question yet.. maybe I just wasn't looking for the right thing, I'm not sure. Anyway, here goes. I have a web application consisting of JSPs and servlets, and I need to put some security/login stuff in with it. I need to authenticate to a windows nt domain that has a big list of users that are allowed to use my application. However, I can't seem to figure out if I can configure Tomcat to do the authentication for me, or if I have to write some java code (using JAAS I guess) that will do the authentication. If it's the writing java code case, can someone point me to some useful documentation? I've skimmed through the JAAS docs and they don't seem all that helpful for what I'm trying to do. Thanks, any help would be greatly appreciated! ~ Shaun Kenny Acadia Institute for Teaching and Technology Acadia University -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Authenticating to a Windows NT domain
is it an active directory win2k or an nt4 domain? if it's an active directory, then you can use a JNDIRealm. Otherwise, you have to implement something using Win32 api calls. -Original Message- From: Shaun Kenny [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 11:18 AM To: [EMAIL PROTECTED] Subject: Authenticating to a Windows NT domain Hey everybody I've spent some time going back through old archived tomcat-user mailing lists and I haven't been able to find anything that answers my question yet.. maybe I just wasn't looking for the right thing, I'm not sure. Anyway, here goes. I have a web application consisting of JSPs and servlets, and I need to put some security/login stuff in with it. I need to authenticate to a windows nt domain that has a big list of users that are allowed to use my application. However, I can't seem to figure out if I can configure Tomcat to do the authentication for me, or if I have to write some java code (using JAAS I guess) that will do the authentication. If it's the writing java code case, can someone point me to some useful documentation? I've skimmed through the JAAS docs and they don't seem all that helpful for what I'm trying to do. Thanks, any help would be greatly appreciated! ~ Shaun Kenny Acadia Institute for Teaching and Technology Acadia University -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Authenticating to a Windows NT domain
Hello Shaun, If you use Tomcat-4.1.3 or later, you can use JNDI to authenticate against Active Directory. Here is an overview of the threads on this topic: http://marc.theaimsgroup.com/?l=tomcat-userw=2r=1s=Roles+in+JNDIRealmsq=b Here is probably the best answer to your question: http://marc.theaimsgroup.com/?l=tomcat-userm=102373831306359w=2 Hope that helps. Jake Monday, July 22, 2002, 11:18:28 AM, you wrote: SK Hey everybody SK I've spent some time going back through old archived tomcat-user mailing SK lists and I haven't been able to find anything that answers my question SK yet.. maybe I just wasn't looking for the right thing, I'm not sure. SK Anyway, here goes. SK I have a web application consisting of JSPs and servlets, and I need to put SK some security/login stuff in with it. I need to authenticate to a windows SK nt domain that has a big list of users that are allowed to use my SK application. However, I can't seem to figure out if I can configure Tomcat SK to do the authentication for me, or if I have to write some java code (using SK JAAS I guess) that will do the authentication. If it's the writing java SK code case, can someone point me to some useful documentation? I've skimmed SK through the JAAS docs and they don't seem all that helpful for what I'm SK trying to do. SK Thanks, any help would be greatly appreciated! SK ~ SK Shaun Kenny SK Acadia Institute for Teaching and Technology SK Acadia University -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat-Cocoon on windows NT
Hi! I´m trying to migrate a site from a host running Unix to one running Windows NT (weird, isn´t it? :) ). Now, I think I have a problem with paths or something, because I get this error Unable to open resource: Web-inf\cocoon.properties java.lang.NullPointerException at org.apache.cocoon.Cocoon.init(Cocoon.java:131) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) . . The cocoon.poperties file looks like this: ## # Cocoon Configuration file # ## ## # IMPORTANT - YOU MUST RESTART YOUR SERVLET ENGINE WHENEVER YOU CHANGE THIS FILE # # # # This is a limitation which is fixed in Cocoon 2. # ## ## # Global Configurations # ## # Indicates whether or not Cocoon should be visible if # the requested URI equals the specified one. selfservlet.enabled = false selfservlet.uri = \Cocoon.xml # Indicates whether or not Cocoon should handle errors internally # and format the error and the exception stack trace to the client # or return the HTTP error code to the web server and let it handle it. handle.errors.internally = true # Indicates the log severity level #log.level = emergency #log.level = critical log.level = error #log.level = warning #log.level = info #log.level = debug ## # XML Parsers# ## # Apache Xerces 1.0.1+ (http://xml.apache.com/) parser = org.apache.cocoon.parser.XercesParser # SUN ProjectX TR2 (http://java.sun.com/xml/) #parser = org.apache.cocoon.parser.SunXMLParser # Indicate whether the XML file should be validated or not # this is turned off by default for faster operation. parser.validate = false ## # XSLT Transformers # ## # Apache Xalan (http://xml.apache.org/) transformer = org.apache.cocoon.transformer.XalanTransformer # James Clark's XT (http://www.jclark.com/) #transformer = org.apache.cocoon.transformer.XTTransformer ## # XML Producers # ## # For example, if you want to produce your XML template reading it from # the file system, using your producer, you should request the URI: # http://your.site.com/your_XML_file.xml?producer=file # This is the request parameter used to identify the producer in the request: # (default value is producer) producer.parameter = producer # The syntax for this is # producer.type.xxx = full.class.name # where xxx is the producer indentier used in the request producer.type.file = org.apache.cocoon.producer.ProducerFromFile # This is used in the example files producer.type.dummy = org.apache.cocoon.example.DummyProducer # When producer indication is present in the request # this configuration allows to map those requests to a particular # producer indicated here with its type. # NOTE: this type must present in the above map. producer.default = file ## # XML Processors # ## # These are used when the ?cocoon-process type=xxx? PI is present. # If no PI of that type is present, no processing is performed. # The syntax for this is # processor.type.xxx = full.class.name # XSL Transformations (XSLT) processor.type.xslt = org.apache.cocoon.processor.xslt.XSLTProcessor # SQL Processor processor.type.sql = org.apache.cocoon.processor.sql.SQLProcessor # LDAP Processor # NOTE: you need to have the SUN JDNI API (jndi.jar) in your classpath # in order for this processor to work. Check the FAQ for more information. #processor.type.ldap = org.apache.cocoon.processor.ldap.LdapProcessor # XInclude Processor processor.type.xinclude = org.apache.cocoon.processor.xinclude.XIncludeProcessor # Link Encoding Processor which encodes all links using response.encodeUrl() processor.type.linkencode = org.apache.cocoon.processor.LinkEncodingProcessor ## # XSP Processor # ## # eXtensible Server Pages Processor (XSP) processor.type.xsp = org.apache.cocoon.processor.xsp.XSPProcessor # supported
RE: Tomcat-Cocoon on windows NT
I believe the web-inf directory needs to be WEB-INF even on NT (all upper case). Try renaming it and making sure all references (in .XML or .conf files) are all upper-case as well. Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Gabriel Maffia [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 18, 2002 1:04 PM To: 'Tomcat Users List' Subject: Tomcat-Cocoon on windows NT Hi! I´m trying to migrate a site from a host running Unix to one running Windows NT (weird, isn´t it? :) ). Now, I think I have a problem with paths or something, because I get this error Unable to open resource: Web-inf\cocoon.properties java.lang.NullPointerException at org.apache.cocoon.Cocoon.init(Cocoon.java:131) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) . . The cocoon.poperties file looks like this: ## # Cocoon Configuration file # ## ## # IMPORTANT - YOU MUST RESTART YOUR SERVLET ENGINE WHENEVER YOU CHANGE THIS FILE # # # # This is a limitation which is fixed in Cocoon 2. # ## ## # Global Configurations # ## # Indicates whether or not Cocoon should be visible if # the requested URI equals the specified one. selfservlet.enabled = false selfservlet.uri = \Cocoon.xml # Indicates whether or not Cocoon should handle errors internally # and format the error and the exception stack trace to the client # or return the HTTP error code to the web server and let it handle it. handle.errors.internally = true # Indicates the log severity level #log.level = emergency #log.level = critical log.level = error #log.level = warning #log.level = info #log.level = debug ## # XML Parsers# ## # Apache Xerces 1.0.1+ (http://xml.apache.com/) parser = org.apache.cocoon.parser.XercesParser # SUN ProjectX TR2 (http://java.sun.com/xml/) #parser = org.apache.cocoon.parser.SunXMLParser # Indicate whether the XML file should be validated or not # this is turned off by default for faster operation. parser.validate = false ## # XSLT Transformers # ## # Apache Xalan (http://xml.apache.org/) transformer = org.apache.cocoon.transformer.XalanTransformer # James Clark's XT (http://www.jclark.com/) #transformer = org.apache.cocoon.transformer.XTTransformer ## # XML Producers # ## # For example, if you want to produce your XML template reading it from # the file system, using your producer, you should request the URI: # http://your.site.com/your_XML_file.xml?producer=file # This is the request parameter used to identify the producer in the request: # (default value is producer) producer.parameter = producer # The syntax for this is # producer.type.xxx = full.class.name # where xxx is the producer indentier used in the request producer.type.file = org.apache.cocoon.producer.ProducerFromFile # This is used in the example files producer.type.dummy = org.apache.cocoon.example.DummyProducer # When producer indication is present in the request # this configuration allows to map those requests to a particular # producer indicated here with its type. # NOTE: this type must present in the above map. producer.default = file ## # XML Processors # ## # These are used when the ?cocoon-process type=xxx? PI is present. # If no PI of that type is present, no processing is performed. # The syntax for this is # processor.type.xxx = full.class.name # XSL Transformations (XSLT) processor.type.xslt = org.apache.cocoon.processor.xslt.XSLTProcessor # SQL Processor processor.type.sql = org.apache.cocoon.processor.sql.SQLProcessor # LDAP Processor # NOTE: you need to have the SUN JDNI API (jndi.jar) in your classpath # in order for this processor to work. Check the FAQ for more information. #processor.type.ldap
Problems with compiling .jsp running as Windows NT service 4.0x
Hi all, First of all, congratulations to the Ant developers. I haven't tried it yet, but that situation won't last long. Especially since I do not like Makefile's either. But now for the real thing. I have installed Apache Tomcat on 2 computers using the .exe binary distribution. Both installations went fine. When I start up Tomcat in a normal fashion (not as a service) everything goes nicely. When I start Tomcat as a service however everything goes fine, except compiling .jsp files. The program cannot find the Sun javac.Main class. All environment variables have been set system wide. I tried changing / adding the %CLASSPATH% variable, the %JAVA_HOME% variable and the %CATALINA_HOME% variable. I used multiple restarts too (this is Windows I am talking about). I browsed the config files but could not find anything. I also moved the tools.jar file about and put it in my classpath. All to no avail. System: Tomcat 4.03 / 4.04b JSDK 1.4.0 Windows 2000 Professional Since I need the system running for a demo application on the same PC, I need to get it running as a service. Otherwise I wouldn't have bothered and put it on a *nix station. Obviously precompiling everything would do the trick, until I need any Sun specific code, that is. Sorry for the long story. Maarten -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Jakarta Tomcat 3.2.3 Windows NT Service Problem
-Original Message- From: MARSHALL,John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 7:27 PM To: [EMAIL PROTECTED] Subject: Jakarta Tomcat 3.2.3 Windows NT Service Problem wrapper.tomcat_home=c:\jakarta-tomcat-3.2.4 wrapper.java_home=c:\jdk1.3.1 It these are the exact lines then this is your problem - you don't need the and characters. They are in the sample file to show you where to place your paths. Randy -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Jakarta Tomcat 3.2.3 Windows NT Service Problem
Hello I have installed Jakarta-Tomcat-3.2.4 and all works fine with the standard Tomcat startup, and shutdown.BAT files. But, i am having problems starting tomcat as an NT Service. I use:- Microwoft WIndows NT Version 4.0 (Build 1381) Service Pack 6) Jakarta_Tomcat-3.2.3 jk_nt_service.exe (binary download - from 3.2.4 Then using document Working with the Jakarta NT Service 1.cmd prompt: jk_nt_service -R Jakarta wrapper.properties 2.performed a net start Jakarta, and received the following three lines The Jakarta service is starting The Jakarta service could not be started The service did not report an error. I then tried... From Windows NT Control PanelServices 1.(start) Jakarta and received the following message Could not start the Jakarta Service on \\blah Error 2140: An Internal Windows NT Error Occured FYI my wrapper.properties contains:- -- -- # # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $ # $Revision: 1.2.2.1 $ # $Date: 2000/10/16 01:59:22 $ # # # jk_service.properties - a bootstrup file for the Tomcat NT service. # # This file provides jk_nt_service with the needed information to # start tomcat at a different process. # # As a general note, the characters $( and ) are used internally to define # macros. Do not use them!!! # # Whenever you see a set of lines such as: # x=value # y=$(x)\something # # the final value for y will be value\something # # Normaly all you will need to modify is the first two properties, i.e. # wrapper.tomcat_home and wrapper.java_home. Most of the configuration # is derived from these two. # # # wrapper.tomcat_home should point to the location where you # installed tomcat. This is where you have your conf, webapps and lib # directories. # wrapper.tomcat_home=c:\jakarta-tomcat-3.2.4 # # wrapper.java_home should point to your Java installation. Normally # you should have a bin and lib directories beneath it. # wrapper.java_home=c:\jdk1.3.1 # #-- ADVANCED MODE # Make sure that you read the how-to before making too many changes. #- # # # Defining where the service is going to put the standard # output of Tomcat. This is where System.out.println and # System.err.println goes to. # wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr # # Additions to the path. put here directories where you store DLLs for # native methods etc. # wrapper.ld_path=d:\ wrapper.ld_path=c:\ # # Defining the classpath. All the rows that belongs to the class_path # property are concatenated to create the classpath for Tomcat. # # If you have additional locations that you would like to add to the # claspath you should add a new wrapper.class_path=location line. # wrapper.class_path=$(wrapper.tomcat_home)\classes wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar # wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar # # This is where Javac is located in JDK1.2.x # # wrapper.class_path=$(wrapper.java_home)\lib\tools.jar # # and a tribute to JDK1.1.x # # wrapper.class_path=$(wrapper.java_home)\lib\classes.zip # # This is the Java interpreter used for running Tomcat # wrapper.javabin=$(wrapper.java_home)\bin\java.exe # # This is Tomcat's startup class (the class that contains Tomcat's # starting point. # wrapper.startup_class=org.apache.tomcat.startup.Tomcat # # This is the location where tomcat's server.xml configuration file # is located. # wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml # # The NT service uses AJP12/AJP13 to shutdown Tomcat. The # wrapper.shutdown_port tells the service the identity of the port that # is used by AJP12/AJP13. # wrapper.shutdown_port=8007 # # Can either be ajp12 or ajp13 depending on your configuration. # # Default value is ajp12 # wrapper.shutdown_protocol=ajp12 # # This is the command line that is used to start Tomcat. You can *add* extra # parameters to it but you can not remove anything. # wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) -home $(wrapper.tomcat_home) Notice: The information contained in this e-mail message and any attached files may be confidential information, and may also be the subject of legal professional privilege. If you are not the intended recipient any use
What is the minimum/recommended configuration to run Tomcat under Windows NT
Hi We are planning to use 1. OS - NT 2. Apache Web server 3. Tomcat Servlet engine 4. MS SQL server (DB) Can any one suggest me the System requirements for the above system. The production environment will have load of some where around 200 clicks per second. Thanks Mrutyunjay -- You Win! We Donate. Register to win $10,000 and Lycos will donate $1 to the Children's Wish Foundation (up to $20,000 in total). Limit of one registration per person. Go to http://shop.lycos.com/holidays/sweeps/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 3.3, Apache 1.3.22, and Windows NT
Which version of Apache? I think there was one version that wasn't happy with back slashes '\'. You could try forward slashes '/'. Larry -Original Message- From: Adi Naren [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 8:01 PM To: [EMAIL PROTECTED] Subject: Tomcat 3.3, Apache 1.3.22, and Windows NT Hi, After configuring the necessary files in TOMCAT_HOME/conf and TOMCAT_HOME/webapps, I was able to start TOMCAT. Apache also runs fine when working alone. WHen I try to integrate the two on Windows NT, apache does not start and comes with an error, ...unable to find tomcat.conf... of course, there is an Include directive in apache's httpd.conf and started Tomcat ahead of Apache. The include statement is as follows: Include D:\jakarata-tomcat-3.3\conf\jserv\tomcat.conf upon checking the folder, the file exists. Is there anything I am missing? Will appreciate your feedback. Looking forward to hearing from you, rgds, Naren _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 3.3, Apache 1.3.22, and Windows NT
Which version of Apache? I think there was one version that wasn't happy with back slashes '\'. You could try forward slashes '/'. AFAIK, all versions require use of / not \ which is treated as an escape character (as per Unix text specs). Oh, if only everyone would come over to the one true OS - UNIX - all this difficulty would be gone! J. -- You're only jealous cos the little penguins are talking to me. *** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 3.3, Apache 1.3.22, and Windows NT
I think from around Apache 1.3.12, it would tolerate back slashes in file names on Windows systems. I believe it may have been Apache 1.3.14 that had a bug such that drive letter:\rest of path wasn't recognized as being an absolute path and try to use it as a relative path. Still, it is better to use Apache's preference, '/'. Larry -Original Message- From: Justin Rowles [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 9:02 AM To: 'Tomcat Users List' Subject: RE: Tomcat 3.3, Apache 1.3.22, and Windows NT Which version of Apache? I think there was one version that wasn't happy with back slashes '\'. You could try forward slashes '/'. AFAIK, all versions require use of / not \ which is treated as an escape character (as per Unix text specs). Oh, if only everyone would come over to the one true OS - UNIX - all this difficulty would be gone! J. -- You're only jealous cos the little penguins are talking to me. *** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 3.3, Apache 1.3.22, and Windows NT
I think from around Apache 1.3.12, it would tolerate back slashes in file names on Windows systems. I believe it may have been Apache 1.3.14 that had a bug such that drive letter:\rest of path wasn't recognized as being an absolute path and try to use it as a relative path. Still, it is better to use Apache's preference, '/'. I have been caught out on this, even on recent versions, by specifying: d:\address\ in the file (by accident). The last two chars - \ - are then interpreted as an escaped double quote, leading to errors such as: Could not locate file d:/addresstest.jsp This took me a good while to work out! Use /! Justin. -- You're only jealous cos the little penguins are talking to me. *** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 3.3, Apache 1.3.22, and Windows NT
Thanks, folks, I got them working today morning!! ApacheModuleJServ.dll was not there in either %APACHE_HOME%\modules or %TOMCAT_HOME%\modules folder. another reason is: I gave the wrong path of tomcat.conf file One guy was telling me that Tomcat does not work on WINDOWS!! Isn't that ridiculous?? LOL!! Rider for newbies: If apache and tomcat can start on your machines independently: 1) If tomcat does not start after starting tomcat, please check for the presence of the module mentioned above. 2) Please disable appropriate comments in tomcat.conf for loading the above module. (Comment the Unix part and uncomment the Windows part) i.e. LoadModule jserv_module modules/ApacheModuleJServ.dll should be used instead of LoadModule jserv_module libexec/mod_jserv.so later, folks. Naren From: Larry Isaacs [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Tomcat 3.3, Apache 1.3.22, and Windows NT Date: Thu, 13 Dec 2001 07:45:51 -0500 Which version of Apache? I think there was one version that wasn't happy with back slashes '\'. You could try forward slashes '/'. Larry -Original Message- From: Adi Naren [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 8:01 PM To: [EMAIL PROTECTED] Subject: Tomcat 3.3, Apache 1.3.22, and Windows NT Hi, After configuring the necessary files in TOMCAT_HOME/conf and TOMCAT_HOME/webapps, I was able to start TOMCAT. Apache also runs fine when working alone. WHen I try to integrate the two on Windows NT, apache does not start and comes with an error, ...unable to find tomcat.conf... of course, there is an Include directive in apache's httpd.conf and started Tomcat ahead of Apache. The include statement is as follows: Include D:\jakarata-tomcat-3.3\conf\jserv\tomcat.conf upon checking the folder, the file exists. Is there anything I am missing? Will appreciate your feedback. Looking forward to hearing from you, rgds, Naren _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat 3.3, Apache 1.3.22, and Windows NT
Hi, After configuring the necessary files in TOMCAT_HOME/conf and TOMCAT_HOME/webapps, I was able to start TOMCAT. Apache also runs fine when working alone. WHen I try to integrate the two on Windows NT, apache does not start and comes with an error, ...unable to find tomcat.conf... of course, there is an Include directive in apache's httpd.conf and started Tomcat ahead of Apache. The include statement is as follows: Include D:\jakarata-tomcat-3.3\conf\jserv\tomcat.conf upon checking the folder, the file exists. Is there anything I am missing? Will appreciate your feedback. Looking forward to hearing from you, rgds, Naren _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 3.3, Apache 1.3.22, and Windows NT
you must edit workers.properties file - Original Message - From: Adi Naren [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 09:00 Subject: Tomcat 3.3, Apache 1.3.22, and Windows NT Hi, After configuring the necessary files in TOMCAT_HOME/conf and TOMCAT_HOME/webapps, I was able to start TOMCAT. Apache also runs fine when working alone. WHen I try to integrate the two on Windows NT, apache does not start and comes with an error, ...unable to find tomcat.conf... of course, there is an Include directive in apache's httpd.conf and started Tomcat ahead of Apache. The include statement is as follows: Include D:\jakarata-tomcat-3.3\conf\jserv\tomcat.conf upon checking the folder, the file exists. Is there anything I am missing? Will appreciate your feedback. Looking forward to hearing from you, rgds, Naren _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
SSL Standalone Tomcat 4.0 Windows NT - Thawte
I was wondering if anyone has successfully installed a commercial cert into Tomcat 4.0 on Windows using the keytool function? I am following the attached instructions and got to the final step (keytool -import -alias tomcat -trustcacerts..) of importing my test Thawte certificate and I get the following error: keytool error: java.security.cert.CertificateException: Unsupported encoding I was wondering if anyone has experienced this problem? I am having issues with OpenSSL and was hoping to just use the keytool function. Thank you, Madhav Some day's ago [EMAIL PROTECTED] sent the attached mail: -Ursprüngliche Nachricht- Von: Jon Shoberg [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. September 2001 00:41 An: [EMAIL PROTECTED] Betreff: Thawte, SSL, and Tomcat snip/ Does anyone have, literally, blind instructions for setting up a commercial SSL cert? The current docs are pretty good but I am looking for something related to tomcat 3.x.x which covers creation and install of a commercial cert. snip/ --- Begin Message --- Hi, after long time of trying to setup a (demo)certificate from thawte.com or trustcenter.de I finally made it. And because of the numerous questions on this list concerning this topic, I thought it would be a good idea to share my gained wisdom :-) So what follows is a step-by-step instruction on how to install a commercial (*not* self signed or openssl) certificate: 1. generate a local certificate: keytool -genkey -alias tomcat -keyalg RSA -keystore myfile where myfile is the name of the desired keystore-file 2. generate the CSR (you need it to request your (demo)certificate) keytool -certreq -keyalg RSA -alias tomcat -file certreq.pem -keystore myfile now you have a file called certreq.pem. Send this to your trustcenter. 3. most trustcenters do not deliver a so called chained certificate, so you have to install their root-certificate (their website says where to find it) keytool -import -alias root -keystore myfile -trustcacerts -file root-cert-file 4. after your final (demo)certificate has been sent to you, install it like this keytool -import -alias tomcat -keystore myfile -trustcacerts -file received-cert-file For the tomcat-specific part of the installation go to the *real good* tomcat-doc-page: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html I hope it helped somebody... If there are any questions/suggestions/etc... simply hit REPLY (-: greets, pero _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: SSL Standalone Tomcat 4.0 Windows NT - Thawte
Mr.Madhav, Just u do like this. did u ever open the cert? lt shows like a window with some details. right? lt has three tabs on the top a) General b) Details c) Certification Path. u go for Details. There u can see Copy to File button to the bottom. Now u change the cert to .der encoded cert and try to import with keytool. regards Rams -Original Message- From: Madhav Tadikonda [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 2:31 AM To: [EMAIL PROTECTED] Subject: SSL Standalone Tomcat 4.0 Windows NT - Thawte I was wondering if anyone has successfully installed a commercial cert into Tomcat 4.0 on Windows using the keytool function? I am following the attached instructions and got to the final step (keytool -import -alias tomcat -trustcacerts..) of importing my test Thawte certificate and I get the following error: keytool error: java.security.cert.CertificateException: Unsupported encoding I was wondering if anyone has experienced this problem? I am having issues with OpenSSL and was hoping to just use the keytool function. Thank you, Madhav Some day's ago [EMAIL PROTECTED] sent the attached mail: -Ursprüngliche Nachricht- Von: Jon Shoberg [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. September 2001 00:41 An: [EMAIL PROTECTED] Betreff: Thawte, SSL, and Tomcat snip/ Does anyone have, literally, blind instructions for setting up a commercial SSL cert? The current docs are pretty good but I am looking for something related to tomcat 3.x.x which covers creation and install of a commercial cert. snip/ --- Begin Message --- Hi, after long time of trying to setup a (demo)certificate from thawte.com or trustcenter.de I finally made it. And because of the numerous questions on this list concerning this topic, I thought it would be a good idea to share my gained wisdom :-) So what follows is a step-by-step instruction on how to install a commercial (*not* self signed or openssl) certificate: 1. generate a local certificate: keytool -genkey -alias tomcat -keyalg RSA -keystore myfile where myfile is the name of the desired keystore-file 2. generate the CSR (you need it to request your (demo)certificate) keytool -certreq -keyalg RSA -alias tomcat -file certreq.pem -keystore myfile now you have a file called certreq.pem. Send this to your trustcenter. 3. most trustcenters do not deliver a so called chained certificate, so you have to install their root-certificate (their website says where to find it) keytool -import -alias root -keystore myfile -trustcacerts -file root-cert-file 4. after your final (demo)certificate has been sent to you, install it like this keytool -import -alias tomcat -keystore myfile -trustcacerts -file received-cert-file For the tomcat-specific part of the installation go to the *real good* tomcat-doc-page: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html I hope it helped somebody... If there are any questions/suggestions/etc... simply hit REPLY (-: greets, pero _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: Kill Tomcat4 on Windows NT
Sorry for this mail. I've found the way to stop,start,restart Services under NT. I'm a NT-Newbie, sorry. -Ursprüngliche Nachricht- Von: Adnan Zelkanovic [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 22. November 2001 13:28 An: Tomcat User List Betreff: Kill Tomcat4 on Windows NT Hello, I'm running Cocoon2 with Tomcat4 as a NT-Service. My problem is that I'm not able to kill Tomcat4, if something goes wrong with Cocoon2. For example: If I want to delete the file cocoondb.backup I can't because I'm getting an Access denied-Error. So I have to uninstall Tomcat4 and than install it again. Does anybody knows how to solve this problem. It should be possible to kill Tomcat4 everytime, even if it runs an an NT-Service. Mit freundlichen Grüßen Adnan Zelkanovic allgäuNet.Onlinedienste GmbH Nebelhornstraße 8 86807 Buchloe Tel. (08241) 96869-33 Fax (08241) 96869-26 http://www.allgaeu.net e-mail: [EMAIL PROTECTED] ein Unternehmen der abc.Mediengruppe -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Kill Tomcat4 on Windows NT
Hello, I'm running Cocoon2 with Tomcat4 as a NT-Service. My problem is that I'm not able to kill Tomcat4, if something goes wrong with Cocoon2. For example: If I want to delete the file cocoondb.backup I can't because I'm getting an Access denied-Error. So I have to uninstall Tomcat4 and than install it again. Does anybody knows how to solve this problem. It should be possible to kill Tomcat4 everytime, even if it runs an an NT-Service. Mit freundlichen Grüßen Adnan Zelkanovic allgäuNet.Onlinedienste GmbH Nebelhornstraße 8 86807 Buchloe Tel. (08241) 96869-33 Fax (08241) 96869-26 http://www.allgaeu.net e-mail: [EMAIL PROTECTED] ein Unternehmen der abc.Mediengruppe -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Thread pool problem in Tomcat 3.3 in Windows NT 4.0
I am not that familiar with the Tomcat 4.0 architecture yet. However, I believe Tomcat 4.x uses different code for handling HTTP connections, so I would assume it does not have this same bug. Larry -Original Message- From: Raymond Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 10:36 PM To: Tomcat Users List Subject: RE: Thread pool problem in Tomcat 3.3 in Windows NT 4.0 Hi Larry, Thanks for your help. Does the same bug exist in Tomcat 4.0.1? Cheers, Raymond -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 10:29 PM To: 'Tomcat Users List' Subject: RE: Thread pool problem in Tomcat 3.3 in Windows NT 4.0 There is a bug in ThreadPool that causes it to overwrite the settings installed by the Ajp13Connector. This is fixed in the nightly version of Tomcat 3.3.1 which can be found at: http://jakarta.apache.org/builds/jakarta-tomcat/nightly-3.3/ Cheers, Larry -Original Message- From: Raymond Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 2:43 AM To: [EMAIL PROTECTED] Subject: Thread pool problem in Tomcat 3.3 in Windows NT 4.0 Hi, I have used Tomcat 3.3 with Apache 1.3.12 as my development servlet engine and I have a query about thread pool of Ajp13Connector in Tomcat 3.3. I define the following setting in server.xml and I expect there should be at least 100 threads created in startup of tomcat 3.3. Ajp13Connector address=127.0.0.1 port=8009 maxThreads=500 maxSpareThreads=200 minSpareThreads=100 pools=true/ However, I found there are only 25 threads instead of 100 threads created in the java virtual machine used by Tomcat 3.3. I browsed so many documents about Tomcat 3.3 and even many forums but I was unable to find any relevent information about this problem. In Tomcat 3.2, the way to define thread pool is different from that of Tomcat 3.3. Is the following setting valid in Tomcat 3.3? Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ Parameter name=port value=8007/ Parameter name=max_threads value=150/ Parameter name=max_spare_threads value=100/ Parameter name=min_spare_threads value=50/ /Connector This setting can make the java virtual machine to create at least 50 threads. (I confirmed this with Task Manager) Does anyone know how to fix this? Thanks, Raymond Lee -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Thread pool problem in Tomcat 3.3 in Windows NT 4.0
There is a bug in ThreadPool that causes it to overwrite the settings installed by the Ajp13Connector. This is fixed in the nightly version of Tomcat 3.3.1 which can be found at: http://jakarta.apache.org/builds/jakarta-tomcat/nightly-3.3/ Cheers, Larry -Original Message- From: Raymond Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 2:43 AM To: [EMAIL PROTECTED] Subject: Thread pool problem in Tomcat 3.3 in Windows NT 4.0 Hi, I have used Tomcat 3.3 with Apache 1.3.12 as my development servlet engine and I have a query about thread pool of Ajp13Connector in Tomcat 3.3. I define the following setting in server.xml and I expect there should be at least 100 threads created in startup of tomcat 3.3. Ajp13Connector address=127.0.0.1 port=8009 maxThreads=500 maxSpareThreads=200 minSpareThreads=100 pools=true/ However, I found there are only 25 threads instead of 100 threads created in the java virtual machine used by Tomcat 3.3. I browsed so many documents about Tomcat 3.3 and even many forums but I was unable to find any relevent information about this problem. In Tomcat 3.2, the way to define thread pool is different from that of Tomcat 3.3. Is the following setting valid in Tomcat 3.3? Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ Parameter name=port value=8007/ Parameter name=max_threads value=150/ Parameter name=max_spare_threads value=100/ Parameter name=min_spare_threads value=50/ /Connector This setting can make the java virtual machine to create at least 50 threads. (I confirmed this with Task Manager) Does anyone know how to fix this? Thanks, Raymond Lee -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Thread pool problem in Tomcat 3.3 in Windows NT 4.0
Hi Larry, Thanks for your help. Does the same bug exist in Tomcat 4.0.1? Cheers, Raymond -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 10:29 PM To: 'Tomcat Users List' Subject: RE: Thread pool problem in Tomcat 3.3 in Windows NT 4.0 There is a bug in ThreadPool that causes it to overwrite the settings installed by the Ajp13Connector. This is fixed in the nightly version of Tomcat 3.3.1 which can be found at: http://jakarta.apache.org/builds/jakarta-tomcat/nightly-3.3/ Cheers, Larry -Original Message- From: Raymond Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 2:43 AM To: [EMAIL PROTECTED] Subject: Thread pool problem in Tomcat 3.3 in Windows NT 4.0 Hi, I have used Tomcat 3.3 with Apache 1.3.12 as my development servlet engine and I have a query about thread pool of Ajp13Connector in Tomcat 3.3. I define the following setting in server.xml and I expect there should be at least 100 threads created in startup of tomcat 3.3. Ajp13Connector address=127.0.0.1 port=8009 maxThreads=500 maxSpareThreads=200 minSpareThreads=100 pools=true/ However, I found there are only 25 threads instead of 100 threads created in the java virtual machine used by Tomcat 3.3. I browsed so many documents about Tomcat 3.3 and even many forums but I was unable to find any relevent information about this problem. In Tomcat 3.2, the way to define thread pool is different from that of Tomcat 3.3. Is the following setting valid in Tomcat 3.3? Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ Parameter name=port value=8007/ Parameter name=max_threads value=150/ Parameter name=max_spare_threads value=100/ Parameter name=min_spare_threads value=50/ /Connector This setting can make the java virtual machine to create at least 50 threads. (I confirmed this with Task Manager) Does anyone know how to fix this? Thanks, Raymond Lee -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Jikes Tomcat 4.0.1 on Windows NT
I wonder if anybody out there can help I am trying to get Jikes to compile my JSP pages but all to no avail. I have set up the catalina.bat web.xml files as detailed in the release notes (details listed below) but it still does not work (error thrown listed below). Suspect it may be a classpath prob but am running out of ideas fast! The conventional set up using JAVAC works fine. Anybody got any thoughts on how to make it all work? Thanks in advance, Gordon Operating system: Windows NT Tomcat Version: 4.0.1 Jikes Version: 1.15 catalina.bat entry: set CP=%JAVA_HOME%\jre\lib\rt.jar;%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar web.xml entry: servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namelogVerbosityLevel/param-name param-valueWARNING/param-value /init-param init-param param-namejspCompilerPath/param-name param-valuec:\jdk1.3\addins\jikes-1.15\bin\jikes.exe/param-value /init-param init-param param-namejspCompilerPlugin/param-name param-valueorg.apache.jasper.compiler.JikesJavaCompiler/param-value /init-param load-on-startup3/load-on-startup /servlet Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP C:/Program Files/Apache Tomcat 4.0/work/localhost/development/index$jsp.java:0:0:0:0: Error: Could not find package java/util in: C:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\classes C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\lib\crimson.jar C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\lib\jaxp.jar C:\Program Files\Apache Tomcat 4.0\classes C:\Program Files\Apache Tomcat 4.0\lib\jasper-compiler.jar C:\Program Files\Apache Tomcat 4.0\lib\jasper-runtime.jar C:\Program Files\Apache Tomcat 4.0\lib\naming-factory.jar C:\Program Files\Apache Tomcat 4.0\common\classes C:\Program Files\Apache Tomcat 4.0\common\lib\activation.jar C:\Program Files\Apache Tomcat 4.0\common\lib\colt.jar C:\Program Files\Apache Tomcat 4.0\common\lib\jdbc2_0-stdext.jar C:\Program Files\Apache Tomcat 4.0\common\lib\jta.jar C:\Program Files\Apache Tomcat 4.0\common\lib\mail.jar C:\Program Files\Apache Tomcat 4.0\common\lib\mm.mysql-2.0.7-bin.jar C:\Program Files\Apache Tomcat 4.0\common\lib\naming-common.jar C:\Program Files\Apache Tomcat 4.0\common\lib\naming-resources.jar C:\Program Files\Apache Tomcat 4.0\common\lib\servlet.jar C:\Program Files\Apache Tomcat 4.0\common\lib\tools.jar C:\Program Files\Apache Tomcat 4.0\common\lib\tyrex-0.9.7.0.jar C:\Program Files\Apache Tomcat 4.0\common\lib\xerces.jar . C:/Program Files/Apache Tomcat 4.0/work/localhost/development/index$jsp.java:0:0:0:0: Error: Could not find package java/lang in: C:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\classes C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\lib\crimson.jar C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\lib\jaxp.jar C:\Program Files\Apache Tomcat 4.0\classes C:\Program Files\Apache Tomcat 4.0\lib\jasper-compiler.jar C:\Program Files\Apache Tomcat 4.0\lib\jasper-runtime.jar C:\Program Files\Apache Tomcat 4.0\lib\naming-factory.jar C:\Program Files\Apache Tomcat 4.0\common\classes C:\Program Files\Apache Tomcat 4.0\common\lib\activation.jar C:\Program Files\Apache Tomcat 4.0\common\lib\colt.jar C:\Program Files\Apache Tomcat 4.0\common\lib\jdbc2_0-stdext.jar C:\Program Files\Apache Tomcat 4.0\common\lib\jta.jar C:\Program Files\Apache Tomcat 4.0\common\lib\mail.jar C:\Program Files\Apache Tomcat 4.0\common\lib\mm.mysql-2.0.7-bin.jar C:\Program Files\Apache Tomcat 4.0\common\lib\naming-common.jar C:\Program Files\Apache Tomcat 4.0\common\lib\naming-resources.jar C:\Program Files\Apache Tomcat 4.0\common\lib\servlet.jar C:\Program Files\Apache Tomcat 4.0
Thread pool problem in Tomcat 3.3 in Windows NT 4.0
Hi, I have used Tomcat 3.3 with Apache 1.3.12 as my development servlet engine and I have a query about thread pool of Ajp13Connector in Tomcat 3.3. I define the following setting in server.xml and I expect there should be at least 100 threads created in startup of tomcat 3.3. Ajp13Connector address=127.0.0.1 port=8009 maxThreads=500 maxSpareThreads=200 minSpareThreads=100 pools=true/ However, I found there are only 25 threads instead of 100 threads created in the java virtual machine used by Tomcat 3.3. I browsed so many documents about Tomcat 3.3 and even many forums but I was unable to find any relevent information about this problem. In Tomcat 3.2, the way to define thread pool is different from that of Tomcat 3.3. Is the following setting valid in Tomcat 3.3? Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ Parameter name=port value=8007/ Parameter name=max_threads value=150/ Parameter name=max_spare_threads value=100/ Parameter name=min_spare_threads value=50/ /Connector This setting can make the java virtual machine to create at least 50 threads. (I confirmed this with Task Manager) Does anyone know how to fix this? Thanks, Raymond Lee
Windows/NT + ZoneAlarm + Apache Jakarta Tomcat - start/stop - 2nd time - failure
Hi All, I've identified the following problem when starting and stopping the Apache Jakarta Tomcat Application in stand-alone mode, under control of the Software Firewall ZoneAlarm on Windows/NT and just wanted to let you know about my findings. This bug(?) has been reported to the Apache Bugzilla Database, the Java Developer Connection's Bug Database, and to ZoneLabs. Maybe it is the root of several of the problems being reported by others for Tomcat. Don't panic - yes, it is an awful lot of text, hmm, but ... ;-) Rolf Start of Bug Report: Windows/NT + ZoneAlarm + Apache Jakarta Tomcat - start/stop - 2nd time =java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120) at java.net.Socket.init(Socket.java:273) at java.net.Socket.init(Socket.java:100) at org.apache.tomcat.task.StopTomcat.execute(StopTomcat.java:104) at org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:267) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:174) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) This exception is thrown, under the conditions described below, when trying to stop the Jakarta Tomcat Servlet Container, when running in standalone mode on Windows/NT 4.0 (build 1381, sp3) with ZoneAlarm 2.6 (build 2.6.231) Software Firewall installed. Conditions: *). (without quotes, at DOS command level in a Command Prompt window) 1). Install or make sure Java SDK v3.1 from Sun is installed. 2). Install or make sure ZoneAlarm Firewall Software is installed. 3). Make sure ZoneAlarm gives all right to JVM, under 'Programs' tab. i.e. java.exe [Local:Allow connect {true}, Allow Server {true}] [Internet: Allow connect {true}, Allow Server {true}] 4). Make a default vanilla installation of Jakarta Tomcat v3.2.3, by default running ajpv12 connection handler on port 8007, and http connection handler on port 8080 (see logs). 5). Edit the 'Tomcat.bat' file in 'TOMCAT_HOME\bin' (let's not use the 'startup' and 'shutdown' scripts, as they only forward their resposibilities to the 'tomcat.bat' script anyway). After the header rows append: rem --- Explicitly Define Environment Variables --- set CLASSPATH= set JAVA_HOME=yourPathToJavaVirtualMachineGoesHere set TOMCAT_HOME=yourPathToTomcatHomeGoesHere ... to clear the default system classpath, and specifying the directory of where you have installed your Java Virtual Machine and Tomcat. Optionally, after the header rows append: rem define all variables local to script only setlocal Optionally, after row ':finish' at the end of the file append: rem end of locally defined variables endlocal Done. 6). Reboot (to ensure all ports and connections are closed, etc) 7). Change directory to TOMCAT_HOME, i.e. Tomcat install directory. 8). Look at status of ports by entering(*): 'netstat -an | find :80' This will show an empty line as result (at least after a reboot, and unless another process opens anything on a port 80### ) 9). Start Tomcat by entering(*): 'bin\tomcat start' This will start up the Tomcat Server in another Command Window. 10) Now look at status of ports by entering: 'netstat -an | find :80' = TCP 0.0.0.0:80070.0.0.0:0 LISTENING TCP 0.0.0.0:80800.0.0.0:0 LISTENING # ok - Tomcat started and ready! - see log files. 11) Now, without even attempting to make any http access to Tomcat, shut it down by entering(*): 'bin\tomcat stop' This will stop the Tomcat Server and closing the Tomcat Window and everyting seems to be okey. - Doesn't it? But. 12) Once again check the status of the ports, which will show something like this: = TCP 0.0.0.0:80070.0.0.0:0 LISTENING TCP 127.0.0.1:1030 127.0.0.1:8007 TIME_WAIT # Does this look okey? - No I don't think so. The connection # handler seems still be listening for connections. Doesn't it? 13) If we re-check the status of the ports after a while, i.e. after about 5 minutes, the TIME_WAIT tagged line will have gone away: = TCP 0.0.0.0:8007
Windows NT UNC File Referencing
I am in the process of setting up a new web farm environment. All of the web servers will be running the same code. To simplify management of that code, I would like to place the code in a common location and then use Windows UNC file referencing to point the servlet engine at the code. Allaire's servlet engine does not have the capability of handling this, however they plan to add it in then next major release. Has anyone tested this kind of configuration in Tomcat? Was it successful? Was testing done on how Tomcat reacted if the networked server holding the content was unavailable and they became available again? Any and all information on this subject is appreciated. - Ben
authentifikation at tomcat/apache through a Windows NT domain
is it possible to authentificate with a Windows NT user at a website that is run under tomcat/apache? username and password should be trusted with the NT domain controller. could this be handled with apache or tomcat? and how could I do this? thanks for helping walter
Re: authentifikation at tomcat/apache through a Windows NT domain
Hi, I think it can be achieved with the NTLoginModule for JAAS. See : http://java.sun.com/products/jaas/ But you will have to write you own realm. Maybe one could write a general-purpose JAAS realm for Tomcat ? Regards, Francis Pallini At 09:25 AM 7/9/01 +0100, you wrote: is it possible to authentificate with a Windows NT user at a website that is run under tomcat/apache? username and password should be trusted with the NT domain controller. could this be handled with apache or tomcat? and how could I do this? thanks for helping walter
Re: authentifikation at tomcat/apache through a Windows NT
I just use mod_ntlm and let apache handle it. http://members.ozemail.com.au/~timcostello/mod_ntlm/ v 1.2 has been rock solid. There's another one (that I haven't used) at sourceforge: http://modntlm.sourceforge.net/ Date: Mon, 9 Jul 2001 09:25:16 +0100 To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: authentifikation at tomcat/apache through a Windows NT domain Message-ID: [EMAIL PROTECTED] is it possible to authentificate with a Windows NT user at a website that is run under tomcat/apache? username and password should be trusted with the NT domain controller. could this be handled with apache or tomcat? and how could I do this?
Re: Windows NT service failed to start
Hello Jeff, Wednesday, June 20, 2001, 10:09:12 PM, you wrote: JD Hi, JD I am using Tomcat for a while and i finally found the way for working with the Jakarta NT Service. But there is a error and i search but... i think an expert could understand why!!! JD Here are the step i followed:(I am working with Win NT) JD 1) I downloaded the jk_nt_service.exe JD 2) I changed the wrapper.properties file: JDwrapper.tomcat_home=G:\Java\JSP\jakarta-tomcat-3.2.2 JDwrapper.java_home=D:\JBuilder4 You should write: wrapper.java_home=D:\JBuilder4\jdk1.3 it seems so JD 3) jk_nt_service -i Jakarta wrapper.properties JD(That was made in the conf directory where the jk_nt_service.exe and the wrapper.properties files were located. JD 4) JD G:\Java\JSP\jakarta-tomcat-3.2.2\confnet start Jakarta JD The Jakarta service is starting. JD The Jakarta service could not be started. JD The service did not report an error. JD More help is available by typing NET HELPMSG 3534. JD G:\Java\JSP\jakarta-tomcat-3.2.2\confNET HELPMSG 3534 JD The service did not report an error. JD EXPLANATION JD The service did not report an error. JD ACTION JD Try the task later. If the problem persists, contact your network JD administrator. JD And the same error (about the same) appear when i start Jakarta in the service window manually. JD I need some explanation please. JD I am able to start tomcat whithin the bin directory manually with the startup command but i would like to have it as a service.. JD Thank you for your help. JD Jeff JD Find the best deals on the web at AltaVista Shopping! JD http://www.shopping.altavista.com -- Best regards, Andrew
100% CPU Usage by upload from Netscape under Windows NT
Hi, when the user uploads files from Windows-NT-4.0 with Netscape-4.75 the CPU usage is 100%. Even when netscape is waiting for the response from the server it still has 100% CPU usage. What is the reason and can it be fixed? With IE we don't have this problem. Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Tel: +49-711-7221873 Fax: +49-711-7221835
RE: 100% CPU Usage by upload from Netscape under Windows NT
Well, from your description, it sounds like it's a Netscape issue, not a Tomcat issue. Which process is taking the CPU? (Look at the process list in the Windows Task Manager.) If it's actually Tomcat sucking CPU, activate the window Tomcat is running in, and hit Ctrl+Break: that will give you a list of what's currently running. (Ignore any threads stuck in Object.wait(), obviously,...) If it's Netscape, try rummaging around their web site--maybe http://help.netscape.com/ ,... -- Bill K. -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 12:10 AM To: [EMAIL PROTECTED] Subject: 100% CPU Usage by upload from Netscape under Windows NT Hi, when the user uploads files from Windows-NT-4.0 with Netscape-4.75 the CPU usage is 100%. Even when netscape is waiting for the response from the server it still has 100% CPU usage. What is the reason and can it be fixed? With IE we don't have this problem. Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Tel: +49-711-7221873 Fax: +49-711-7221835
AW: 100% CPU Usage by upload from Netscape under Windows NT
Assign the netscape.exe-process in nt task manager the lowest priority. The netscape engine seems to affect tomcat when running on the same machine. Very ugly. Stefan -Ursprüngliche Nachricht- Von: William Kaufman [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 16:00 An: '[EMAIL PROTECTED]' Betreff: RE: 100% CPU Usage by upload from Netscape under Windows NT Well, from your description, it sounds like it's a Netscape issue, not a Tomcat issue. Which process is taking the CPU? (Look at the process list in the Windows Task Manager.) If it's actually Tomcat sucking CPU, activate the window Tomcat is running in, and hit Ctrl+Break: that will give you a list of what's currently running. (Ignore any threads stuck in Object.wait(), obviously,...) If it's Netscape, try rummaging around their web site--maybe http://help.netscape.com/ ,... -- Bill K. -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 12:10 AM To: [EMAIL PROTECTED] Subject: 100% CPU Usage by upload from Netscape under Windows NT Hi, when the user uploads files from Windows-NT-4.0 with Netscape-4.75 the CPU usage is 100%. Even when netscape is waiting for the response from the server it still has 100% CPU usage. What is the reason and can it be fixed? With IE we don't have this problem. Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Tel: +49-711-7221873 Fax: +49-711-7221835
RE: 100% CPU Usage by upload from Netscape under Windows NT
Just one more comment on this. I have experienced a similar situation on Linux running Tomcat 3.2.1 and Netscape 6.0. (It doesn't matter whether Netscape 6.0 is local or remote) In coding a page with 1 pixel gifs which are resized to form lines and boxes (memory saving trick) Everything is fine on the first load of the page, however, if you refresh the page Netscape 6.0 will continue to request the graphics indefinitely causing very high cpu drain. It does not occur when the graphics are sized normally. I believe this to be one of many bugs in Netscape 6.0 but this one, unfortunately, effects the server. This does not occur with earlier versions of Netscape. Regards, Craig -Original Message- From: Stefan Seifert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 8:10 AM To: [EMAIL PROTECTED] Subject: AW: 100% CPU Usage by upload from Netscape under Windows NT Assign the netscape.exe-process in nt task manager the lowest priority. The netscape engine seems to affect tomcat when running on the same machine. Very ugly. Stefan -Ursprüngliche Nachricht- Von: William Kaufman [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 16:00 An: '[EMAIL PROTECTED]' Betreff: RE: 100% CPU Usage by upload from Netscape under Windows NT Well, from your description, it sounds like it's a Netscape issue, not a Tomcat issue. Which process is taking the CPU? (Look at the process list in the Windows Task Manager.) If it's actually Tomcat sucking CPU, activate the window Tomcat is running in, and hit Ctrl+Break: that will give you a list of what's currently running. (Ignore any threads stuck in Object.wait(), obviously,...) If it's Netscape, try rummaging around their web site--maybe http://help.netscape.com/ ,... -- Bill K. -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 12:10 AM To: [EMAIL PROTECTED] Subject: 100% CPU Usage by upload from Netscape under Windows NT Hi, when the user uploads files from Windows-NT-4.0 with Netscape-4.75 the CPU usage is 100%. Even when netscape is waiting for the response from the server it still has 100% CPU usage. What is the reason and can it be fixed? With IE we don't have this problem. Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Tel: +49-711-7221873 Fax: +49-711-7221835
Windows NT service failed to start
Hi, I am using Tomcat for a while and i finally found the way for working with the Jakarta NT Service. But there is a error and i search but... i think an expert could understand why!!! Here are the step i followed:(I am working with Win NT) 1) I downloaded the jk_nt_service.exe 2) I changed the wrapper.properties file: wrapper.tomcat_home=G:\Java\JSP\jakarta-tomcat-3.2.2 wrapper.java_home=D:\JBuilder4 3) jk_nt_service -i Jakarta wrapper.properties (That was made in the conf directory where the jk_nt_service.exe and the wrapper.properties files were located. 4) G:\Java\JSP\jakarta-tomcat-3.2.2\confnet start Jakarta The Jakarta service is starting. The Jakarta service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. G:\Java\JSP\jakarta-tomcat-3.2.2\confNET HELPMSG 3534 The service did not report an error. EXPLANATION The service did not report an error. ACTION Try the task later. If the problem persists, contact your network administrator. And the same error (about the same) appear when i start Jakarta in the service window manually. I need some explanation please. I am able to start tomcat whithin the bin directory manually with the startup command but i would like to have it as a service.. Thank you for your help. Jeff Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com
RE: Tomcat Windows NT IIS
Make sure you've added the alias to IIS also. (depending on your OS and IIS version) this is usually accomplished with a right-click on your web root like .../examples/, select sharing, then web-sharing, and give the alias the same name that is in your uri-workers.properties mapping. That should do it. -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 5:16 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat Windows NT IIS Anne The error I get when trying to run JSP examples is : File not found The log file shows error 500. The example servlets are working fine. Any thoughts ? Many thanks Hamant -Original Message- From: Anne Dirkse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 24 April 2001 10:14 To: [EMAIL PROTECTED] Subject: Re: Tomcat Windows NT IIS Hamant -- What errors are you encountering when trying to get a jsp example to run? Anne test test wrote: Hello all Some progress has been made - I now get the example servlets working but not the JSP examples. Have been through the instructions several times and the troubleshooting section. Still stuck, does anyone have any suggestions ? Many thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 14:28 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows NT IIS Good, So you have tomcat running and can view the JSP and Servlet examples using port 8080. (localhost:8080/) Do not add any contexts yet. First you want to get the isapi_redirect.dll installed so that you can call the examples directly without referencing the port. If you haven't downloaded this yet get the binary from the apache site. There are several steps to follow in the IIS how to instructions. Again follow them explicitly. You will need to register the isapi _redirect.dll with IIs, modify your registry (be very careful!!), create a directory to place the isapi redirect into, and modify your workers properties file. (tomcat/conf/workersproperties) I am doing this by memory so follow your instructions carefully. Most people make their errors in the registry settings. Again it is so much easier if you print out the instructions. If you want to test some jsps or servlets that you have already made before you have the isapi working, place the jsps into the ROOT directory and call them with (localhost:8080/yourjspname.jsp). Servlets must be placed in the WEB_INF/classes directory and are referenced by (localhost:8080/servlet/yourservletname_noextention). Spend a little time getting familiar with the directories. All of your web apps go under the webapps/ROOT directory. You will know if isapi is working when you can drop the port reference and still get them. Sounds like you are getting there. Go one small step at a time, test your results, then proceed. By the time you install tomcat for the 3rd or 4th time it will only take 30 minutes. Print out all of the conf files. All your tomcat configuration is done through modifying them. They are well documented with comments. Tomcat adheres strictly to the Sun jsp/servlet APIs so those documents are worth getting familiar with as well. Good luck, Craig It's late here, I'm out for the night. -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 8:35 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat Windows NT IIS Craig Thank you for your advice. I have been through the instructions on IIS (tomcat-iis-howto.html). However, I still cannot get the examples to work under IIS (they work fine with Tomcat), I have been through the trouble shooting section with no luck. I have not added any contexts as I can't get the examples to work. Not sure what to do now, please help ! Thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 11:37 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows 2000 More information is needed if anyone is to help you. The documentation in the tomcat download is very good. Tomcat works well with Windows 2000 and IIS and many other operating systems. Tomcat is 100% java. If you haven't found the documentation it is in the doc directory. Print it out and follow it explicitly. (print out the documentation, use a pencil to mark your steps.) If you have problems relay the steps you have taken and what error messages you are getting. The more detail the better. Regards, Craig -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 5:00 PM To: '[EMAIL PROTECTED]' Subject: FW: Tomcat Windows 2000 -Original Message- From: test test Sent: Thursday, 19 April 2001 15:45 To: '[EMAIL PROTECTED]' Subject: Tomcat Windows 2000 hello Can anybody please tell me how I can get Tomcat to work
RE: Tomcat Windows NT IIS
Hello all Some progress has been made - I now get the example servlets working but not the JSP examples. Have been through the instructions several times and the troubleshooting section. Still stuck, does anyone have any suggestions ? Many thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 14:28 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows NT IIS Good, So you have tomcat running and can view the JSP and Servlet examples using port 8080. (localhost:8080/) Do not add any contexts yet. First you want to get the isapi_redirect.dll installed so that you can call the examples directly without referencing the port. If you haven't downloaded this yet get the binary from the apache site. There are several steps to follow in the IIS how to instructions. Again follow them explicitly. You will need to register the isapi _redirect.dll with IIs, modify your registry (be very careful!!), create a directory to place the isapi redirect into, and modify your workers properties file. (tomcat/conf/workersproperties) I am doing this by memory so follow your instructions carefully. Most people make their errors in the registry settings. Again it is so much easier if you print out the instructions. If you want to test some jsps or servlets that you have already made before you have the isapi working, place the jsps into the ROOT directory and call them with (localhost:8080/yourjspname.jsp). Servlets must be placed in the WEB_INF/classes directory and are referenced by (localhost:8080/servlet/yourservletname_noextention). Spend a little time getting familiar with the directories. All of your web apps go under the webapps/ROOT directory. You will know if isapi is working when you can drop the port reference and still get them. Sounds like you are getting there. Go one small step at a time, test your results, then proceed. By the time you install tomcat for the 3rd or 4th time it will only take 30 minutes. Print out all of the conf files. All your tomcat configuration is done through modifying them. They are well documented with comments. Tomcat adheres strictly to the Sun jsp/servlet APIs so those documents are worth getting familiar with as well. Good luck, Craig It's late here, I'm out for the night. -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 8:35 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat Windows NT IIS Craig Thank you for your advice. I have been through the instructions on IIS (tomcat-iis-howto.html). However, I still cannot get the examples to work under IIS (they work fine with Tomcat), I have been through the trouble shooting section with no luck. I have not added any contexts as I can't get the examples to work. Not sure what to do now, please help ! Thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 11:37 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows 2000 More information is needed if anyone is to help you. The documentation in the tomcat download is very good. Tomcat works well with Windows 2000 and IIS and many other operating systems. Tomcat is 100% java. If you haven't found the documentation it is in the doc directory. Print it out and follow it explicitly. (print out the documentation, use a pencil to mark your steps.) If you have problems relay the steps you have taken and what error messages you are getting. The more detail the better. Regards, Craig -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 5:00 PM To: '[EMAIL PROTECTED]' Subject: FW: Tomcat Windows 2000 -Original Message- From: test test Sent: Thursday, 19 April 2001 15:45 To: '[EMAIL PROTECTED]' Subject: Tomcat Windows 2000 hello Can anybody please tell me how I can get Tomcat to work with Windows 2000 (using IIS web server). I have searched the user archives - similar questions have been raised but I can't see the answers. Please help Many thanks Hamant
Re: Tomcat Windows NT IIS
Hamant -- What errors are you encountering when trying to get a jsp example to run? Anne test test wrote: Hello all Some progress has been made - I now get the example servlets working but not the JSP examples. Have been through the instructions several times and the troubleshooting section. Still stuck, does anyone have any suggestions ? Many thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 14:28 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows NT IIS Good, So you have tomcat running and can view the JSP and Servlet examples using port 8080. (localhost:8080/) Do not add any contexts yet. First you want to get the isapi_redirect.dll installed so that you can call the examples directly without referencing the port. If you haven't downloaded this yet get the binary from the apache site. There are several steps to follow in the IIS how to instructions. Again follow them explicitly. You will need to register the isapi _redirect.dll with IIs, modify your registry (be very careful!!), create a directory to place the isapi redirect into, and modify your workers properties file. (tomcat/conf/workersproperties) I am doing this by memory so follow your instructions carefully. Most people make their errors in the registry settings. Again it is so much easier if you print out the instructions. If you want to test some jsps or servlets that you have already made before you have the isapi working, place the jsps into the ROOT directory and call them with (localhost:8080/yourjspname.jsp). Servlets must be placed in the WEB_INF/classes directory and are referenced by (localhost:8080/servlet/yourservletname_noextention). Spend a little time getting familiar with the directories. All of your web apps go under the webapps/ROOT directory. You will know if isapi is working when you can drop the port reference and still get them. Sounds like you are getting there. Go one small step at a time, test your results, then proceed. By the time you install tomcat for the 3rd or 4th time it will only take 30 minutes. Print out all of the conf files. All your tomcat configuration is done through modifying them. They are well documented with comments. Tomcat adheres strictly to the Sun jsp/servlet APIs so those documents are worth getting familiar with as well. Good luck, Craig It's late here, I'm out for the night. -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 8:35 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat Windows NT IIS Craig Thank you for your advice. I have been through the instructions on IIS (tomcat-iis-howto.html). However, I still cannot get the examples to work under IIS (they work fine with Tomcat), I have been through the trouble shooting section with no luck. I have not added any contexts as I can't get the examples to work. Not sure what to do now, please help ! Thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 11:37 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows 2000 More information is needed if anyone is to help you. The documentation in the tomcat download is very good. Tomcat works well with Windows 2000 and IIS and many other operating systems. Tomcat is 100% java. If you haven't found the documentation it is in the doc directory. Print it out and follow it explicitly. (print out the documentation, use a pencil to mark your steps.) If you have problems relay the steps you have taken and what error messages you are getting. The more detail the better. Regards, Craig -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 5:00 PM To: '[EMAIL PROTECTED]' Subject: FW: Tomcat Windows 2000 -Original Message- From: test test Sent: Thursday, 19 April 2001 15:45 To: '[EMAIL PROTECTED]' Subject: Tomcat Windows 2000 hello Can anybody please tell me how I can get Tomcat to work with Windows 2000 (using IIS web server). I have searched the user archives - similar questions have been raised but I can't see the answers. Please help Many thanks Hamant
RE: Tomcat Windows NT IIS
Anne The error I get when trying to run JSP examples is : File not found The log file shows error 500. The example servlets are working fine. Any thoughts ? Many thanks Hamant -Original Message- From: Anne Dirkse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 24 April 2001 10:14 To: [EMAIL PROTECTED] Subject: Re: Tomcat Windows NT IIS Hamant -- What errors are you encountering when trying to get a jsp example to run? Anne test test wrote: Hello all Some progress has been made - I now get the example servlets working but not the JSP examples. Have been through the instructions several times and the troubleshooting section. Still stuck, does anyone have any suggestions ? Many thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 14:28 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows NT IIS Good, So you have tomcat running and can view the JSP and Servlet examples using port 8080. (localhost:8080/) Do not add any contexts yet. First you want to get the isapi_redirect.dll installed so that you can call the examples directly without referencing the port. If you haven't downloaded this yet get the binary from the apache site. There are several steps to follow in the IIS how to instructions. Again follow them explicitly. You will need to register the isapi _redirect.dll with IIs, modify your registry (be very careful!!), create a directory to place the isapi redirect into, and modify your workers properties file. (tomcat/conf/workersproperties) I am doing this by memory so follow your instructions carefully. Most people make their errors in the registry settings. Again it is so much easier if you print out the instructions. If you want to test some jsps or servlets that you have already made before you have the isapi working, place the jsps into the ROOT directory and call them with (localhost:8080/yourjspname.jsp). Servlets must be placed in the WEB_INF/classes directory and are referenced by (localhost:8080/servlet/yourservletname_noextention). Spend a little time getting familiar with the directories. All of your web apps go under the webapps/ROOT directory. You will know if isapi is working when you can drop the port reference and still get them. Sounds like you are getting there. Go one small step at a time, test your results, then proceed. By the time you install tomcat for the 3rd or 4th time it will only take 30 minutes. Print out all of the conf files. All your tomcat configuration is done through modifying them. They are well documented with comments. Tomcat adheres strictly to the Sun jsp/servlet APIs so those documents are worth getting familiar with as well. Good luck, Craig It's late here, I'm out for the night. -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 8:35 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat Windows NT IIS Craig Thank you for your advice. I have been through the instructions on IIS (tomcat-iis-howto.html). However, I still cannot get the examples to work under IIS (they work fine with Tomcat), I have been through the trouble shooting section with no luck. I have not added any contexts as I can't get the examples to work. Not sure what to do now, please help ! Thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 11:37 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows 2000 More information is needed if anyone is to help you. The documentation in the tomcat download is very good. Tomcat works well with Windows 2000 and IIS and many other operating systems. Tomcat is 100% java. If you haven't found the documentation it is in the doc directory. Print it out and follow it explicitly. (print out the documentation, use a pencil to mark your steps.) If you have problems relay the steps you have taken and what error messages you are getting. The more detail the better. Regards, Craig -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 5:00 PM To: '[EMAIL PROTECTED]' Subject: FW: Tomcat Windows 2000 -Original Message- From: test test Sent: Thursday, 19 April 2001 15:45 To: '[EMAIL PROTECTED]' Subject: Tomcat Windows 2000 hello Can anybody please tell me how I can get Tomcat to work with Windows 2000 (using IIS web server). I have searched the user archives - similar questions have been raised but I can't see the answers. Please help Many thanks Hamant
RE: Tomcat Windows NT IIS
Craig Thank you for your advice. I have been through the instructions on IIS (tomcat-iis-howto.html). However, I still cannot get the examples to work under IIS (they work fine with Tomcat), I have been through the trouble shooting section with no luck. I have not added any contexts as I can't get the examples to work. Not sure what to do now, please help ! Thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 11:37 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows 2000 More information is needed if anyone is to help you. The documentation in the tomcat download is very good. Tomcat works well with Windows 2000 and IIS and many other operating systems. Tomcat is 100% java. If you haven't found the documentation it is in the doc directory. Print it out and follow it explicitly. (print out the documentation, use a pencil to mark your steps.) If you have problems relay the steps you have taken and what error messages you are getting. The more detail the better. Regards, Craig -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 5:00 PM To: '[EMAIL PROTECTED]' Subject: FW: Tomcat Windows 2000 -Original Message- From: test test Sent: Thursday, 19 April 2001 15:45 To: '[EMAIL PROTECTED]' Subject: Tomcat Windows 2000 hello Can anybody please tell me how I can get Tomcat to work with Windows 2000 (using IIS web server). I have searched the user archives - similar questions have been raised but I can't see the answers. Please help Many thanks Hamant
RE: Tomcat Windows NT IIS
Good, So you have tomcat running and can view the JSP and Servlet examples using port 8080. (localhost:8080/) Do not add any contexts yet. First you want to get the isapi_redirect.dll installed so that you can call the examples directly without referencing the port. If you haven't downloaded this yet get the binary from the apache site. There are several steps to follow in the IIS how to instructions. Again follow them explicitly. You will need to register the isapi _redirect.dll with IIs, modify your registry (be very careful!!), create a directory to place the isapi redirect into, and modify your workers properties file. (tomcat/conf/workersproperties) I am doing this by memory so follow your instructions carefully. Most people make their errors in the registry settings. Again it is so much easier if you print out the instructions. If you want to test some jsps or servlets that you have already made before you have the isapi working, place the jsps into the ROOT directory and call them with (localhost:8080/yourjspname.jsp). Servlets must be placed in the WEB_INF/classes directory and are referenced by (localhost:8080/servlet/yourservletname_noextention). Spend a little time getting familiar with the directories. All of your web apps go under the webapps/ROOT directory. You will know if isapi is working when you can drop the port reference and still get them. Sounds like you are getting there. Go one small step at a time, test your results, then proceed. By the time you install tomcat for the 3rd or 4th time it will only take 30 minutes. Print out all of the conf files. All your tomcat configuration is done through modifying them. They are well documented with comments. Tomcat adheres strictly to the Sun jsp/servlet APIs so those documents are worth getting familiar with as well. Good luck, Craig It's late here, I'm out for the night. -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 8:35 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat Windows NT IIS Craig Thank you for your advice. I have been through the instructions on IIS (tomcat-iis-howto.html). However, I still cannot get the examples to work under IIS (they work fine with Tomcat), I have been through the trouble shooting section with no luck. I have not added any contexts as I can't get the examples to work. Not sure what to do now, please help ! Thanks Hamant -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 11:37 To: [EMAIL PROTECTED] Subject: RE: Tomcat Windows 2000 More information is needed if anyone is to help you. The documentation in the tomcat download is very good. Tomcat works well with Windows 2000 and IIS and many other operating systems. Tomcat is 100% java. If you haven't found the documentation it is in the doc directory. Print it out and follow it explicitly. (print out the documentation, use a pencil to mark your steps.) If you have problems relay the steps you have taken and what error messages you are getting. The more detail the better. Regards, Craig -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 5:00 PM To: '[EMAIL PROTECTED]' Subject: FW: Tomcat Windows 2000 -Original Message- From: test test Sent: Thursday, 19 April 2001 15:45 To: '[EMAIL PROTECTED]' Subject: Tomcat Windows 2000 hello Can anybody please tell me how I can get Tomcat to work with Windows 2000 (using IIS web server). I have searched the user archives - similar questions have been raised but I can't see the answers. Please help Many thanks Hamant
Windows NT Service failed
We are using WindowsNT with Apache 1.3.19 and Tomcat 3.2.1 and from Sybase the EnterpriseAplicationServer( Jaguar ). The Jaguar needs jdk118, so in the classpath there is a path to the jdk118. It has to be the first setting in the classpath. JAVA_HOME is set to jdk13 If i use the startup we set the classpath to jdk122 followed by the original classpath. It works! We are using jsp pages which are included. But when I modify the wrapper.properties to use the same settings, the page won't be correctly displayed! If i use jdk122_007 for all entries it doesn't work either, so is there any solution Need some help please Thanks in advance Andreas
Can Tomcat 4.0 be configured to run with Apache 1.3 on Windows NT/2000?
I am trying to configure Tomcat 4 beta 3 with Apache 1.3. I have seen the documentation for building mod_webapp.so, but this will not work on a Windows box. Is there a mod_webapp.lib for windows or another method for using the Apache Connector? Thanks, Jim
How To Installing tomcat on Windows NT as a service and as mod_jk for Apache
This is the first time I subscribe to this mailing list, so I don't know if this is the right way. I welcome any comment :) I have already sent this message when I subscribe, but I think that I have to send it again now, if you have receive duplicated of this message please just ignore the other one. The problem that I am having is that after downloading the binary distribution for tomcat version 3.2.1, and it doesn't have the conf file.. not for the NT service one nor the mod_jk one so I was wondering of how to create the two file or where I can download such file... anyone can help me with the exact step of how to set up tomcat as a server on NT and any help on setting up the mod_jk for working with Apache 1.3 would be appreciate, I am running Apache 1.3 on Win2k Thanks, Hummy
Change path of the jakarta-tomcat on Windows NT
I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil.
RE: Change path of the jakarta-tomcat on Windows NT
I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil.
RE: Change path of the jakarta-tomcat on Windows NT
see Server.xml: Context path="/examples" docBase="webapps/examples" crossContext="false" debug="0" reloadable="true" /Context --- Arif Tayebali [EMAIL PROTECTED] wrote: I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil. __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
RE: Change path of the jakarta-tomcat on Windows NT
where have u installed tomcat? where r u storing ur context (html, css, jsp) files? -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 11:44 AM To: [EMAIL PROTECTED] Subject: RES: Change path of the jakarta-tomcat on Windows NT i'm new in the list, can you aswer me how did you can solve the problem? -Mensagem original- De: Arif Tayebali [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de março de 2001 15:11 Para: '[EMAIL PROTECTED]' Assunto: RE: Change path of the jakarta-tomcat on Windows NT Prioridade: Alta I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil.
RE: Change path of the jakarta-tomcat on Windows NT
Look down below for comments: -Original Message- From: Tom Horn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 11:54 AM To: [EMAIL PROTECTED] Subject: RE: Change path of the jakarta-tomcat on Windows NT see Server.xml: Context path="/examples" docBase="webapps/examples" crossContext="false" debug="0" reloadable="true" /Context when you I try to config this element's docBase attribute to say N:\my dir\ the change is not being implemented. --- Arif Tayebali [EMAIL PROTECTED] wrote: I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil. __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
RE: Change path of the jakarta-tomcat on Windows NT
In server.xml, you'll see a structure similar to Context path="/examples" docBase="webapps/examples" crossContext="false" debug="0" reloadable="true" /Context If you want it to be in http://localhost/otherpath then change or add a context to server.xml such that Context path="/otherpath" docBase="webapps/otherpath" crossContext="false" debug="9" reloadable="true" /Context I believe you also need to change uriworkermap.properties so that your ajp12 or ajp13 worker maps the context so add the line: /otherpath/*=ajp12 to your tomcat/conf/uriworkermap.properties file. I hope this helps... Darrell -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil.
RE: Change path of the jakarta-tomcat on Windows NT
Hello Everyone, i have another question about the same subject i could access my jsp pages in http://localhost/examples/jsp/myFolder (No Problem) i could access my servlet in http://localhost/examples/servlet (No Problem) but if i want to access a servlet from a jsp page i could only do it by including my servlet in my jsp page .I can't forward or submit a form to a servlet. does anyone know why? or what should i change in the configuration file thanks -Original Message- From: Tom Horn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 2:54 PM To: [EMAIL PROTECTED] Subject: RE: Change path of the jakarta-tomcat on Windows NT see Server.xml: Context path="/examples" docBase="webapps/examples" crossContext="false" debug="0" reloadable="true" /Context --- Arif Tayebali [EMAIL PROTECTED] wrote: I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil. __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
RES: Change path of the jakarta-tomcat on Windows NT
i'm new in the list, can you aswer me how did you can solve the problem? -Mensagem original- De: Arif Tayebali [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de março de 2001 15:11 Para: '[EMAIL PROTECTED]' Assunto: RE: Change path of the jakarta-tomcat on Windows NT Prioridade: Alta I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil.
RES: Change path of the jakarta-tomcat on Windows NT
Yes i installed tomcat at directory c:\jakarta-tomcat my context files where are e:\websites\mysite []'s Thanks -Mensagem original- De: Arif Tayebali [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de março de 2001 18:15 Para: '[EMAIL PROTECTED]' Assunto: RE: Change path of the jakarta-tomcat on Windows NT Prioridade: Alta where have u installed tomcat? where r u storing ur context (html, css, jsp) files? -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 11:44 AM To: [EMAIL PROTECTED] Subject: RES: Change path of the jakarta-tomcat on Windows NT i'm new in the list, can you aswer me how did you can solve the problem? -Mensagem original- De: Arif Tayebali [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de março de 2001 15:11 Para: '[EMAIL PROTECTED]' Assunto: RE: Change path of the jakarta-tomcat on Windows NT Prioridade: Alta I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil.
Re: Change path of the jakarta-tomcat on Windows NT
Georges Boutros wrote: Hello Everyone, i have another question about the same subject i could access my jsp pages in http://localhost/examples/jsp/myFolder (No Problem) i could access my servlet in http://localhost/examples/servlet (No Problem) but if i want to access a servlet from a jsp page i could only do it by including my servlet in my jsp page .I can't forward or submit a form to a servlet. does anyone know why? or what should i change in the configuration file thanks If you are submiting a form to a servlet this has nothing to do with JSP servlet ineraction the client's browser is responsible for submiting to the correct location. Check the action on your form and make sure it is a valid URL to a working servlet..
RE: Change path of the jakarta-tomcat on Windows NT
and you tried http://localhost:8080/examples/jsp/index.html? -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 2:15 PM To: [EMAIL PROTECTED] Subject: RES: Change path of the jakarta-tomcat on Windows NT Yes i installed tomcat at directory c:\jakarta-tomcat my context files where are e:\websites\mysite []'s Thanks -Mensagem original- De: Arif Tayebali [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de março de 2001 18:15 Para: '[EMAIL PROTECTED]' Assunto: RE: Change path of the jakarta-tomcat on Windows NT Prioridade: Alta where have u installed tomcat? where r u storing ur context (html, css, jsp) files? -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 11:44 AM To: [EMAIL PROTECTED] Subject: RES: Change path of the jakarta-tomcat on Windows NT i'm new in the list, can you aswer me how did you can solve the problem? -Mensagem original- De: Arif Tayebali [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de março de 2001 15:11 Para: '[EMAIL PROTECTED]' Assunto: RE: Change path of the jakarta-tomcat on Windows NT Prioridade: Alta I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil.
RE: Change path of the jakarta-tomcat on Windows NT
excuse that last reply, I was referring to another problem... :) -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 2:15 PM To: [EMAIL PROTECTED] Subject: RES: Change path of the jakarta-tomcat on Windows NT Yes i installed tomcat at directory c:\jakarta-tomcat my context files where are e:\websites\mysite []'s Thanks -Mensagem original- De: Arif Tayebali [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de março de 2001 18:15 Para: '[EMAIL PROTECTED]' Assunto: RE: Change path of the jakarta-tomcat on Windows NT Prioridade: Alta where have u installed tomcat? where r u storing ur context (html, css, jsp) files? -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 11:44 AM To: [EMAIL PROTECTED] Subject: RES: Change path of the jakarta-tomcat on Windows NT i'm new in the list, can you aswer me how did you can solve the problem? -Mensagem original- De: Arif Tayebali [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de março de 2001 15:11 Para: '[EMAIL PROTECTED]' Assunto: RE: Change path of the jakarta-tomcat on Windows NT Prioridade: Alta I m having the same problem...look into the threads that have my name: "Arif Tayebali" for more info! -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: Change path of the jakarta-tomcat on Windows NT I installed jakarta-tomcat in my windows NT server and i run the .JSP pages with the path http://localhost/examples/ I want to know how to i can run .JSP pages with another path, for example http://localhost/otherpath. Thanks Fabricio Costa Brazil.
RE: Change path of the jakarta-tomcat on Windows NT
yes, if there's errors in your servlet you may not get many or any messages. -Original Message- From: Steve Ruby [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 3:03 PM To: [EMAIL PROTECTED] Subject: Re: Change path of the jakarta-tomcat on Windows NT Georges Boutros wrote: Hello Everyone, i have another question about the same subject i could access my jsp pages in http://localhost/examples/jsp/myFolder (No Problem) i could access my servlet in http://localhost/examples/servlet (No Problem) but if i want to access a servlet from a jsp page i could only do it by including my servlet in my jsp page .I can't forward or submit a form to a servlet. does anyone know why? or what should i change in the configuration file thanks If you are submiting a form to a servlet this has nothing to do with JSP servlet ineraction the client's browser is responsible for submiting to the correct location. Check the action on your form and make sure it is a valid URL to a working servlet..
RE: problems with Tomcat under Windows NT
Title: RE: problems with Tomcat under Windows NT I run Tomcat 3.2 with Apache on NT. I followed the instructions in the jakarta-tomcat/doc directory and everything works okay. the main files are jakarta-tomcat/conf/server.xml and apache/conf/httpd.conf if you use Apache. Every time you see /examples, just copy it and change it to /yourwebapp. In server.xml for example : Context path=/yourwebapp docBase=webapps/yourwebapp debug=0 reloadable=true /Context -Original Message- From: Fabricio Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 20 March 2001 0:25 To: [EMAIL PROTECTED] Subject: problems with Tomcat under Windows NT I installed the jakarta tomcat under WinNT and i want to create a new site outside the path /examples, how can i do it? Thanks Fabricio Costa Brazil
Windows NT (or 2000 Server) and tomcat....error 304
I'm installing tomcat for the first time. When I try to pull up a page that resides on the server, I get a 304 error and the page displays as source (or like a WORD doc would display in a browser). Tomcat doesn't seem to be converting the JSP to a servlet and compiling the servlet... Please, please.any suggestions are greatly appreciated. Elizabeth Riley Division of Information Technology Macon State College 100 College Station Dr. Macon, GA 31206 478-757-2582
Unable to compile servlet in Windows-NT-Please help
Hi, I could not compile servlet in Windows NT.Tomcat is running successfully. I included all jar files in CLASSPATH . But in the class path Tomcat is showing a part as C:\tomcat\classes . I could not see "classes" under tomcat . Is that a problem ? Please tell me to compile a servlet in Tomcat . Regards, Ravi
installing Tomcat 3.2.1 on Windows NT
Hi, I'm trying to install Tomcat 3.2.1 on Windows NT. After unzipping and setting TOMCAT_HOME, PATH and JAVA_HOME environment variables, I get the following error when starting Tomcat : D:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\binstartup Including all jars in d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib in your CLASSPATH. Using CLASSPATH: d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\classes; d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib\ant.jar; d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib\j2ee.jar; d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib\jasper.jar; d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib\jaxp.jar; d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib\parser.jar; d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib\servlet.jar; d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib\tools.jar; d:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\lib\webserver.jar; C:\jdk1.2.2\lib\tools.jar Starting Tomcat in new window Exception in thread "main" java.lang.NoSuchMethodError: org.apache.tomcat.core.ContextManager: method setInstallDir(Ljava/lang/String;)V not found at org.apache.tomcat.startup.Tomcat.getConfigFile(Tomcat.java:155) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:185) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) D:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\bin This way, it looks as if Tomcat is trying to use an incompatible version of ContextManager, I'm not sure why because he's only using his own .jar files. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
User Authentication using the Windows NT Authentication
Hi, I am building a system for the Intranet. We have a NT network. I wanted to know if by any means I can use the username and password that is registered in the NT Server as the mode of authentication for my site built on Tomcat? This is possible with the IIS.But I am not sure how it manages.In the management console there is an option to do that.I am not able to figure out anything with either Apache or Tomcat. Any Ideas?? Rahul Desai Software Engineer Aztec Software Bangalore - India BEGIN:VCARD VERSION:2.1 N:Desai;Rahul;R.M FN:Rahul R.M Desai NICKNAME:Rahul ORG:Aztec Software And Technology Services TITLE:Developer ( Software Engineer ) TEL;WORK;VOICE:+91-80-5522892 / 93 TEL;HOME;VOICE:6610320 TEL;WORK;FAX:+91-80-5521987 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;23, 3rd 'A' cross,=0D=0A18th main, 6th block,=0D=0AKoramangala;Bangalore;K= arnataka;560 095;India LABEL;WORK;ENCODING=QUOTED-PRINTABLE:23, 3rd 'A' cross,=0D=0A18th main, 6th block,=0D=0AKoramangala=0D=0ABangalor= e, Karnataka 560 095=0D=0AIndia ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;#108, "Anagha Apts."=0D=0AII main, Gavipuram Extn.,=0D=0AHanumanthanagar;B= angalore;Karnataka;560019;India LABEL;HOME;ENCODING=QUOTED-PRINTABLE:#108, "Anagha Apts."=0D=0AII main, Gavipuram Extn.,=0D=0AHanumanthanagar=0D= =0ABangalore, Karnataka 560019=0D=0AIndia X-WAB-GENDER:2 URL:http://geocities.com/rrmdesai URL:http://www.aztec.soft.net BDAY:19780324 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] REV:20010205T095131Z END:VCARD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]