Re: MAC OSX and Tomcat -4.0.1
At 0:47 +0100 2003/10/16, James Snelling wrote: I am having big problems getting tomcat to start. [...] Exception during startup processing [...] Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletResponse where is your servlet.jar? And why 4.0.1 when 4.1 is available? In 4.1 I do not think it needs to be other than in /usr/local/tomcat/common/lib/, in earlier versions it might require to be in /Library/Java/Extensions (but just might). Giuliano -- H U M P H || ||| software Java C++ Server/Client/Human Interface applications on MacOS - MacOS X http://www.humph.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: MAC OSX and Tomcat -4.0.1
Solved the problem - there was an existing Catalina.jar file in /Library/Java/Extensions that was looking for a whole pile of non existent stuff, thus causing the problems! Thanks for your help anyway though- much appreciated! James -Original Message- From: Giuliano Gavazzi [mailto:[EMAIL PROTECTED] Sent: 16 October 2003 09:05 To: Tomcat Users List Subject: Re: MAC OSX and Tomcat -4.0.1 At 0:47 +0100 2003/10/16, James Snelling wrote: I am having big problems getting tomcat to start. [...] Exception during startup processing [...] Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletResponse where is your servlet.jar? And why 4.0.1 when 4.1 is available? In 4.1 I do not think it needs to be other than in /usr/local/tomcat/common/lib/, in earlier versions it might require to be in /Library/Java/Extensions (but just might). Giuliano -- H U M P H || ||| software Java C++ Server/Client/Human Interface applications on MacOS - MacOS X http://www.humph.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] James Snelling [EMAIL PROTECTED] --- The views expressed here are not those of the Students' Association nor can they be assumed to be those of the writer. No liability is accepted for the accuracy or the veracity of the contents. You are held to accept this and any use to which you put any contents of this communication are entirely your responsibility. DISCLAIMER: This e-mail is intended solely for the above-mentioned recipient and it may contain confidential or privileged information. If you have received it in error, please notify us immediately and delete the e-mail. You must not copy, distribute, disclose or take any action in reliance on it. This e-mail message and any attached files have been scanned for the presence of computer viruses, however, you are advised that you open any attachments at your own risk. Nothing in this email shall be construed as constituting an order for goods or services www.upsa.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: MAC OSX and Tomcat -4.0.1
James, At first glance, it looks like class javax/servlet/ServletResponse class can't be found. This resides in servlet.jar, which is in common/lib under my tomcat home directory on my installation. Andy -Original Message- From: James Snelling [mailto:[EMAIL PROTECTED] Sent: 16 October 2003 00:48 To: [EMAIL PROTECTED] Subject: MAC OSX and Tomcat -4.0.1 I am having big problems getting tomcat to start. I had been using 3.2.4 before, but this has really got me stumped! Any help is good! - Thanks in advance! Here are some details: Using CLASSPATH: /Users/system/Applications/java/jakarta/jakarta-tomcat-4.0.1/bin/b ootstrap.jar Using CATALINA_BASE: /Users/system/Applications/java/jakarta/jakarta-tomcat-4.0.1 Using CATALINA_HOME: /Users/system/Applications/java/jakarta/jakarta-tomcat-4.0.1 Using JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home here is catalina_log Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm pl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc cessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletResponse at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616) at org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412) at org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91) at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter .java:333) at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376) at org.apache.xerces.validators.common.XMLValidator.callStartElement( XMLValidator.java:1214) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocu mentScanner.java:1806) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.d ispatch(XMLDocumentScanner.java:1182) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocume ntScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223) at javax.xml.parsers.SAXParser.parse(SAXParser.java:314) at javax.xml.parsers.SAXParser.parse(SAXParser.java:253) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228) at org.apache.catalina.startup.Catalina.start(Catalina.java:725) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) James Snelling [EMAIL PROTECTED] -- - The views expressed here are not those of the Students' Association nor can they be assumed to be those of the writer. No liability is accepted for the accuracy or the veracity of the contents. You are held to accept this and any use to which you put any contents of this communication are entirely your responsibility. DISCLAIMER: This e-mail is intended solely for the above-mentioned recipient and it may contain confidential or privileged information. If you have received it in error, please notify us immediately and delete the e-mail. You must not copy, distribute, disclose or take any action in reliance on it. This e-mail message and any attached files have been scanned for the presence of computer viruses, however, you are advised that you open any attachments at your own risk. Nothing in this email shall be construed as constituting an order for goods or services www.upsa.org.uk -- --