Re: startup error
hi, i would recommend you do the first technique, which is to set an environment variable in windows called CATALINA_HOME. the value in your case would be c:\tomcat (without the quotes) do you know how to do this? (which operating system are you using?) --- Mendo, Anthony J. [EMAIL PROTECTED] wrote: I am new to Tomcat and need some help just getting started. The error I am getting is: The CATALINA_HOME environment variable is not defined correctly... In the RUNNING.txt file states: There are two techniques by which Tomcat 4.0 can be started: * Via an environment variable: - Set an environment variable CATALINA_HOME to the path of the directory into which you have installed Tomcat 4.0. - Execute the shell command: %CATALINA_HOME%\bin\startup (Windows) * By modifying your current working directory: - Execute the following shell commands: cd %CATALINA_HOME%\bin (Windows) startup (Windows) But where am I suppost to point? my install is: c:\tomcat thanks in advance AJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: startup error
But where am I suppost to point? my install is: c:\tomcat Thus for you %CATALINA_HOME% = C:\tomcat 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: startup error
thanks but no joy. I had that. -Original Message- From: Giuseppe Briotti [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 2:56 PM To: [EMAIL PROTECTED] Subject: Re: startup error But where am I suppost to point? my install is: c:\tomcat Thus for you %CATALINA_HOME% = C:\tomcat 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: startup error
Hi, when in your command prompt and you execute echo %CATALINA_HOME% do you actually see c:\tomcat being printed? Because I don't think that %CATALINA_HOME%=c:\tomcat is going to work. Should be something like SET CATALINA_HOME=c:\tomcat greetz Hans At 12:09 28/06/2004 -0700, you wrote: thanks but no joy. I had that. -Original Message- From: Giuseppe Briotti [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 2:56 PM To: [EMAIL PROTECTED] Subject: Re: startup error But where am I suppost to point? my install is: c:\tomcat Thus for you %CATALINA_HOME% = C:\tomcat 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] - 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: startup error
Mendo, Anthony J. wrote: thanks but no joy. I had that. ? So you open a command window and enter C: echo %CATALINA_HOME% and get what? What version of Win* are you running? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: startup error
Now I am getting different errors: the variable value when opening the window is: Variable Name: %CATALINA_HOME% Variable Value: C:\tomcat this is what displays... C:\%CATALINA_HOME% 'C:\tomcat\bin\' is not recognized as an internal or external command, operable program or batch file. so if I try this... C:\%CATALINA_HOME%startup The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program I am running on a windows machine. Thanks, AJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: startup error
Hi, your startup script might not be correct. It can be found, however the script tells you, the CATALINA HOME is not set, but it is. Correct the error in the startup script or fix the inconsistency in your output: Variable Value: C:\tomcat this is what displays... C:\%CATALINA_HOME% 'C:\tomcat\bin\' is not recognized as an internal or external command, means the value for CATALINA_HOME is tomcat\bin and not tomcat\ as you say greetz, Hans At 12:45 28/06/2004 -0700, you wrote: Now I am getting different errors: the variable value when opening the window is: Variable Name: %CATALINA_HOME% Variable Value: C:\tomcat this is what displays... C:\%CATALINA_HOME% 'C:\tomcat\bin\' is not recognized as an internal or external command, operable program or batch file. so if I try this... C:\%CATALINA_HOME%startup The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program I am running on a windows machine. Thanks, AJ - 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: startup error
Mendo, Anthony J. wrote: Now I am getting different errors: the variable value when opening the window is: Variable Name: %CATALINA_HOME% Variable Value: C:\tomcat this is what displays... C:\%CATALINA_HOME% 'C:\tomcat\bin\' is not recognized as an internal or external command, operable program or batch file. Something's not matching up above; either you have CATALINA_HOME set to C:\tomcat or C:\tomcat\bin -- which is it? It should be the former... so if I try this... C:\%CATALINA_HOME%startup The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program What you'd enter, once your environment's correct, is C: %CATALINA_HOME%\bin\startup.bat or C: %CATALINA_HOME%\bin\catalina.bat run if you want to watch the messages in that window... But mind the \s :-) I am running on a windows machine. Yeah, got it -- what *version* of Windows? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: startup error
Hi, when in your command prompt and you execute echo %CATALINA_HOME% do you actually see c:\tomcat being printed? Because I don't think that %CATALINA_HOME%=c:\tomcat is going to work. Should be something like SET CATALINA_HOME=c:\tomcat greetz Hans Of course Hans, you're right :- The problem is that the guy didn't tell us wich SO he's running :-))) Thus my post means: put C:\tomcat in CATALINA_HOME :-D 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: startup error
try to add java_home environement variable pointing to your jdk instalation directory (drive leter:\folder that\ hold your jdk) then add catalina_home pointing to your tomcat folder (drive leter:\folder that\ hold your tomcat container should work im running 4.0 on my server it runs prety well here [EMAIL PROTECTED] administrateur http://entre-nous.qc.tc From: Mendo, Anthony J. [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List (E-mail) [EMAIL PROTECTED] Subject: startup error Date: Mon, 28 Jun 2004 11:23:11 -0700 I am new to Tomcat and need some help just getting started. The error I am getting is: The CATALINA_HOME environment variable is not defined correctly... In the RUNNING.txt file states: There are two techniques by which Tomcat 4.0 can be started: * Via an environment variable: - Set an environment variable CATALINA_HOME to the path of the directory into which you have installed Tomcat 4.0. - Execute the shell command: %CATALINA_HOME%\bin\startup (Windows) * By modifying your current working directory: - Execute the following shell commands: cd %CATALINA_HOME%\bin (Windows) startup (Windows) But where am I suppost to point? my install is: c:\tomcat thanks in advance AJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Startup error Tomcat 4.
Howdy, How did you install tomcat? You used GNU tar if you expanding a tarball, right? Yoav Shapira Millennium ChemInformatics -Original Message- From: Bruchem, A. van (Alexander) [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 9:57 AM To: '[EMAIL PROTECTED]' Subject: Startup error Tomcat 4. I have setup a Sun Solaris v9 system with Java 2 SDK 1.4.2 and Tomcat 4.1.29 Also updated from Sun the Recommended versions for v9. I try to run Tomcat without Apache, so stand-alone. I set the JAVA_HOME to /usr/j2se This however won't work, if I look in catalina.out I have: java.util.zip.ZipException: invalid END header (bad central directory offset) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal( StandardClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLo ader.java:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas sLoaderFactory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipExce ption: invalid END header (bad central directory offset) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal( StandardClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLo ader.java:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas sLoaderFactory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) I tried to run it as a user and as root. Thanks in advance, Alexander This message, including attached files, may contain confidential information and is intended only for the use by the individual and/or the entity to which it is addressed. Any unauthorized use, dissemination of, or copying of the information contained herein is not allowed and may lead to irreparable harm and damage for which you may be held liable. If you receive this message in error or if it is intended for someone else please notify the sender by returning this e-mail immediately and delete the message. 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: startup error
Hi, you have to set a additional parameter in the {CATALINA-HOME}/conf/web.xml file. Add in the jsp - servlet section the following: init-param param-namefork/param-name param-valuefalse/param-value /init-param CU Daniel --- Sandra Williams [EMAIL PROTECTED] schrieb: Hi, I've just installed jakarta-tomcat-4.1.24 on Windows 2000 (I'm upgrading from jakarta-tomcat-3.2.1 which I have not deleted yet). I have jdk version 1.3.1 When I run startup.bat I get the following error in the log file: 2003-06-11 19:06:21 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) [javac] if (pageContext != null) pageContext.handlePageException(t); [javac] ^ [javac] 1 error I hope someone can help me. Thanks Sandra _ Sandra Williams Department of Computing Science, University of Aberdeen, Aberdeen AB24 3UE UK Tel: +44 (0)1224 274207 Email: [EMAIL PROTECTED] Web: www.csd.abdn.ac.uk/~swilliam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: startup error
Hi, Thanks. I added the code as you suggested and now I get this error: 2003-06-12 10:38:37 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Compiling 1 source file D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) if (pageContext != null) pageContext.handlePageException(t); ^ 1 error Sandra - Original Message - From: Daniel Ost [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:28 AM Subject: Re: startup error Hi, you have to set a additional parameter in the {CATALINA-HOME}/conf/web.xml file. Add in the jsp - servlet section the following: init-param param-namefork/param-name param-valuefalse/param-value /init-param CU Daniel --- Sandra Williams [EMAIL PROTECTED] schrieb: Hi, I've just installed jakarta-tomcat-4.1.24 on Windows 2000 (I'm upgrading from jakarta-tomcat-3.2.1 which I have not deleted yet). I have jdk version 1.3.1 When I run startup.bat I get the following error in the log file: 2003-06-11 19:06:21 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) [javac] if (pageContext != null) pageContext.handlePageException(t); [javac] ^ [javac] 1 error I hope someone can help me. Thanks Sandra _ Sandra Williams Department of Computing Science, University of Aberdeen, Aberdeen AB24 3UE UK Tel: +44 (0)1224 274207 Email: [EMAIL PROTECTED] Web: www.csd.abdn.ac.uk/~swilliam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de - 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: startup error
Hi, mmh, no idea, sorry. After adding the additional rows into web.xml, every of my jsps run smoothly. Did you eleminate the usual suspects like classpath, every needed jar is in place (especially inside the common/lib folder, etc. Maybe, a re-install of the tomcat-engine would help... Did you already look into google.groups? That's a good source of information, too. But first, try out a re-install of the whole stuff, and install Tomcat as a service! Btw, I use actually JDK 1.4.x CU Daniel --- Sandra Williams [EMAIL PROTECTED] schrieb: Hi, Thanks. I added the code as you suggested and now I get this error: 2003-06-12 10:38:37 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Compiling 1 source file D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) if (pageContext != null) pageContext.handlePageException(t); ^ 1 error Sandra - Original Message - From: Daniel Ost [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:28 AM Subject: Re: startup error Hi, you have to set a additional parameter in the {CATALINA-HOME}/conf/web.xml file. Add in the jsp - servlet section the following: init-param param-namefork/param-name param-valuefalse/param-value /init-param CU Daniel --- Sandra Williams [EMAIL PROTECTED] schrieb: Hi, I've just installed jakarta-tomcat-4.1.24 on Windows 2000 (I'm upgrading from jakarta-tomcat-3.2.1 which I have not deleted yet). I have jdk version 1.3.1 When I run startup.bat I get the following error in the log file: 2003-06-11 19:06:21 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) [javac] if (pageContext != null) pageContext.handlePageException(t); [javac] ^ [javac] 1 error I hope someone can help me. Thanks Sandra _ Sandra Williams Department of Computing Science, University of Aberdeen, Aberdeen AB24 3UE UK Tel: +44 (0)1224 274207 Email: [EMAIL PROTECTED] Web: www.csd.abdn.ac.uk/~swilliam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de - 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] __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: startup error
Thanks for your help. I've tried re-installing tomcat vs 4.1.24 three times and no luck. Instead, I've installed vs 3.3.1a which works just fine and I'll stick with that for a while until I've upgraded jdk. Sandra - Original Message - From: Daniel Ost [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 1:35 PM Subject: Re: startup error Hi, mmh, no idea, sorry. After adding the additional rows into web.xml, every of my jsps run smoothly. Did you eleminate the usual suspects like classpath, every needed jar is in place (especially inside the common/lib folder, etc. Maybe, a re-install of the tomcat-engine would help... Did you already look into google.groups? That's a good source of information, too. But first, try out a re-install of the whole stuff, and install Tomcat as a service! Btw, I use actually JDK 1.4.x CU Daniel --- Sandra Williams [EMAIL PROTECTED] schrieb: Hi, Thanks. I added the code as you suggested and now I get this error: 2003-06-12 10:38:37 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Compiling 1 source file D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) if (pageContext != null) pageContext.handlePageException(t); ^ 1 error Sandra - Original Message - From: Daniel Ost [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:28 AM Subject: Re: startup error Hi, you have to set a additional parameter in the {CATALINA-HOME}/conf/web.xml file. Add in the jsp - servlet section the following: init-param param-namefork/param-name param-valuefalse/param-value /init-param CU Daniel --- Sandra Williams [EMAIL PROTECTED] schrieb: Hi, I've just installed jakarta-tomcat-4.1.24 on Windows 2000 (I'm upgrading from jakarta-tomcat-3.2.1 which I have not deleted yet). I have jdk version 1.3.1 When I run startup.bat I get the following error in the log file: 2003-06-11 19:06:21 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) [javac] if (pageContext != null) pageContext.handlePageException(t); [javac] ^ [javac] 1 error I hope someone can help me. Thanks Sandra _ Sandra Williams Department of Computing Science, University of Aberdeen, Aberdeen AB24 3UE UK Tel: +44 (0)1224 274207 Email: [EMAIL PROTECTED] Web: www.csd.abdn.ac.uk/~swilliam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de - 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] __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de - 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: startup error
Howdy, It looks like you're passing a Throwable to something that expects a subclass, Exception. Check you index.jsp page to make sure you pass exceptions, or throws exception, or whatever you do to get the handlePageException method doesn't give it a Throwable. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sandra Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 5:23 AM To: [EMAIL PROTECTED] Subject: startup error Hi, I've just installed jakarta-tomcat-4.1.24 on Windows 2000 (I'm upgrading from jakarta-tomcat-3.2.1 which I have not deleted yet). I have jdk version 1.3.1 When I run startup.bat I get the following error in the log file: 2003-06-11 19:06:21 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp.java:266 : handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) [javac] if (pageContext != null) pageContext.handlePageException(t); [javac] ^ [javac] 1 error I hope someone can help me. Thanks Sandra _ Sandra Williams Department of Computing Science, University of Aberdeen, Aberdeen AB24 3UE UK Tel: +44 (0)1224 274207 Email: [EMAIL PROTECTED] Web: www.csd.abdn.ac.uk/~swilliam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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: startup error
Ignore the last advice, set it back to allow forking, and fix your code. At http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/jsp/PageContext.html it is stated that handlePageException requires a parameter of type Exception, not of Throwable. Exception implements Throwable but not the other way around. --Angus -Original Message- From: Sandra Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 5:48 AM To: Tomcat Users List Subject: Re: startup error Hi, Thanks. I added the code as you suggested and now I get this error: 2003-06-12 10:38:37 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Compiling 1 source file D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp .java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) if (pageContext != null) pageContext.handlePageException(t); ^ 1 error Sandra - Original Message - From: Daniel Ost [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:28 AM Subject: Re: startup error Hi, you have to set a additional parameter in the {CATALINA-HOME}/conf/web.xml file. Add in the jsp - servlet section the following: init-param param-namefork/param-name param-valuefalse/param-value /init-param CU Daniel --- Sandra Williams [EMAIL PROTECTED] schrieb: Hi, I've just installed jakarta-tomcat-4.1.24 on Windows 2000 (I'm upgrading from jakarta-tomcat-3.2.1 which I have not deleted yet). I have jdk version 1.3.1 When I run startup.bat I get the following error in the log file: 2003-06-11 19:06:21 Error compiling file: D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\/index_jsp.java [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] D:\jakarta-tomcat-4.1.24\work\Standalone\localhost\_\index_jsp .java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) [javac] if (pageContext != null) pageContext.handlePageException(t); [javac] ^ [javac] 1 error I hope someone can help me. Thanks Sandra _ Sandra Williams Department of Computing Science, University of Aberdeen, Aberdeen AB24 3UE UK Tel: +44 (0)1224 274207 Email: [EMAIL PROTECTED] Web: www.csd.abdn.ac.uk/~swilliam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de - 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: Startup error
Nobody can point me in the right direction? Would this be the right RPM to fix this? libstdc++-3.2.2-5.i386.rpm OR this? glibc-2.3.2-11.9.i686.rpm (this package supplies libc.so.6, that that what I need) I am lost here, every other install of tomcat that I have done was fine. I am thinking when I installed Netscape or Mozilla it installed the needed stuff, but I did't install them this time, and don't think I want to. I just want the right package... Hmm.. I found this one now. can someone confirm if this is what I need? Standard C++ libraries for Red Hat 7.3 backwards compatibility compiler RedHat-9 for i386 compat-libstdc++-7.3-2.96.118.i386.rpm Thanks for looking at my ramblings :) -Original Message- From: Luc Foisy Sent: Wednesday, June 04, 2003 9:03 AM To: Tomcat User List (E-mail) Subject: Startup error I am getting the following error in my catalina.out Error: failed /usr/java/j2sdk1.4.0_03/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory I am using RedHat 9.0 Which package do I need to install to get this to function? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Startup error
FWIW. RH 8.0 'Server' install also had this problem. I had to install 'compat-libstdc++-7.3-2.96.110.i386.rpm' by hand (off the installation CDs). Workstation install was fine (already did it I guess. Looks like RH 9 has the same quirk? tim Luc Foisy wrote: Nobody can point me in the right direction? Would this be the right RPM to fix this? libstdc++-3.2.2-5.i386.rpm OR this? glibc-2.3.2-11.9.i686.rpm (this package supplies libc.so.6, that that what I need) I am lost here, every other install of tomcat that I have done was fine. I am thinking when I installed Netscape or Mozilla it installed the needed stuff, but I did't install them this time, and don't think I want to. I just want the right package... Hmm.. I found this one now. can someone confirm if this is what I need? Standard C++ libraries for Red Hat 7.3 backwards compatibility compiler RedHat-9 for i386 compat-libstdc++-7.3-2.96.118.i386.rpm Thanks for looking at my ramblings :) -Original Message- From: Luc Foisy Sent: Wednesday, June 04, 2003 9:03 AM To: Tomcat User List (E-mail) Subject: Startup error I am getting the following error in my catalina.out Error: failed /usr/java/j2sdk1.4.0_03/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory I am using RedHat 9.0 Which package do I need to install to get this to function? - 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: Startup error
I didn't encounter it with RH 9, but I think I did a custom install. John On Thu, 05 Jun 2003 20:41:34 +0100, Tim Shaw [EMAIL PROTECTED] wrote: FWIW. RH 8.0 'Server' install also had this problem. I had to install 'compat-libstdc++-7.3-2.96.110.i386.rpm' by hand (off the installation CDs). Workstation install was fine (already did it I guess. Looks like RH 9 has the same quirk? tim Luc Foisy wrote: Nobody can point me in the right direction? Would this be the right RPM to fix this? libstdc++-3.2.2-5.i386.rpm OR this? glibc-2.3.2-11.9.i686.rpm (this package supplies libc.so.6, that that what I need) I am lost here, every other install of tomcat that I have done was fine. I am thinking when I installed Netscape or Mozilla it installed the needed stuff, but I did't install them this time, and don't think I want to. I just want the right package... Hmm.. I found this one now. can someone confirm if this is what I need? Standard C++ libraries for Red Hat 7.3 backwards compatibility compiler RedHat-9 for i386 compat-libstdc++-7.3-2.96.118.i386.rpm Thanks for looking at my ramblings :) -Original Message- From: Luc Foisy Sent: Wednesday, June 04, 2003 9:03 AM To: Tomcat User List (E-mail) Subject: Startup error I am getting the following error in my catalina.out Error: failed /usr/java/j2sdk1.4.0_03/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory I am using RedHat 9.0 Which package do I need to install to get this to function? - 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] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Startup error
I bet the workstation install worked because it installed Netscape or Mozilla in the newer versions. So it is in fact the compatibility rpm, thanks -Original Message- From: Tim Shaw [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 3:42 PM To: Tomcat Users List Subject: Re: Startup error FWIW. RH 8.0 'Server' install also had this problem. I had to install 'compat-libstdc++-7.3-2.96.110.i386.rpm' by hand (off the installation CDs). Workstation install was fine (already did it I guess. Looks like RH 9 has the same quirk? tim Luc Foisy wrote: Nobody can point me in the right direction? Would this be the right RPM to fix this? libstdc++-3.2.2-5.i386.rpm OR this? glibc-2.3.2-11.9.i686.rpm (this package supplies libc.so.6, that that what I need) I am lost here, every other install of tomcat that I have done was fine. I am thinking when I installed Netscape or Mozilla it installed the needed stuff, but I did't install them this time, and don't think I want to. I just want the right package... Hmm.. I found this one now. can someone confirm if this is what I need? Standard C++ libraries for Red Hat 7.3 backwards compatibility compiler RedHat-9 for i386 compat-libstdc++-7.3-2.96.118.i386.rpm Thanks for looking at my ramblings :) -Original Message- From: Luc Foisy Sent: Wednesday, June 04, 2003 9:03 AM To: Tomcat User List (E-mail) Subject: Startup error I am getting the following error in my catalina.out Error: failed /usr/java/j2sdk1.4.0_03/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory I am using RedHat 9.0 Which package do I need to install to get this to function? - 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: Startup Error
Try removing the servlet.jar from you WEB-INF/lib directory as it's already in the tomcat/common/lib directory Donie -Original Message- From: Nathan McMinn [mailto:[EMAIL PROTECTED]] Sent: 09 January 2003 13:47 To: Tomcat Users List Subject: Startup Error First, thanks to everyone for all the help. I just have one more question. When starting tomcat (4.1.18 on win xp, jdk 1.4.1_01). I receive this error message: WebappClassLoader: validateJarFile(C:\TomcatTest\webapps\wwxchange\WEB-INF\lib\s ervlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Has anyone ever seen this before? -Nathan McMinn -- 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: Startup Error
DOH! thanks - Original Message - From: Donie Kelly [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, January 09, 2003 7:41 AM Subject: RE: Startup Error Try removing the servlet.jar from you WEB-INF/lib directory as it's already in the tomcat/common/lib directory Donie -Original Message- From: Nathan McMinn [mailto:[EMAIL PROTECTED]] Sent: 09 January 2003 13:47 To: Tomcat Users List Subject: Startup Error First, thanks to everyone for all the help. I just have one more question. When starting tomcat (4.1.18 on win xp, jdk 1.4.1_01). I receive this error message: WebappClassLoader: validateJarFile(C:\TomcatTest\webapps\wwxchange\WEB-INF\lib\s ervlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Has anyone ever seen this before? -Nathan McMinn -- 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]