RE: Need Help ASAP w. Tomcat install!
Steve, I don't run under Apache as I run Tomcat stand alone. I overrode the installation directory as this has been a long standing issue with Tomcat. Not sure as this is you're problem but it has caused many issues on the list. Lance -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 4:13 PM To: Tomcat Users List Subject: RE: Need Help ASAP w. Tomcat install! Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- 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] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- 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: Need Help ASAP w. Tomcat install!
Hi Steve, I'm really a bit perplexed that you are still having issues and continuing to ask the same questions that have been answered for you by many a Tomcat user on this list. I'll make one more attempt here, but you are going to need to hire someone to show you the way if this doesn't do it for you. Note that instructions here will be based on the fact that you are running windows 2000. I think you have NT 4.0, if I am not mistaken, but I don't have that installed anywhere to see exactly how the configuration would be performed. You will have to extrapolate my instructions for Windows 2000 to your own Windows NT 4.0 platform. Shouldn't be that different... 1. do *not* use the installer. Use the plain-jane .zip file to install Tomcat. This makes it so we can have more control over the install process. So, download the following file: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.zip 2. Unzip that file to C:\ 3. Right click My Computer, click the Advanced tab and click the Environment Variables button. Add a System environment variable, not a User environment variable named CATALINA_HOME. Make sure that the value is exactly C:\jakarta-tomcat-4.1.12. The is *no*, I repeat *no* semicolon in that value. One more time, do *not* add a semicolon!! Do the same thing to create a JAVA_HOME environment variable which points to the base directory of your JDK installation. Mine is C:\j2sdk1.4.1. BTW, do *not* include the quotes in the names or values of your environment variables. 4. Add %JAVA_HOME%/bin; to your system PATH variable. And yes, there *is* a semicolon there. It is only there becaus there are multiple entries for one variable and the semicolon delimits these entries on Windows systems. 5. Add another environment variable called CATALINA_OPTS with the value of something like -server -Xms32m -Xmx128m. That tells Tomcat to start with the server VM and provides some optimization for memory usage. See the JDK docs for -Xms and -Xmx switches if you want more info on that. After setting all these Environment variables, make sure to hi OK in all appropriate places to save this configuration. 6. Restart Windows. 7. Now, open a command window and copy the following to the command line to install the cataIina service: %CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log use the following to uninstall the service (for when you upgrade to a newer version of Tomcat): %CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina 8. Open up the Services system applet and start the Apache-Catalina service. to know when Tomcat has fully started up, check the $CATALINA_HOME/logs directory for the stdout.log file. It should say the following when Tomcat is fully started: Bootstrap: Create Catalina server Bootstrap: Starting service Starting service Tomcat-Standalone Apache Tomcat/4.1.12 Bootstrap: Service started 9. Browse to http://localhost:8080/examples/ following the links to run sample servlets and jsp's. Everything should work fine. Jake At 10:33 PM 9/28/2002 -0700, you wrote: Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To
RE: Need Help ASAP w. Tomcat install!
I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up and running!!! Here is the whole error msg., in its' entirety, in DOS when I tried/attempted to activate it: C:\Apache Group\Tomcat 4.1\binstartup The JAVA_HOME environment variable is not defined correct This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.0; The system cannot find the file -Djava.endorsed.dirs=. Now, what specifically is wrong with the particular way in which I have set the JAVA_HOME environment variable anyway?? Can someone help me out?! --- Steven Burrus [EMAIL PROTECTED] wrote: Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- 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] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Hi Steve. Firstly, remove the ; from the JAVA_HOME env variable, it's not needed. Secondly, as previously mentioned, tomcat shouldn't be in a directory that has spaced in the path. I have in the past seen applications install themselves in directories like this, and then fail to run... makes for a more interesting time. Move all the contents of the tomcat folder into another one (eg c:\tomcat ), and then try again. The other option is to download the binary release zip file from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/ jakarta-tomcat-4.1.12.zip and simply unzip it into a directory, rather than using the .exe version, I have had trouble with them in the past and do not recommend them to anyone. It should work straight away. Gary. -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Monday, 30 September 2002 16:50 To: Tomcat Users List Subject: RE: Need Help ASAP w. Tomcat install! I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up and running!!! Here is the whole error msg., in its' entirety, in DOS when I tried/attempted to activate it: C:\Apache Group\Tomcat 4.1\binstartup The JAVA_HOME environment variable is not defined correct This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.0; The system cannot find the file -Djava.endorsed.dirs=. Now, what specifically is wrong with the particular way in which I have set the JAVA_HOME environment variable anyway?? Can someone help me out?! --- Steven Burrus [EMAIL PROTECTED] wrote: Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- 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] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL
Need Help With TOMCAT.
Dear Team Tomcat, My Name is Avinash Singh, I a Java Developer and current developing a web application for a small organization. This web application will be used by 10-15 users, may be 2-5 concurrent users. I am in the process of installing and configuring the TOMCAT 4.1.10. I need your help with following :- # 1 I have downloaded jakarta-tomcat-4.1.10.exe, I wanted to know if this supports J2EE # 2 Do I need to install any Webserver(Like Apache, IBM HTTP, IIS etc) for TOMCAT to be functional, if yes please mail me the procedure to link the TOMCAT to the webserver. # 3 How to setup new DOMAIN on Tomcat. # 4 I need some documentation of development process on Tomcat (What directory the JSP and Servlet files should be etc.) # 5 Also please write me any issues involved in using TOMCAT for this kind of development. Any help and information from your end is greatly appreciated. I Look forward to hear from you soon. Thanks Best Regards Avinash Singh 267-254-4113
RE: Need Help With TOMCAT.
Comments inline -Original Message- From: Avinash Singh [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 5:21 PM To: [EMAIL PROTECTED] Subject: Need Help With TOMCAT. I need your help with following :- # 1 I have downloaded jakarta-tomcat-4.1.10.exe, I wanted to know if this supports J2EE If you mean is Tomcat a J2EE application server like JBoss and others, the answer is no. Tomcat is a servlet container. # 2 Do I need to install any Webserver(Like Apache, IBM HTTP, IIS etc) for TOMCAT to be functional, if yes please mail me the procedure to link the TOMCAT to the webserver. No, you do not need to install a web server with Tomcat. Tomcat works fine in stand-alone mode. Some people choose to use a web server in conjunction with Tomcat, but it is not required. # 3 How to setup new DOMAIN on Tomcat. RTFM. Hint: the Host element of server.xml. # 4 I need some documentation of development process on Tomcat (What directory the JSP and Servlet files should be etc.) RTFM. Hint: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html # 5 Also please write me any issues involved in using TOMCAT for this kind of development. This cannot be answered. My advice is to RTFM, search the list archives, and come back with specific questions. John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
need help with IOException: Cannot recover key
Can enybody help, please? i am trying to setup SSL for tomcat following up the SSL Configuration HOW-TO everything seems to be ok but when i start it there is an error log: Catalina.start: LifecycleException: Protocol handler start failed: java.io.IOException: Cannot recover key LifecycleException: Protocol handler start failed: java.io.IOException: Cannot recover key at org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1028) at org.apache.catalina.core.StandardService.start(StandardService.java:506) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2191) at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:271) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:242) at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:302) It happens regardless of starting tomcat as NT service ot from command line. Platform - Win2K Pro Tomcat 4.1.10 jdk 1.4.0 thanks a lot niki -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need HELP!!.....
Ok, I had this web app running where I am using a login jsp page and a AuthenticateServet. If the user is valid, then the person gets sent to main.jsp. Anyway, I had the whole thing working last night and now it is not working and I get the following error message below when trying to login. Your help is much appreciated! Keith 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 javax.servlet.ServletException: Wrapper cannot find servlet class AuthenticateServlet or a class it depends on at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:873) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:536) root cause java.lang.ClassNotFoundException: AuthenticateServlet at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1406) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:867) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at
Still need help w. Tomcat installation
I STILL need some degree of help/assistance from someone in this newsgroup re. installing Tomcat!!! That is really a damned SAD thing to have to say at this late date now, you would think that I could have had this thing figured out by now! (Maybe I am just flat too DUMB to be a member of this newsgroup, I don't know!! :) ) Anyway, I think that the crux of my problem is that I am editing the environment variables in System the wrong way!! Do I or do I not leave on the ; (semi-colon) after the particular path in the JAVA_HOME and TOMCAT_HOME, etc.? When I try to activate Tomcat in DOS, I always seem to get an error message saying that the JAVA_HOME variable is either missing or improperly set. Now, what's up with that anyway? Sincerely Yours, Steve Burrus SINCERELY YOURS, STEVE BURRUS ___ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Still need help w. Tomcat installation
To run Tomcat in DOS, you must specify the JAVA_HOME and TOMCAT_HOME environment variables (system or user are not important in a first step). If you have already done it, you must close your DOS window and open a new one in order to the variables became enabled. hopes it help you. -Message d'origine- De : STEVE BURRUS [mailto:[EMAIL PROTECTED]] Envoyé : dimanche 8 septembre 2002 21:53 À : [EMAIL PROTECTED] Objet : Still need help w. Tomcat installation I STILL need some degree of help/assistance from someone in this newsgroup re. installing Tomcat!!! That is really a damned SAD thing to have to say at this late date now, you would think that I could have had this thing figured out by now! (Maybe I am just flat too DUMB to be a member of this newsgroup, I don't know!! :) ) Anyway, I think that the crux of my problem is that I am editing the environment variables in System the wrong way!! Do I or do I not leave on the ; (semi-colon) after the particular path in the JAVA_HOME and TOMCAT_HOME, etc.? When I try to activate Tomcat in DOS, I always seem to get an error message saying that the JAVA_HOME variable is either missing or improperly set. Now, what's up with that anyway? Sincerely Yours, Steve Burrus SINCERELY YOURS, STEVE BURRUS ___ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com -- 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: Still need help w. Tomcat installation
No trailing semi-colon. No trailing slash. :) -Original Message- From: STEVE BURRUS [mailto:[EMAIL PROTECTED]] Sent: 08 September 2002 20:53 To: [EMAIL PROTECTED] Subject: Still need help w. Tomcat installation I STILL need some degree of help/assistance from someone in this newsgroup re. installing Tomcat!!! That is really a damned SAD thing to have to say at this late date now, you would think that I could have had this thing figured out by now! (Maybe I am just flat too DUMB to be a member of this newsgroup, I don't know!! :) ) Anyway, I think that the crux of my problem is that I am editing the environment variables in System the wrong way!! Do I or do I not leave on the ; (semi-colon) after the particular path in the JAVA_HOME and TOMCAT_HOME, etc.? When I try to activate Tomcat in DOS, I always seem to get an error message saying that the JAVA_HOME variable is either missing or improperly set. Now, what's up with that anyway? Sincerely Yours, Steve Burrus SINCERELY YOURS, STEVE BURRUS ___ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com -- 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: Still need help w. Tomcat installation
My JAVA_HOME on my hope set up is set to: c:\j2se14 bin is at C;\j2se14\bin. Did you set PATH? My PATH is set to: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\SecureCRT3.0;C:\j2se14\bin;%ANT_HOME%\bin;%JAVA_HOME%\bin The relevant part for you, clearly, is %JAVA_HOME%\bin. Are you using \ for Win or / for Linux/Unix? Hope this helps. Boy, you've been at it a while. I admire your stick-to-it-ive-ness. Micael At 12:52 PM 9/8/2002 -0700, you wrote: I STILL need some degree of help/assistance from someone in this newsgroup re. installing Tomcat!!! That is really a damned SAD thing to have to say at this late date now, you would think that I could have had this thing figured out by now! (Maybe I am just flat too DUMB to be a member of this newsgroup, I don't know!! :) ) Anyway, I think that the crux of my problem is that I am editing the environment variables in System the wrong way!! Do I or do I not leave on the ; (semi-colon) after the particular path in the JAVA_HOME and TOMCAT_HOME, etc.? When I try to activate Tomcat in DOS, I always seem to get an error message saying that the JAVA_HOME variable is either missing or improperly set. Now, what's up with that anyway? Sincerely Yours, Steve Burrus SINCERELY YOURS, STEVE BURRUS ___ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com -- 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[2]: Still need help w. Tomcat installation
Steve, JAVA_HOME and CATALINA_HOME environment variables should *NOT* have a semicolon in them, just the full path itself (with no spaces...which means Tomcat should be installed in a path with no spaces like c:\Tomcat-4.1.10). The semicolon is used by PATH and CLASSPATH environment variables to delimit each entry in the respective variable. You don't need to worry about that. Jake Monday, September 09, 2002, 1:05:43 PM, you wrote: m My JAVA_HOME on my hope set up is set to: m c:\j2se14 m bin is at C;\j2se14\bin. Did you set PATH? My PATH is set to: m %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program m Files\SecureCRT3.0;C:\j2se14\bin;%ANT_HOME%\bin;%JAVA_HOME%\bin m The relevant part for you, clearly, is %JAVA_HOME%\bin. m Are you using \ for Win or / for Linux/Unix? m Hope this helps. Boy, you've been at it a while. I admire your m stick-to-it-ive-ness. m Micael m At 12:52 PM 9/8/2002 -0700, you wrote: I STILL need some degree of help/assistance from someone in this newsgroup re. installing Tomcat!!! That is really a damned SAD thing to have to say at this late date now, you would think that I could have had this thing figured out by now! (Maybe I am just flat too DUMB to be a member of this newsgroup, I don't know!! :) ) Anyway, I think that the crux of my problem is that I am editing the environment variables in System the wrong way!! Do I or do I not leave on the ; (semi-colon) after the particular path in the JAVA_HOME and TOMCAT_HOME, etc.? When I try to activate Tomcat in DOS, I always seem to get an error message saying that the JAVA_HOME variable is either missing or improperly set. Now, what's up with that anyway? Sincerely Yours, Steve Burrus SINCERELY YOURS, STEVE BURRUS ___ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] m -- m To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] m For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: need help
Error message: Line to long ? what's mean? you can see the information of error, if not about with you error. - Original Message - From: arakan arakan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 10:57 AM Subject: need help Hi, Tomcat started normally with no error. When I tried to open the starting page, nothing came up but a blank page. It worked well before. And I found this following message in the log file: 2002-08-08 09:22:36 HttpProcessor[8080][4] process.parse java.io.IOException: Line too long at org.apache.catalina.connector.http.SocketInputStream.readHeader(SocketInputStream.java:466) at org.apache.catalina.connector.http.HttpProcessor.parseHeaders(HttpProcessor.java:569) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:962) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) Please help me find out what happenned. Thanks, Jiab _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
tomcat apache - need help
Hi. I am trying to get tomcat 3.3.1 working with apache 2.0.39 on a Solaris 7 system and I am encountering a lot of difficulties, not the least of which is my complete cluelessness with regards to all things java (for which I heartily apologize in advance). I am led to understand that I need to have a module called mod_jserv.so Following the directions in the tomcat doc included with the sources, I attempted to compile it, and got the following errors: # /usr/local/apache/bin/apxs -c -o mod_jserv.so *.c /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -I/usr/local/apache/include -c -o autochange.lo autochange.c touch autochange.slo /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -I/usr/local/apache/include -c -o jserv_ajpv11.lo jserv_ajpv11.c touch jserv_ajpv11.slo In file included from jserv_ajpv11.c:61: jserv.h:180: parse error before `table' jserv.h:180: warning: no semicolon at end of struct or union jserv.h:185: parse error before `*' jserv.h:185: warning: data definition has no type or storage class jserv.h:187: parse error before `}' jserv.h:328: parse error before `jserv_module' jserv.h:328: warning: data definition has no type or storage class jserv.h:332: parse error before `*' jserv.h:332: warning: data definition has no type or storage class jserv.h:345: parse error before `*' jserv.h:348: parse error before `*' jserv.h:360: parse error before `*' jserv_ajpv11.c:73: parse error before `pool' jserv_ajpv11.c: In function `ajpv11_open': jserv_ajpv11.c:80: `address' undeclared (first use in this function) jserv_ajpv11.c:80: (Each undeclared identifier is reported only once jserv_ajpv11.c:80: for each function it appears in.) jserv_ajpv11.c:81: `cfg' undeclared (first use in this function) jserv_ajpv11.c:87: `port' undeclared (first use in this function) jserv_ajpv11.c:98: `p' undeclared (first use in this function) jserv_ajpv11.c: At top level: jserv_ajpv11.c:128: parse error before `pool' jserv_ajpv11.c: In function `ajpv11_sendpacket': jserv_ajpv11.c:135: `type' undeclared (first use in this function) jserv_ajpv11.c:137: `sock' undeclared (first use in this function) jserv_ajpv11.c:146: `name' undeclared (first use in this function) jserv_ajpv11.c:147: `value' undeclared (first use in this function) jserv_ajpv11.c:147: `p' undeclared (first use in this function) jserv_ajpv11.c:147: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c:148: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c:150: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c:151: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c:155: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c: At top level: jserv_ajpv11.c:170: parse error before `pool' jserv_ajpv11.c: In function `ajpv11_auth': jserv_ajpv11.c:172: `AP_MD5_CTX' undeclared (first use in this function) jserv_ajpv11.c:172: parse error before `md5context' jserv_ajpv11.c:181: `secretsize' undeclared (first use in this function) jserv_ajpv11.c:182: `cfg' undeclared (first use in this function) jserv_ajpv11.c:187: `secret' undeclared (first use in this function) jserv_ajpv11.c:194: `sock' undeclared (first use in this function) jserv_ajpv11.c:203: `p' undeclared (first use in this function) jserv_ajpv11.c:216: `md5context' undeclared (first use in this function) jserv_ajpv11.c: In function `ajpv11_handler': jserv_ajpv11.c:237: `BUFF' undeclared (first use in this function) jserv_ajpv11.c:237: `buffsocket' undeclared (first use in this function) jserv_ajpv11.c:238: parse error before `const' jserv_ajpv11.c:244: `SERVER_ERROR' undeclared (first use in this function) jserv_ajpv11.c:268: dereferencing pointer to incomplete type jserv_ajpv11.c:271: dereferencing pointer to incomplete type jserv_ajpv11.c:271: dereferencing pointer to incomplete type jserv_ajpv11.c:282: dereferencing pointer to incomplete type jserv_ajpv11.c:288: dereferencing pointer to incomplete type jserv_ajpv11.c:307: dereferencing pointer to incomplete type jserv_ajpv11.c:308: dereferencing pointer to incomplete type jserv_ajpv11.c:339: dereferencing pointer to incomplete type jserv_ajpv11.c:356: `array_header' undeclared (first use in this function) jserv_ajpv11.c:356: `env_arr' undeclared (first use in this function) jserv_ajpv11.c:357: `table_entry' undeclared (first use in this function) jserv_ajpv11.c:357: `elts' undeclared (first use in this function) jserv_ajpv11.c:357: parse error before `)' jserv_ajpv11.c:360: `i' undeclared (first use in this function) jserv_ajpv11.c:377: `hdr_arr' undeclared (first use in this function) jserv_ajpv11.c:378: parse error before `)' jserv_ajpv11.c:406: `B_SOCKET' undeclared (first use
RE: tomcat apache - need help
Hi Suzanne - mod_jserv is pretty old. You might be better off with mod_jk, especially with apache 2.0.39 (incidentally, 2.0.40 is out). The source for the most recently supported connectors is here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/ John Turner [EMAIL PROTECTED] -Original Message- From: Suzanne Palmer [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 12:09 PM To: Tomcat Users List Subject: tomcat apache - need help Hi. I am trying to get tomcat 3.3.1 working with apache 2.0.39 on a Solaris 7 system and I am encountering a lot of difficulties, not the least of which is my complete cluelessness with regards to all things java (for which I heartily apologize in advance). I am led to understand that I need to have a module called mod_jserv.so Following the directions in the tomcat doc included with the sources, I attempted to compile it, and got the following errors: # /usr/local/apache/bin/apxs -c -o mod_jserv.so *.c /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -I/usr/local/apache/include -c -o autochange.lo autochange.c touch autochange.slo /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -I/usr/local/apache/include -c -o jserv_ajpv11.lo jserv_ajpv11.c touch jserv_ajpv11.slo In file included from jserv_ajpv11.c:61: jserv.h:180: parse error before `table' jserv.h:180: warning: no semicolon at end of struct or union jserv.h:185: parse error before `*' jserv.h:185: warning: data definition has no type or storage class jserv.h:187: parse error before `}' jserv.h:328: parse error before `jserv_module' jserv.h:328: warning: data definition has no type or storage class jserv.h:332: parse error before `*' jserv.h:332: warning: data definition has no type or storage class jserv.h:345: parse error before `*' jserv.h:348: parse error before `*' jserv.h:360: parse error before `*' jserv_ajpv11.c:73: parse error before `pool' jserv_ajpv11.c: In function `ajpv11_open': jserv_ajpv11.c:80: `address' undeclared (first use in this function) jserv_ajpv11.c:80: (Each undeclared identifier is reported only once jserv_ajpv11.c:80: for each function it appears in.) jserv_ajpv11.c:81: `cfg' undeclared (first use in this function) jserv_ajpv11.c:87: `port' undeclared (first use in this function) jserv_ajpv11.c:98: `p' undeclared (first use in this function) jserv_ajpv11.c: At top level: jserv_ajpv11.c:128: parse error before `pool' jserv_ajpv11.c: In function `ajpv11_sendpacket': jserv_ajpv11.c:135: `type' undeclared (first use in this function) jserv_ajpv11.c:137: `sock' undeclared (first use in this function) jserv_ajpv11.c:146: `name' undeclared (first use in this function) jserv_ajpv11.c:147: `value' undeclared (first use in this function) jserv_ajpv11.c:147: `p' undeclared (first use in this function) jserv_ajpv11.c:147: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c:148: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c:150: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c:151: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c:155: warning: assignment makes pointer from integer without a cast jserv_ajpv11.c: At top level: jserv_ajpv11.c:170: parse error before `pool' jserv_ajpv11.c: In function `ajpv11_auth': jserv_ajpv11.c:172: `AP_MD5_CTX' undeclared (first use in this function) jserv_ajpv11.c:172: parse error before `md5context' jserv_ajpv11.c:181: `secretsize' undeclared (first use in this function) jserv_ajpv11.c:182: `cfg' undeclared (first use in this function) jserv_ajpv11.c:187: `secret' undeclared (first use in this function) jserv_ajpv11.c:194: `sock' undeclared (first use in this function) jserv_ajpv11.c:203: `p' undeclared (first use in this function) jserv_ajpv11.c:216: `md5context' undeclared (first use in this function) jserv_ajpv11.c: In function `ajpv11_handler': jserv_ajpv11.c:237: `BUFF' undeclared (first use in this function) jserv_ajpv11.c:237: `buffsocket' undeclared (first use in this function) jserv_ajpv11.c:238: parse error before `const' jserv_ajpv11.c:244: `SERVER_ERROR' undeclared (first use in this function) jserv_ajpv11.c:268: dereferencing pointer to incomplete type jserv_ajpv11.c:271: dereferencing pointer to incomplete type jserv_ajpv11.c:271: dereferencing pointer to incomplete type jserv_ajpv11.c:282: dereferencing pointer to incomplete type jserv_ajpv11.c:288: dereferencing pointer to incomplete type jserv_ajpv11.c:307: dereferencing pointer to incomplete type jserv_ajpv11.c:308: dereferencing pointer to incomplete type jserv_ajpv11.c:339: dereferencing pointer
Re: STILL need help w. Tomcat installation!!
Hello Micael, I appreciate the useful [-sic]advice which you offered to me re. setting the system variables for the Tomcat installation, however I really don't appreciate at all you inferring that I am DELIBERATELY trying to make it harder for both you and everyone else to help me just because I INADVERTENTLY left out the info. on what my platform is! --- On Wed 08/28, micael wrote: From: micael [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Wed, 28 Aug 2002 12:39:02 -0700 Subject: Re: STILL need help w. Tomcat installation!! Do you know how to set your environmental variables on XP? If not, go to Start, Settings, Control Panel (in classic view), System, Advanced (tab), Environmental Variables (button), where you will see lots of neat stuff that is fairly intuitive. If you don't have the paths set, set them. You will need, for example, ANT_HOMEc:\ant CATALINA_HOME c:\tomcat CLASSPATH c:\jdk;c:\tomcat;c:\junit or whatever JAVA_HOME c:\jdk PATH %JAVA_HOME%\bin;%ANT_HOME%\bin or whatever. If you want to create a new system variable, hit New. If you want to edit an old one, hit Edit. Probably should avoid Delete for the time being. If you want to hard code these values in configurations of your application, that is something different. That is possible too. But, I think this is your easiest start. I recommend you read something like second chapter of Component Development for the Java Platform, by Stuart Dabbs Halloway to get acquainted with what this all really is doing. There is a paucity of literature on the subject. Lesson One: Saying what platform you are working on helps people who really would like to help you if you don't make it too hard to help. Sorry if that sounds too smug, but you seem not to be into helping us help you. Hope this did. Have fun! Micael At 11:39 AM 8/28/2002 -0700, you wrote: You are in luck, my good friend Jakob, I am using the Windows XP Operating System, so you can certainly help me out! --- Jacob Kjome wrote: Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: SRB For additional commands, e-mail: -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: For additional commands, e-mail: __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: Changed your e-mail? Keep your contacts! Use this free e-mail change of address service from Return Path. Register now!
need help
Hi, Tomcat started normally with no error. When I tried to open the starting page, nothing came up but a blank page. It worked well before. And I found this following message in the log file: 2002-08-08 09:22:36 HttpProcessor[8080][4] process.parse java.io.IOException: Line too long at org.apache.catalina.connector.http.SocketInputStream.readHeader(SocketInputStream.java:466) at org.apache.catalina.connector.http.HttpProcessor.parseHeaders(HttpProcessor.java:569) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:962) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) Please help me find out what happenned. Thanks, Jiab _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL need help w. Tomcat installation!!
Steve, excuse me, but what game are you playing exactly? I have been following your posts and the answers to them for a while now, and although people are generally very willing to help you, you are continuing to upset them. Why? John Turner already suggested that you are making some queer kind of joke, and I'm starting to think he's right. Maybe you should start to post something useful or stop posting at all. And I would strongly suggest to read http://www.tuxedo.org/~esr/faqs/smart-questions.html as is suggested in the jakarta project's mailing list guidelines (which you should perhaps read first: http://jakarta.apache.org/site/mail.html). Otherwise (I think) the following things will happen in short order: 1. You will get more flames. 2. A lot of people on this list will filter your posts. 3. You will be banned from the list altogether. But who am I to worry about that? Andreas Mohrig -Original Message- From: Steve R. Burrus [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:09 AM To: [EMAIL PROTECTED] Subject: Re: STILL need help w. Tomcat installation!! Hello Micael, I appreciate the useful [-sic]advice which you offered to me re. setting the system variables for the Tomcat installation, however I really don't appreciate at all you inferring that I am DELIBERATELY trying to make it harder for both you and everyone else to help me just because I INADVERTENTLY left out the info. on what my platform is! --- On Wed 08/28, micael wrote: From: micael [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Wed, 28 Aug 2002 12:39:02 -0700 Subject: Re: STILL need help w. Tomcat installation!! Do you know how to set your environmental variables on XP? If not, go to Start, Settings, Control Panel (in classic view), System, Advanced (tab), Environmental Variables (button), where you will see lots of neat stuff that is fairly intuitive. If you don't have the paths set, set them. You will need, for example, ANT_HOMEc:\ant CATALINA_HOME c:\tomcat CLASSPATH c:\jdk;c:\tomcat;c:\junit or whatever JAVA_HOME c:\jdk PATH %JAVA_HOME%\bin;%ANT_HOME%\bin or whatever. If you want to create a new system variable, hit New. If you want to edit an old one, hit Edit. Probably should avoid Delete for the time being. If you want to hard code these values in configurations of your application, that is something different. That is possible too. But, I think this is your easiest start. I recommend you read something like second chapter of Component Development for the Java Platform, by Stuart Dabbs Halloway to get acquainted with what this all really is doing. There is a paucity of literature on the subject. Lesson One: Saying what platform you are working on helps people who really would like to help you if you don't make it too hard to help. Sorry if that sounds too smug, but you seem not to be into helping us help you. Hope this did. Have fun! Micael At 11:39 AM 8/28/2002 -0700, you wrote: You are in luck, my good friend Jakob, I am using the Windows XP Operating System, so you can certainly help me out! *** * --- Jacob Kjome wrote: Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: SRB For additional commands, e-mail: -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: For additional commands, e-mail: __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: Changed your e-mail? Keep your contacts! Use this free e-mail change of address service from Return Path. Register now! -- To unsubscribe, e-mail: mailto
RE: need help
Which operating system? Which tomcat? You say it worked well before. Before what? What changed? John Turner [EMAIL PROTECTED] -Original Message- From: arakan arakan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 10:58 PM To: [EMAIL PROTECTED] Subject: need help Hi, Tomcat started normally with no error. When I tried to open the starting page, nothing came up but a blank page. It worked well before. And I found this following message in the log file: 2002-08-08 09:22:36 HttpProcessor[8080][4] process.parse java.io.IOException: Line too long at org.apache.catalina.connector.http.SocketInputStream.readHeade r(SocketInputStream.java:466) at org.apache.catalina.connector.http.HttpProcessor.parseHeaders( HttpProcessor.java:569) at org.apache.catalina.connector.http.HttpProcessor.process(HttpP rocessor.java:962) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProce ssor.java:1107) at java.lang.Thread.run(Thread.java:484) Please help me find out what happenned. Thanks, Jiab _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- 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: STILL need help w. Tomcat installation!!
Okay, Steve. I won't bother you any more. At 06:08 PM 8/28/2002 -0400, you wrote: Hello Micael, I appreciate the useful [-sic]advice which you offered to me re. setting the system variables for the Tomcat installation, however I really don't appreciate at all you inferring that I am DELIBERATELY trying to make it harder for both you and everyone else to help me just because I INADVERTENTLY left out the info. on what my platform is! --- On Wed 08/28, micael wrote: From: micael [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Wed, 28 Aug 2002 12:39:02 -0700 Subject: Re: STILL need help w. Tomcat installation!! Do you know how to set your environmental variables on XP? If not, go to Start, Settings, Control Panel (in classic view), System, Advanced (tab), Environmental Variables (button), where you will see lots of neat stuff that is fairly intuitive. If you don't have the paths set, set them. You will need, for example, ANT_HOMEc:\ant CATALINA_HOME c:\tomcat CLASSPATH c:\jdk;c:\tomcat;c:\junit or whatever JAVA_HOME c:\jdk PATH %JAVA_HOME%\bin;%ANT_HOME%\bin or whatever. If you want to create a new system variable, hit New. If you want to edit an old one, hit Edit. Probably should avoid Delete for the time being. If you want to hard code these values in configurations of your application, that is something different. That is possible too. But, I think this is your easiest start. I recommend you read something like second chapter of Component Development for the Java Platform, by Stuart Dabbs Halloway to get acquainted with what this all really is doing. There is a paucity of literature on the subject. Lesson One: Saying what platform you are working on helps people who really would like to help you if you don't make it too hard to help. Sorry if that sounds too smug, but you seem not to be into helping us help you. Hope this did. Have fun! Micael At 11:39 AM 8/28/2002 -0700, you wrote: You are in luck, my good friend Jakob, I am using the Windows XP Operating System, so you can certainly help me out! *** * --- Jacob Kjome wrote: Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: SRB For additional commands, e-mail: -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: For additional commands, e-mail: __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: Changed your e-mail? Keep your contacts! Use this free e-mail change of address service from Return Path. Register now! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
STILL need help w. Tomcat installation!!
I STILL find myself in some degree of need from someone in this newsgroup concerning the Tomcat install!!! I THINK that I got everything alright with setting the environment variables in the System applet, but alas, when I tried again to activate Tomcat, I STILL received the error msg. saying something about the JAVA_HOME variable was not properly set or missing!! Should I type into the DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL need help w. Tomcat installation!!
Go back and read the messages that I and everyone else sent to help you. If you don't read the messages that we respond with, we can't help you here. I, on the other hand, am a consultant and will be happy to fly to your location and assist you in your configuration issue. -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: 28 August, 2002 11:04 AM To: [EMAIL PROTECTED] Subject: STILL need help w. Tomcat installation!! I STILL find myself in some degree of need from someone in this newsgroup concerning the Tomcat install!!! I THINK that I got everything alright with setting the environment variables in the System applet, but alas, when I tried again to activate Tomcat, I STILL received the error msg. saying something about the JAVA_HOME variable was not properly set or missing!! Should I type into the DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- 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: STILL need help w. Tomcat installation!!
Steve, I'm not sure the syntax of JAVA_HOME=j2sdk* is correct. I'm not sure what effect that's going to have, if any. I don't like setting up env variables like that globally b/c they're subject to change and an old one can get you hours of frustration during a new install while you overlook it. One quick and dirty way to make sure it is set properly is to put it in your catalina.bat or tomcat.bat (whichever version of Tomcat you're running) one of my Windows Tomcat instances has this in tomcat.bat, right after the header 'rem' statements rem - Save Environment Variables That May Change --- set _TOMCAT_HOME=%TOMCAT_HOME% set _TOMCAT_INSTALL=%TOMCAT_INSTALL% set _CLASSPATH=%CLASSPATH% set TOMCAT_HOME=c:\opt\tomcat\jakarta-tomcat-3.3.1 set JAVA_HOME=c:\opt\java\sdk\jdk1.4.0 (or whatever is appropriate for your installation directory. It should be the directory containing the bin\ jre\ lib\ include\ demo\) Regards, Michael - Original Message - From: STEVE R BURRUS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 1:04 PM Subject: STILL need help w. Tomcat installation!! I STILL find myself in some degree of need from someone in this newsgroup concerning the Tomcat install!!! I THINK that I got everything alright with setting the environment variables in the System applet, but alas, when I tried again to activate Tomcat, I STILL received the error msg. saying something about the JAVA_HOME variable was not properly set or missing!! Should I type into the DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- 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: STILL need help w. Tomcat installation!!
I STILL would like to know what OS you are on, what version of Tomcat you are talking about, what you have done, etc. The setting up of Tomcat is really pretty easy, and if you were to tell people what your situation was, you would have had an answer long ago. At 10:04 AM 8/28/2002 -0700, you wrote: I STILL find myself in some degree of need from someone in this newsgroup concerning the Tomcat install!!! I THINK that I got everything alright with setting the environment variables in the System applet, but alas, when I tried again to activate Tomcat, I STILL received the error msg. saying something about the JAVA_HOME variable was not properly set or missing!! Should I type into the DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- 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: STILL need help w. Tomcat installation!!
System applet strikes me as either NT, 2000, or XP. But I could be wrong. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 10:43 AM To: Tomcat Users List Subject: Re: STILL need help w. Tomcat installation!! I STILL would like to know what OS you are on, what version of Tomcat you are talking about, what you have done, etc. The setting up of Tomcat is really pretty easy, and if you were to tell people what your situation was, you would have had an answer long ago. At 10:04 AM 8/28/2002 -0700, you wrote: I STILL find myself in some degree of need from someone in this newsgroup concerning the Tomcat install!!! I THINK that I got everything alright with setting the environment variables in the System applet, but alas, when I tried again to activate Tomcat, I STILL received the error msg. saying something about the JAVA_HOME variable was not properly set or missing!! Should I type into the DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL need help w. Tomcat installation!!
At 11:11 AM 8/28/2002 -0600, Sexton, George wrote: Go back and read the messages that I and everyone else sent to help you. If you don't read the messages that we respond with, we can't help you here. I, on the other hand, am a consultant and will be happy to fly to your location and assist you in your configuration issue. Heck, at the rate things are going, -I'll- pay you to fly down there before too long... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL need help w. Tomcat installation!!
Are you sure you aren't running Amiga Shell and not DOS? | -Original Message- | From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] | Sent: Wednesday, August 28, 2002 12:04 PM | To: [EMAIL PROTECTED] | Subject: STILL need help w. Tomcat installation!! | | I STILL find myself in some degree of need from someone in this newsgroup | concerning the Tomcat install!!! I THINK that I got everything alright | with | setting the environment variables in the System applet, but alas, when I | tried | again to activate Tomcat, I STILL received the error msg. saying something | about | the JAVA_HOME variable was not properly set or missing!! Should I type | into the | DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? | | __ | Do You Yahoo!? | Yahoo! Finance - Get real-time stock quotes | http://finance.yahoo.com | | -- | To unsubscribe, e-mail: mailto:tomcat-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:tomcat-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL need help w. Tomcat installation!!
Steve is using Windows XP, and, if memory serves, he has downloaded one of the 4.1.x versions, though that might be wrong. These types of posts from him have been going on for quite some time (months), I'm beginning to wonder if it isn't some sort of joke or prank. I would think someone posting for that long would be aware of the need to post specifics like versions, error messages, etc., though I could easily be wrong. John Turner [EMAIL PROTECTED] -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 1:48 PM To: Tomcat Users List Subject: RE: STILL need help w. Tomcat installation!! System applet strikes me as either NT, 2000, or XP. But I could be wrong. --mikej -=- mike jackson [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL need help w. Tomcat installation!!
ROFLMAO! John -Original Message- From: Paul Brinkley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 2:00 PM To: Tomcat Users List Subject: RE: STILL need help w. Tomcat installation!! At 11:11 AM 8/28/2002 -0600, Sexton, George wrote: Go back and read the messages that I and everyone else sent to help you. If you don't read the messages that we respond with, we can't help you here. I, on the other hand, am a consultant and will be happy to fly to your location and assist you in your configuration issue. Heck, at the rate things are going, -I'll- pay you to fly down there before too long... -- 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: STILL need help w. Tomcat installation!!
Charge double, and get paid up front! John -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 1:12 PM To: Tomcat Users List Subject: RE: STILL need help w. Tomcat installation!! Go back and read the messages that I and everyone else sent to help you. If you don't read the messages that we respond with, we can't help you here. I, on the other hand, am a consultant and will be happy to fly to your location and assist you in your configuration issue. -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: 28 August, 2002 11:04 AM To: [EMAIL PROTECTED] Subject: STILL need help w. Tomcat installation!! I STILL find myself in some degree of need from someone in this newsgroup concerning the Tomcat install!!! I THINK that I got everything alright with setting the environment variables in the System applet, but alas, when I tried again to activate Tomcat, I STILL received the error msg. saying something about the JAVA_HOME variable was not properly set or missing!! Should I type into the DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL need help w. Tomcat installation!!
Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] SRB For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL need help w. Tomcat installation!!
You are in luck, my good friend Jakob, I am using the Windows XP Operating System, so you can certainly help me out! --- Jacob Kjome [EMAIL PROTECTED] wrote: Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] SRB For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re[2]: STILL need help w. Tomcat installation!!
Hello STEVE, Ok, I am using Win2k, but it should be pretty much the same in WinXP. 1. right click on My Computer and choose properties 2. click on the Advanced tab 3. click on the Environment Variables... button You will see an area to add user variables for the current user and an area for setting system variables (for all users). 4. click the New... button under system variables. 5. Now add the following... Variable Name: JAVA_HOME Variable Value: c:\j2sdk1.4.0_01 (modify based on your java install) You can follow the same steps for setting up the CATALINA_HOME variable (Catalina is the other name for the Tomcat-4.x.x series). Make sure you install Tomcat to a directory without spaces in the path. It is possible to work with spaces, but you will make your life a lot easier by not having any spaces (eg... don't install under c:\Program Files\...). That should be it. Let us know what other issues you run into...or if you have some success! Jake Wednesday, August 28, 2002, 1:39:46 PM, you wrote: SRB You are in luck, my good friend Jakob, I am using the Windows XP Operating SRB System, so you can certainly help me out! SRB SRB --- Jacob Kjome [EMAIL PROTECTED] wrote: Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] SRB For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL need help w. Tomcat installation!!
Steve, I replied to you on this 3 weeks ago, along with everyone else: My step by step for XP: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg62993.html http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg63404.html http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg60454.html -Jacob | -Original Message- | From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] | Sent: Wednesday, August 28, 2002 1:40 PM | To: Tomcat Users List; Jacob Kjome | Subject: Re: STILL need help w. Tomcat installation!! | | You are in luck, my good friend Jakob, I am using the Windows XP | Operating | System, so you can certainly help me out! | ** | ** | | --- Jacob Kjome [EMAIL PROTECTED] wrote: | Hello STEVE, | | I forget what OS you are using. Can you state that? If you are using | Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. | Let me know. | | Jake | | Wednesday, August 28, 2002, 12:04:12 PM, you wrote: | | SRB I STILL find myself in some degree of need from someone in this | newsgroup | SRB concerning the Tomcat install!!! I THINK that I got everything | alright with | SRB setting the environment variables in the System applet, but alas, | when I | tried | SRB again to activate Tomcat, I STILL received the error msg. saying | something | about | SRB the JAVA_HOME variable was not properly set or missing!! Should I | type into | the | SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct | this? | | SRB __ | SRB Do You Yahoo!? | SRB Yahoo! Finance - Get real-time stock quotes | SRB http://finance.yahoo.com | | SRB -- | SRB To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | SRB For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | -- | Best regards, | Jacobmailto:[EMAIL PROTECTED] | | | -- | To unsubscribe, e-mail: mailto:tomcat-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:tomcat-user- | [EMAIL PROTECTED] | | | | | | __ | Do You Yahoo!? | Yahoo! Finance - Get real-time stock quotes | http://finance.yahoo.com | | -- | To unsubscribe, e-mail: mailto:tomcat-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:tomcat-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL need help w. Tomcat installation!!
Do you know how to set your environmental variables on XP? If not, go to Start, Settings, Control Panel (in classic view), System, Advanced (tab), Environmental Variables (button), where you will see lots of neat stuff that is fairly intuitive. If you don't have the paths set, set them. You will need, for example, ANT_HOMEc:\ant CATALINA_HOME c:\tomcat CLASSPATH c:\jdk;c:\tomcat;c:\junit or whatever JAVA_HOME c:\jdk PATH %JAVA_HOME%\bin;%ANT_HOME%\bin or whatever. If you want to create a new system variable, hit New. If you want to edit an old one, hit Edit. Probably should avoid Delete for the time being. If you want to hard code these values in configurations of your application, that is something different. That is possible too. But, I think this is your easiest start. I recommend you read something like second chapter of Component Development for the Java Platform, by Stuart Dabbs Halloway to get acquainted with what this all really is doing. There is a paucity of literature on the subject. Lesson One: Saying what platform you are working on helps people who really would like to help you if you don't make it too hard to help. Sorry if that sounds too smug, but you seem not to be into helping us help you. Hope this did. Have fun! Micael At 11:39 AM 8/28/2002 -0700, you wrote: You are in luck, my good friend Jakob, I am using the Windows XP Operating System, so you can certainly help me out! --- Jacob Kjome [EMAIL PROTECTED] wrote: Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] SRB For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- 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]
Need help: Can't get Tomcat examples on Apache using mod_webapp.so
Hi, I can't get Tomcat examples display on Apache. The following is a list of all I did and what I got. Please, please help. Many thanks! Guoben Li 1. Apache 1.3.26; Tomcat 4.0.4 on the same Solaris host http://myserver:8080/examples works well; 2. successfully compiled mod_webapp.so from jakarta-tomcat-connectors-4.0.4-src and copied to libexec/.; 3. in httpd.conf, added: __ LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples/ WebAppInfo /webapp-info ___ bin/apachectl configtest had [warn] mod_webapp.c is already added but Syntax OK; 4. in server.xml, the only place changed was 'name=': ___ Engine className=org.apache. ... name=myserver.domain.com debug=0 ___ 5. started tomcat with bin/startup.sh then restarted apache http://myserver/examples The page cannot be found http://myserver/examples/ The page cannot be displayed http://myserver/webapp-info/ however displays Host and Connections info: Host myserver.domain.com:80 Application Name examples Root URL Path /examples/ Connection conn Connection Name conn Connection parameters localhost:8008 Provider warp Configuration Details Host: localhost Port:8008 Address:127.0.0.1 Socket Count: 1 Server ID: -653512835 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help: Can't get Tomcat examples on Apache using mod_webapp.so
The default 4.0.4 server.xml has the Warp connector commented out. Search for 8008 in server.xml, and uncomment that block. Incidentally, that was an excellent request for help. Quoting Guoben Li [EMAIL PROTECTED]: Hi, I can't get Tomcat examples display on Apache. The following is a list of all I did and what I got. Please, please help. Many thanks! Guoben Li 1. Apache 1.3.26; Tomcat 4.0.4 on the same Solaris host http://myserver:8080/examples works well; 2. successfully compiled mod_webapp.so from jakarta-tomcat-connectors-4.0.4-src and copied to libexec/.; 3. in httpd.conf, added: __ LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples/ WebAppInfo /webapp-info ___ bin/apachectl configtest had [warn] mod_webapp.c is already added but Syntax OK; 4. in server.xml, the only place changed was 'name=': ___ Engine className=org.apache. ... name=myserver.domain.com debug=0 ___ 5. started tomcat with bin/startup.sh then restarted apache http://myserver/examples The page cannot be found http://myserver/examples/ The page cannot be displayed http://myserver/webapp-info/ however displays Host and Connections info: Host myserver.domain.com:80 Application Name examples Root URL Path /examples/ Connection conn Connection Name conn Connection parameters localhost:8008 Provider warp Configuration Details Host: localhost Port:8008 Address:127.0.0.1 Socket Count: 1 Server ID: -653512835 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] George Sexton MH Software, Inc. Voice: 303 438 9585 URL: http://www.mhsoftware.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
Oh, come on, the this is Steve Burris bit makes me giggle every time... ;) Jacob Kjome [EMAIL PROTECTED]To: Tomcat Users List [EMAIL PROTECTED] m cc: Subject: Re: STILL Need Help w. Tomcat Install 08/21/02 06:59 PM Please respond to Tomcat Users List snip and please stop with the this is Steve Burris in your email. We know who you are based on the from header in the email. You don't need to tell us again. later, Jake At 12:50 PM 8/21/2002 -0700, you wrote: This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- 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]
STILL Need Help w. Tomcat Install
This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
what os? On Wed, 2002-08-21 at 15:50, STEVE R BURRUS wrote: This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- 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: STILL Need Help w. Tomcat Install
This is nothing personal. I really would like to see you get the help you need. However, you didn't even tell anyone what operating system you are using. I would strongly recommend you read this FAQ about how to seek help on lists. http://www.tuxedo.org/~esr/faqs/smart-questions.html George Sexton MH Software, Inc. Voice: 303 438 9585 http://www.mhsoftware.com -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: 21 August, 2002 1:50 PM To: [EMAIL PROTECTED] Subject: STILL Need Help w. Tomcat Install This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- 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: STILL Need Help w. Tomcat Install
Hi Steve: How exactly does one go about installing the Tomcat 4.0.* correctly??? What problem are you having? What platform? I installed pre-compiled tomcat 4.0.4 on my Solaris box and it worked fine. Cheers, Mona == Mona Wong-Barnum National Center for Microscopy and Imaging Research University of California, San Diego http://ncmir.ucsd.edu/ The truth shall set you free, but first it will piss you off A Landmark instructor == -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STILL Need Help w. Tomcat Install
As far as I know, Steve is using Windows XP. John Turner [EMAIL PROTECTED] -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 4:03 PM To: Tomcat Users List Subject: RE: STILL Need Help w. Tomcat Install This is nothing personal. I really would like to see you get the help you need. However, you didn't even tell anyone what operating system you are using. I would strongly recommend you read this FAQ about how to seek help on lists. http://www.tuxedo.org/~esr/faqs/smart-questions.html George Sexton MH Software, Inc. Voice: 303 438 9585 http://www.mhsoftware.com -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: 21 August, 2002 1:50 PM To: [EMAIL PROTECTED] Subject: STILL Need Help w. Tomcat Install This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need help w. Tomcat Installation
I notice you have JAVA-HOME, the windows 4.0.4 I just downloaded uses JAVA_HOME. Is your email a typo? If all else fails you might simply put the following into the catalina.bat or setclasspath.bat files. set JAVA_HOME=you java home directory If you do it in the catalina.bat be sure to do before the call to setclasspath.bat around line 54 I have not used the windows version but we do this for our HP-UX since we use have multiple vendor servlet engines that use different sdk's. Jeff -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 2:55 PM To: [EMAIL PROTECTED] Subject: Need help w. Tomcat Installation Hello all, this is steve burrus.I am an admitted Tomcat newbie user, and I find myself in need again of some advice from someone/somebody about just how the hell do you first install tomcat??! I am trying to install Tomcat 4.0.4, and I get everything alright EXCEPT for getting an error msg. in DOS when I try to start it up saying that the JAVA-HOME environment isn't properly set!!! I know that I have set it in the System applet correctly!! I am using Win XP. Oh, and one more thing: Is there any new version of tomcat beyond v. 4.0.4? __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- 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: STILL Need Help w. Tomcat Install
If you will try again and document exactly what you do, I will be happy to chime in with where I think you ought to change things. You must be missing something fundamental, because the documentation on this is pretty good. Micael YOU WROTE How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
From: STEVE R BURRUS [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 12:50 PM This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! Speaking of list volume... Since 99% of the people here simply Reply to the e-mail, 99% of the responses to your pleas should have the SAME SUBJECT as you used originally (this e-mail is a perfect example). If your e-mail client can not filter, sort, or whatever by e-mail subject, then you simply need to get a better client. Clearly your current client is not adequate to the tasks for which you wish to use it (for example, managing a high volume mailing list). As far as your request, you give NO details as to what is wrong, or how you think your installation is not correct. No details whatsoever. You don't say what things you've tried, what documents you refered to for guidance in those attempts, and how they are not working. The basic, binary install works just peachy out of the box. Extract it to someplace appropriate, cd $WHERE_YOU_EXTRACTED_IT/bin, type 'startup.sh' or 'startup.bat', and boom, it works. Your JAVA_HOME environment variable must be set. It's that simple. Finally, the point of a mailing list is not simply a forum to scream and shout for help, its a community for sharing knowledge. Just like a USENET newsgroup, the value in the mailing list is seeing how the problems that people have are worked out ON the mailing list, thus when someone else has a problem, the archives will hopefully have the answers. There are few things more aggravating that seeing nothing but pleas but no answers in a mailing list. That makes it essentially worthless, both for the current readers and for future readers. So, never expect private mail, particularly early on, from a public forum. It's not fair to anyone. But, why am I saying all of this, when you won't read it anyway. Regards, Will Hartung ([EMAIL PROTECTED]) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
Steve, People have tried to help you. Case in point, you emailed me directly asking me the following Now, would you please list, very methodically, all of the various steps involved in installing Tomcat?! Incidentally, I am trying/attempting to install version 4.0.4 without too damned many problems that I might encounter. I responded with the following First I'd have to know what OS you are installing on. I won't be able to give out any Unix specific install info since I work on Windows. I also need to know what difficulties you are having with your current install. I'd love to help you, but I'm not going to run through every last detail of an install because that is what the existing docs and the archives of this list are for. Once you give me some base info to work from, we can try to figure out the issue you are having. I am still awaiting a response letting me know what you are having trouble with, specifically. If you aren't going to bother writing back information that I need to help you out, I'm not going to go out of my way to help you. I offered my help and you ignored the offer. The only reason I can see for this behavior is that you want the solution spoon-fed to you so others do the work for you and you just benefit from the advice without having to do much of any work. Please don't flame back at me for this statement. If you believe the statement is a mis-characterisation of your intent, then prove me wrong by actually providing some evidence that you, in fact, *have* read the available documentation. Until you do this, you have nothing to say to anyone else and no one else has *any* obligation to answer your pleas for help. Note: I am still willing to help you out, but please take the above into account before asking for more help in the future. Make sure you define what you have done so far and what exactly you are having difficulty with. No one here will write a book for you just in case one of those steps might just solve your issue. Narrow your scope and you might get some better responsesand please stop with the this is Steve Burris in your email. We know who you are based on the from header in the email. You don't need to tell us again. later, Jake At 12:50 PM 8/21/2002 -0700, you wrote: This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL Need Help w. Tomcat Install
I made the same offer, with no response. At 06:59 PM 8/21/2002 -0500, you wrote: Steve, People have tried to help you. Case in point, you emailed me directly asking me the following Now, would you please list, very methodically, all of the various steps involved in installing Tomcat?! Incidentally, I am trying/attempting to install version 4.0.4 without too damned many problems that I might encounter. I responded with the following First I'd have to know what OS you are installing on. I won't be able to give out any Unix specific install info since I work on Windows. I also need to know what difficulties you are having with your current install. I'd love to help you, but I'm not going to run through every last detail of an install because that is what the existing docs and the archives of this list are for. Once you give me some base info to work from, we can try to figure out the issue you are having. I am still awaiting a response letting me know what you are having trouble with, specifically. If you aren't going to bother writing back information that I need to help you out, I'm not going to go out of my way to help you. I offered my help and you ignored the offer. The only reason I can see for this behavior is that you want the solution spoon-fed to you so others do the work for you and you just benefit from the advice without having to do much of any work. Please don't flame back at me for this statement. If you believe the statement is a mis-characterisation of your intent, then prove me wrong by actually providing some evidence that you, in fact, *have* read the available documentation. Until you do this, you have nothing to say to anyone else and no one else has *any* obligation to answer your pleas for help. Note: I am still willing to help you out, but please take the above into account before asking for more help in the future. Make sure you define what you have done so far and what exactly you are having difficulty with. No one here will write a book for you just in case one of those steps might just solve your issue. Narrow your scope and you might get some better responsesand please stop with the this is Steve Burris in your email. We know who you are based on the from header in the email. You don't need to tell us again. later, Jake At 12:50 PM 8/21/2002 -0700, you wrote: This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- 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]
Need help w. Tomcat Installation
Hello all, this is steve burrus.I am an admitted Tomcat newbie user, and I find myself in need again of some advice from someone/somebody about just how the hell do you first install tomcat??! I am trying to install Tomcat 4.0.4, and I get everything alright EXCEPT for getting an error msg. in DOS when I try to start it up saying that the JAVA-HOME environment isn't properly set!!! I know that I have set it in the System applet correctly!! I am using Win XP. Oh, and one more thing: Is there any new version of tomcat beyond v. 4.0.4? __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need help w. Tomcat Installation
| -Original Message- | From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] | Sent: Sunday, August 18, 2002 3:55 PM | To: [EMAIL PROTECTED] | Subject: Need help w. Tomcat Installation | | Hello all, this is steve burrus.I am an admitted Tomcat newbie user, | and I | find | myself in need again of some advice from someone/somebody about just how | the hell | do you first install tomcat??! I am trying to install Tomcat 4.0.4, and I | get | everything alright EXCEPT for getting an error msg. in DOS when I try to | start it | up saying that the JAVA-HOME environment isn't properly set!!! Make sure you have j2sdk installed Right click on My Computer Go to Properties Click on Advanced Tab Click on Environment Variables at the bottom Under system variables, click New Variable Name: JAVA_HOME Variable Value: C:\j2sdk. Wherever your root sdk installation is Note, if you already have a console window open, you will need to close it and open a new one to get the updated system variable (I don't know why, it just does). | I know that | I have | set it in the System applet correctly!! I am using Win XP. Oh, and one | more | thing: Is there any new version of tomcat beyond v. 4.0.4? Of course... try looking at jakarta's home page, it reads at the top 15 August 2002 - Tomcat 4.1.9 Beta Released | | | | __ | Do You Yahoo!? | HotJobs - Search Thousands of New Jobs | http://www.hotjobs.com | | -- | To unsubscribe, e-mail: mailto:tomcat-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:tomcat-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need help w. Tomcat Installation
Steve, At 14:04 2002-08-18, Jacob Hookom wrote: | -Original Message- | From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] | Sent: Sunday, August 18, 2002 3:55 PM | To: [EMAIL PROTECTED] | Subject: Need help w. Tomcat Installation | | Hello all, this is steve burrus.I am an admitted Tomcat newbie user, and I | find myself in need again of some advice from someone/somebody about just how | the hell do you first install tomcat??! I am trying to install Tomcat 4.0.4, and I | get everything alright EXCEPT for getting an error msg. in DOS when I try to | start it up saying that the JAVA-HOME environment isn't properly set!!! Make sure you have j2sdk installed Right click on My Computer Go to Properties Click on Advanced Tab Click on Environment Variables at the bottom Under system variables, click New Variable Name: JAVA_HOME Variable Value: C:\j2sdk. Wherever your root sdk installation is In your mail, Steve, you wrote JAVA-HOME. Make sure you're using JAVA_HOME. Note, if you already have a console window open, you will need to close it and open a new one to get the updated system variable (I don't know why, it just does). In both Unix and Windows (at least NT, 2K and XP), each process carries it's own environment internally. A newly created process inherits its initial environment from the process that created it at the time it is crated. After that, changes in the system-wide or parent process's environment do not affect that of any already running process--only that process itself can change its environment. Randall Schulz Mountain View, CA USA | I know that I have | set it in the System applet correctly!! I am using Win XP. Oh, and one | more thing: Is there any new version of tomcat beyond v. 4.0.4? Only development releases. This is made clear (and kept up-to-date) on the Tomcat home page http://jakarta.apache.org/tomcat/index.html. Of course... try looking at jakarta's home page, it reads at the top 15 August 2002 - Tomcat 4.1.9 Beta Released -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Error 500 need help
***i'm getting an error i can't solve. during the build process i get a message that states this: [javadoc] /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile r/SunJavaCompiler.java:65:package sun.tools.javac does not exist import sun.tools.javac.Main; ^ the build is successful but the jsp examples generate the error below any one have a solution?? i'm using j2sdk1.4.0_01 on read hat linux 7.2. i'm assuming that i get this error because of the message above. Apache Tomcat/4.0.4 - 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 javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94 6) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.xerces.parsers.AbstractDOMParser.setDocumentClassName(AbstractDOM Parser.java:347) at org.apache.xerces.parsers.AbstractDOMParser.reset(AbstractDOMParser.java:417 ) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:151) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20 1) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86) at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:201) at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa che.java:165) at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138) at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350) at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91 8) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
Re: Error 500 need help
it looks like you have an xml parser conflict ( tomcat's xerces and the jdk's xml parser ). either download tomcat4-LE-jdk14 or reorder your xml parser's jar files in your classpath ( ie put xml-apis.jar, xercesImpl.jar first in your CLASSPATH). check xerces' documentation for further info. good look ***i'm getting an error i can't solve. during the build process i get a message that states this: [javadoc] /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile r/SunJavaCompiler.java:65:package sun.tools.javac does not exist import sun.tools.javac.Main; ^ the build is successful but the jsp examples generate the error below any one have a solution?? i'm using j2sdk1.4.0_01 on read hat linux 7.2. i'm assuming that i get this error because of the message above. Apache Tomcat/4.0.4 - 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 javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94 6) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.xerces.parsers.AbstractDOMParser.setDocumentClassName(AbstractDOM Parser.java:347) at org.apache.xerces.parsers.AbstractDOMParser.reset(AbstractDOMParser.java:417 ) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:151) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20 1) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86) at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:201) at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa che.java:165) at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
RE: Error 500 need help
i tried the trick and it didn't work. i still get the same error message. it looked more like a java issue to me. have any more suggestions? what i doing here is building tomcat straight from source and i have the most recent src version off the jakarta website. -Original Message- From: Carlos Ferreira [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 12:44 PM To: [EMAIL PROTECTED] Subject: Re: Error 500 need help it looks like you have an xml parser conflict ( tomcat's xerces and the jdk's xml parser ). either download tomcat4-LE-jdk14 or reorder your xml parser's jar files in your classpath ( ie put xml-apis.jar, xercesImpl.jar first in your CLASSPATH). check xerces' documentation for further info. good look ***i'm getting an error i can't solve. during the build process i get a message that states this: [javadoc] /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile r/SunJavaCompiler.java:65:package sun.tools.javac does not exist import sun.tools.javac.Main; ^ the build is successful but the jsp examples generate the error below any one have a solution?? i'm using j2sdk1.4.0_01 on read hat linux 7.2. i'm assuming that i get this error because of the message above. Apache Tomcat/4.0.4 - 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 javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94 6) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.xerces.parsers.AbstractDOMParser.setDocumentClassName(AbstractDOM Parser.java:347) at org.apache.xerces.parsers.AbstractDOMParser.reset(AbstractDOMParser.java:417 ) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:151) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253
Possible problem: ajp13 on Tomcat 3.2.x - need help
We are using Apache 1.3.26 and Tomcat 3.2.2. We've seen some clients to be hanging Apache on SSL read. The cause of this hang seems to be network/TCP/IP issue. The read will eventually times out. When it times out, here's where the problem starts. Tomcat seems to be grabbing some buffer that contains partial data of the previous request and call a servlet with it. The servlet will throw an exception because the data is bad. Here are the details (you will need to pull up the code to see what I mean). When Apache read times out, mod_jk's jk_ajp13_worker.c::read_into_msg_buff() will return error. mod_jk will drop its connection to Tomcat and retry (up to JK_RETRIES times - see the service() function). In the retry, the HTTP header gets resent to Tomcat. When Tomcat receives this header, it will eventually call Ajp13ConnectorRequest::decodeRequest(). This method will attempt to read more data from mod_jk (the call to con.receive()). This call will fail because mod_jk has yet again drop the connection (in its 2nd retry to call read_into_msg_buff() fails). Since this call (con.receive()) fails, the attribute blen is never set to the content-length of this request. Instead, blen has the value of the content-length of the previous request. Because the call to con.receive() fails, the method decodeRequest() will return -1. The caller to decodeRequest, Ajp13ConnectionHandler::processConnection(), doesn't check the error code and it proceeds to call the servlet. The servlet will issue a read and it will eventually call Ajp13ConnectorRequest::doRead(). In doRead(), I dumped some values of the variables. pos is always 0. blen is some number. The problem happens when blen is less than the length of the buffer (variable len). The method will copy some data from bodyBuff, which is a left-over from previous request. Note, I checked the source code for Tomcat 3.2.4. It doesn't seem to be fixed yet. We may not have the luxury to upgrade to Tomcat 3.3 yet. So I am attempting to fix this, but I have a question: Why does Ajp13ConnectionHandler::processConnection() not check the error code from decodeRequest()? It seems to me like if it gets an error in decodeRequest(), it should not call the service() method which calls the servlet. thanks, shinta -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need help deciphering the docs for Host/
Hello, The docs say that the Host tag can take a deployXML attribute, and has the following explanation: Set to false if you want to disable deploying applications using a Context XML config file. Applications are deployed with the security permissions of catalina, for security this may need to be set to false if untrusted users can manage web applications. The flag's value defaults to true. (From http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Standard%20Implementation) What is meant by 'a Context XML config file'? Is this a deployment descriptor? (A web.xml) Something different? Also, I noticed that the server.xml file doesn't have the standard XML preamble (No ?xml? tag, and no DTD reference.) Is there a DTD for this file, or is it more of an ad hoc kind of thing? Should I be asking this on the developer list instead? Let me know. (I always try to ask stuff on the user list first, as a courtesy, but this seems like it might be more a developer list question.) Thanks in advance! -Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help deciphering the docs for Host/
On Thu, 18 Jul 2002, Ian McFarland wrote: Date: Thu, 18 Jul 2002 19:56:19 -0700 From: Ian McFarland [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Ian McFarland [EMAIL PROTECTED] Subject: Need help deciphering the docs for Host/ Hello, The docs say that the Host tag can take a deployXML attribute, and has the following explanation: Set to false if you want to disable deploying applications using a Context XML config file. Applications are deployed with the security permissions of catalina, for security this may need to be set to false if untrusted users can manage web applications. The flag's value defaults to true. (From http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Standard%20Implementation) What is meant by 'a Context XML config file'? Is this a deployment descriptor? (A web.xml) Something different? In Tomcat 4.1.x, you can take the Context element (and it's nested elements) out of server.xml and manage them in a separate file called a context config file. If one of these files is found in the webapps directory, that application will get deployed with a configuration based on the contents of this file, just as if it had been embedded inside the Host element in server.xml. In the 4.1.7 beta release, for example, the admin and manager webapps are deployed in this way. Also, I noticed that the server.xml file doesn't have the standard XML preamble (No ?xml? tag, and no DTD reference.) Is there a DTD for this file, or is it more of an ad hoc kind of thing? Should I be asking this on the developer list instead? Let me know. (I always try to ask stuff on the user list first, as a courtesy, but this seems like it might be more a developer list question.) There should probably be an ?xml? tag at the top. For DTDs, however, there is not and cannot be one. The challenge is that you can define your own implementation classes for many elements (including Valve, just to take one example), and your implementation class might have a set of JavaBeans properties to configure it. If you built a DTD for server.xml, the information about the Valve element would not list the attributes for the properties supported by your Valve class. Thanks in advance! -Ian Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need help - intranet application
how to run an application on an intranet. I want my servlets to be accessible only for the comps on my LAN. I am using tomcat 4 - 80 port is for our website now do i have to use some other port for intranet application - if yes how to configure tomcat to listen to two ports. Thanks in advance = # Lalit Nagpal # __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
URGET - NEED HELP
I can't seem to get tomcat to run as a standalone web server. I have a webapp that is almost entirely dynamic so I do not want to use the apache/tomcat combo, I just want tomcat. I have two nics in my system, a public and a private one (this box also functions as a NAT server) when I configure tomcat to run on port 8080 then everything is fine, but when I tell it to run on port 80 then I can only access the webapp from within the private network (even if I use the public ip) but I can't see the webapp from the public network. I tried telneting to port 80 from the public network and it connects but when I do GET / (which normally returns something) I get nothing, I looked at the tomcats access logs and it doesn't have an entry for these requests. ANY HELP WOULD BE GREAT - THIS IS REALLY URGENT
RE: URGET - NEED HELP
Do you have any firewall software running like black ice? Software like that will give you the same results as you described. -Original Message- From: Vlad [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 11:55 AM To: Tomcat Users List Subject: URGET - NEED HELP I can't seem to get tomcat to run as a standalone web server. I have a webapp that is almost entirely dynamic so I do not want to use the apache/tomcat combo, I just want tomcat. I have two nics in my system, a public and a private one (this box also functions as a NAT server) when I configure tomcat to run on port 8080 then everything is fine, but when I tell it to run on port 80 then I can only access the webapp from within the private network (even if I use the public ip) but I can't see the webapp from the public network. I tried telneting to port 80 from the public network and it connects but when I do GET / (which normally returns something) I get nothing, I looked at the tomcats access logs and it doesn't have an entry for these requests. ANY HELP WOULD BE GREAT - THIS IS REALLY URGENT --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: URGET - NEED HELP
I haven't installed any firewall software and my iptables script looks something like this. iptables -P INPUT ACCEPT iptables -F INPUT iptables -P OUTPUT ACCEPT iptables -F OUTPUT iptables -P FORWARD DROP iptables -F FORWARD iptables -t nat -F iptables -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED, RELATED -j ACCEPT iptables -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT iptables -A FORWARD -j LOG iptables -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 1:02 PM To: 'Tomcat Users List' Subject: RE: URGET - NEED HELP Do you have any firewall software running like black ice? Software like that will give you the same results as you described. -Original Message- From: Vlad [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 11:55 AM To: Tomcat Users List Subject: URGET - NEED HELP I can't seem to get tomcat to run as a standalone web server. I have a webapp that is almost entirely dynamic so I do not want to use the apache/tomcat combo, I just want tomcat. I have two nics in my system, a public and a private one (this box also functions as a NAT server) when I configure tomcat to run on port 8080 then everything is fine, but when I tell it to run on port 80 then I can only access the webapp from within the private network (even if I use the public ip) but I can't see the webapp from the public network. I tried telneting to port 80 from the public network and it connects but when I do GET / (which normally returns something) I get nothing, I looked at the tomcats access logs and it doesn't have an entry for these requests. ANY HELP WOULD BE GREAT - THIS IS REALLY URGENT --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002 -- 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]
Need help with Tomcat on Apache on Windows 2000
I am using Windows 2000 server NTFS file system If someone could help me configure my Apache 2.0.39 I am using Java 2 SDK Standard editiom 1.3.1_03 I believe I am using the Binary version for everything. I got most of the good info regarding mod_jk , I had no Idea where to find this file. sohttp://www.galatea.com/flashguides/apache-tomcat-24-win32.xml helped me.. Basically, I cant get apache to work with tomcat. I downloaded Download the tomcat connectors SOURCE from is this OK? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakarta-tomcat-connectors-4.0.2-01-src.zip. then 2. Unpack the distribution in the desired directory 3. Make sure you have ant installed and %ANT_HOME% set. If not, follow these steps: a. Download ant from http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta-ant-1.4.1-bin.zip b. Unpack the distribution in the desired directory c. Set %ANT_HOME% in your environment to point to the ant installation After that. I just couldnt get it to go.. pls HELP!! j03b0x3r _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help with Tomcat on Apache on Windows 2000
Can anyone help me please! From: Joey Kovacs [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 13:24:56 + I am using Windows 2000 server NTFS file system If someone could help me configure my Apache 2.0.39 I am using Java 2 SDK Standard editiom 1.3.1_03 I believe I am using the Binary version for everything. I got most of the good info regarding mod_jk , I had no Idea where to find this file. sohttp://www.galatea.com/flashguides/apache-tomcat-24-win32.xml helped me.. Basically, I cant get apache to work with tomcat. I downloaded Download the tomcat connectors SOURCE from is this OK? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakarta-tomcat-connectors-4.0.2-01-src.zip. then 2. Unpack the distribution in the desired directory 3. Make sure you have ant installed and %ANT_HOME% set. If not, follow these steps: a. Download ant from http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta-ant-1.4.1-bin.zip b. Unpack the distribution in the desired directory c. Set %ANT_HOME% in your environment to point to the ant installation After that. I just couldnt get it to go.. pls HELP!! j03b0x3r _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] j03b0x3r _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help with Tomcat on Apache on Windows 2000
You can grab the binary for mod_jk for Apache 2.0.39 from here: http://www.acg-gmbh.de/mod_jk/ just grab mod_jk.dll, put it in your Apache2/modules directory, configure everything else like it says on the flashguides page, and you should be up and running. Jake At 01:24 PM 6/29/2002 +, you wrote: I am using Windows 2000 server NTFS file system If someone could help me configure my Apache 2.0.39 I am using Java 2 SDK Standard editiom 1.3.1_03 I believe I am using the Binary version for everything. I got most of the good info regarding mod_jk , I had no Idea where to find this file. sohttp://www.galatea.com/flashguides/apache-tomcat-24-win32.xml helped me.. Basically, I cant get apache to work with tomcat. I downloaded Download the tomcat connectors SOURCE from is this OK? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakarta-tomcat-connectors-4.0.2-01-src.zip. then 2. Unpack the distribution in the desired directory 3. Make sure you have ant installed and %ANT_HOME% set. If not, follow these steps: a. Download ant from http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta-ant-1.4.1-bin.zip b. Unpack the distribution in the desired directory c. Set %ANT_HOME% in your environment to point to the ant installation After that. I just couldnt get it to go.. pls HELP!! j03b0x3r _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help with Tomcat on Apache on Windows 2000
I grabed the debug version of it the 173 KB Everything else is ok if you go to http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml near the bottom of the page. it says to Load Module in httpd.conf everytime I right anything in that file. Apache dosent start after that it tells me to 1. Option 1: edit httpd.conf to inclucde mod_jk.conf a. Add the following lines to the end of the LoadModule section: Include c:/apps/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf how do I enter this? Maybe Im putting it in wrong.. where do I put this?. and do I just copy and paste it? Include c:/apps/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf can you have a look pls From: Jacob Kjome [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 10:44:57 -0500 You can grab the binary for mod_jk for Apache 2.0.39 from here: http://www.acg-gmbh.de/mod_jk/ just grab mod_jk.dll, put it in your Apache2/modules directory, configure everything else like it says on the flashguides page, and you should be up and running. Jake At 01:24 PM 6/29/2002 +, you wrote: I am using Windows 2000 server NTFS file system If someone could help me configure my Apache 2.0.39 I am using Java 2 SDK Standard editiom 1.3.1_03 I believe I am using the Binary version for everything. I got most of the good info regarding mod_jk , I had no Idea where to find this file. sohttp://www.galatea.com/flashguides/apache-tomcat-24-win32.xml helped me.. Basically, I cant get apache to work with tomcat. I downloaded Download the tomcat connectors SOURCE from is this OK? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakarta-tomcat-connectors-4.0.2-01-src.zip. then 2. Unpack the distribution in the desired directory 3. Make sure you have ant installed and %ANT_HOME% set. If not, follow these steps: a. Download ant from http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta-ant-1.4.1-bin.zip b. Unpack the distribution in the desired directory c. Set %ANT_HOME% in your environment to point to the ant installation After that. I just couldnt get it to go.. pls HELP!! j03b0x3r _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] j03b0x3r _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help with Tomcat on Apache on Windows 2000
No need to use the debug version unless you plan on actually debugging it in Visual Studio or something. Here's my include statement: Include C:/Program Files/Apache Group/Jakarta/tomcat-4.1.3/conf/jk/mod_jk.conf You can autogenerate the mod_jk.conf file by doing the following in your server.xml: Put the following right after the Server... element and change the paths for your system: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=c:/Progra~1/Apache~1/Apache2/modules/mod_jk.dll jkDebug=info workersConfig=c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.3/conf/jk/workers.properties jkLog=c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.3/logs/mod_jk.log / Put the following right after any and all Host... elements you have: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true forwardAll=false / This will output a mod_jk.conf in the CATALINA_HOME/conf/auto directory. After this is done, I suggest commenting out the stuff you added to server.xml and copying the conf/auto/mod_jk.conf to conf/jk/mod_jk.conf. This makes it so if you want to tweak your mod_jk.conf, you can do that without worrying about it being overwritten. Now you just have to worry about the workers.properties. I'm attaching mine for your convenience. I'll also attach a copy of the auto-generated mod_jk.conf. If you have everything under the localhost Host and notice that you can't hit hit your app at any address but http://localhost/mywebapp, remove the following from mod_jk.conf: VirtualHost localhost ServerName localhost Or, just make sure to set your app up under the proper host in server.xml. Either way will work. Also, in addition to the somewhat messy setup of the mod_jk.conf that you see autogenerated for most of your contexts, you can also configure it simply like this: JkMount /myapp ajp13 JkMount /myapp/* ajp13 That negates the need for all that extra Alias, Directory, and Location stuff since all it does is tell Apache to forward everthing to Tomcat. The disadvantage of this clean setup is that Apache will no longer serve up static files which would take some of the burden off Tomcat. Anyway, that's it. Attached are my example files. Jake At 03:49 PM 6/29/2002 +, you wrote: I grabed the debug version of it the 173 KB Everything else is ok if you go to http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml near the bottom of the page. it says to Load Module in httpd.conf everytime I right anything in that file. Apache dosent start after that it tells me to 1. Option 1: edit httpd.conf to inclucde mod_jk.conf a. Add the following lines to the end of the LoadModule section: Include c:/apps/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf how do I enter this? Maybe Im putting it in wrong.. where do I put this?. and do I just copy and paste it? Include c:/apps/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf can you have a look pls From: Jacob Kjome [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 10:44:57 -0500 You can grab the binary for mod_jk for Apache 2.0.39 from here: http://www.acg-gmbh.de/mod_jk/ just grab mod_jk.dll, put it in your Apache2/modules directory, configure everything else like it says on the flashguides page, and you should be up and running. Jake At 01:24 PM 6/29/2002 +, you wrote: I am using Windows 2000 server NTFS file system If someone could help me configure my Apache 2.0.39 I am using Java 2 SDK Standard editiom 1.3.1_03 I believe I am using the Binary version for everything. I got most of the good info regarding mod_jk , I had no Idea where to find this file. so http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml helped me.. Basically, I cant get apache to work with tomcat. I downloaded Download the tomcat connectors SOURCE from is this OK? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakarta-tomcat-connectors-4.0.2-01-src.zip. then 2. Unpack the distribution in the desired directory 3. Make sure you have ant installed and %ANT_HOME% set. If not, follow these steps: a. Download ant from http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta-ant-1.4.1-bin.zip b. Unpack the distribution in the desired directory c. Set %ANT_HOME% in your environment to point to the ant installation After that. I just couldnt get it to go.. pls HELP!! j03b0x3r _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] j03b0x3r _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mod_jk
Re: Need help with Tomcat on Apache on Windows 2000
Hey, Jacob.. Thanks for the help I realy appreciate that.. that was awsome. It hasnt quite worked for me yet I am also getting this now when I start Tomcat. Starting service Tomcat-Standalone Apache Tomcat/4.0.3 java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447) at java.net.ServerSocket.init(ServerSocket.java:165) at java.net.ServerSocket.init(ServerSocket.java:116) at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Defau ltServerSocketFactory.java:118) at org.apache.ajp.tomcat4.Ajp13Connector.open(Ajp13Connector.java:752) at org.apache.ajp.tomcat4.Ajp13Connector.start(Ajp13Connector.java:943) at org.apache.catalina.core.StandardService.start(StandardService.java:3 95) at org.apache.catalina.core.StandardServer.start(StandardServer.java:506 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:781) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) java.lang.NullPointerException at org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java:792) at java.lang.Thread.run(Thread.java:479) Starting service Tomcat-Apache Apache Tomcat/4.0.3 Is this normal? From: Jacob Kjome [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 11:31:19 -0500 No need to use the debug version unless you plan on actually debugging it in Visual Studio or something. Here's my include statement: Include C:/Program Files/Apache Group/Jakarta/tomcat-4.1.3/conf/jk/mod_jk.conf You can autogenerate the mod_jk.conf file by doing the following in your server.xml: Put the following right after the Server... element and change the paths for your system: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=c:/Progra~1/Apache~1/Apache2/modules/mod_jk.dll jkDebug=info workersConfig=c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.3/conf/jk/workers.properties jkLog=c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.3/logs/mod_jk.log / Put the following right after any and all Host... elements you have: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true forwardAll=false / This will output a mod_jk.conf in the CATALINA_HOME/conf/auto directory. After this is done, I suggest commenting out the stuff you added to server.xml and copying the conf/auto/mod_jk.conf to conf/jk/mod_jk.conf. This makes it so if you want to tweak your mod_jk.conf, you can do that without worrying about it being overwritten. Now you just have to worry about the workers.properties. I'm attaching mine for your convenience. I'll also attach a copy of the auto-generated mod_jk.conf. If you have everything under the localhost Host and notice that you can't hit hit your app at any address but http://localhost/mywebapp, remove the following from mod_jk.conf: VirtualHost localhost ServerName localhost Or, just make sure to set your app up under the proper host in server.xml. Either way will work. Also, in addition to the somewhat messy setup of the mod_jk.conf that you see autogenerated for most of your contexts, you can also configure it simply like this: JkMount /myapp ajp13 JkMount /myapp/* ajp13 That negates the need for all that extra Alias, Directory, and Location stuff since all it does is tell Apache to forward everthing to Tomcat. The disadvantage of this clean setup is that Apache will no longer serve up static files which would take some of the burden off Tomcat. Anyway, that's it. Attached are my example files. Jake At 03:49 PM 6/29/2002 +, you wrote: I grabed the debug version of it the 173 KB Everything else is ok if you go to http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml near the bottom of the page. it says to Load Module in httpd.conf everytime I right anything in that file. Apache dosent start after that it tells me to 1. Option 1: edit httpd.conf to inclucde mod_jk.conf a. Add the following lines to the end of the LoadModule section: Include c:/apps/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf how do I enter this? Maybe Im putting it in wrong.. where do I put this?. and do I just copy and paste it? Include c:/apps/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf can you have a look pls From: Jacob Kjome [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun
Re: Need help with Tomcat on Apache on Windows 2000
I get a the requested operation failed as soon as I add in the Include statement. My computer just dosent like that what ports should everyhting be on? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help with Tomcat on Apache on Windows 2000
Joey, this is Steve Burrus, and I believe that this is the FIRST time that I have bothered to try/attempt to electronically reach u!! (Incidentally, you spell it e-v-e-r-y-t-h-i-n-g, not the way that you did!) Listen, in direct response to your query to the group, I wold first try port 80, then if that doesn't work, try port 8080, if that doesn't work, try . But, if that still doesn't work for you, then give up and start to pray that someone else in the tomcat users newsgroup would know what the correct is!! :) *** Joey Kovacs wrote: I get a the requested operation failed as soon as I add in the Include statement. My computer just dosent like that what ports should everyhting be on? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- 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: Need help with Tomcat on Apache on Windows 2000
OK, well I have Apache on port 80 and Tomcat running on 8080 im just wondering if I should leave them on those ports Because I want to interconnect them From: Steve R. Burrus [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 14:32:46 -0500 Joey, this is Steve Burrus, and I believe that this is the FIRST time that I have bothered to try/attempt to electronically reach u!! (Incidentally, you spell it e-v-e-r-y-t-h-i-n-g, not the way that you did!) Listen, in direct response to your query to the group, I wold first try port 80, then if that doesn't work, try port 8080, if that doesn't work, try . But, if that still doesn't work for you, then give up and start to pray that someone else in the tomcat users newsgroup would know what the correct is!! :) *** Joey Kovacs wrote: I get a the requested operation failed as soon as I add in the Include statement. My computer just dosent like that what ports should everyhting be on? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- 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] j03b0x3r _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help with Tomcat on Apache on Windows 2000
Joey, yes, if you want to connect apache and tomcat you'll want to leave them on their respective ports. What exactly was your include statement? What are you trying to include? What connector are you using, or have you set up a connector as of yet? Liam Morley Joey Kovacs wrote: OK, well I have Apache on port 80 and Tomcat running on 8080 im just wondering if I should leave them on those ports Because I want to interconnect them From: Steve R. Burrus [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 14:32:46 -0500 Joey, this is Steve Burrus, and I believe that this is the FIRST time that I have bothered to try/attempt to electronically reach u!! (Incidentally, you spell it e-v-e-r-y-t-h-i-n-g, not the way that you did!) Listen, in direct response to your query to the group, I wold first try port 80, then if that doesn't work, try port 8080, if that doesn't work, try . But, if that still doesn't work for you, then give up and start to pray that someone else in the tomcat users newsgroup would know what the correct is!! :) *** Joey Kovacs wrote: I get a the requested operation failed as soon as I add in the Include statement. My computer just dosent like that what ports should everyhting be on? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- 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] j03b0x3r _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- 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: Need help with Tomcat on Apache on Windows 2000
Thank you Liam My connector I believe in ANT I am using Tomcat 4 Apache 2 Java SDK 1.3 - this is supposed to be my JKD?? I got everything from this site http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml there is an Apache section near the bottom my path to C:\tomcat4\conf\auto\mod_jk.conf But isnt this supposed to change everytime Tocat starts, im not sure it does, so Yeah, everytime I add a Include statement, I get an error. and I cant even start the apache service? is this strange? here is my httpd.conf file From: Liam Morley [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 16:11:30 -0400 Joey, yes, if you want to connect apache and tomcat you'll want to leave them on their respective ports. What exactly was your include statement? What are you trying to include? What connector are you using, or have you set up a connector as of yet? Liam Morley Joey Kovacs wrote: OK, well I have Apache on port 80 and Tomcat running on 8080 im just wondering if I should leave them on those ports Because I want to interconnect them From: Steve R. Burrus [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 14:32:46 -0500 Joey, this is Steve Burrus, and I believe that this is the FIRST time that I have bothered to try/attempt to electronically reach u!! (Incidentally, you spell it e-v-e-r-y-t-h-i-n-g, not the way that you did!) Listen, in direct response to your query to the group, I wold first try port 80, then if that doesn't work, try port 8080, if that doesn't work, try . But, if that still doesn't work for you, then give up and start to pray that someone else in the tomcat users newsgroup would know what the correct is!! :) *** Joey Kovacs wrote: I get a the requested operation failed as soon as I add in the Include statement. My computer just dosent like that what ports should everyhting be on? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- 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] j03b0x3r _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- 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] j03b0x3r _ Send and receive Hotmail on your mobile device: http://mobile.msn.com # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs-2.0/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so logs/foo.log # with ServerRoot set to /usr/local/apache will be interpreted by the # server as /usr/local/apache/logs/foo.log. # # NOTE: Where filenames are specified, you must use forward slashes # instead of backslashes (e.g., c:/apache instead of c:\apache). # If a drive letter is omitted, the drive on which Apache.exe is located # will be used by default. It is recommended that you always
Re: Need help with Tomcat on Apache on Windows 2000
Joey, Jakarta Ant is actually a java compiler of sorts, not a connector.. but from that website, it looks like you're trying to use mod_jk. I didn't see your Include line in your httpd.conf file. The syntax for it is something like this: Include C:/tomcat4/conf/auto/mod_jk.conf what are the contents of your C:\tomcat4\conf\auto\mod_jk.conf file? And do you have a mod_jk.dll file in your apache\modules directory? Is there anything in your error log, which is in your apache\logs\error.log file? Sometime in the future, you might want to think about upgrading Apache to the latest version http://www.apache.org/dist/httpd/. There was a security hole mentioned for the 2.0.36 release which has been patched in 2.0.39. Liam Morley Joey Kovacs wrote: Thank you Liam My connector I believe in ANT I am using Tomcat 4 Apache 2 Java SDK 1.3 - this is supposed to be my JKD?? I got everything from this site http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml there is an Apache section near the bottom my path to C:\tomcat4\conf\auto\mod_jk.conf But isnt this supposed to change everytime Tocat starts, im not sure it does, so Yeah, everytime I add a Include statement, I get an error. and I cant even start the apache service? is this strange? here is my httpd.conf file From: Liam Morley [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 16:11:30 -0400 Joey, yes, if you want to connect apache and tomcat you'll want to leave them on their respective ports. What exactly was your include statement? What are you trying to include? What connector are you using, or have you set up a connector as of yet? Liam Morley Joey Kovacs wrote: OK, well I have Apache on port 80 and Tomcat running on 8080 im just wondering if I should leave them on those ports Because I want to interconnect them From: Steve R. Burrus [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Date: Sat, 29 Jun 2002 14:32:46 -0500 Joey, this is Steve Burrus, and I believe that this is the FIRST time that I have bothered to try/attempt to electronically reach u!! (Incidentally, you spell it e-v-e-r-y-t-h-i-n-g, not the way that you did!) Listen, in direct response to your query to the group, I wold first try port 80, then if that doesn't work, try port 8080, if that doesn't work, try . But, if that still doesn't work for you, then give up and start to pray that someone else in the tomcat users newsgroup would know what the correct is!! :) *** Joey Kovacs wrote: I get a the requested operation failed as soon as I add in the Include statement. My computer just dosent like that what ports should everyhting be on? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- 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] j03b0x3r _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- 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] j03b0x3r _ Send and receive Hotmail on your mobile device: http://mobile.msn.com # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs-2.0/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings
RE: Need help with Tomcat on Apache on Windows 2000
Hey Joey, Ant is a make tool. It would be best if we knew exactly what version. For instance, I am using Apache 2.0.39 and Tomcat 4.0.3, and Java SDK 1.3.1 I also followed this guide, but I did not build anything myself. http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml for instance, I followed the link to the compiled dll, and I was able to get my version running by downloading this mod_jk.dll http://www.acg-gmbh.de/mod_jk/Release/mod_jk.dll This one was compiled using Apache 2.0.39 and Apache Tomcat 4.0.4; I was originally trying to use the connector from Tomcat 3.3, but it failed miserably. If you make any changes to your httpd.conf or mod_jk.conf, remember to RESTART APACHE. Also, check the event viewer if your service fails to start. That helped me troubleshoot a lot. the very last line of my httpd.conf file is (notice the forward slashes / as apposed to the usual \): # include mod_jk.conf Include C:/Program Files/Apache Tomcat 4.0/TomcatOnApache/mod_jk.conf # I have a folder in my Tomcat directory called TomcatOnApache where I store all my files My mod_jk.conf file looks like this: #begin mod_jk.conf IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.dll /IfModule JkWorkersFile c:/program files/Apache Tomcat 4.0/TomcatOnApache/workers.properties JkLogFile c:/program files/Apache Tomcat 4.0/TomcatOnApache/logs/mod_jk.log JkLogLevel info JkMount /*.jsp ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /struts-documentation ajp13 JkMount /struts-documentation/* ajp13 JkMount /bookstore ajp13 JkMount /bookstore/* ajp13 JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /struts-example ajp13 JkMount /struts-example/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 JkMount /jsp ajp13 JkMount /jsp/* ajp13 #end mod_jk.conf * And my workers.properties file looks like this: * #begin workers.properties # Tomcat Home Directory workers.tomcat_home=C:\Program Files\Apache Tomcat 4.0 #Java Home Directory workers.java_home=C:\jdk1.3.1 #Environment slash; \ on NT and / on Unix/Linux ps=\ # ps=/ worker.list=ajp13 # , inprocess #-- DEFAULT ajp13 WORKER DEFINITION -- worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 #-- DEFAULT LOAD BALANCER WORKER DEFINITION -- worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 #-- DEFAULT JNI WORKER DEFINITION- worker.inprocess.type=jni #-- CLASSPATH DEFINITION - worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.ja r # worker.inprocess.cmd_line=start #Java 2 jvm worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classi c$(ps)jvm.dll # Setting the place for the stdout and stderr of tomcat worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.st dout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.st derr #end workers.properties -Original Message- From: Joey Kovacs [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 29, 2002 4:22 PM To: [EMAIL PROTECTED] Subject: Re: Need help with Tomcat on Apache on Windows 2000 Thank you Liam My connector I believe in ANT I am using Tomcat 4 Apache 2 Java SDK 1.3 - this is supposed to be my JKD?? I got everything from this site http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml there is an Apache section near the bottom my path to C:\tomcat4\conf\auto\mod_jk.conf But isnt this supposed to change everytime Tocat starts, im not sure it does, so Yeah, everytime I add a Include statement, I get an error. and I cant even start the apache service? is this strange? here is my httpd.conf file -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help
Ravi, Eric is right on when he says that you need to understand Tomcat before you try to integrate it with another web server such as IIS. But when you are ready to try it, here are a few options to look at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html - This is the section I used to configure Tomcat on IIS. It's not very intuitive, but it has all the relevant information. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - This helpfile has a lot more detail, and it's intended to be used to install Tomcat 4.x+ on Windows 2000+. It should be more helpful. Finally, if you are really brave, I am authoring an installation program (it's still a beta app) for configuring Tomcat on IIS. Send me an email directly, and I'll send you the program. - Andrew -Original Message- From: Ravi Kumar [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 22, 2002 6:41 AM To: [EMAIL PROTECTED] Subject: Need Help Sir, I'm new to TOMCat. i am familier in asp (IIS) , now i want shift my all projects into jsp so i download tomcat4.0.3 and also installd, but i don't how to configure with iis becs most of the articles are talking about tomcat4 so i need full and every steps to configure the iis with tomcat Instalation Directory Tomcat : C:\Program Files\Apache Tomcat 4.0\bin IIS: C:\Inetpub\wwwroot Java : C:\jdk1.3 Pls send the full details Regards Ravi Kumar - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need Help
Sir, I'm new to TOMCat. i am familier in asp (IIS) , now i want shift my all projects into jsp so i download tomcat4.0.3 and also installd, but i don't how to configure with iis becs most of the articles are talking about tomcat4 so i need full and every steps to configure the iis with tomcat Instalation Directory Tomcat : C:\Program Files\Apache Tomcat 4.0\bin IIS: C:\Inetpub\wwwroot Java : C:\jdk1.3 Pls send the full details Regards Ravi Kumar - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup
Re: Need Help
Ravi- If you just need to set up Tomcat so that you can experiment with it, I would suggest not trying to integrate it with IIS at first. Instead, install Tomcat for standalone use and work on a local machine or intranet. When you've got things working the way you want them to, then you can deal with the complications of running under IIS. Good luck! Eric Everman At 05:41 AM 6/22/2002, you wrote: Sir, I'm new to TOMCat. i am familier in asp (IIS) , now i want shift my all projects into jsp so i download tomcat4.0.3 and also installd, but i don't how to configure with iis becs most of the articles are talking about tomcat4 so i need full and every steps to configure the iis with tomcat Instalation Directory Tomcat : C:\Program Files\Apache Tomcat 4.0\bin IIS: C:\Inetpub\wwwroot Java : C:\jdk1.3 Pls send the full details Regards Ravi Kumar - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need Help with SecurityManager
First, is there a good tutorial on using SecurityManager? The info in the Tomcat Docs is rather sparse. Ultimately what I'm looking to do is protect non-jsp files, such as PDF docs. But so for I can't even start my app with the SecurityManager turned on. Here's what I get: catalina.out: Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Template Servlet Error Loading Screen Definitions: URL /WEB-INF/screendefinition s_en_US.xml not found Starting service Tomcat-Apache Apache Tomcat/4.0.1 I'm not sure why the .xml file isn't being found, but it doesn't cause a problem with the app - everything works fine w/o SecurityManager. webpage: java.lang.NullPointerException at com.sun.j2ee.template.TemplateServlet.process(TemplateServlet.java:117) at com.sun.j2ee.template.TemplateServlet.doGet(TemplateServlet.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. java:679) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch er.java:431) at org.apache.catalina.core.ApplicationDispatcher.access$0(ApplicationDispatche r.java:359) at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(Applica tionDispatcher.java:130) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher .java:347) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:409) at org.apache.jsp.index$jsp._jspService(index$jsp.java:57) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterCh ain.java:197) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain .java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:172) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) at java.lang.Thread.run(Thread.java:484) attachment: winmail.dat
I really need help.
Hi all, IIS Tomcat4 using FORM-BASED authentication I am using form-based authentication. Tomcat pulls up the login page (defined in form-login-page) and then authenticate fine. However, the same link will show access-denied error if the page is requested through IIS 5.0. Can anyone suggest what could be wrong and what I can check for? All other unsecured jsp are ok. I am quite desperate. Thanks so much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018
RE: I really need help.
You might check to make sure IIS is NOT trying to perform authentication. On the properties sheet for the site, allow anonymous access and disable IIS authentication. HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: I really need help. Hi all, IIS Tomcat4 using FORM-BASED authentication I am using form-based authentication. Tomcat pulls up the login page (defined in form-login-page) and then authenticate fine. However, the same link will show access-denied error if the page is requested through IIS 5.0. Can anyone suggest what could be wrong and what I can check for? All other unsecured jsp are ok. I am quite desperate. Thanks so much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: I really need help.
How would I disable IIS authentication? I already allowed anonymous access. Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 1:53 PM To: 'Tomcat Users List' Subject: RE: I really need help. You might check to make sure IIS is NOT trying to perform authentication. On the properties sheet for the site, allow anonymous access and disable IIS authentication. HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: I really need help. Hi all, IIS Tomcat4 using FORM-BASED authentication I am using form-based authentication. Tomcat pulls up the login page (defined in form-login-page) and then authenticate fine. However, the same link will show access-denied error if the page is requested through IIS 5.0. Can anyone suggest what could be wrong and what I can check for? All other unsecured jsp are ok. I am quite desperate. Thanks so much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: I really need help.
Right under the Anonymous Access section is a Authenticated Access section. You want to deselect all of these. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 3:21 PM To: [EMAIL PROTECTED] Subject: RE: I really need help. How would I disable IIS authentication? I already allowed anonymous access. Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 1:53 PM To: 'Tomcat Users List' Subject: RE: I really need help. You might check to make sure IIS is NOT trying to perform authentication. On the properties sheet for the site, allow anonymous access and disable IIS authentication. HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: I really need help. Hi all, IIS Tomcat4 using FORM-BASED authentication I am using form-based authentication. Tomcat pulls up the login page (defined in form-login-page) and then authenticate fine. However, the same link will show access-denied error if the page is requested through IIS 5.0. Can anyone suggest what could be wrong and what I can check for? All other unsecured jsp are ok. I am quite desperate. Thanks so much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- 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: I really need help.
OK. I did that. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:31 PM To: 'Tomcat Users List' Subject: RE: I really need help. Right under the Anonymous Access section is a Authenticated Access section. You want to deselect all of these. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 3:21 PM To: [EMAIL PROTECTED] Subject: RE: I really need help. How would I disable IIS authentication? I already allowed anonymous access. Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 1:53 PM To: 'Tomcat Users List' Subject: RE: I really need help. You might check to make sure IIS is NOT trying to perform authentication. On the properties sheet for the site, allow anonymous access and disable IIS authentication. HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: I really need help. Hi all, IIS Tomcat4 using FORM-BASED authentication I am using form-based authentication. Tomcat pulls up the login page (defined in form-login-page) and then authenticate fine. However, the same link will show access-denied error if the page is requested through IIS 5.0. Can anyone suggest what could be wrong and what I can check for? All other unsecured jsp are ok. I am quite desperate. Thanks so much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- 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]
Need Help
hi again , i just want to know if there is a way in configuration of Tomcat/apache to request my page [using Http] without specifying in the URL the port 8080 ! .. i mean it works well when i request : http://myHost:8080/mypage.jsp what i'm asking about is can i make it so i can only request : http://myHost/mypage.jsp i'll apperciate any help in that .. i use jakarta-tomcat [apache inside] ,(tomcat ver 3.1) on win2k thanks in advance , Walid Al-Abbadi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help
use mod_jk or mod_webapp integrate tomcat with apache -Original Message- From: Walid Al-Abbadi [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: Need Help hi again , i just want to know if there is a way in configuration of Tomcat/apache to request my page [using Http] without specifying in the URL the port 8080 ! .. i mean it works well when i request : http://myHost:8080/mypage.jsp what i'm asking about is can i make it so i can only request : http://myHost/mypage.jsp i'll apperciate any help in that .. i use jakarta-tomcat [apache inside] ,(tomcat ver 3.1) on win2k thanks in advance , Walid Al-Abbadi -- 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]
Need Help plz
Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help plz
1) Get off of windows :) Or add the following to web.xml under $TOMCAT_HOME/conf, unless I'm mistaken that should cover all of the possible miss-cases of jsp. servlet-mapping servlet-namejsp/servlet-name url-pattern*.Jsp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JsP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsP/url-pattern /servlet-mapping 2) You'll probably have to do this in your application I think. If it were me I'd create a singleton class that stored a list of login attempts with ip address of the source, and prior to allowing some client to attempt login I'd check the list. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- 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: Need Help plz
1) Get off of windows :) Excellent point (just kidding) but actually, thanks for pointing the case-problem-fix out. This also happens on Mac OS X (which has a case-respecting, case-insensitive filesystem that annoys me frequently when working in the Unix side). Apple distributes an Apache module which fixes the associated security problems for httpd, but I didn't even think to check this under Tomcat. Good thing I only deploy on Linux. ;) So, Mac OS X users beware. I wonder how receptive the Tomcat committers would be to patches / automatically enabled workarounds for resolving / protecting against this issue. cheers fillup On 5/30/02 3:43 PM, Mike Jackson [EMAIL PROTECTED] wrote: 1) Get off of windows :) Or add the following to web.xml under $TOMCAT_HOME/conf, unless I'm mistaken that should cover all of the possible miss-cases of jsp. servlet-mapping servlet-namejsp/servlet-name url-pattern*.Jsp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JsP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsP/url-pattern /servlet-mapping 2) You'll probably have to do this in your application I think. If it were me I'd create a singleton class that stored a list of login attempts with ip address of the source, and prior to allowing some client to attempt login I'd check the list. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need Help plz
ok..well i heard about functions GetRemoteaddr() GetRemoteHost() but i don't know what class/package they are in jdk source files, so i can read its help/definitions then include it in a class of mine.. can i find some help in that please .. Mike Jackson writes: 1) Get off of windows :) Or add the following to web.xml under $TOMCAT_HOME/conf, unless I'm mistaken that should cover all of the possible miss-cases of jsp. servlet-mapping servlet-namejsp/servlet-name url-pattern*.Jsp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JsP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsP/url-pattern /servlet-mapping 2) You'll probably have to do this in your application I think. If it were me I'd create a singleton class that stored a list of login attempts with ip address of the source, and prior to allowing some client to attempt login I'd check the list. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- 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] Walid Al-Abbadi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help plz
They're part of the super class of HttpServletRequest, but for any jsp they're automajically included as part of the compile. In other words you don't have to include them, it's done for you. The getRemoveAddr will return a java.net.InetAddress I think, but I'd have to look to be 100% sure. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:57 PM To: Tomcat Users List Subject: Re: Need Help plz ok..well i heard about functions GetRemoteaddr() GetRemoteHost() but i don't know what class/package they are in jdk source files, so i can read its help/definitions then include it in a class of mine.. can i find some help in that please .. Mike Jackson writes: 1) Get off of windows :) Or add the following to web.xml under $TOMCAT_HOME/conf, unless I'm mistaken that should cover all of the possible miss-cases of jsp. servlet-mapping servlet-namejsp/servlet-name url-pattern*.Jsp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JsP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsP/url-pattern /servlet-mapping 2) You'll probably have to do this in your application I think. If it were me I'd create a singleton class that stored a list of login attempts with ip address of the source, and prior to allowing some client to attempt login I'd check the list. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- 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] Walid Al-Abbadi -- 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: Need Help plz
You probably wouldn't have this problem if you used apache I think, if the apache module does checking then it'll probably figure out that since the *.jsp file is just that a *.jsp file and if you're using mod_jk or probably mod_webapp (I haven't used this yet), it'll see in it's config that its supposed to hand those over to tomcat. But then again I could be wrong, I don't have one of those environments to play with. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:57 PM To: Tomcat Users List Subject: Re: Need Help plz 1) Get off of windows :) Excellent point (just kidding) but actually, thanks for pointing the case-problem-fix out. This also happens on Mac OS X (which has a case-respecting, case-insensitive filesystem that annoys me frequently when working in the Unix side). Apple distributes an Apache module which fixes the associated security problems for httpd, but I didn't even think to check this under Tomcat. Good thing I only deploy on Linux. ;) So, Mac OS X users beware. I wonder how receptive the Tomcat committers would be to patches / automatically enabled workarounds for resolving / protecting against this issue. cheers fillup On 5/30/02 3:43 PM, Mike Jackson [EMAIL PROTECTED] wrote: 1) Get off of windows :) Or add the following to web.xml under $TOMCAT_HOME/conf, unless I'm mistaken that should cover all of the possible miss-cases of jsp. servlet-mapping servlet-namejsp/servlet-name url-pattern*.Jsp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JsP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsP/url-pattern /servlet-mapping 2) You'll probably have to do this in your application I think. If it were me I'd create a singleton class that stored a list of login attempts with ip address of the source, and prior to allowing some client to attempt login I'd check the list. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help plz
I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP and file.jsp exists I get a resource not found error then when I put in file.jsp it loads file.jsp -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ** The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, any use, distribution or copying of this e-mail is not permitted. You are requested to forward unwanted e-mail and address any problems to the MIM Holdings Limited Support Centre. For general enquires: ++61 7 3833 8000 Support Centre e-mail: [EMAIL PROTECTED] Support Centre phone: Australia 1800500646 International ++61 7 38338042 ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help plz
Hmm, well we don't really know what kind of environment Walid is using, so I can't say why he has that problem and you don't. The configuration for IIS may include filtering to protect against case problems, but I really can't say. I don't use IIS very much, and when I do it's with JRUN. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:19 PM To: 'Tomcat Users List' Subject: RE: Need Help plz I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP and file.jsp exists I get a resource not found error then when I put in file.jsp it loads file.jsp -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ** The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, any use, distribution or copying of this e-mail is not permitted. You are requested to forward unwanted e-mail and address any problems to the MIM Holdings Limited Support Centre. For general enquires: ++61 7 3833 8000 Support Centre e-mail: [EMAIL PROTECTED] Support Centre phone: Australia 1800500646 International ++61 7 38338042 ** -- 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: Need Help plz
Well it happens like that when I go straight to TC via http://localhost:8080 -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 9:24 AM To: Tomcat Users List Subject: RE: Need Help plz Hmm, well we don't really know what kind of environment Walid is using, so I can't say why he has that problem and you don't. The configuration for IIS may include filtering to protect against case problems, but I really can't say. I don't use IIS very much, and when I do it's with JRUN. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:19 PM To: 'Tomcat Users List' Subject: RE: Need Help plz I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP and file.jsp exists I get a resource not found error then when I put in file.jsp it loads file.jsp -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ** The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, any use, distribution or copying of this e-mail is not permitted. You are requested to forward unwanted e-mail and address any problems to the MIM Holdings Limited Support Centre. For general enquires: ++61 7 3833 8000 Support Centre e-mail: [EMAIL PROTECTED] Support Centre phone: Australia 1800500646 International ++61 7 38338042 ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need Help plz
You probably wouldn't have this problem if you used apache I think, if the apache module does checking then it'll probably figure out that since the The response (to you and Mr. Nicholas Orr) is simply that you I guess you're both right, but I am a firm believer in Tomcat standalone in many situations. This here is a bit of a problem, one that I didn't think of before since Apache is smart about this. I made the ridiculous assumption that Tomcat was equally perceptive (not a crack at Tomcat, just a small grumble). Fault in my brain: Tomcat == Apache Project == same case-sensitivity awareness cheers fillup On 5/30/02 4:15 PM, Mike Jackson [EMAIL PROTECTED] wrote: You probably wouldn't have this problem if you used apache I think, if the apache module does checking then it'll probably figure out that since the *.jsp file is just that a *.jsp file and if you're using mod_jk or probably mod_webapp (I haven't used this yet), it'll see in it's config that its supposed to hand those over to tomcat. But then again I could be wrong, I don't have one of those environments to play with. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:57 PM To: Tomcat Users List Subject: Re: Need Help plz 1) Get off of windows :) Excellent point (just kidding) but actually, thanks for pointing the case-problem-fix out. This also happens on Mac OS X (which has a case-respecting, case-insensitive filesystem that annoys me frequently when working in the Unix side). Apple distributes an Apache module which fixes the associated security problems for httpd, but I didn't even think to check this under Tomcat. Good thing I only deploy on Linux. ;) So, Mac OS X users beware. I wonder how receptive the Tomcat committers would be to patches / automatically enabled workarounds for resolving / protecting against this issue. cheers fillup On 5/30/02 3:43 PM, Mike Jackson [EMAIL PROTECTED] wrote: 1) Get off of windows :) Or add the following to web.xml under $TOMCAT_HOME/conf, unless I'm mistaken that should cover all of the possible miss-cases of jsp. servlet-mapping servlet-namejsp/servlet-name url-pattern*.Jsp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JsP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.JSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSp/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jSP/url-pattern /servlet-mapping servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsP/url-pattern /servlet-mapping 2) You'll probably have to do this in your application I think. If it were me I'd create a singleton class that stored a list of login attempts with ip address of the source, and prior to allowing some client to attempt login I'd check the list. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help plz
Hmm, I still have no clue, but if if you did have this problem then the mapping statements would eliminate the problem. Tomcat-4+ may not have this issue. Perhaps Walid is using 3, but I really have no clue. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:27 PM To: 'Tomcat Users List' Subject: RE: Need Help plz Well it happens like that when I go straight to TC via http://localhost:8080 -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 9:24 AM To: Tomcat Users List Subject: RE: Need Help plz Hmm, well we don't really know what kind of environment Walid is using, so I can't say why he has that problem and you don't. The configuration for IIS may include filtering to protect against case problems, but I really can't say. I don't use IIS very much, and when I do it's with JRUN. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:19 PM To: 'Tomcat Users List' Subject: RE: Need Help plz I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP and file.jsp exists I get a resource not found error then when I put in file.jsp it loads file.jsp -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ** The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, any use, distribution or copying of this e-mail is not permitted. You are requested to forward unwanted e-mail and address any problems to the MIM Holdings Limited Support Centre. For general enquires: ++61 7 3833 8000 Support Centre e-mail: [EMAIL PROTECTED] Support Centre phone: Australia 1800500646 International ++61 7 38338042 ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need Help plz
Well, Mike ..i use a jakarta-tomcat [combined with Apache webserver] ver 4 under win2000 :) .. and remote site work well when as i told addressing it by *.jsp [small letters] the problem came when i use *.JSP [ capital ] the browser offered me to download the jsp file .. i hope the web.xml cofiguration you told me about will solve the problem [ this msg just for clearity between Nicholas's problem mine ] Nicholas Orr writes: I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP and file.jsp exists I get a resource not found error then when I put in file.jsp it loads file.jsp -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ** The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, any use, distribution or copying of this e-mail is not permitted. You are requested to forward unwanted e-mail and address any problems to the MIM Holdings Limited Support Centre. For general enquires: ++61 7 3833 8000 Support Centre e-mail:[EMAIL PROTECTED] Support Centre phone: Australia 1800500646 International ++61 7 38338042 ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Walid Al-Abbadi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help plz
You might have to do some configuration in the iis - tomcat connector stuff, I know in apache-tomcat (which is what I use under various unix flavors) there's a need to put in the mod_jk.conf file a directive that says to pass the request to tomcat for this file pattern (looks like this JkMount /*.jsp ajp13). Then the mapping will take effect in the web.xml. Personally I'm playing around with *.xsql files (oracle's xsql servlet), and I found that it didn't matter what the mapping was in the web.xml under the WEB-INF unless I had that mapping also in the mod_jk.conf file. But your mileage may vary, some assembly required, batteries not included. :) --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohammed [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:34 PM To: Tomcat Users List Subject: Re: Need Help plz Well, Mike ..i use a jakarta-tomcat [combined with Apache webserver] ver 4 under win2000 :) .. and remote site work well when as i told addressing it by *.jsp [small letters] the problem came when i use *.JSP [ capital ] the browser offered me to download the jsp file .. i hope the web.xml cofiguration you told me about will solve the problem [ this msg just for clearity between Nicholas's problem mine ] Nicholas Orr writes: I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP and file.jsp exists I get a resource not found error then when I put in file.jsp it loads file.jsp -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ** The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, any use, distribution or copying of this e-mail is not permitted. You are requested to forward unwanted e-mail and address any problems to the MIM Holdings Limited Support Centre. For general enquires: ++61 7 3833 8000 Support Centre e-mail:[EMAIL PROTECTED] Support Centre phone: Australia 1800500646 International ++61 7 38338042 ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Walid Al-Abbadi -- 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: Need Help plz
Oops, perhaps I should have read that a bit more clearly, I think you'll definately need to tell apache to forward the requests for the various cases of jsp to tomcat. IIS may do something like the apache module that apple puts out or something, I have no idea. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Walid Mohammed [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 4:34 PM To: Tomcat Users List Subject: Re: Need Help plz Well, Mike ..i use a jakarta-tomcat [combined with Apache webserver] ver 4 under win2000 :) .. and remote site work well when as i told addressing it by *.jsp [small letters] the problem came when i use *.JSP [ capital ] the browser offered me to download the jsp file .. i hope the web.xml cofiguration you told me about will solve the problem [ this msg just for clearity between Nicholas's problem mine ] Nicholas Orr writes: I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP and file.jsp exists I get a resource not found error then when I put in file.jsp it loads file.jsp -Original Message- From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Need Help plz Hi , i need help please in two subjects .. My problems are what configuration I should have to do in the server to prevent: 1) Prohibit downloading the *.jsp files from any client on the internet... [ I noticed that if I wrote the URL of my site ending with myFile.JSP [ JSP in Capital letters] the page not opened ! , but the server offered me to download the file it self ! ..Which I don#8217;t want any user knows this property to download my own source-code jsp files! 2) My application is depend on a password authentication , which I don#8217;t want any cracker to keep trying usernames/passwords for many tries .. How should I tell the server to block an ip after 3 times tries [for example] and for how long this ip will be blocked! are thses problems related with the Apache server or Tomcat serve or both of them !!.. does anyone face like these problems ?! Java_lover : Walid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ** The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, any use, distribution or copying of this e-mail is not permitted. You are requested to forward unwanted e-mail and address any problems to the MIM Holdings Limited Support Centre. For general enquires: ++61 7 3833 8000 Support Centre e-mail:[EMAIL PROTECTED] Support Centre phone: Australia 1800500646 International ++61 7 38338042 ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Walid Al-Abbadi -- 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]