Wrox Programmer Forums
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 28th, 2004, 02:38 PM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tomcat set up error

Hi All,

  I am trying to set up tomcat setup and getting the below error.
-------------Environment details---------
OS : Windows NT
Server : jakarta-tomcat-4.1.30
Java : JDK1.3
------------------------------------------
Error is
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\jdk1.3
[ERROR] Digester - -Begin event threw error <java.lang.NoClassDefFoundError: org/apache/catalin
a/Connector>java.lang.NoClassDefFoundError: org/apache/catalina/Connector
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java :486)
        at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:111)
        at java.net.URLClassLoader.defineClass(URLClassLoader .java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:2 97)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:2 53)
        at org.apache.catalina.loader.StandardClassLoader.loa dClass(StandardClassLoader.java:94
1)
        at org.apache.catalina.loader.StandardClassLoader.loa dClass(StandardClassLoader.java:85
7)
        at org.apache.catalina.loader.StandardClassLoader.loa dClass(StandardClassLoader.java:94
1)
        at org.apache.catalina.loader.StandardClassLoader.loa dClass(StandardClassLoader.java:85
7)
        at org.apache.commons.digester.ObjectCreateRule.begin (ObjectCreateRule.java:252)
        at org.apache.commons.digester.Rule.begin(Rule.java:2 00)
        at org.apache.commons.digester.Digester.startElement( Digester.java:1273)
        at org.apache.xerces.parsers.SAXParser.startElement(S AXParser.java:1376)
        at org.apache.xerces.validators.common.XMLValidator.c allStartElement(XMLValidator.java:
1214)
        at org.apache.xerces.framework.XMLDocumentScanner.sca nElement(XMLDocumentScanner.java:1
806)
        at org.apache.xerces.framework.XMLDocumentScanner$Con tentDispatcher.dispatch(XMLDocumen
tScanner.java:1182)
        at org.apache.xerces.framework.XMLDocumentScanner.par seSome(XMLDocumentScanner.java:381
)
        at org.apache.xerces.framework.XMLParser.parse(XMLPar ser.java:1081)
        at org.apache.commons.digester.Digester.parse(Digeste r.java:1548)
        at org.apache.catalina.startup.Catalina.start(Catalin a.java:449)
        at org.apache.catalina.startup.Catalina.execute(Catal ina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catal ina.java:180)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:203)

Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/apache/catalin
a/Connector
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java :486)
        at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:111)
        at java.net.URLClassLoader.defineClass(URLClassLoader .java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:2 97)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:2 53)
        at org.apache.catalina.loader.StandardClassLoader.loa dClass(StandardClassLoader.java:94
1)
        at org.apache.catalina.loader.StandardClassLoader.loa dClass(StandardClassLoader.java:85
7)
        at org.apache.catalina.loader.StandardClassLoader.loa dClass(StandardClassLoader.java:94
1)
        at org.apache.catalina.loader.StandardClassLoader.loa dClass(StandardClassLoader.java:85
7)
        at org.apache.commons.digester.ObjectCreateRule.begin (ObjectCreateRule.java:252)
        at org.apache.commons.digester.Rule.begin(Rule.java:2 00)
        at org.apache.commons.digester.Digester.startElement( Digester.java:1273)
        at org.apache.xerces.parsers.SAXParser.startElement(S AXParser.java:1376)
        at org.apache.xerces.validators.common.XMLValidator.c allStartElement(XMLValidator.java:
1214)
        at org.apache.xerces.framework.XMLDocumentScanner.sca nElement(XMLDocumentScanner.java:1
806)
        at org.apache.xerces.framework.XMLDocumentScanner$Con tentDispatcher.dispatch(XMLDocumen
tScanner.java:1182)
        at org.apache.xerces.framework.XMLDocumentScanner.par seSome(XMLDocumentScanner.java:381
)
        at org.apache.xerces.framework.XMLParser.parse(XMLPar ser.java:1081)
        at org.apache.commons.digester.Digester.parse(Digeste r.java:1548)
        at org.apache.catalina.startup.Catalina.start(Catalin a.java:449)
        at org.apache.catalina.startup.Catalina.execute(Catal ina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catal ina.java:180)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:203)
----------------------------------------
Please resolve this error as soon as possible.

 
Old August 3rd, 2004, 12:50 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

Check whether TOMCAT_HOME = [D:\jakarta-tomcat-4.1.30\] or set to the install-dir-tomcat-4.1.30

Are you using any IDE?
If yes. Pls add the same install-dir\bin\ to the class path.





 
Old August 3rd, 2004, 12:55 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

Hi

The link will be helpful for the step by step setup. Search thru links provided for more help

http://www.coreservlets.com/Apache-T...figured-Tomcat
Gokul






Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat error kaushiksamaddar Apache Tomcat 2 April 4th, 2007 08:55 AM
set Apache Tomcat 5.0 webserver visible in network briss Apache Tomcat 4 July 12th, 2006 08:13 AM
tomcat error Mr. Ram Apache Tomcat 0 March 20th, 2006 07:58 AM
How to set connection pool to Access2000 in Tomcat Edward King Apache Tomcat 1 May 16th, 2005 03:50 PM
J2EE & tomcat,how do I set it up? 12345dela J2EE 1 January 2nd, 2004 06:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.