Re: What to put into JAVA_HOME on Windows xp
It's necessary to stop and restart the service when Java home path is changed. Reboot the PC doesn't help either. I had talked about this in a previous mail but seems like it got passed without catching any attention: http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200509.mbox/[EMAIL PROTECTED] Giuseppe Briotti wrote: == Date: Wed, 28 Sep 2005 12:47:07 +0200 (MEST) From: Markus Hapke [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: What to put into JAVA_HOME on Windows xp == Hello All, now it works ! when runing tomcat_root\bin\startup.bat instead of tomcat_root\\bin\tomcat5w.exe //ES//Tomcat5 and then pressing START. For what the tomcat5w.exe should be used ? Markus In tomcat bin directory there are several batchs that perform all the environment settings, THEN execute tomcat.exe... The startup is the first one of the chain... G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What to put into JAVA_HOME on Windows xp
HI Ramnish, Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk I dit it, but that doesn't make it work too! I can reach the javac command from a MS-Command line, so the compiler is available. Why Tomcat can't see it? Thanx , Markus --- Ursprüngliche Nachricht --- Von: Ramnish Kalsi [EMAIL PROTECTED] An: Markus Hapke [EMAIL PROTECTED], tomcat-user@jakarta.apache.org Betreff: RE: What to put into JAVA_HOME on Windows xp Datum: Mon, 26 Sep 2005 18:19:24 +0100 Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk -ramnish. -Original Message- From: Markus Hapke [mailto:[EMAIL PROTECTED] Sent: 25 September 2005 21:27 To: tomcat-user@jakarta.apache.org Subject: What to put into JAVA_HOME on Windows xp Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 46) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C ompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What to put into JAVA_HOME on Windows xp
Hi Jan and all Others, i changed the JAVA_HOME, but still facing the same problem: Perhaps JAVA_HOME does not point to the JDK How can I test what Tomcat tries to read when it calls the javac command? thanx in advance , Markus --- Ursprüngliche Nachricht --- Von: Jan Fredrik Fallsen [EMAIL PROTECTED] An: 'Tomcat Users List' tomcat-user@jakarta.apache.org, 'Arthur D'Alessandro' [EMAIL PROTECTED] Betreff: RE: What to put into JAVA_HOME on Windows xp Datum: Mon, 26 Sep 2005 10:50:49 +0200 your java home is C:\jsdk1\Àppserver\jdk -Original Message- From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] Sent: 26. september 2005 00:16 To: Tomcat Users List Subject: Re: What to put into JAVA_HOME on Windows xp Move it up one level, in your case: C:\JDK1.4\AppServer\jdk On 9/25/05, Markus Hapke [EMAIL PROTECTED] wrote: Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError( DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java :346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler (CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Art D'Alessandro - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
On 9/28/05, Markus Hapke [EMAIL PROTECTED] wrote: Hi Jan and all Others, i changed the JAVA_HOME, but still facing the same problem: Perhaps JAVA_HOME does not point to the JDK How can I test what Tomcat tries to read when it calls the javac command? Edit startup.bat and put the following lines at the top @echo on echo %JAVA_HOME% It should point to C:\JDK1.4\AppServer\jdk thanx in advance , Markus --- Ursprüngliche Nachricht --- Von: Jan Fredrik Fallsen [EMAIL PROTECTED] An: 'Tomcat Users List' tomcat-user@jakarta.apache.org, 'Arthur D'Alessandro' [EMAIL PROTECTED] Betreff: RE: What to put into JAVA_HOME on Windows xp Datum: Mon, 26 Sep 2005 10:50:49 +0200 your java home is C:\jsdk1\Àppserver\jdk -Original Message- From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] Sent: 26. september 2005 00:16 To: Tomcat Users List Subject: Re: What to put into JAVA_HOME on Windows xp Move it up one level, in your case: C:\JDK1.4\AppServer\jdk On 9/25/05, Markus Hapke [EMAIL PROTECTED] wrote: Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError( DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java :346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler (CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Art D'Alessandro - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- rgds Anto Paul
Re: Re: What to put into JAVA_HOME on Windows xp
We're sorry, you have reached an email address at YahooGropus, not YahooGroups. Your message has not been delivered to the Yahoo Group intended. Please re-send your email to the correct address. We apologize for the inconvenience. YahooGropus Staff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
Could you check if relative to your jdk directory there is a lib\tools.jar? This is where the class files for the javac compiler are located and this file is not found by tomcat at the expected location. Anyway, I recommend reinstalling the java development kit and using the default settings. Jilles Markus Hapke wrote: HI Ramnish, Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk I dit it, but that doesn't make it work too! I can reach the javac command from a MS-Command line, so the compiler is available. Why Tomcat can't see it? Thanx , Markus --- Ursprüngliche Nachricht --- Von: Ramnish Kalsi [EMAIL PROTECTED] An: Markus Hapke [EMAIL PROTECTED], tomcat-user@jakarta.apache.org Betreff: RE: What to put into JAVA_HOME on Windows xp Datum: Mon, 26 Sep 2005 18:19:24 +0100 Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk -ramnish. -Original Message- From: Markus Hapke [mailto:[EMAIL PROTECTED] Sent: 25 September 2005 21:27 To: tomcat-user@jakarta.apache.org Subject: What to put into JAVA_HOME on Windows xp Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 46) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C ompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Re: What to put into JAVA_HOME on Windows xp
Hello All, now it works ! when runing tomcat_root\bin\startup.bat instead of tomcat_root\\bin\tomcat5w.exe //ES//Tomcat5 and then pressing START. For what the tomcat5w.exe should be used ? Markus --- Ursprüngliche Nachricht --- Von: Jilles van Gurp [EMAIL PROTECTED] An: Tomcat Users List tomcat-user@jakarta.apache.org Betreff: Re: What to put into JAVA_HOME on Windows xp Datum: Wed, 28 Sep 2005 12:41:05 +0200 Could you check if relative to your jdk directory there is a lib\tools.jar? This is where the class files for the javac compiler are located and this file is not found by tomcat at the expected location. Anyway, I recommend reinstalling the java development kit and using the default settings. Jilles Markus Hapke wrote: HI Ramnish, Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk I dit it, but that doesn't make it work too! I can reach the javac command from a MS-Command line, so the compiler is available. Why Tomcat can't see it? Thanx , Markus --- Ursprüngliche Nachricht --- Von: Ramnish Kalsi [EMAIL PROTECTED] An: Markus Hapke [EMAIL PROTECTED], tomcat-user@jakarta.apache.org Betreff: RE: What to put into JAVA_HOME on Windows xp Datum: Mon, 26 Sep 2005 18:19:24 +0100 Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk -ramnish. -Original Message- From: Markus Hapke [mailto:[EMAIL PROTECTED] Sent: 25 September 2005 21:27 To: tomcat-user@jakarta.apache.org Subject: What to put into JAVA_HOME on Windows xp Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 46) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C ompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ ** This email and any files transmitted with it are confidential and intended solely for the use of the individual
Re: What to put into JAVA_HOME on Windows xp
== Date: Wed, 28 Sep 2005 12:47:07 +0200 (MEST) From: Markus Hapke [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: What to put into JAVA_HOME on Windows xp == Hello All, now it works ! when runing tomcat_root\bin\startup.bat instead of tomcat_root\\bin\tomcat5w.exe //ES//Tomcat5 and then pressing START. For what the tomcat5w.exe should be used ? Markus In tomcat bin directory there are several batchs that perform all the environment settings, THEN execute tomcat.exe... The startup is the first one of the chain... G. -- Giuseppe Briotti [EMAIL PROTECTED] Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius. (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What to put into JAVA_HOME on Windows xp
your java home is C:\jsdk1\Àppserver\jdk -Original Message- From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] Sent: 26. september 2005 00:16 To: Tomcat Users List Subject: Re: What to put into JAVA_HOME on Windows xp Move it up one level, in your case: C:\JDK1.4\AppServer\jdk On 9/25/05, Markus Hapke [EMAIL PROTECTED] wrote: Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError( DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java :346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler (CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Art D'Alessandro - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
I remember when I was using Tomcat 5.0.x. It was giving me headaches! After changing JAVA_HOME, it was still necessary to do a service remove and then service install, or else Tomcat won't take that into account. Try Tomcat 5.5. You don't need to declare JAVA_HOME anymore, and you could use the configure console to point Tomcat to the correct JRE. Jan Fredrik Fallsen wrote: your java home is C:\jsdk1\Àppserver\jdk -Original Message- From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] Sent: 26. september 2005 00:16 To: Tomcat Users List Subject: Re: What to put into JAVA_HOME on Windows xp Move it up one level, in your case: C:\JDK1.4\AppServer\jdk On 9/25/05, Markus Hapke [EMAIL PROTECTED] wrote: Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError( DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java :346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler (CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What to put into JAVA_HOME on Windows xp
Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk -ramnish. -Original Message- From: Markus Hapke [mailto:[EMAIL PROTECTED] Sent: 25 September 2005 21:27 To: tomcat-user@jakarta.apache.org Subject: What to put into JAVA_HOME on Windows xp Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 46) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C ompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What to put into JAVA_HOME on Windows xp
Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What to put into JAVA_HOME on Windows XP
Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- GMX DSL = Maximale Leistung zum minimalen Preis! 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows XP
can you compile classes? I mean just normal java classes out of the command prompt. Do you start tomcat as service or with bin\catalina.bat run / bin\startup.bat? On 9/25/05, Markus Hapke [EMAIL PROTECTED] wrote: Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- GMX DSL = Maximale Leistung zum minimalen Preis! 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
Move it up one level, in your case: C:\JDK1.4\AppServer\jdk On 9/25/05, Markus Hapke [EMAIL PROTECTED] wrote: Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError( DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java :346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler (CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Art D'Alessandro
jakarta-tomcat-deployer Installation on Windows XP ???
Hello all, I am a complete newbie for all about tomcat. So in this context, I installed yesterday Tomcat 5.5.9 on my Windows XP machine to discover the product and the possibility for me to develop a complete web (java oriented) web site. I also would try the ability for IBM Websphere 5.1.1 to generate war files I can deploy on my Tomcat installation. So I also installed jakarta-tomcat-admin and I am now trying to install jakarta-tomcat-deployer ... and that is really my problem. Can somebody explain me how I have to install jakarta-tomcat-deployer ... I am sorry for this stupid question but I haven't found any explanation for this. Regards Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
On windows XP
Hi, I am not getting the tomcat home page while trying to run tomcat in Windows XP. I had set the JAVA_HOME and CATALINA_HOME path variables. And stopped other servers(IIS ans apche) running in the system. But I couldn't see anything by typing http://localhost:8080. The utilitie's that I used are tomcat 5.5.9.exe and j2sdk1.4.2_07. It will be of great help if any of you could help in this regard. -Jobish P - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: On windows XP
The reason is Tomcat 5.5.9 will run on JDK 5.0 onwards. I was not made for Older JDK's... Try once on J2SDK 1.5and see. Joy Kenneth -Original Message- From: Jobish P [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 9:51 PM To: tomcat-user@jakarta.apache.org Subject: On windows XP Hi, I am not getting the tomcat home page while trying to run tomcat in Windows XP. I had set the JAVA_HOME and CATALINA_HOME path variables. And stopped other servers(IIS ans apche) running in the system. But I couldn't see anything by typing http://localhost:8080. The utilitie's that I used are tomcat 5.5.9.exe and j2sdk1.4.2_07. It will be of great help if any of you could help in this regard. -Jobish P - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help needed: Setting Tomcat5.5 to run with security manager in Windows XP
I cannot figure out how to set Tomcat 5.5.7 to be running under security manager. Standard Tomcat help gives option as: %CATALINA_HOME%\bin\catalina start -security however there is no file named catalina.bat in this directory. In fact there are only these 4 files: bootstrap.jar, commons-logging-api.jar, tomcat5.exe and tomcat5w.exe. There is no single *.bat file anywhere under %CATALINA_HOME%. Any help? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help needed: Setting Tomcat5.5 to run with security manager in Windows XP
From: Nikolay Karasev [mailto:[EMAIL PROTECTED] Subject: Help needed: Setting Tomcat5.5 to run with security manager in Windows XP however there is no file named catalina.bat in this directory. The .bat files are only in the zip download. If you're running Tomcat as a service, there is no .bat file to edit; instead you can use the Tomcat5w.exe program to set additional parameters (under the Java tab), or edit the registry. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to get english messages on a German Windows-XP?
Hi, This is probably a java and not a tc question, but I would like to know how to get English java error messages when I start tc on a German windows XP box. Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get english messages on a German Windows-XP?
I think Java uses the Locale from your operating system. So to switch to english, you should either: + switch the locale of your operating system + tell Java to use another locale via system.properties at tomcat startup (jvm-property): -Duser.language=language-code -Duser.country=country-code -Duser.variant=variant e.g.: -Duser.language=en -Duser.country=US Best regards, Tex Zsolt Koppany schrieb: Hi, This is probably a java and not a tc question, but I would like to know how to get English java error messages when I start tc on a German windows XP box. Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to get english messages on a German Windows-XP?
Thank you for this interesting info but in javadoc for jvm-1.4.2 I found only the follow system properties: user.name User's account name user.home User's home directory user.dirUser's current working directory Zsolt -Original Message- From: Mario Winterer [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 6:30 PM To: Tomcat Users List Subject: Re: How to get english messages on a German Windows-XP? I think Java uses the Locale from your operating system. So to switch to english, you should either: + switch the locale of your operating system + tell Java to use another locale via system.properties at tomcat startup (jvm-property): -Duser.language=language-code -Duser.country=country-code -Duser.variant=variant e.g.: -Duser.language=en -Duser.country=US Best regards, Tex Zsolt Koppany schrieb: Hi, This is probably a java and not a tc question, but I would like to know how to get English java error messages when I start tc on a German windows XP box. Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get english messages on a German Windows-XP?
This system properties do not exist per default (that's why you have to set them if you want to change the default behaviour). See also: http://java.sun.com/j2se/corejava/intl/reference/faqs/index.html#set-default-locale Tex Zsolt Koppany wrote: Thank you for this interesting info but in javadoc for jvm-1.4.2 I found only the follow system properties: user.name User's account name user.home User's home directory user.dirUser's current working directory Zsolt -Original Message- From: Mario Winterer [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 6:30 PM To: Tomcat Users List Subject: Re: How to get english messages on a German Windows-XP? I think Java uses the Locale from your operating system. So to switch to english, you should either: + switch the locale of your operating system + tell Java to use another locale via system.properties at tomcat startup (jvm-property): -Duser.language=language-code -Duser.country=country-code -Duser.variant=variant e.g.: -Duser.language=en -Duser.country=US Best regards, Tex Zsolt Koppany schrieb: Hi, This is probably a java and not a tc question, but I would like to know how to get English java error messages when I start tc on a German windows XP box. Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5.2, Windows XP, Ant Manager DeployTask fails
Does Tomcat 5.5.2 and the Ant Manager DeployTask have a problem deploying a WAR file? Manager WAR upload works, as does dropping a WAR in the webapps folder directly, but deploy fails with the Ant Manager DeployTask. After the Ant Manager deployment attempt, neither the WAR nor the application folder appear in webapps, but Tomcat does create the context and creates a work folder in %CATALINA_HOME%\work\Catalina\localhost. Tomcat camplains with exceptions java.util.zip.ZipException: error in opening zip file and java.lang.IllegalArgumentException: Invalid or unreadable WAR file : error in opening zip file (see full exception details below). Tomcat 5.5.2 Ant 1.6.1 Windows XP SP2 JDK 5.0 build.xml: target name=deploy depends=distribute description=Deploy application to servlet container property name=deploy.war value=file:/${deploy.home}/${app.name}.war/ echoDeploy URL: ${deploy.war}/echo deploy password=${manager.password} path=${app.path} update=true url=${manager.url} username=${manager.username} war=${deploy.war}/ /target Tomcat complains with the follwing exception in stdout.log: INFO: Manager: deploy: Deploying web application at '/penson' Oct 5, 2004 3:26:16 PM org.apache.catalina.core.ApplicationContext log INFO: Manager: Uploading WAR file to C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\penson.war Oct 5, 2004 3:26:16 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive penson.war Oct 5, 2004 3:26:16 PM org.apache.catalina.startup.ContextConfig init SEVERE: Cannot find message associated with key contextConfig.fixDocBase java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.init(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source) at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source) at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source) at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:136) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:761) at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:869) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:236) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5103) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3851) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:774) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:497) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source) at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1402) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:643) at org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:425) at javax.servlet.http.HttpServlet.service(HttpServlet.java:712) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke
RE: Tomcat 5.5.2, Windows XP, Ant Manager DeployTask fails
Hi, If you're willing to try out 5.5.3 tomorrow morning, that'd be great ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 3:37 PM To: [EMAIL PROTECTED] Subject: Tomcat 5.5.2, Windows XP, Ant Manager DeployTask fails Does Tomcat 5.5.2 and the Ant Manager DeployTask have a problem deploying a WAR file? Manager WAR upload works, as does dropping a WAR in the webapps folder directly, but deploy fails with the Ant Manager DeployTask. After the Ant Manager deployment attempt, neither the WAR nor the application folder appear in webapps, but Tomcat does create the context and creates a work folder in %CATALINA_HOME%\work\Catalina\localhost. Tomcat camplains with exceptions java.util.zip.ZipException: error in opening zip file and java.lang.IllegalArgumentException: Invalid or unreadable WAR file : error in opening zip file (see full exception details below). Tomcat 5.5.2 Ant 1.6.1 Windows XP SP2 JDK 5.0 build.xml: target name=deploy depends=distribute description=Deploy application to servlet container property name=deploy.war value=file:/${deploy.home}/${app.name}.war/ echoDeploy URL: ${deploy.war}/echo deploy password=${manager.password} path=${app.path} update=true url=${manager.url} username=${manager.username} war=${deploy.war}/ /target Tomcat complains with the follwing exception in stdout.log: INFO: Manager: deploy: Deploying web application at '/penson' Oct 5, 2004 3:26:16 PM org.apache.catalina.core.ApplicationContext log INFO: Manager: Uploading WAR file to C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\penson.war Oct 5, 2004 3:26:16 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive penson.war Oct 5, 2004 3:26:16 PM org.apache.catalina.startup.ContextConfig init SEVERE: Cannot find message associated with key contextConfig.fixDocBase java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at java.util.jar.JarFile.init(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.init(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source) at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source) at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source) at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:136) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java :761 ) at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:869) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig. java :236) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS uppo rt.java:119) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5103 ) at org.apache.catalina.core.StandardContext.start(StandardContext.java:385 1) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j ava: 755) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:774) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:497) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:50 3) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source) at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:14 02) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:6 43) at org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:42 5) at javax.servlet.http.HttpServlet.service(HttpServlet.java:712) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio nFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter
RE: Tomcat 5.5.2, Windows XP, Ant Manager DeployTask fails
Yoav: My pleasure! Derek --- Tomcat Users List [EMAIL PROTECTED] wrote: Hi, If you're willing to try out 5.5.3 tomorrow morning, that'd be great ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 3:37 PM To: [EMAIL PROTECTED] Subject: Tomcat 5.5.2, Windows XP, Ant Manager DeployTask fails Does Tomcat 5.5.2 and the Ant Manager DeployTask have a problem deploying a WAR file? Manager WAR upload works, as does dropping a WAR in the webapps folder directly, but deploy fails with the Ant Manager DeployTask. After the Ant Manager deployment attempt, neither the WAR nor the application folder appear in webapps, but Tomcat does create the context and creates a work folder in %CATALINA_HOME%\work\Catalina\localhost. Tomcat camplains with exceptions java.util.zip.ZipException: error in opening zip file and java.lang.IllegalArgumentException: Invalid or unreadable WAR file : error in opening zip file (see full exception details below). Tomcat 5.5.2 Ant 1.6.1 Windows XP SP2 JDK 5.0 build.xml: target name=deploy depends=distribute description=Deploy application to servlet container property name=deploy.war value=file:/${deploy.home}/${app.name}.war/ echoDeploy URL: ${deploy.war}/echo deploy password=${manager.password} path=${app.path} update=true url=${manager.url} username=${manager.username} war=${deploy.war}/ /target - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5.2, Windows XP, Ant Manager DeployTask fails
On Tue, 5 Oct 2004 15:39:37 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, If you're willing to try out 5.5.3 tomorrow morning, that'd be great ;) I can confirm the deploy Ant task was definitely broken in 5.5.2. There is one post about this on the list. -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Windows XP as webdav client hangs while accessing any non-IIS webdav server
Dear All, We are facing some strange problems while accessing a webdav share from windows XP as client. 1) Occasionally the windows explorer window hangs while accessing one of the webdav shares and that window recovers once i open a new windows explorer window and access the same share or a different share. This behaviour is the same whle accessing the webdav server of tomcat as well as the webdav server that we have written ourselves. So it is clearly a client problem. Was wondering whether any of webdav user also has faced similar problems and if there is a patch in Windows XP for this issue? 2) Sometimes access to webdav shares from windows XP client throws up this error ( see attached file). After sometime we are able to access the same share easily. Any clue on what could this be? 3) Sometimes , after error 2 happens, the selection of a different folder from the webdav server simply is rejected and the focus goes back to the original folder which was selected at the end of point 2. wecerr.txt Any inputs on how to solve these problems is highly appreciated. Thanks in advance regards Mahesh ___ This message has been scanned for all known virus by OMNIQuad Mailwall Remote. 08/23/2004 18:07:35 HTTP 404 /_vti_bin/shtml.exe/_vti_rpc htmlheadtitleApache Tomcat/4.1.27 - Error report/titleSTYLE!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --/STYLE /headbodyh1HTTP Status 404 - /_vti_bin/shtml.exe/_vti_rpc/h1HR size=1 noshadepbtype/b Status report/ppbmessage/b u/_vti_bin/shtml.exe/_vti_rpc/u/ppbdescription/b uThe requested resource (/_vti_bin/shtml.exe/_vti_rpc) is not available./u/pHR size=1 noshadeh3Apache Tomcat/4.1.27/h3/body/html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows XP as webdav client hangs while accessing any non-IIS webdav server
The URL /_vti_bin/shtml.exe/_vti_rpc is what IE goes looking for if it doesn't recognise the response from a WEBDav compliant server. I have seen similar problems on TC5 in the past around 302 redirects from, for example, http://localhost/webdav to http://localhost/webdav/. Using a servlet mapping of /* rather than / seemed to fix things. I haven't seen this on TC4 but try it and see if it helps. My XP box that I do Tomcat dev on is fully patched and I haven't seen this for a while. Whether those facts are related is anybody's guess ;) Mark -Original Message- From: Sundaram Mahesh [mailto:[EMAIL PROTECTED] Sent: Monday, August 23, 2004 7:22 PM To: [EMAIL PROTECTED] Subject: Windows XP as webdav client hangs while accessing any non-IIS webdav server Dear All, We are facing some strange problems while accessing a webdav share from windows XP as client. 1) Occasionally the windows explorer window hangs while accessing one of the webdav shares and that window recovers once i open a new windows explorer window and access the same share or a different share. This behaviour is the same whle accessing the webdav server of tomcat as well as the webdav server that we have written ourselves. So it is clearly a client problem. Was wondering whether any of webdav user also has faced similar problems and if there is a patch in Windows XP for this issue? 2) Sometimes access to webdav shares from windows XP client throws up this error ( see attached file). After sometime we are able to access the same share easily. Any clue on what could this be? 3) Sometimes , after error 2 happens, the selection of a different folder from the webdav server simply is rejected and the focus goes back to the original folder which was selected at the end of point 2. wecerr.txt Any inputs on how to solve these problems is highly appreciated. Thanks in advance regards Mahesh __ _ This message has been scanned for all known virus by OMNIQuad Mailwall Remote. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CLASSPATH in Windows XP
Hello, I have Tomcat 5 running in Windows XP. Now I want to install Apache SOAP and AXIS not copying the jar files into Tomcat5/common/lib but setting their paths in CLASSPATH, like installation instructions of SOAP and AXIS says. It doesnt work (copying the files all works fine). This is my CLASSPATH: C:\Servidor web\AXIS 1.1\lib\axis.jar;C:\Servidor web\XML Security 1.1.0\libs\xmlsec.jar;C:\Servidor web\Xerces 2.5.0\xmlParserAPIs.jar;C:\Servidor web\Xerces 2.5.0\xml-apis.jar;C:\Servidor web\Xerces 2.5.0\xercesImpl.jar;C:\Servidor web\JAVA Mail 1.3.2ea\mail.jar;C:\Servidor web\JAF 1.0.2\activation.jar;C:\Servidor web\SOAP 2.3.1\lib\soap.jar;C:\WINDOWS\System32\QTJava.zip Does Tomcat use this CLASSPATH? How can I tell Tomcat to use that? Thanks.
Re: CLASSPATH in Windows XP
My first thought on this will be that the space, i.e. Servidor web, might be the cause. Not all installation does have a problem with but, I know some apps does have a problem with folders that contain spaces. HTH! Javier wrote: Hello, I have Tomcat 5 running in Windows XP. Now I want to install Apache SOAP and AXIS not copying the jar files into Tomcat5/common/lib but setting their paths in CLASSPATH, like installation instructions of SOAP and AXIS says. It doesnt work (copying the files all works fine). This is my CLASSPATH: C:\Servidor web\AXIS 1.1\lib\axis.jar;C:\Servidor web\XML Security 1.1.0\libs\xmlsec.jar;C:\Servidor web\Xerces 2.5.0\xmlParserAPIs.jar;C:\Servidor web\Xerces 2.5.0\xml-apis.jar;C:\Servidor web\Xerces 2.5.0\xercesImpl.jar;C:\Servidor web\JAVA Mail 1.3.2ea\mail.jar;C:\Servidor web\JAF 1.0.2\activation.jar;C:\Servidor web\SOAP 2.3.1\lib\soap.jar;C:\WINDOWS\System32\QTJava.zip Does Tomcat use this CLASSPATH? How can I tell Tomcat to use that? Thanks. -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CLASSPATH in Windows XP
On Fri, Aug 20, 2004 at 12:29:25PM +0200, Javier wrote: : Does Tomcat use this CLASSPATH? How can I tell Tomcat to use that? You *really* want to follow standards here, and using a classpath env var with a webapp is not quite standard. Review the servlet spec. Do a search for WEB-INF/lib and understand why you need to put the jars there. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Windows XP IIS 5.1 HTTP Post Problem with mod_jk
Has anyone else run into a problem where mod_jk does not work right with IIS 5.1 on Windows XP Professional? I am trying to connect Tomcat to the IIS that is part of XP Pro and it will work for HTTP GET requests but it does not work for HTTP POST requests. I can get this same configuration to work with multiple other flavors of Windows (Win2k Pro, Win2k Server, Win2003 Server), but I have had the same problem with XP on half a dozen machines. Any help would be appreciated. Thanks, Eric Jacobson Software Engineer FileMaker Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TOMCAT:4.1.30:Windows XP: Installation examples
Is there anything in the installation (Windows XP) that may have allowed me to limit the # number of connections HTTP??? 4th JSP over HTTP connection fails to ever connect unless I close one of the others. Not seeing any logging issues and tried to turn up debug wherever found to get more information. I recollect doing the Windows install but it is not installed as a service. Any help appreciated. Details... I created a series of JSP's in example using jar class and very few (at first none) modifications to the as installed. I run with localhost and everything works ok, but apparently there is (was it on install???) some configuration that limits the number of simultaneous connections from the same session (4 or 3). Same thing happens from another machine (not localhost). Looked thru doc and modified for more of some things: server.xml in an attempt to get more. Checked memory on host and looks ok relative to total available. - Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign!
TOMCAT:4.1.30:Windows XP: Installation examples
Is there anything in the installation (Windows XP) that may have allowed me to limit the # number of connections HTTP??? 4th JSP over HTTP connection fails to ever connect unless I close one of the others. Not seeing any logging issues and tried to turn up debug wherever found to get more information. I recollect doing the Windows install but it is not installed as a service. Any help appreciated. Details... I created a series of JSP's in example using jar class and very few (at first none) modifications to the as installed. I run with localhost and everything works ok, but apparently there is (was it on install???) some configuration that limits the number of simultaneous connections from the same session (4 or 3). Same thing happens from another machine (not localhost). Looked thru doc and modified for more of some things: server.xml in an attempt to get more. Checked memory on host and looks ok relative to total available. - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
Re: Tomcat starts poorly on Windows XP
The problem continues with both jakarta-tomcat-5.0.24.exe and jakarta-tomcat-5.0.24.zip. At 12:41 AM 5/27/2004, Joel Shprentz wrote: A search of the tomcat-user archives suggests that this is a new way for Tomcat to start poorly on Windows XP. Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586-p.exe and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I started Tomcat from the Configure Tomcat application. ... May 26, 2004 1:12:51 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 May 26, 2004 1:12:51 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2937 ms May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.24 May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\Projects\Tomcat 5.0\conf\Catalina\localhost\admin.xml May 26, 2004 1:12:55 AM org.apache.struts.util.MessageResourcesFactory createFactory SEVERE: MessageResourcesFactory.createFactory java.lang.NoClassDefFoundError: javax/servlet/jsp/JspException at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192) at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576) at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464) at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:105) ... -- Joel Shprentz (703) 478-9668 1516 Park Glen Court [EMAIL PROTECTED] Reston, VA 20190 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat starts poorly on Windows XP
I suggest extracting Tomcat to a directory path with no spaces. Tomcat *should* work with spaces in the path, but experience tells me to avoid this. Jake At 08:27 AM 6/1/2004 -0400, you wrote: The problem continues with both jakarta-tomcat-5.0.24.exe and jakarta-tomcat-5.0.24.zip. At 12:41 AM 5/27/2004, Joel Shprentz wrote: A search of the tomcat-user archives suggests that this is a new way for Tomcat to start poorly on Windows XP. Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586-p.exe and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I started Tomcat from the Configure Tomcat application. ... May 26, 2004 1:12:51 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 May 26, 2004 1:12:51 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2937 ms May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.24 May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\Projects\Tomcat 5.0\conf\Catalina\localhost\admin.xml May 26, 2004 1:12:55 AM org.apache.struts.util.MessageResourcesFactory createFactory SEVERE: MessageResourcesFactory.createFactory java.lang.NoClassDefFoundError: javax/servlet/jsp/JspException at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192) at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576) at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464) at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:105) ... -- Joel Shprentz (703) 478-9668 1516 Park Glen Court [EMAIL PROTECTED] Reston, VA 20190 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat starts poorly on Windows XP
Thanks for the suggestion; I hadn't thought of it. I doubt that my problem is caused by spaces in a directory path. It occurs even when I extract Tomcat to D:\tomcat. At 09:14 AM 6/1/2004, Jacob Kjome wrote: I suggest extracting Tomcat to a directory path with no spaces. Tomcat *should* work with spaces in the path, but experience tells me to avoid this. Jake At 08:27 AM 6/1/2004 -0400, you wrote: The problem continues with both jakarta-tomcat-5.0.24.exe and jakarta-tomcat-5.0.24.zip. At 12:41 AM 5/27/2004, Joel Shprentz wrote: A search of the tomcat-user archives suggests that this is a new way for Tomcat to start poorly on Windows XP. Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586-p.exe and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I started Tomcat from the Configure Tomcat application. ... May 26, 2004 1:12:51 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 May 26, 2004 1:12:51 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2937 ms May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.24 May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\Projects\Tomcat 5.0\conf\Catalina\localhost\admin.xml May 26, 2004 1:12:55 AM org.apache.struts.util.MessageResourcesFactory createFactory SEVERE: MessageResourcesFactory.createFactory java.lang.NoClassDefFoundError: javax/servlet/jsp/JspException at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192) at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576) at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464) at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:105) ... -- Joel Shprentz (703) 478-9668 1516 Park Glen Court [EMAIL PROTECTED] Reston, VA 20190 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Joel Shprentz (703) 478-9668 1516 Park Glen Court [EMAIL PROTECTED] Reston, VA 20190 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat starts poorly on Windows XP
Hi, Look for multiple or conflicting versions of the JSP API on your classpath. If you have a servlet.jar somewhere other than the ones that ship with tomcat, remove them. Yoav Shapira Millennium Research Informatics -Original Message- From: Joel Shprentz [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 12:41 AM To: [EMAIL PROTECTED] Subject: Tomcat starts poorly on Windows XP A search of the tomcat-user archives suggests that this is a new way for Tomcat to start poorly on Windows XP. Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586- p.exe and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I started Tomcat from the Configure Tomcat application. While installing and uninstalling j2sdk and Tomcat many times over the past few days, I've found and removed older Tomcats, j2sdk, and jre installations. I suspect that this problem is caused by some residue of those earlier installs. I welcome your suggestions. Thanks. May 26, 2004 1:12:51 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 May 26, 2004 1:12:51 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2937 ms May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.24 May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\Projects\Tomcat 5.0\conf\Catalina\localhost\admin.xml May 26, 2004 1:12:55 AM org.apache.struts.util.MessageResourcesFactory createFactory SEVERE: MessageResourcesFactory.createFactory java.lang.NoClassDefFoundError: javax/servlet/jsp/JspException at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageRes ourc esFactory.java:192) at org.apache.struts.util.MessageResources.getMessageResources(MessageReso urce s.java:576) at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java: 1329 ) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464) at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java :105 ) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja va:1 019) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext. java :3991) at org.apache.catalina.core.StandardContext.start(StandardContext.java:433 5) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j ava: 823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDepl oyer .java:903) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java: 252) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.j ava: 76) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Un know n Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi spat cher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn own Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeplo yer. java:488) at org.apache.catalina.core.StandardHost.install(StandardHost.java:863
Re: Tomcat starts poorly on Windows XP
At 12:41 AM 5/27/2004 -0400, you wrote: A search of the tomcat-user archives suggests that this is a new way for Tomcat to start poorly on Windows XP. Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586-p.exe and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I started Tomcat from the Configure Tomcat application. While installing and uninstalling j2sdk and Tomcat many times over the past few days, I've found and removed older Tomcats, j2sdk, and jre installations. I suspect that this problem is caused by some residue of those earlier installs. I welcome your suggestions. Thanks. Save yourself a lot of trouble and forget the installer. Just unzip the archive to a directly, set JAVA_HOME and CATALINA_HOME, and run. If you want to use the service, just use service.bat [install | remove]. I've never seen any problems like this and I've never used the installer. Jake May 26, 2004 1:12:51 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 May 26, 2004 1:12:51 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2937 ms May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.24 May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\Projects\Tomcat 5.0\conf\Catalina\localhost\admin.xml May 26, 2004 1:12:55 AM org.apache.struts.util.MessageResourcesFactory createFactory SEVERE: MessageResourcesFactory.createFactory java.lang.NoClassDefFoundError: javax/servlet/jsp/JspException at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192) at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576) at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464) at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:105) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903) 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.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488) at org.apache.catalina.core.StandardHost.install(StandardHost.java:863) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:482
Tomcat starts poorly on Windows XP
A search of the tomcat-user archives suggests that this is a new way for Tomcat to start poorly on Windows XP. Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586-p.exe and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I started Tomcat from the Configure Tomcat application. While installing and uninstalling j2sdk and Tomcat many times over the past few days, I've found and removed older Tomcats, j2sdk, and jre installations. I suspect that this problem is caused by some residue of those earlier installs. I welcome your suggestions. Thanks. May 26, 2004 1:12:51 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 May 26, 2004 1:12:51 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2937 ms May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.24 May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) May 26, 2004 1:12:51 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\Projects\Tomcat 5.0\conf\Catalina\localhost\admin.xml May 26, 2004 1:12:55 AM org.apache.struts.util.MessageResourcesFactory createFactory SEVERE: MessageResourcesFactory.createFactory java.lang.NoClassDefFoundError: javax/servlet/jsp/JspException at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192) at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576) at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464) at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:105) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903) 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.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488) at org.apache.catalina.core.StandardHost.install(StandardHost.java:863) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:482) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119
Windows XP X Windows 2003 . What are the advantages to use with the same JVM.
Title: Windows XP X Windows 2003 . What are the advantages to use with the same JVM. Hello, I´d like to use the Windows Operational System with Tom Cat 5.0.24. I intend to use one Pentium III 700 MHz , 2 CPU´s (DP) with 2 Gb RAM and SCSI Disk´s 9x5 Raid 5 by Hardware only for this purpose I need to download the JVM from Sun Site because neither XP and W2003 contains JVM and the JVM is the same for both. I have license for windows XP and one doubt.Will I have some advantages to use Windows 2003 Server?? IF Yes, what are they ?? Thanks Acacio Furtado Costa [EMAIL PROTECTED] (31)3368-1349
RE: Windows XP X Windows 2003 . What are the advantages to use with the same JVM.
In some of the windows versions the number of concurrent inbound tcp connections is limited. http://support.microsoft.com/?kbid=122920 http://support.microsoft.com/default.aspx?scid=kb;en-us;328459 I'm not shure if this is still true for xp and 2003. (But I think it is) -Original Message- From: Acácio Furtado Costa [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 2:12 PM To: Tomcat Users List Subject: Windows XP X Windows 2003 . What are the advantages to use with the same JVM. Hello, I´d like to use the Windows Operational System with Tom Cat 5.0.24. I intend to use one Pentium III 700 MHz , 2 CPU´s (DP) with 2 Gb RAM and SCSI Disk´s 9x5 Raid 5 by Hardware only for this purpose I need to download the JVM from Sun Site because neither XP and W2003 contains JVM and the JVM is the same for both. I have license for windows XP and one doubt.Will I have some advantages to use Windows 2003 Server?? IF Yes, what are they ?? Thanks Acacio Furtado Costa [EMAIL PROTECTED] (31)3368-1349 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Windows XP Issue
To all, I sent this out previously but I did not receive any feedback on this issue. If anyone is having this issue please let me know. I am using Apache 1.3.27 and tomcat 3.3. I am running this on Windows XP. I am trying to get Apache and Tomcat to work together unfortunately I keep running into an issue. Here are the symptoms. When I compile the examples JSP pages using Tomcat (port 8080) everything compiles fine. However when I try and compile them using Apache with Tomcat I get a fatal OS exception from Apache. This does not occur for static pages. By the way I am aware of the Windows XP bug Q317949 http://support.microsoft.com/default.aspx?scid=kb;EN-US;q317949 documented on the Apache and Windows site. I have a Windows XP SP 1 installed and the file mentioned in the documentation shows to be of a later date code so I assume this is okay. Unfortunately the application I am working with requires Apache 1.3.x it does not support Apache 2.x. The Apache error file is as follows. Mon May 10 01:38:29 2004] [info] master_main: Child processed exited prematurely. Restarting the child process. [Mon May 10 01:38:29 2004] [info] Parent: Created child process 2888 [Mon May 10 01:38:29 2004] [info] Parent: Duplicating socket 192 and sending it to child process 2888 [Mon May 10 01:38:29 2004] [info] BytesRead = 372 WSAProtocolInfo = 2006620 [Mon May 10 01:38:33 2004] [info] master_main: Child processed exited prematurely. Restarting the child process. [Mon May 10 01:38:33 2004] [info] Parent: Created child process 524 [Mon May 10 01:38:33 2004] [info] Parent: Duplicating socket 192 and sending it to child process 524 [Mon May 10 01:38:33 2004] [info] BytesRead = 372 WSAProtocolInfo = 2006620 Any help will be greatly appreciated. Joaquin J. Martinez de Pinillos Anteon Corporation (o) 703 253 3425 (f) 703 253 3690 (m) 703 980 8827
Windows XP and Apache
To All, I am using Apache 1.3.27 and tomcat 3.3. I am running this on Windows XP. I am trying to get Apache and Tomcat to work together unfortunately I keep running into an issue. Here are the symptoms. When I compile the examples JSP pages using Tomcat (port 8080) everything compiles fine. However when I try and compile them using Apache with Tomcat I get a fatal OS exception from Apache. This does not occur for static pages. By the way I am aware of the Windows XP bug Q317949 http://support.microsoft.com/default.aspx?scid=kb;EN-US;q317949 documented on the Apache and Windows site. I have a Windows XP SP 1 installed and the file mentioned in the documentation shows to be of a later date code so I assume this is okay. Unfortunately the application I am working with requires Apache 1.3.x it does not support Apache 2.x. The Apache error file is as follows. Mon May 10 01:38:29 2004] [info] master_main: Child processed exited prematurely. Restarting the child process. [Mon May 10 01:38:29 2004] [info] Parent: Created child process 2888 [Mon May 10 01:38:29 2004] [info] Parent: Duplicating socket 192 and sending it to child process 2888 [Mon May 10 01:38:29 2004] [info] BytesRead = 372 WSAProtocolInfo = 2006620 [Mon May 10 01:38:33 2004] [info] master_main: Child processed exited prematurely. Restarting the child process. [Mon May 10 01:38:33 2004] [info] Parent: Created child process 524 [Mon May 10 01:38:33 2004] [info] Parent: Duplicating socket 192 and sending it to child process 524 [Mon May 10 01:38:33 2004] [info] BytesRead = 372 WSAProtocolInfo = 2006620 Any help will be greatly appreciated. Joaquin J. Martinez de Pinillos Anteon Corporation (o) 703 253 3425 (f) 703 253 3690 (m) 703 980 8827
RE: Tomcat 5.0.19, IIS, Windows XP
After scrounging around in the Event Viewer and lots of other places, I have come up with the idea that the load balancer was having problems. This was in the event log: Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date: 4/14/2004 Time: 2:49:02 PM User: N/A Computer: OCEAN Description: Error: [jk_worker_lb.c (427)]: lb.service() worker failed 12 for ajp13:localhost:8009 My solution was to remove the load balancer from the worker2.properties file (removing all lb references from the file listed below) and things started working. -Original Message- From: Jay Rutten [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 10:52 AM To: [EMAIL PROTECTED] Subject: Tomcat 5.0.19, IIS, Windows XP I am having problems getting the examples to work in an out of the box scenario. Here is what I have installed: 1) JSDK 1.4.2_02 (auto-upgraded to 1.4.2_02-b03) with JAVA_HOME set appropriately. 2) Tomcat 5.0.19 installed and running as a service. The only options changed during install were the directory (changed to C:\Java\tomcat5.0.19) and installing as a service. It appears to be working as going to http://localhost:8080 brings up the manager appropriately. I can also get to the examples with http://localhost:8080/jsp-examples. 3) JK2 redirector installed using the install4iis.js script included in the zip file. I made a minor change to the script to create the Filters for the default web site, which I am confident is correct. You don't need the change if you have a Filter currently set up at that level. I copied the workers2.properties.sample to my TOMCAT\conf area (killing the .samples). I did have to change it slightly since the examples changed. Here are the current contents: [shm] info=Scoreboard. Required for reconfiguration and status with multiprocess servers. file=anon # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb] # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 group=lb # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] group=lb [uri:/jsp-examples/*] group=lb [uri:/servlets-examples/*] group=lb [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: I can successfully go to http://localhost/jkstatus. However, when I go to http://localhost/jsp-examples, the browser just hangs. It doesn't even time out. I also notice that in the application event log, there is the following warning: Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date: 4/1/2004 Time: 10:33:11 AM User: N/A Computer: OCEAN Description: Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL - Is the default server.xml sufficient to getting to these examples? Do I have to uncomment the invoker servlet? - What are the possible values that go in workers2.properties? I have noticed in several examples on the web that a tomcatid value is used for the uri entries, but it typically goes go localhost:8009. Do I need a worker specification for each uri entry? Any direction on where I could look would be greatly appreciated... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.0.19, IIS, Windows XP
I am having problems getting the examples to work in an out of the box scenario. Here is what I have installed: 1) JSDK 1.4.2_02 (auto-upgraded to 1.4.2_02-b03) with JAVA_HOME set appropriately. 2) Tomcat 5.0.19 installed and running as a service. The only options changed during install were the directory (changed to C:\Java\tomcat5.0.19) and installing as a service. It appears to be working as going to http://localhost:8080 brings up the manager appropriately. I can also get to the examples with http://localhost:8080/jsp-examples. 3) JK2 redirector installed using the install4iis.js script included in the zip file. I made a minor change to the script to create the Filters for the default web site, which I am confident is correct. You don't need the change if you have a Filter currently set up at that level. I copied the workers2.properties.sample to my TOMCAT\conf area (killing the .samples). I did have to change it slightly since the examples changed. Here are the current contents: [shm] info=Scoreboard. Required for reconfiguration and status with multiprocess servers. file=anon # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb] # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 group=lb # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] group=lb [uri:/jsp-examples/*] group=lb [uri:/servlets-examples/*] group=lb [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: I can successfully go to http://localhost/jkstatus. However, when I go to http://localhost/jsp-examples, the browser just hangs. It doesn't even time out. I also notice that in the application event log, there is the following warning: Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date: 4/1/2004 Time: 10:33:11 AM User: N/A Computer: OCEAN Description: Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL - Is the default server.xml sufficient to getting to these examples? Do I have to uncomment the invoker servlet? - What are the possible values that go in workers2.properties? I have noticed in several examples on the web that a tomcatid value is used for the uri entries, but it typically goes go localhost:8009. Do I need a worker specification for each uri entry? Any direction on where I could look would be greatly appreciated... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.0.19, IIS, Windows XP
I may be off base but do you have a webapp.exl file with a context? ref: www.dynamichostings.com/TomCat5IIS5.do -Original Message- From: Jay Rutten [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 12:52 PM To: [EMAIL PROTECTED] Subject: Tomcat 5.0.19, IIS, Windows XP I am having problems getting the examples to work in an out of the box scenario. Here is what I have installed: 1) JSDK 1.4.2_02 (auto-upgraded to 1.4.2_02-b03) with JAVA_HOME set appropriately. 2) Tomcat 5.0.19 installed and running as a service. The only options changed during install were the directory (changed to C:\Java\tomcat5.0.19) and installing as a service. It appears to be working as going to http://localhost:8080 brings up the manager appropriately. I can also get to the examples with http://localhost:8080/jsp-examples. 3) JK2 redirector installed using the install4iis.js script included in the zip file. I made a minor change to the script to create the Filters for the default web site, which I am confident is correct. You don't need the change if you have a Filter currently set up at that level. I copied the workers2.properties.sample to my TOMCAT\conf area (killing the .samples). I did have to change it slightly since the examples changed. Here are the current contents: [shm] info=Scoreboard. Required for reconfiguration and status with multiprocess servers. file=anon # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb] # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 group=lb # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] group=lb [uri:/jsp-examples/*] group=lb [uri:/servlets-examples/*] group=lb [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: I can successfully go to http://localhost/jkstatus. However, when I go to http://localhost/jsp-examples, the browser just hangs. It doesn't even time out. I also notice that in the application event log, there is the following warning: Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date: 4/1/2004 Time: 10:33:11 AM User: N/A Computer: OCEAN Description: Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL - Is the default server.xml sufficient to getting to these examples? Do I have to uncomment the invoker servlet? - What are the possible values that go in workers2.properties? I have noticed in several examples on the web that a tomcatid value is used for the uri entries, but it typically goes go localhost:8009. Do I need a worker specification for each uri entry? Any direction on where I could look would be greatly appreciated... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP pro
Hi, I have installed tomcat 4.1.30, java 1.4.2 and windows XP pro. When I try to run some JSP exmples I receive a page error. What can be wrong? TIA Jesus Gutierrez. This is the error page javax.servlet.ServletException: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/ Set; at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) 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.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:683) at java.lang.Thread.run(Thread.java:534) root cause java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/ Set; at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.j ava:216) at org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:158 ) at org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.j ava:357) at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext .java:436) at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:353) at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381) at org.apache.jasper.compiler.Parser.parseElements(Parser.java:795) at org.apache.jasper.compiler.Parser.parse(Parser.java:122) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4 73) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1 90) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 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.doFilter(ApplicationFilterCh
RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro
This is correct. I have seen this problem before, and it usually is a result of Java not being installed correctly, or having an old version of Java in your path. What you might want to try is opening a command prompt, and typing java -version to make sure that it is indeed 1.4.2 that is running. Also make sure that you haven't got an old JAVA_HOME set, and although this is a redundant statement, make double-plus sure that you don't have an old java.exe in your PATH. Eg: Modify your JAVA_HOME to point to your 1.4.2 install Modify your PATH env variable to put c:\j2sdk1.4.2_03\bin is the first thing in your path. Hope that helps. -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 10:56 AM To: Tomcat Users List Subject: RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro The first thing I notice is Ljava. Is that correct? -Original Message- From: Jesús Gutiérrez Ramírez [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 11:47 AM To: [EMAIL PROTECTED] Subject: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro Hi, I have installed tomcat 4.1.30, java 1.4.2 and windows XP pro. When I try to run some JSP exmples I receive a page error. What can be wrong? TIA Jesus Gutierrez. This is the error page javax.servlet.ServletException: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/ Set; at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) 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.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:683) at java.lang.Thread.run(Thread.java:534) root cause java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/ Set; at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.j ava:216) at org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:158 ) at org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.j ava:357) at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext .java:436) at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:353
RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro
The root cause: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/u til/Set; Means that the jVM cannot find the method in ServletContext that accepts a String parameter and returns a java.util.Set. This method is only since servlet 2.3, so it's possible you've got a j2ee.jar or servlet.jar somewhere on your system that is from the previous spec, and is causing problems. Look for those jar files on your system. You shouldn't have any other version of these files (and not j2ee.jar at all!) in CATALINA_HOME/common/lib other than the servlet.jar that came with your tomcat. -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 12:56 PM To: Tomcat Users List Subject: RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro The first thing I notice is Ljava. Is that correct? -Original Message- From: Jesús Gutiérrez Ramírez [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 11:47 AM To: [EMAIL PROTECTED] Subject: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro Hi, I have installed tomcat 4.1.30, java 1.4.2 and windows XP pro. When I try to run some JSP exmples I receive a page error. What can be wrong? TIA Jesus Gutierrez. This is the error page javax.servlet.ServletException: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/Strin g;)Ljava/util/ Set; at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardW rapperValve.ja va:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardC ontextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContex t.java:2422) at org.apache.catalina.core.StandardHostValve.invoke(StandardHost Valve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi spatcherValve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport Valve.java:163 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEn gineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter. java:199) at org.apache.coyote.http11.Http11Processor.process(Http11Process or.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle r.processConne ction(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi nt.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.jav a:683) at java.lang.Thread.run(Thread.java:534) root cause java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/Strin g;)Ljava/util/ Set; at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLo cationsCache.j ava:216) at org.apache.jasper.compiler.TldLocationsCache.init(TldLocations Cache.java:158 ) at org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLo cationsCache.j ava:357
Windows XP, TC 4.1.29 and logging question (catalina.out)...
List, I must be too close to the problem, having a background in managing Tomcat on Linux, I can't seem to figure out what is so drastically different about Tomcat on Windows that logging doesn't behave the same. Specifically: c:\%tomcat_home%\bin\startup.bat runs in a separate window (expected) but only the following logs are being generated: localhost_examples* localhost_admin* localhost_log* 'catalina* is conspicuously missing. However, the Logger is defined in the server.xml file! There is some standard out logging going on, but not to a file. What directive am I missing? The archives didn't seem to answer my question directly. The server.xml file seems to implied that the global logger could be overridden, but I have not explictly stated any such overriding the server.xml is out-of-the-box. Many thanks in advance. Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 5.0.18: Windows XP Pro vs Windows 2000
Merrill Cornish wrote: I have Windows XP Pro at home and Windows 2000 at work. I run Tomcat on both of them, and I try to keep identical environments on both. However, it's not easy. Under 5.0.16, I would run it as a server on XP, but not 2000. Under 5.0.18, I got it running as a server on 2000 immediately while XP took many installs, uninstalls, reboots and what not. (I still don't know what I finally did to get it to work.) After getting 5.0.18 to run under XP, I tried launching my application. Entering http://localhost/timesheet; into the browser got a Page Not Found and did not resolve to https://localhost/timesheet/login.jsp; as it should. Examining the log showed that the localhost-timesheet_log.txt log file defined in the Context element for the timesheet application in server.xml didn't exist either. Tomcat seemed to be ignoring my application and its context even when I tried using the same conf\server.xml and conf\web.xml files that had worked on Windows 2000. The stdout.logdid exist and showed that the various example contexts (servlet-examples, jsp-examples, balancer, etc.) had been initialized even though mine application hadn't. There were no error messages. Then I noticed that the samples didn't have a Context element in the server.xml file. Instead, they had a *.xml file in their application directory with ONLY the Context element in it (i.e., not a well-formed XML file). When I made a copy of my application's Context element shown below and put it in ...\webapps\timesheet\timesheet.xml it worked. No, it does not. .xml files in the Host appBase will be ignored. Don't try to start relying right away on paranormal explanations right away ;) I use XP, BTW. I've read the 5.0.18 release notes, the FAQ on the Jakarta website, and the tomcat-docs distributed with 5.0.18. I can't find a reference to these fragment files except for the mention of Context Descriptions under Deployer. However, those files are nested under the conf directory rather than under the application context. Why does 5.0.18 recognize my application's Context element in the server.xml file on Windows 2000 but will only recognize it in a timesheet.xml file in my application directory on Windows XP? What is the value of having three possible locations for the same information? Where can I find it documented? You need to put your Context elements in XML files next to the ones for the manager and admin, and it will work ok. -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 5.0.18: Windows XP Pro vs Windows 2000
Remy, No, it does not. .xml files in the Host appBase will be ignored. [Sigh...] I thought I had it. Checking back, I see that only the balancer sample app has it context description file there. You need to put your Context elements in XML files next to the ones for the manager and admin, and it will work ok. OK, I tried doing searches of the various *.xml files. Here's what I found: balancer.xml is in: %CATALINA_HOME%\webapps\balancer %CATALINA_HOME\conf\Catalina\localhost jsp-examples.xml is in: can't find it, but it got installed according to stdout.log servlets-examples.xml is in: can't find it, but it got installed according to stdout.log admin.xml is in: %CATALINA_HOME%\server\webapps\admin %CATALINA_HOME\conf\Catalina\localhost manager.xml is in: %CATALINA_HOME%\server\webapps\manager %CATALINA_HOME\conf\Catalina\localhost The %CATALINA_HOME\conf\Catalina\localhost location is mentioned in the Tomcat docs, but I thought the server.xml location was mentioned also. To top it all off, the book TOMCAT, THE DEFINITIVE GUIDE (the only O'Reilly book I've ever been disappointed in) says the *.xml context descriptions (or fragments, is it calls them) are placed in %CATALINA_HOME%\webapps directory. [signed] Confused in Austin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 5.0.18: Windows XP Pro vs Windows 2000
At 08:47 AM 1/24/2004 -0600, you wrote: Remy, No, it does not. .xml files in the Host appBase will be ignored. [Sigh...] I thought I had it. Checking back, I see that only the balancer sample app has it context description file there. No it isn't... Oh, I see what you mean. It isn't in the appBase, but in the docBase of the balancer webapp. Not sure why it is there. Either way, it isn't doing anything. Probably an oversight. It won't cause any harm either way. You need to put your Context elements in XML files next to the ones for the manager and admin, and it will work ok. OK, I tried doing searches of the various *.xml files. Here's what I found: balancer.xml is in: %CATALINA_HOME%\webapps\balancer %CATALINA_HOME\conf\Catalina\localhost Like I said above, the former doesn't do anything. The latter is recognized, though. jsp-examples.xml is in: can't find it, but it got installed according to stdout.log Of course it did. There has never been a rule that says you *must* define a Context for each webapp. It is entirely optional. If not found, Tomcat will load up the webapp with defaults. servlets-examples.xml is in: can't find it, but it got installed according to stdout.log ditto admin.xml is in: %CATALINA_HOME%\server\webapps\admin %CATALINA_HOME\conf\Catalina\localhost manager.xml is in: %CATALINA_HOME%\server\webapps\manager %CATALINA_HOME\conf\Catalina\localhost Ok, looks like the files within the docBase directory weren't an oversight given that they are in those apps' docBase directories (or maybe it is just a big oversight?). Possibly it is just to provide a web-accessible way to see how the application is configured? Again, however, these files are not used by Tomcat and are completely harmless. The %CATALINA_HOME\conf\Catalina\localhost location is mentioned in the Tomcat docs For Tomcat-5.0.xx, not for Tomcat-4.1.xx , but I thought the server.xml location was mentioned also. To top it all off, the book TOMCAT, THE DEFINITIVE GUIDE (the only O'Reilly book I've ever been disappointed in) says the *.xml context descriptions (or fragments, is it calls them) are placed in %CATALINA_HOME%\webapps directory. They aren't wrong, at least not for Tomcat-4.1.xx. That is exactly where they go for the 4.1.xx releases. They changed things in Tomcat5 to store them in CATALINA_HOME/conf/Catalina/[some host] [signed] Confused in Austin Hopefully my response cleared the confusion. Jake - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
5.0.18: Windows XP Pro vs Windows 2000
I have Windows XP Pro at home and Windows 2000 at work. I run Tomcat on both of them, and I try to keep identical environments on both. However, it's not easy. Under 5.0.16, I would run it as a server on XP, but not 2000. Under 5.0.18, I got it running as a server on 2000 immediately while XP took many installs, uninstalls, reboots and what not. (I still don't know what I finally did to get it to work.) After getting 5.0.18 to run under XP, I tried launching my application. Entering http://localhost/timesheet; into the browser got a Page Not Found and did not resolve to https://localhost/timesheet/login.jsp; as it should. Examining the log showed that the localhost-timesheet_log.txt log file defined in the Context element for the timesheet application in server.xml didn't exist either. Tomcat seemed to be ignoring my application and its context even when I tried using the same conf\server.xml and conf\web.xml files that had worked on Windows 2000. The stdout.logdid exist and showed that the various example contexts (servlet-examples, jsp-examples, balancer, etc.) had been initialized even though mine application hadn't. There were no error messages. Then I noticed that the samples didn't have a Context element in the server.xml file. Instead, they had a *.xml file in their application directory with ONLY the Context element in it (i.e., not a well-formed XML file). When I made a copy of my application's Context element shown below and put it in ...\webapps\timesheet\timesheet.xml it worked. I've read the 5.0.18 release notes, the FAQ on the Jakarta website, and the tomcat-docs distributed with 5.0.18. I can't find a reference to these fragment files except for the mention of Context Descriptions under Deployer. However, those files are nested under the conf directory rather than under the application context. Why does 5.0.18 recognize my application's Context element in the server.xml file on Windows 2000 but will only recognize it in a timesheet.xml file in my application directory on Windows XP? What is the value of having three possible locations for the same information? Where can I find it documented? Merrill = Context path=/timesheet docBase=timesheet debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_timesheet_log. suffix=.txt timestamp=true/ /Context - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The Tomcat(5.0.16) service does not start on Windows XP
Hi I'm having a tough time here trying to figure out why the Windows Service for Tomcat wont start. This is what I have done: 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a directory, (E:\tomcat_test\). 2) I have also installed the service according to the link: http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2 0service http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the% 20service I.e. with the following arguments E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; --ImagePath E:\tomcat_test\jakarta-tomcat -5.0.16\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt --StdErrorFile e:\err.txt --WorkingPath e:\tomcat_test\jakarta-tomcat-5.0.16\ 3) Launched Windows Services tool, and started it from there, but then it seems to start and then it exists 4) As an alternative I started it from the command line by using the command: E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw //GT//Tomcat5 Now this works, cause the process comes up and I am able to browse the http://localhost:8080 http://localhost:8080/ page with no trouble 5) And then I started it by using the command: e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw //GT//Tomcat5 Now this does NOT work I've been using both regmon and filemon to try and figure out what is happening. And this is my conclusion without a solution :-( So when I am running it from the command line, from the working directory it works fine. From the tools filemon and regmon I could see important differences between when it worked and when it did NOT work. The differences seems to be that the service is very dependent on the actual working directory, cause when it did not work it failed to find the entries below, whereas when it worked fine it used the proper path to these, NOT WORKING C:\Windows\system32\conf\catalina.properties C:\Windows\system32\common\classes C:\Windows\system32\common\endorsed C:\Windows\system32\common\lib WORKING E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib Any ideas, what is going wrong here? Regards Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: The Tomcat(5.0.16) service does not start on Windows XP
There should be something in Tomcat/logs/catalina.out to explain where the problem is. Or at least, try to start the service and see what's in the most recently written to logs in this directory. Robbie -Original Message- From: Tobias Eriksson [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 12:56 To: [EMAIL PROTECTED] Subject: The Tomcat(5.0.16) service does not start on Windows XP Hi I'm having a tough time here trying to figure out why the Windows Service for Tomcat wont start. This is what I have done: 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a directory, (E:\tomcat_test\). 2) I have also installed the service according to the link: http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2 0service http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the% 20service I.e. with the following arguments E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; --ImagePath E:\tomcat_test\jakarta-tomcat -5.0.16\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt --StdErrorFile e:\err.txt --WorkingPath e:\tomcat_test\jakarta-tomcat-5.0.16\ 3) Launched Windows Services tool, and started it from there, but then it seems to start and then it exists 4) As an alternative I started it from the command line by using the command: E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw //GT//Tomcat5 Now this works, cause the process comes up and I am able to browse the http://localhost:8080 http://localhost:8080/ page with no trouble 5) And then I started it by using the command: e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw //GT//Tomcat5 Now this does NOT work I've been using both regmon and filemon to try and figure out what is happening. And this is my conclusion without a solution :-( So when I am running it from the command line, from the working directory it works fine. From the tools filemon and regmon I could see important differences between when it worked and when it did NOT work. The differences seems to be that the service is very dependent on the actual working directory, cause when it did not work it failed to find the entries below, whereas when it worked fine it used the proper path to these, NOT WORKING C:\Windows\system32\conf\catalina.properties C:\Windows\system32\common\classes C:\Windows\system32\common\endorsed C:\Windows\system32\common\lib WORKING E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib Any ideas, what is going wrong here? Regards Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: The Tomcat(5.0.16) service does not start on Windows XP
Hi Robbie, Problem is that none of the logs stderr,stdout and the one in the c:\jakarta-service.log files contain anything, they are created but nothing is written to them... /Tobias -Original Message- From: Robbie Baldock [mailto:[EMAIL PROTECTED] Sent: den 21 januari 2004 13:58 To: 'Tomcat Users List' Subject: RE: The Tomcat(5.0.16) service does not start on Windows XP There should be something in Tomcat/logs/catalina.out to explain where the problem is. Or at least, try to start the service and see what's in the most recently written to logs in this directory. Robbie -Original Message- From: Tobias Eriksson [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 12:56 To: [EMAIL PROTECTED] Subject: The Tomcat(5.0.16) service does not start on Windows XP Hi I'm having a tough time here trying to figure out why the Windows Service for Tomcat wont start. This is what I have done: 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a directory, (E:\tomcat_test\). 2) I have also installed the service according to the link: http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2 0service http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the% 20service I.e. with the following arguments E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; --ImagePath E:\tomcat_test\jakarta-tomcat -5.0.16\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt --StdErrorFile e:\err.txt --WorkingPath e:\tomcat_test\jakarta-tomcat-5.0.16\ 3) Launched Windows Services tool, and started it from there, but then it seems to start and then it exists 4) As an alternative I started it from the command line by using the command: E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw //GT//Tomcat5 Now this works, cause the process comes up and I am able to browse the http://localhost:8080 http://localhost:8080/ page with no trouble 5) And then I started it by using the command: e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw //GT//Tomcat5 Now this does NOT work I've been using both regmon and filemon to try and figure out what is happening. And this is my conclusion without a solution :-( So when I am running it from the command line, from the working directory it works fine. From the tools filemon and regmon I could see important differences between when it worked and when it did NOT work. The differences seems to be that the service is very dependent on the actual working directory, cause when it did not work it failed to find the entries below, whereas when it worked fine it used the proper path to these, NOT WORKING C:\Windows\system32\conf\catalina.properties C:\Windows\system32\common\classes C:\Windows\system32\common\endorsed C:\Windows\system32\common\lib WORKING E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib Any ideas, what is going wrong here? Regards Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: The Tomcat(5.0.16) service does not start on Windows XP
Grab the latest Tomcat-5.0.18 and use the CATALINA_HOME/bin/service.bat. You might need to add JAVA_HOME/lib/tools.jar to the ImagePath in order to get JSP compiling, but otherwise it will work for you. Just type: service install Jake Quoting Tobias Eriksson [EMAIL PROTECTED]: Hi I'm having a tough time here trying to figure out why the Windows Service for Tomcat wont start. This is what I have done: 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a directory, (E:\tomcat_test\). 2) I have also installed the service according to the link: http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2 0service http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the% 20service I.e. with the following arguments E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; --ImagePath E:\tomcat_test\jakarta-tomcat -5.0.16\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt --StdErrorFile e:\err.txt --WorkingPath e:\tomcat_test\jakarta-tomcat-5.0.16\ 3) Launched Windows Services tool, and started it from there, but then it seems to start and then it exists 4) As an alternative I started it from the command line by using the command: E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw //GT//Tomcat5 Now this works, cause the process comes up and I am able to browse the http://localhost:8080 http://localhost:8080/ page with no trouble 5) And then I started it by using the command: e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw //GT//Tomcat5 Now this does NOT work I've been using both regmon and filemon to try and figure out what is happening. And this is my conclusion without a solution :-( So when I am running it from the command line, from the working directory it works fine. From the tools filemon and regmon I could see important differences between when it worked and when it did NOT work. The differences seems to be that the service is very dependent on the actual working directory, cause when it did not work it failed to find the entries below, whereas when it worked fine it used the proper path to these, NOT WORKING C:\Windows\system32\conf\catalina.properties C:\Windows\system32\common\classes C:\Windows\system32\common\endorsed C:\Windows\system32\common\lib WORKING E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib Any ideas, what is going wrong here? Regards Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP engine fails when trying to compile java / Apache /Tomcat/Windows XP ...
Hello Everyone, I have installed tomcat and apache, as per the User Guide for Tomcat. I've started tomcat and apparently successfully. Apache seems to work for html files ok. When I try to use it with any of the jsp examples provided, I get the following message in my browser, instead of the jsp application I asked for: I am new to Tomcat and looking for suggestions. Regards, --Ron The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:508) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValvejava:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValvejava:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Unknown Source)
Re: Tomcat doesn't start under Windows XP
Sure, sorry. My JAVA_HOME variable was not set correctly, I had included \bin where I shouldnt have ... Incorrect: F:\j2sdk1.4.1_02\bin Correct: F:\j2sdk1.4.1_02 Previous posts helped me finding the problem... - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, October 26, 2003 2:05 PM Subject: Re: Tomcat doesn't start under Windows XP Giselle, Never mind, folks, I got it. Could you explain what the problem was, and what the fix was, so that others can get help when they search the archives? -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat doesn't start under Windows XP
Hi all, Im having the same problem and Giorgio, my Tomcat wont start under Windows XP, I get the msg : Windows cannot find '-Djava.endorsed.dirs='. Im using I'm using Win XP Java 1.4.2, Tomcat 4.1.27 Does anyone know what is the solution for this problem ? Thx
Re: Tomcat doesn't start under Windows XP
Never mind, folks, I got it. - Original Message - From: Giselle Dazzi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 26, 2003 1:33 PM Subject: Tomcat doesn't start under Windows XP Hi all, Im having the same problem and Giorgio, my Tomcat wont start under Windows XP, I get the msg : Windows cannot find '-Djava.endorsed.dirs='. Im using I'm using Win XP Java 1.4.2, Tomcat 4.1.27 Does anyone know what is the solution for this problem ? Thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat doesn't start under Windows XP
Giselle, Never mind, folks, I got it. Could you explain what the problem was, and what the fix was, so that others can get help when they search the archives? -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat doesn't start under Windows XP
I see in another post that you've got tomcat to startup. :) The reason your approach here didn't work is because you set the JAVA_HOME variable locally in the current shell. When you then executed startup.bat it started another shell in which to run tomcat. This new shell didn't have its parent's environment variables, only the ones set globally. Setting the environment variables using Control Panel was definately the way to go. Setting the environment variables globally allowed tomcat to start. Changing JAVA_HOME to being an SDK install rather than a JRE will allow tomcat to compile jsp files on the fly. Enjoy, Jon Giorgio Franceschetti wrote: Hardee, Brenda G NAVSAFECEN wrote: I had the same problem installing Tomcat under Win2000. Be sure that all your environment variables are set properly. I actually created a batch file that sets all my environment variables before I run Tomcat. That solved my problem. Be sure that you have set Java_Home environment under My Computer. Here's a sample of the batch file (just change the directories to match your environment): set JAVA_HOME=c:\j2sdk1.4.1 set CATALINA_HOME=D:\tomcat set path=D:\tomcat\bin;c:\j3sdk1.4.1\bin;c:\winnt;c:\winnt\system32;e:\oracle\ora92\bin; set classpath=d:\tomcat\common\lib\mail.jar;d:\tomcat\common\lib\soap.jar;d:\tomcat\common\lib\activation.jar;c:\j2sks1.4.1\lib;d:\tomcat\common\lib\servlet.jar;d:\tomcat\common\lib\classes12.jar;d:\tomcat\server\lib\catalina.jar;d:\tomcat\common\lib\jaxp.jar; Run your batch file then to to d:\tomcat\bin\startup Good lucK! I have tyred to set my .bat this way: set JAVA_HOME=C:\Programmi\Java\j2re1.4.2 set CATALINA_HOME=C:\OpenSource\tomcat set path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\OpenSource\tomcat\bin; C:\Programmi\Java\j2re1.4.2\bin classpath=%CATALINA_HOME%\common\lib\mail.jar;%CATALINA_HOME%\common\lib\soap.jar;%CATALINA_HOME%\common\lib\activation.jar;%JAVA_HOME%\lib;%CATALINA_HOME%\common\lib\servlet.jar;%CATALINA_HOME%\common\lib\classes12.jar;%CATALINA_HOME%\server\lib\catalina.jar;%CATALINA_HOME%\common\lib\jaxp.jar; CD %CATALINA_HOME%\bin startup but it didn't work.. :-( Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Connection refused error under load with tomcat 3.3.1 on Windows XP
We're running a load script on our tomcat server and seeing connection refused errors on the client. Server Configuration: Vanilla tomcat (not fronted with Apache) 3.3.1 -Xmx 800MB -Xms512M Windows XP 2.8 Ghz Hyperthreaded 800Mhz front side bus, 1 CPU 1.5 GB memory. On the client load test we are using Java, connection with the URL class. We see (don't know if it's immediate yet) a connection refused error only under load. The higher the number of concurrent users (or load in general), the more errors. Has anyone else seen this problem? Btw... we tried fronting this with Apache, mod_jk and found we received 500 errors instead. Mod_jk got the connection refused errors instead. Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat doesn't start under Windows XP
I'm trying to start Tomcat, but I'm receiving a strange error. I'm using Win XP Java 1.4.2, Tomcat 4.1.27 Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. This becouse this variable it's. used into the script (CATALINA.BAT) but it's never set up to any value. I don't know if it' right, I cannot find any information about this variable into the running.txt, but, after that, I've received a new message error: Djava.endorsed.dirs=C:\OpenSource\tomcat\common\endorsed (obviously %CATALINA_HOME=c:\OpenSource\tomcat). So, I decided to change the script , only to try to understand what's happening. I deleted the -Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% instruction. Next time I received a new error: Cannot find file: -classpath. By th way, -classpath is the instruction that immediately follow the one that I have cancelled. This time I thought that the error was somewhere before that instruction. I tryed to see which were the values that the script were using. It was trying to execute a command like that: start Tomcat -Djava.endorsed.dirs=C:\Applicativi-Open-Source\tomcat\common\endorsed -classpath C:\Applicativi-Open-Source\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\Applicativi-Open-Source\tomcat -Dcatalina.home=C:\Applicativi-Open-Source\tomcat -Djava.io.tmpdir=C:\Applicativi-Open-Source\tomcat\temp org.apache.catalina.startup.Bootstrap start But now I don't know what more to do. Thanks in advance for help. Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat doesn't start under Windows XP
Howdy, Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. You don't need to set this variable yourself: it's set in the tomcat startup scripts. You got the above effort after simply installing tomcat and trying to run it? That's very strange. Can you start tomcat from the Programs Menu rather than the command line? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat doesn't start under Windows XP
Shapira, Yoav wrote: Howdy, Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. You don't need to set this variable yourself: it's set in the tomcat startup scripts. I tryed to set it as an environment variable becouse I couldn't find any place in the script where it was set up. You got the above effort after simply installing tomcat and trying to run it? That's very strange. I simply downloaded the zip file, unzipped it into my directory and tryed to execute the startup.bat (following the instructions into the running.txt). Can you start tomcat from the Programs Menu rather than the command line? Well, I've made a simply .bat that does what was written into the docs: CD %CATALINA_HOME%\bin startup But even If I try from the command line I've the same result. What do you mean with from the Programs Menu? Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat doesn't start under Windows XP
Have you set your JAVA_HOME environment variable to be your jdk install directory (with no trailing slash)? The command the script is trying to execute seems to be missing a vital bit: expanded_java_home\bin\java.exe HTH, Jon Giorgio Franceschetti wrote: I'm trying to start Tomcat, but I'm receiving a strange error. I'm using Win XP Java 1.4.2, Tomcat 4.1.27 Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. This becouse this variable it's. used into the script (CATALINA.BAT) but it's never set up to any value. I don't know if it' right, I cannot find any information about this variable into the running.txt, but, after that, I've received a new message error: Djava.endorsed.dirs=C:\OpenSource\tomcat\common\endorsed (obviously %CATALINA_HOME=c:\OpenSource\tomcat). So, I decided to change the script , only to try to understand what's happening. I deleted the -Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% instruction. Next time I received a new error: Cannot find file: -classpath. By th way, -classpath is the instruction that immediately follow the one that I have cancelled. This time I thought that the error was somewhere before that instruction. I tryed to see which were the values that the script were using. It was trying to execute a command like that: start Tomcat -Djava.endorsed.dirs=C:\Applicativi-Open-Source\tomcat\common\endorsed -classpath C:\Applicativi-Open-Source\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\Applicativi-Open-Source\tomcat -Dcatalina.home=C:\Applicativi-Open-Source\tomcat -Djava.io.tmpdir=C:\Applicativi-Open-Source\tomcat\temp org.apache.catalina.startup.Bootstrap start But now I don't know what more to do. Thanks in advance for help. Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat doesn't start under Windows XP
I had the same problem installing Tomcat under Win2000. Be sure that all your environment variables are set properly. I actually created a batch file that sets all my environment variables before I run Tomcat. That solved my problem. Be sure that you have set Java_Home environment under My Computer. Here's a sample of the batch file (just change the directories to match your environment): set JAVA_HOME=c:\j2sdk1.4.1 set CATALINA_HOME=D:\tomcat set path=D:\tomcat\bin;c:\j3sdk1.4.1\bin;c:\winnt;c:\winnt\system32;e:\oracle\ora92\bin; set classpath=d:\tomcat\common\lib\mail.jar;d:\tomcat\common\lib\soap.jar;d:\tomcat\common\lib\activation.jar;c:\j2sks1.4.1\lib;d:\tomcat\common\lib\servlet.jar;d:\tomcat\common\lib\classes12.jar;d:\tomcat\server\lib\catalina.jar;d:\tomcat\common\lib\jaxp.jar; Run your batch file then to to d:\tomcat\bin\startup Good lucK! -Original Message- From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 14:02 To: Tomcat Users List Subject: Re: Tomcat doesn't start under Windows XP Shapira, Yoav wrote: Howdy, Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. You don't need to set this variable yourself: it's set in the tomcat startup scripts. I tryed to set it as an environment variable becouse I couldn't find any place in the script where it was set up. You got the above effort after simply installing tomcat and trying to run it? That's very strange. I simply downloaded the zip file, unzipped it into my directory and tryed to execute the startup.bat (following the instructions into the running.txt). Can you start tomcat from the Programs Menu rather than the command line? Well, I've made a simply .bat that does what was written into the docs: CD %CATALINA_HOME%\bin startup But even If I try from the command line I've the same result. What do you mean with from the Programs Menu? Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat doesn't start under Windows XP
Jon Wingfield wrote: Have you set your JAVA_HOME environment variable to be your jdk install directory (with no trailing slash)? The command the script is trying to execute seems to be missing a vital bit: expanded_java_home\bin\java.exe HTH, Jon This is what the script send to the console: Using JAVA_HOME: C:\Programmi\Java\j2re1.4.2 It seems to me that it's right. But I agree with you that there should be something missing in the command. Giorgio Giorgio Franceschetti wrote: I'm trying to start Tomcat, but I'm receiving a strange error. I'm using Win XP Java 1.4.2, Tomcat 4.1.27 Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. This becouse this variable it's. used into the script (CATALINA.BAT) but it's never set up to any value. I don't know if it' right, I cannot find any information about this variable into the running.txt, but, after that, I've received a new message error: Djava.endorsed.dirs=C:\OpenSource\tomcat\common\endorsed (obviously %CATALINA_HOME=c:\OpenSource\tomcat). So, I decided to change the script , only to try to understand what's happening. I deleted the -Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% instruction. Next time I received a new error: Cannot find file: -classpath. By th way, -classpath is the instruction that immediately follow the one that I have cancelled. This time I thought that the error was somewhere before that instruction. I tryed to see which were the values that the script were using. It was trying to execute a command like that: start Tomcat -Djava.endorsed.dirs=C:\Applicativi-Open-Source\tomcat\common\endorsed -classpath C:\Applicativi-Open-Source\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\Applicativi-Open-Source\tomcat -Dcatalina.home=C:\Applicativi-Open-Source\tomcat -Djava.io.tmpdir=C:\Applicativi-Open-Source\tomcat\temp org.apache.catalina.startup.Bootstrap start But now I don't know what more to do. Thanks in advance for help. Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat doesn't start under Windows XP
Hardee, Brenda G NAVSAFECEN wrote: I had the same problem installing Tomcat under Win2000. Be sure that all your environment variables are set properly. I actually created a batch file that sets all my environment variables before I run Tomcat. That solved my problem. Be sure that you have set Java_Home environment under My Computer. Here's a sample of the batch file (just change the directories to match your environment): set JAVA_HOME=c:\j2sdk1.4.1 set CATALINA_HOME=D:\tomcat set path=D:\tomcat\bin;c:\j3sdk1.4.1\bin;c:\winnt;c:\winnt\system32;e:\oracle\ora92\bin; set classpath=d:\tomcat\common\lib\mail.jar;d:\tomcat\common\lib\soap.jar;d:\tomcat\common\lib\activation.jar;c:\j2sks1.4.1\lib;d:\tomcat\common\lib\servlet.jar;d:\tomcat\common\lib\classes12.jar;d:\tomcat\server\lib\catalina.jar;d:\tomcat\common\lib\jaxp.jar; Run your batch file then to to d:\tomcat\bin\startup Good lucK! I have tyred to set my .bat this way: set JAVA_HOME=C:\Programmi\Java\j2re1.4.2 set CATALINA_HOME=C:\OpenSource\tomcat set path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\OpenSource\tomcat\bin; C:\Programmi\Java\j2re1.4.2\bin classpath=%CATALINA_HOME%\common\lib\mail.jar;%CATALINA_HOME%\common\lib\soap.jar;%CATALINA_HOME%\common\lib\activation.jar;%JAVA_HOME%\lib;%CATALINA_HOME%\common\lib\servlet.jar;%CATALINA_HOME%\common\lib\classes12.jar;%CATALINA_HOME%\server\lib\catalina.jar;%CATALINA_HOME%\common\lib\jaxp.jar; CD %CATALINA_HOME%\bin startup but it didn't work.. :-( Giorgio -Original Message- From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 14:02 To: Tomcat Users List Subject: Re: Tomcat doesn't start under Windows XP Shapira, Yoav wrote: Howdy, Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. You don't need to set this variable yourself: it's set in the tomcat startup scripts. I tryed to set it as an environment variable becouse I couldn't find any place in the script where it was set up. You got the above effort after simply installing tomcat and trying to run it? That's very strange. I simply downloaded the zip file, unzipped it into my directory and tryed to execute the startup.bat (following the instructions into the running.txt). Can you start tomcat from the Programs Menu rather than the command line? Well, I've made a simply .bat that does what was written into the docs: CD %CATALINA_HOME%\bin startup But even If I try from the command line I've the same result. What do you mean with from the Programs Menu? Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat doesn't start under Windows XP
C:\Programmi\Java\j2re1.4.2 This is a JRE? You should be using a JDK. -Original Message- From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:19 PM To: Tomcat Users List Subject: Re: Tomcat doesn't start under Windows XP Jon Wingfield wrote: Have you set your JAVA_HOME environment variable to be your jdk install directory (with no trailing slash)? The command the script is trying to execute seems to be missing a vital bit: expanded_java_home\bin\java.exe HTH, Jon This is what the script send to the console: Using JAVA_HOME: C:\Programmi\Java\j2re1.4.2 It seems to me that it's right. But I agree with you that there should be something missing in the command. Giorgio Giorgio Franceschetti wrote: I'm trying to start Tomcat, but I'm receiving a strange error. I'm using Win XP Java 1.4.2, Tomcat 4.1.27 Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. This becouse this variable it's. used into the script (CATALINA.BAT) but it's never set up to any value. I don't know if it' right, I cannot find any information about this variable into the running.txt, but, after that, I've received a new message error: Djava.endorsed.dirs=C:\OpenSource\tomcat\common\endorsed (obviously %CATALINA_HOME=c:\OpenSource\tomcat). So, I decided to change the script , only to try to understand what's happening. I deleted the -Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% instruction. Next time I received a new error: Cannot find file: -classpath. By th way, -classpath is the instruction that immediately follow the one that I have cancelled. This time I thought that the error was somewhere before that instruction. I tryed to see which were the values that the script were using. It was trying to execute a command like that: start Tomcat -Djava.endorsed.dirs=C:\Applicativi-Open-Source\tomcat\common\ endorsed -classpath C:\Applicativi-Open-Source\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\Applicativi-Open-Source\tomcat -Dcatalina.home=C:\Applicativi-Open-Source\tomcat -Djava.io.tmpdir=C:\Applicativi-Open-Source\tomcat\temp org.apache.catalina.startup.Bootstrap start But now I don't know what more to do. Thanks in advance for help. Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat doesn't start under Windows XP
Well, I changed to the SDK's directory. I set my environments variables into the my computer section. I don't know which one of these thing was right, but it started! :-) Thanks to all for the help. Giorgio Mike Curwen wrote: C:\Programmi\Java\j2re1.4.2 This is a JRE? You should be using a JDK. -Original Message- From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:19 PM To: Tomcat Users List Subject: Re: Tomcat doesn't start under Windows XP Jon Wingfield wrote: Have you set your JAVA_HOME environment variable to be your jdk install directory (with no trailing slash)? The command the script is trying to execute seems to be missing a vital bit: expanded_java_home\bin\java.exe HTH, Jon This is what the script send to the console: Using JAVA_HOME: C:\Programmi\Java\j2re1.4.2 It seems to me that it's right. But I agree with you that there should be something missing in the command. Giorgio Giorgio Franceschetti wrote: I'm trying to start Tomcat, but I'm receiving a strange error. I'm using Win XP Java 1.4.2, Tomcat 4.1.27 Fist time I received the message: Cannot Find file -Djava.endorsed.dirs=. So I spent some time looking into the documentation and I decided to set a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed. This becouse this variable it's. used into the script (CATALINA.BAT) but it's never set up to any value. I don't know if it' right, I cannot find any information about this variable into the running.txt, but, after that, I've received a new message error: Djava.endorsed.dirs=C:\OpenSource\tomcat\common\endorsed (obviously %CATALINA_HOME=c:\OpenSource\tomcat). So, I decided to change the script , only to try to understand what's happening. I deleted the -Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% instruction. Next time I received a new error: Cannot find file: -classpath. By th way, -classpath is the instruction that immediately follow the one that I have cancelled. This time I thought that the error was somewhere before that instruction. I tryed to see which were the values that the script were using. It was trying to execute a command like that: start Tomcat -Djava.endorsed.dirs=C:\Applicativi-Open-Source\tomcat\common\ endorsed -classpath C:\Applicativi-Open-Source\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\Applicativi-Open-Source\tomcat -Dcatalina.home=C:\Applicativi-Open-Source\tomcat -Djava.io.tmpdir=C:\Applicativi-Open-Source\tomcat\temp org.apache.catalina.startup.Bootstrap start But now I don't know what more to do. Thanks in advance for help. Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection refused error under load with tomcat 3.3.1 on Windows XP
The Http10Connector has issues with XP :(. Most of them require that you set the 'socketCloseDelay' attribute on the connector (e.g 'socketCloseDelay=1000' to add a one-second delay). However, this is usually a problem with POSTed messages. From your description, it's sounding like you need to increase your maxThreads setting on the Connector. I'm guessing that you are throwing more requests at the box then it is configured to handle. You can mitigate this somewhat by increasing the 'backlog' setting, but it mostly just shifts the problem to your TCP stack. You could also try using the CoyoteConnector2 from the nightly (which is basically the same HTTP/1.1 connector that TC 4.1.x TC 5.x are using). It tends to work much better on XP (well, actually, it works much better in general :). Dave Brewster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] We're running a load script on our tomcat server and seeing connection refused errors on the client. Server Configuration: Vanilla tomcat (not fronted with Apache) 3.3.1 -Xmx 800MB -Xms512M Windows XP 2.8 Ghz Hyperthreaded 800Mhz front side bus, 1 CPU 1.5 GB memory. On the client load test we are using Java, connection with the URL class. We see (don't know if it's immediate yet) a connection refused error only under load. The higher the number of concurrent users (or load in general), the more errors. Has anyone else seen this problem? Btw... we tried fronting this with Apache, mod_jk and found we received 500 errors instead. Mod_jk got the connection refused errors instead. Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Errors installing tomcat 4.1.x on windows xp
I have been a tomcat user for a while and have no trouble installing it on NT machines. However we have just moved over to Windows xp. I have just tried installing version 4.1.27 and 4.1.24 and I get the error attached to this mail. I have java 1.4.1 and 1.4.2 installed and tried using both and Tomcat is not happy either way. btw..ANT version 1.5.x works fine on the same machine. Anyone had similar issues? C:\cd %CATALINA_HOME% C:\jakarta-tomcat-4.1.24cd bin C:\jakarta-tomcat-4.1.24\bincatalina run Using CATALINA_BASE: c:\jakarta-tomcat-4.1.24\ Using CATALINA_HOME: c:\jakarta-tomcat-4.1.24\ Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.24\\temp Using JAVA_HOME: c:\j2sdk1.4.1 c:\j2sdk1.4.1\bin\java Exception during startup processing java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:992) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:857) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176) This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this message in error please delete it and any files transmitted with it, after notifying [EMAIL PROTECTED] Any opinions expressed in this message may be those of the author and not necessarily those of the company. The company accepts no responsibility for the accuracy or completeness of any information contained herein. This message is not intended to create legal relations between the company and the recipient. Recipients should please note that messages sent via the Internet may be intercepted and that caution should therefore be exercised before dispatching to the company any confidential or sensitive information. Mizuho International plc Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090 Registered in England No. 1203696. Registered office as above. Authorised and regulated by the Financial Services Authority. A member of the London Stock Exchange. A member of Mizuho Financial Group headed by Mizuho Financial Group, Inc.
Re: Errors installing tomcat 4.1.x on windows xp
Hi Mercieca, I am running Tomcat 4.1.27 on XP.. Did u set JAVA_HOME before starting it.. you can also try running setClasspath.bat before starting tomcat. And try using the cmd startup to start tomcat. Regards Mitul Mercieca David [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] uho-sc.com cc: Subject: Errors installing tomcat 4.1.x on windows xp 06/10/2003 13:36 Please respond to Tomcat Users List I have been a tomcat user for a while and have no trouble installing it on NT machines. However we have just moved over to Windows xp. I have just tried installing version 4.1.27 and 4.1.24 and I get the error attached to this mail. I have java 1.4.1 and 1.4.2 installed and tried using both and Tomcat is not happy either way. btw..ANT version 1.5.x works fine on the same machine. Anyone had similar issues? C:\cd %CATALINA_HOME% C:\jakarta-tomcat-4.1.24cd bin C:\jakarta-tomcat-4.1.24\bincatalina run Using CATALINA_BASE: c:\jakarta-tomcat-4.1.24\ Using CATALINA_HOME: c:\jakarta-tomcat-4.1.24\ Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.24\\temp Using JAVA_HOME: c:\j2sdk1.4.1 c:\j2sdk1.4.1\bin\java Exception during startup processing java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:992) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:857) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176) This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this message in error please delete it and any files transmitted with it, after notifying [EMAIL PROTECTED] Any opinions expressed in this message may be those of the author and not necessarily those of the company. The company accepts no responsibility for the accuracy or completeness of any information contained herein. This message is not intended to create legal relations between the company and the recipient. Recipients should please note that messages sent via the Internet may be intercepted and that caution should therefore be exercised before dispatching to the company any confidential or sensitive information. Mizuho International plc Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090 Registered in England No. 1203696. Registered office as above. Authorised and regulated by the Financial Services Authority. A member of the London Stock Exchange. A member of Mizuho Financial Group headed by Mizuho Financial Group, Inc. _ - End of message text This e-mail is intended only for the person to whom it is addressed. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, print or rely on this e-mail. PricewaterhouseCoopers LLP is a limited liability partnership registered in England with registered number OC303525. The registered office of PricewaterhouseCoopers LLP is 1 Embankment Place, London WC2N 6RH. All partners in PricewaterhouseCoopers UK Associates A are authorised to conduct business as agents
Re: Errors installing tomcat 4.1.x on windows xp
What happens if CATALINA_HOME doesn't have the trailing slash? The script generated CATALINA_TMPDIR has a double slash in it... Tomcat probably isn't generating the classpath properly. Mercieca David wrote: I have been a tomcat user for a while and have no trouble installing it on NT machines. However we have just moved over to Windows xp. I have just tried installing version 4.1.27 and 4.1.24 and I get the error attached to this mail. I have java 1.4.1 and 1.4.2 installed and tried using both and Tomcat is not happy either way. btw..ANT version 1.5.x works fine on the same machine. Anyone had similar issues? C:\cd %CATALINA_HOME% C:\jakarta-tomcat-4.1.24cd bin C:\jakarta-tomcat-4.1.24\bincatalina run Using CATALINA_BASE: c:\jakarta-tomcat-4.1.24\ Using CATALINA_HOME: c:\jakarta-tomcat-4.1.24\ Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.24\\temp Using JAVA_HOME: c:\j2sdk1.4.1 c:\j2sdk1.4.1\bin\java Exception during startup processing java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:992) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:857) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Errors installing tomcat 4.1.x on windows xp
Nice one Tom - that did the trick - seems to be different to NT as I checked my old box and am using the backslash there. Thanks David -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: 06 October 2003 14:04 To: Tomcat Users List Subject: Re: Errors installing tomcat 4.1.x on windows xp What happens if CATALINA_HOME doesn't have the trailing slash? The script generated CATALINA_TMPDIR has a double slash in it... Tomcat probably isn't generating the classpath properly. Mercieca David wrote: I have been a tomcat user for a while and have no trouble installing it on NT machines. However we have just moved over to Windows xp. I have just tried installing version 4.1.27 and 4.1.24 and I get the error attached to this mail. I have java 1.4.1 and 1.4.2 installed and tried using both and Tomcat is not happy either way. btw..ANT version 1.5.x works fine on the same machine. Anyone had similar issues? C:\cd %CATALINA_HOME% C:\jakarta-tomcat-4.1.24cd bin C:\jakarta-tomcat-4.1.24\bincatalina run Using CATALINA_BASE: c:\jakarta-tomcat-4.1.24\ Using CATALINA_HOME: c:\jakarta-tomcat-4.1.24\ Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.24\\temp Using JAVA_HOME: c:\j2sdk1.4.1 c:\j2sdk1.4.1\bin\java Exception during startup processing java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:992) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:857) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this message in error please delete it and any files transmitted with it, after notifying [EMAIL PROTECTED] Any opinions expressed in this message may be those of the author and not necessarily those of the company. The company accepts no responsibility for the accuracy or completeness of any information contained herein. This message is not intended to create legal relations between the company and the recipient. Recipients should please note that messages sent via the Internet may be intercepted and that caution should therefore be exercised before dispatching to the company any confidential or sensitive information. Mizuho International plc Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090 Registered in England No. 1203696. Registered office as above. Authorised and regulated by the Financial Services Authority. A member of the London Stock Exchange. A member of Mizuho Financial Group headed by Mizuho Financial Group, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcate and Windows XP Question
Hi there, I installed Tomcate 5.0.9 on Windows XP Home edition. It seems the Tomcate starts sucessfully, but when I browse to http://127.0.0.1:8080, I get error message saying The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed. Here is what I did: 1) I download and Install a Java Development Kit JDK1.3.1 an dinstalled it to C:\JDK1.3.1 2) I download and Installed the Tomcat 5 Binary Distribution to C:\jakarta-tomcat-5.0.9 3) I have set the following environment variables a: set variable JAVA_HOME to value: C:\JDK1.3.1 b: set variable CATALINA_HOME to value: C:\jakarta-tomcat-5.0.9 c: set variable JASPER_HOME to value: C:\jakarta-tomcat-5.0.9 d: set variable tomcat_home to value: C:\jakarta-tomcat-5.0.9 e: I added C:\JDK1.3.1;C:\jakarta-tomcat-5.0.9; to the Path variable 4) Start Up Tomcat 5 I the DOS window show the folloiwng: [INFO] Http11Protocol - -Initializing Coyote HT [INFO] Catalina - -Initialization processed in [INFO] StandardService - -Starting service Cata [INFO] StandardEngine - -Starting Servlet Engin [INFO] StandardHost - -Create Host deployer for [INFO] StandardHostDeployer - -Processing Conte \jakarta-tomcat-5.0.9\conf\Catalina\localhost\m [INFO] StandardHostDeployer - -Processing Conte \jakarta-tomcat-5.0.9\conf\Catalina\localhost\a [INFO] PropertyMessageResources - -Initializing LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing n.ActionResources', returnNull=true [INFO] PropertyMessageResources - -Initializing .ApplicationResources', returnNull=true [INFO] StandardHostDeployer - -Installing web a ets-examples from URL file:C:\jakarta-tomcat-5. [INFO] StandardHostDeployer - -Installing web a URL file:C:\jakarta-tomcat-5.0.9\webapps\ROOT [INFO] StandardHostDeployer - -Installing web a xamples from URL file:C:\jakarta-tomcat-5.0.9\w [INFO] StandardHostDeployer - -Installing web a t-docs from URL file:C:\jakarta-tomcat-5.0.9\we [INFO] Http11Protocol - -Starting Coyote HTTP/1 [INFO] ChannelSocket - -JK2: ajp13 listening on [INFO] JkMain - -Jk running ID=0 time=0/31 con jk2.properties [INFO] Catalina - -Server startup in 5218 ms I will appreacite If anyone can tell me what else shoud I do to run Tomcat on Windows XP Home edition. Thank You Az
Re: Tomcate and Windows XP Question
I installed Tomcate 5.0.9 on Windows XP Home edition. It seems the Tomcate starts sucessfully, but when I browse to http://127.0.0.1:8080, I get error message saying The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed. Here is what I did: snip/ This looks allright Seems like you're having a network/proxy configuration problem. From RUNNING.txt in your TOMCAT installation directory: * 3) The 'localhost' machine isn't found. This could happen if you're behind a proxy. If that's the case, make sure the proxy configuration for your browser knows that you shouldn't be going through the proxy to access the localhost. In Netscape, this is under Edit/Preferences - Advanced/Proxies, and in Internet Explorer, Tools - Internet Options - Connections - LAN Settings. * Yann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcate and Windows XP Question
Is Tomcat running on port 8080 or is it 8180 like in TC4.1.27. It's tough to tell because your log message is partially cut off where it tells you which ports it's listening to. If I remember correctly the [INFO] Http11Protocol line should tell you which port it is listening to. snip [INFO] Http11Protocol - -Starting Coyote HTTP/1 [INFO] ChannelSocket - -JK2: ajp13 listening on [INFO] JkMain - -Jk running ID=0 time=0/31 con jk2.properties [INFO] Catalina - -Server startup in 5218 ms /snip Dean Searle Computing Oasis 989.245.7369 (p) 989.921.3904 (f) -Original Message- From: Yann Cébron [mailto:[EMAIL PROTECTED] Sent: Sunday, September 07, 2003 3:15 PM To: [EMAIL PROTECTED] Subject: Re: Tomcate and Windows XP Question I installed Tomcate 5.0.9 on Windows XP Home edition. It seems the Tomcate starts sucessfully, but when I browse to http://127.0.0.1:8080, I get error message saying The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed. Here is what I did: snip/ This looks allright Seems like you're having a network/proxy configuration problem. From RUNNING.txt in your TOMCAT installation directory: * 3) The 'localhost' machine isn't found. This could happen if you're behind a proxy. If that's the case, make sure the proxy configuration for your browser knows that you shouldn't be going through the proxy to access the localhost. In Netscape, this is under Edit/Preferences - Advanced/Proxies, and in Internet Explorer, Tools - Internet Options - Connections - LAN Settings. * Yann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat as Windows service on Windows XP
How can i use tomcat as a windows service on XP ? I cant find any documentation about this in the tomcat documentation. Thanx. _ Hotmail snakker ditt språk! http://www.hotmail.msn.com/cgi-bin/sbox?rru=dasp/lang.asp - Få Hotmail på norsk i dag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat as Windows service on Windows XP
I think that there is an option during the Windows installation to set Tomcat up as a service. The other option is to use: Sc.exe create The program is well documented so you shouldn't have any difficulty using it. Another option is to simply make an entry in the registry under: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControSet/Services _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -Original Message- From: Me myself [mailto:[EMAIL PROTECTED] Sent: July 25, 2003 2:26 PM To: [EMAIL PROTECTED] Subject: Tomcat as Windows service on Windows XP How can i use tomcat as a windows service on XP ? I cant find any documentation about this in the tomcat documentation. Thanx. _ Hotmail snakker ditt språk! http://www.hotmail.msn.com/cgi-bin/sbox?rru=dasp/lang.asp - Få Hotmail på norsk i dag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
default.jsp from Windows XP + Apache 2.0.46+ JK + Tomcat4.1.18
How can I put index.jsp as my default page, after I write myadress-domain.com? In httpd.conf for apache I must write DocumentRoot as a directory, but not as a myadress-domain.com address, because apache can't read it. Andrzej.
tomcat 4.1.24 on windows xp and j2sdk1.4.1_01
Hi, Greetings, We have installed tomcat 4.1.24 on windows xp and j2sdk1.4.1_01 and since then we couldn't access any jsp file. jasper always fails with the following exception reports. Rgds, Sen Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] javac: invalid flag: C:\Program [javac] Usage: javac options source files [javac] where possible options include: [javac] -gGenerate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source}Generate only some debugging info [javac] -nowarn Generate no warnings [javac] -verbose Output messages about what the compiler is doing [javac] -deprecation Output source locations where deprecated APIs are used [javac] -classpath path Specify where to find user class files [javac] -sourcepath pathSpecify where to find input source files [javac] -bootclasspath path Override location of bootstrap class files [javac] -extdirs dirs Override location of installed extensions [javac] -d directorySpecify where to place generated class files [javac] -encoding encoding Specify character encoding used by source files [javac] -source release Provide source compatibility with specified release [javac] -target release Generate class files for specific VM version [javac] -help Print a synopsis of standard options at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa ndler.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja va:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja va:473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc her.java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp atcher.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat cher.java:356) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav a:1014) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr ocessor.java:417) at org.apache.struts.action.RequestProcessor.processActionForward(RequestPr ocessor.java:390) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 271) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 5) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
Re: tomcat 4.1.24 on windows xp and j2sdk1.4.1_01
On Sun, 15 Jun 2003 21:24, Senthivel U S wrote: Hi, Greetings, We have installed tomcat 4.1.24 on windows xp and j2sdk1.4.1_01 and since then we couldn't access any jsp file. jasper always fails with the following exception reports. G'day, Your path is getting chomped at the space, either try setting your environment variables (CATALINA_HOME, TOMCAT_HOME, JAVA_HOME) within double quotes eg. C:\Program Files\Apache Group\Tomcat 4.1.24 or moving Tomcat to a path without spaces. Regards, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can't access JSP pages from Windows XP through APACHE 2.0.44+Tomcat 4.1.18on Redhat 7.3
Hi: I am running APACHE 2.0.44 +Tomcat 4.1.18 on Redhat 7.3 and use the mod_jk to route JSP pages to tomcat server. I have no problem to access JSP examples by using http://localhost/examples from the browser on the LINUX server. However, I encountered HTTP 404 (File not found) errors when I tried to access JSP pages from any browsers outside the localhost linux box. I can access all my PHP/HTML pages from browsers outside the linux box without any problems and I believe it is not the issue of DNSI can also access the JSP examples through http://myhost.com:8080/examples but not http://myhost.com/examples. I believe I have some kinds of security issues or need to have ssl things like that. Could anyone give me some hints? thanks! William Fung
Deploy/Undeploy NoClassDefFoundError - 4.1.18 -- Windows XP
I am getting a NoClassDefFoundError after undeploying then redeploying a web-app. The same holds true when using the manager app or the catalina-ant tasks (as well as just stopping then starting using the manager or ant tasks as opposed to deploy/undeploy). There are no error messages generated by the process itself (it prints that deploy/undeploy has succeeded as expected), but when I go to the login page of the app itself, I receive the NoClassDefFoundError exception (see stack trace below). If I manually kill then restart Tomcat, all is well again with the same war that was breaking before. I've experimented with setting autoExpand to both true and false, as well as reloadable both to true and false. Nothing seems to work. A listing of running apps shows it is running but it 500's when accessed after a redeploy. Any help? Thanks in advance DB ~ javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471) at org.apache.jsp.Login$jsp._jspService(Login$jsp.java:164) 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.java:201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoClassDefFoundError at com.acme.workflow.LoginBean.(LoginBean.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at java.beans.Beans.instantiate(Beans.java:204) at
Re: New HOWTO - Windows XP
Hi John, If you are interested, I have apache 2.0.43, Tomcat 4.1.18, mod_jk2 (jni auto start) with php 4.2.4 running on Mac OS X 10.2.3 with the NDA version of Java 1.4.1D8 running on a dual G4 (previous 1.4.1 versions will not work, the jvm crashes, 1.3.1 is no problem). I am in the processing converting this all to JBoss 3.0.4 Regards, Tony On Saturday, Dec 28, 2002, at 03:37 Europe/Berlin, Turner, John wrote: Greetings - I've been sitting on this HOWTO for awhile, just never got around to posting it until tonight. It covers setting up Apache 2.0.43, Tomcat 4.1.18, and mod_jk with JDK 1.4.1 on Windows XP Professional. I took some time just now to verify that all of the versions are as recent as I could make them, and that everything was a binary. There is no need to compile from source whatsoever, including the connector. If I get some time next week after the holiday, I will do the same thing for JK2, though I am still new to JK2. Win XP Pro + Apache 2.0.43 + Tomcat 4.1.18 + JK HOWTO: http://www.johnturner.com/howto/winxp-howto.html Other HOWTOs: http://www.johnturner.com/howto As far as I know, the XP HOWTO will work just fine with Windows 2000...I don't see any reason why it wouldn't. There might be some issues in the HOWTO with where to find the Services control panel, etc. that are different between 2000 and XP, but as far as the Apache and Tomcat parts of it go, everything should be identical. If you're an adept Win 2K user, I'm sure you will be able to adapt accordingly. I don't have access to a Win2K box that I can use for messing around, so Win XP Pro it is. I just didn't have the energy to deal with trying to make JK and Tomcat work with IIS...maybe someday, but I doubt it. I am also considering revamping the WinXP HOWTO to include screenshots of the different windows during all of the installation steps, but that's a lot of work. If I get enough people asking for that I will consider it, but for now it's just text. As always, comments and suggestions are welcome, though if you go through the HOWTO and have problems, the best place for help is right here. I'm getting more and more email each day from people asking for individual help, and I just can't do it, as much as I would like to. If you notice a glaring error or mistake in the HOWTO, or have a suggestion, that's different. Folks sending email consisting of I followed your HOWTO and it doesn't work help me right now and similar will be directed politely to this list, so you might as well post here first. When posting, please be as specific as possible. At least that way, the solution will be in the archives for others to use. Happy New Year to everyone! John --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/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]
RE: New HOWTO - Windows XP
Thanks for the kind words. After all the years using open source software, I want to do what I can to give something back. I'd write code if I was a better developer, but I'm not, so HOWTOs it is. :) John -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 11:44 PM To: 'Tomcat Users List' Subject: RE: New HOWTO - Windows XP Your howto's are greatly appreciated. I used your site the first time I setup my redhat server. I'm sure it would be of great benefit to the list as a whole if your site was linked in the footer of the mailing list ;-) Highest Regards, Jacob Hookom -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 8:37 PM To: '[EMAIL PROTECTED]' Subject: New HOWTO - Windows XP Greetings - I've been sitting on this HOWTO for awhile, just never got around to posting it until tonight. It covers setting up Apache 2.0.43, Tomcat 4.1.18, and mod_jk with JDK 1.4.1 on Windows XP Professional. I took some time just now to verify that all of the versions are as recent as I could make them, and that everything was a binary. There is no need to compile from source whatsoever, including the connector. If I get some time next week after the holiday, I will do the same thing for JK2, though I am still new to JK2. Win XP Pro + Apache 2.0.43 + Tomcat 4.1.18 + JK HOWTO: http://www.johnturner.com/howto/winxp-howto.html Other HOWTOs: http://www.johnturner.com/howto As far as I know, the XP HOWTO will work just fine with Windows 2000...I don't see any reason why it wouldn't. There might be some issues in the HOWTO with where to find the Services control panel, etc. that are different between 2000 and XP, but as far as the Apache and Tomcat parts of it go, everything should be identical. If you're an adept Win 2K user, I'm sure you will be able to adapt accordingly. I don't have access to a Win2K box that I can use for messing around, so Win XP Pro it is. I just didn't have the energy to deal with trying to make JK and Tomcat work with IIS...maybe someday, but I doubt it. I am also considering revamping the WinXP HOWTO to include screenshots of the different windows during all of the installation steps, but that's a lot of work. If I get enough people asking for that I will consider it, but for now it's just text. As always, comments and suggestions are welcome, though if you go through the HOWTO and have problems, the best place for help is right here. I'm getting more and more email each day from people asking for individual help, and I just can't do it, as much as I would like to. If you notice a glaring error or mistake in the HOWTO, or have a suggestion, that's different. Folks sending email consisting of I followed your HOWTO and it doesn't work help me right now and similar will be directed politely to this list, so you might as well post here first. When posting, please be as specific as possible. At least that way, the solution will be in the archives for others to use. Happy New Year to everyone! John --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: New HOWTO - Windows XP
Sounds pretty sweet. I'm interested, but what does that mean, exactly? If you have a HOWTO, I will gladly host it for free with attribution to you. John -Original Message- From: Anthony Marlowe [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 4:06 AM To: Tomcat Users List Subject: Re: New HOWTO - Windows XP Hi John, If you are interested, I have apache 2.0.43, Tomcat 4.1.18, mod_jk2 (jni auto start) with php 4.2.4 running on Mac OS X 10.2.3 with the NDA version of Java 1.4.1D8 running on a dual G4 (previous 1.4.1 versions will not work, the jvm crashes, 1.3.1 is no problem). I am in the processing converting this all to JBoss 3.0.4 Regards, Tony On Saturday, Dec 28, 2002, at 03:37 Europe/Berlin, Turner, John wrote: Greetings - I've been sitting on this HOWTO for awhile, just never got around to posting it until tonight. It covers setting up Apache 2.0.43, Tomcat 4.1.18, and mod_jk with JDK 1.4.1 on Windows XP Professional. I took some time just now to verify that all of the versions are as recent as I could make them, and that everything was a binary. There is no need to compile from source whatsoever, including the connector. If I get some time next week after the holiday, I will do the same thing for JK2, though I am still new to JK2. Win XP Pro + Apache 2.0.43 + Tomcat 4.1.18 + JK HOWTO: http://www.johnturner.com/howto/winxp-howto.html Other HOWTOs: http://www.johnturner.com/howto As far as I know, the XP HOWTO will work just fine with Windows 2000...I don't see any reason why it wouldn't. There might be some issues in the HOWTO with where to find the Services control panel, etc. that are different between 2000 and XP, but as far as the Apache and Tomcat parts of it go, everything should be identical. If you're an adept Win 2K user, I'm sure you will be able to adapt accordingly. I don't have access to a Win2K box that I can use for messing around, so Win XP Pro it is. I just didn't have the energy to deal with trying to make JK and Tomcat work with IIS...maybe someday, but I doubt it. I am also considering revamping the WinXP HOWTO to include screenshots of the different windows during all of the installation steps, but that's a lot of work. If I get enough people asking for that I will consider it, but for now it's just text. As always, comments and suggestions are welcome, though if you go through the HOWTO and have problems, the best place for help is right here. I'm getting more and more email each day from people asking for individual help, and I just can't do it, as much as I would like to. If you notice a glaring error or mistake in the HOWTO, or have a suggestion, that's different. Folks sending email consisting of I followed your HOWTO and it doesn't work help me right now and similar will be directed politely to this list, so you might as well post here first. When posting, please be as specific as possible. At least that way, the solution will be in the archives for others to use. Happy New Year to everyone! John --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: New HOWTO - Windows XP
Tony, If you would care to post information (sample config, how-to, whatever), I am sure that others would appreciate it. --- Noel -Original Message- From: Anthony Marlowe [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 4:06 To: Tomcat Users List Subject: Re: New HOWTO - Windows XP Hi John, If you are interested, I have apache 2.0.43, Tomcat 4.1.18, mod_jk2 (jni auto start) with php 4.2.4 running on Mac OS X 10.2.3 with the NDA version of Java 1.4.1D8 running on a dual G4 (previous 1.4.1 versions will not work, the jvm crashes, 1.3.1 is no problem). I am in the processing converting this all to JBoss 3.0.4 Regards, Tony -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
New HOWTO - Windows XP
Greetings - I've been sitting on this HOWTO for awhile, just never got around to posting it until tonight. It covers setting up Apache 2.0.43, Tomcat 4.1.18, and mod_jk with JDK 1.4.1 on Windows XP Professional. I took some time just now to verify that all of the versions are as recent as I could make them, and that everything was a binary. There is no need to compile from source whatsoever, including the connector. If I get some time next week after the holiday, I will do the same thing for JK2, though I am still new to JK2. Win XP Pro + Apache 2.0.43 + Tomcat 4.1.18 + JK HOWTO: http://www.johnturner.com/howto/winxp-howto.html Other HOWTOs: http://www.johnturner.com/howto As far as I know, the XP HOWTO will work just fine with Windows 2000...I don't see any reason why it wouldn't. There might be some issues in the HOWTO with where to find the Services control panel, etc. that are different between 2000 and XP, but as far as the Apache and Tomcat parts of it go, everything should be identical. If you're an adept Win 2K user, I'm sure you will be able to adapt accordingly. I don't have access to a Win2K box that I can use for messing around, so Win XP Pro it is. I just didn't have the energy to deal with trying to make JK and Tomcat work with IIS...maybe someday, but I doubt it. I am also considering revamping the WinXP HOWTO to include screenshots of the different windows during all of the installation steps, but that's a lot of work. If I get enough people asking for that I will consider it, but for now it's just text. As always, comments and suggestions are welcome, though if you go through the HOWTO and have problems, the best place for help is right here. I'm getting more and more email each day from people asking for individual help, and I just can't do it, as much as I would like to. If you notice a glaring error or mistake in the HOWTO, or have a suggestion, that's different. Folks sending email consisting of I followed your HOWTO and it doesn't work help me right now and similar will be directed politely to this list, so you might as well post here first. When posting, please be as specific as possible. At least that way, the solution will be in the archives for others to use. Happy New Year to everyone! John --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: New HOWTO - Windows XP
Your howto's are greatly appreciated. I used your site the first time I setup my redhat server. I'm sure it would be of great benefit to the list as a whole if your site was linked in the footer of the mailing list ;-) Highest Regards, Jacob Hookom -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 8:37 PM To: '[EMAIL PROTECTED]' Subject: New HOWTO - Windows XP Greetings - I've been sitting on this HOWTO for awhile, just never got around to posting it until tonight. It covers setting up Apache 2.0.43, Tomcat 4.1.18, and mod_jk with JDK 1.4.1 on Windows XP Professional. I took some time just now to verify that all of the versions are as recent as I could make them, and that everything was a binary. There is no need to compile from source whatsoever, including the connector. If I get some time next week after the holiday, I will do the same thing for JK2, though I am still new to JK2. Win XP Pro + Apache 2.0.43 + Tomcat 4.1.18 + JK HOWTO: http://www.johnturner.com/howto/winxp-howto.html Other HOWTOs: http://www.johnturner.com/howto As far as I know, the XP HOWTO will work just fine with Windows 2000...I don't see any reason why it wouldn't. There might be some issues in the HOWTO with where to find the Services control panel, etc. that are different between 2000 and XP, but as far as the Apache and Tomcat parts of it go, everything should be identical. If you're an adept Win 2K user, I'm sure you will be able to adapt accordingly. I don't have access to a Win2K box that I can use for messing around, so Win XP Pro it is. I just didn't have the energy to deal with trying to make JK and Tomcat work with IIS...maybe someday, but I doubt it. I am also considering revamping the WinXP HOWTO to include screenshots of the different windows during all of the installation steps, but that's a lot of work. If I get enough people asking for that I will consider it, but for now it's just text. As always, comments and suggestions are welcome, though if you go through the HOWTO and have problems, the best place for help is right here. I'm getting more and more email each day from people asking for individual help, and I just can't do it, as much as I would like to. If you notice a glaring error or mistake in the HOWTO, or have a suggestion, that's different. Folks sending email consisting of I followed your HOWTO and it doesn't work help me right now and similar will be directed politely to this list, so you might as well post here first. When posting, please be as specific as possible. At least that way, the solution will be in the archives for others to use. Happy New Year to everyone! John --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/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]
How do you get a C:\ prompt in Windows XP?
Thanks for your tips. When I type C:\ I get the following message 'C:\' is not recognised as an internal or external command, operable program or batch file. Any other suggestions? Rocket - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 12:13 AM Subject: RE: Help needed to run Tomcat 4.1.12 Agreedavoid spaces in pathnames if you can. As an aside, there is no reason to switch directories to start Tomcat. You can do so by typing something like c:\tomcat\bin\startup.bat from any command prompt in Windows. John -Original Message- From: Paul Yunusov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 7:04 PM To: Tomcat Users List Subject: Re: Help needed to run Tomcat 4.1.12 On Wednesday 18 December 2002 06:27 pm, Ronin Quigley wrote: I am running Windows XP and have done the following: a.. Installed Jave SDK and set the path variable to stemRoot%\System32\Wbem;C:Java\bin; b.. Downloaded release version 4.1.12 of Tomcat c.. Set the variable JAVA HOME=C:\JAVA d.. Set the variable CATALINA_HOME= C:\TOMCAT\JAKARTA-TOMCAT 4.1.12 e.. Tested the above by doing the ECHO test and they were fine. The command prompt in Windows XP automatically defaults to C:\Documents and Settings\Go For It Web Design, how do I get a C:\ prompt? And once I get a C:\ prompt can I start it by the following? C:\ cd tomcat\jakarta-tomcat 4.1.12\bin startup.bat Any help would be much appreciated. Rocket To change the working directory to C: type C:\ and press enter in the command prompt (if my memory doesn't betray me - my Windows days are long gone). Your steps to start tomcat seem be correct but paths and names in the description of environment variables are a mess (JAVA_HOME should have the _, SystemRoot instead of stemRoot, C: must be followed by a \ in paths, there is a - instead of a space between jakarta-tomcat and 4.1.12 in the standard distribution, at least on Linux). I attribute this chaos to fast typing but I'd double check if I were you. My Windows experience taught me to avoid spaces in paths also. HTH, Paul -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/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]
Re: How do you get a C:\ prompt in Windows XP?
enter cd c:\ Ronin Quigley wrote: Thanks for your tips. When I type C:\ I get the following message 'C:\' is not recognised as an internal or external command, operable program or batch file. Any other suggestions? Rocket - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 12:13 AM Subject: RE: Help needed to run Tomcat 4.1.12 Agreedavoid spaces in pathnames if you can. As an aside, there is no reason to switch directories to start Tomcat. You can do so by typing something like c:\tomcat\bin\startup.bat from any command prompt in Windows. John -Original Message- From: Paul Yunusov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 7:04 PM To: Tomcat Users List Subject: Re: Help needed to run Tomcat 4.1.12 On Wednesday 18 December 2002 06:27 pm, Ronin Quigley wrote: I am running Windows XP and have done the following: a.. Installed Jave SDK and set the path variable to stemRoot%\System32\Wbem;C:Java\bin; b.. Downloaded release version 4.1.12 of Tomcat c.. Set the variable JAVA HOME=C:\JAVA d.. Set the variable CATALINA_HOME= C:\TOMCAT\JAKARTA-TOMCAT 4.1.12 e.. Tested the above by doing the ECHO test and they were fine. The command prompt in Windows XP automatically defaults to C:\Documents and Settings\Go For It Web Design, how do I get a C:\ prompt? And once I get a C:\ prompt can I start it by the following? C:\ cd tomcat\jakarta-tomcat 4.1.12\bin startup.bat Any help would be much appreciated. Rocket To change the working directory to C: type C:\ and press enter in the command prompt (if my memory doesn't betray me - my Windows days are long gone). Your steps to start tomcat seem be correct but paths and names in the description of environment variables are a mess (JAVA_HOME should have the _, SystemRoot instead of stemRoot, C: must be followed by a \ in paths, there is a - instead of a space between jakarta-tomcat and 4.1.12 in the standard distribution, at least on Linux). I attribute this chaos to fast typing but I'd double check if I were you. My Windows experience taught me to avoid spaces in paths also. HTH, Paul -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]