You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by legin <le...@itlabs.com> on 2000/02/15 09:31:49 UTC

help!

Hi friends,

    I'm not able to start tomcat...I get the foll exceptions....I tried
the same even with sun-1.2.2 JDK..

Can anybody help me out in this???

-----------------------------------------------------------------------------

./startup.sh
Using classpath:
./webserver.jar:./lib/servlet.jar:./lib/jasper.jar:./lib/xml.jar:/pub/ibm-1.1.8/bin/../lib/tools.jar:.:/pub/ibm-1.1.8/lib/classes.zip:/pub/swing-1.1/swingall.jar:/pub/JSDK2.0/lib/jsdk.jar:/pub/mm.mysql.jdbc-1.2b:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.jar:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.zip:/pub/MOCHA.ZIP

[legin@/opt/tomcat]# Tomcat Web Server Version 3.0
Loaded configuration from: file:/opt/tomcat/server.xml
java.lang.NoClassDefFoundError: org/xml/sax/InputSource
        at org.apache.tomcat.util.XMLParser.process(Compiled Code)
        at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
Code)
        at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
Code)
        at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
Code)
        at org.apache.tomcat.shell.Startup.getConfig(Compiled Code)
        at org.apache.tomcat.shell.Startup.configure(Compiled Code)
        at org.apache.tomcat.shell.Startup.main(Compiled Code)

-------------------------------------------------------------

Can anybody help me in this.....

Thanks,
legin.....


Re: help!

Posted by Manik Surtani <ma...@espadanet.com>.
Yes, that is probably the case.

I had similar messages, until I dloaded and installed the ant package, which had xml.jar.



Fergus Gallagher wrote:

> Apologies, I was getting confused with another project which uses the
> IBM/Xerces parser.
>
> I guess the real answer is that the  "xml.jar" in the classpath is not
> in the location given.
>
> Fergus
>
> Manik Surtani wrote:
> >
> > Umm ... I dont have any xerces.jar in my classpath ..... and my Tomcat works OK ....
> >
> > Fergus Gallagher wrote:
> >
> > > There should also be xerces.jar on that classpath
> > >
> > > Fergus
> > >
> > > P.S. probably does no harm, but the jsdk.jar shouldn't be there.
> > >
> > > legin wrote:
> > > >
> > > > Hi friends,
> > > >
> > > >     I'm not able to start tomcat...I get the foll exceptions....I tried
> > > > the same even with sun-1.2.2 JDK..
> > > >
> > > > Can anybody help me out in this???
> > > >
> > > > -----------------------------------------------------------------------------
> > > >
> > > > ./startup.sh
> > > > Using classpath:
> > > > ./webserver.jar:./lib/servlet.jar:./lib/jasper.jar:./lib/xml.jar:/pub/ibm-1.1.8/bin/../lib/tools.jar:.:/pub/ibm-1.1.8/lib/classes.zip:/pub/swing-1.1/swingall.jar:/pub/JSDK2.0/lib/jsdk.jar:/pub/mm.mysql.jdbc-1.2b:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.jar:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.zip:/pub/MOCHA.ZIP
> > > >
> > > > [legin@/opt/tomcat]# Tomcat Web Server Version 3.0
> > > > Loaded configuration from: file:/opt/tomcat/server.xml
> > > > java.lang.NoClassDefFoundError: org/xml/sax/InputSource
> > > >         at org.apache.tomcat.util.XMLParser.process(Compiled Code)
> > > >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > > > Code)
> > > >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > > > Code)
> > > >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > > > Code)
> > > >         at org.apache.tomcat.shell.Startup.getConfig(Compiled Code)
> > > >         at org.apache.tomcat.shell.Startup.configure(Compiled Code)
> > > >         at org.apache.tomcat.shell.Startup.main(Compiled Code)
> > > >
> > > > -------------------------------------------------------------
> > > >
> > > > Can anybody help me in this.....
> > > >
> > > > Thanks,
> > > > legin.....
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: general-help@jakarta.apache.org
> > >
> > > --
> > > Fergus Gallagher          Tel: +44 (20) 89 87 07 17
> > > Orbis                     Fax: +44 (20) 87 42 26 49
> > > The Swan Centre           email: Fergus.Gallagher@orbisuk.com
> > > Fishers Lane              Web: http://www.orbisuk.com
> > > London W4 1RX / UK
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: general-help@jakarta.apache.org
> >
> > --
> > Manik Surtani
> > Chief Technology Officer
> > Espada (Pvt.) Ltd.
> > http://www.espadanet.com
> > ICQ: 853533
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
>
> --
> Fergus Gallagher          Tel: +44 (20) 89 87 07 17
> Orbis                     Fax: +44 (20) 87 42 26 49
> The Swan Centre           email: Fergus.Gallagher@orbisuk.com
> Fishers Lane              Web: http://www.orbisuk.com
> London W4 1RX / UK
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org

--
Manik Surtani
Chief Technology Officer
Espada (Pvt.) Ltd.
http://www.espadanet.com
ICQ: 853533



Re: help!

Posted by Fergus Gallagher <Fe...@OrbisUK.com>.
Apologies, I was getting confused with another project which uses the
IBM/Xerces parser. 

I guess the real answer is that the  "xml.jar" in the classpath is not
in the location given.

Fergus

Manik Surtani wrote:
> 
> Umm ... I dont have any xerces.jar in my classpath ..... and my Tomcat works OK ....
> 
> Fergus Gallagher wrote:
> 
> > There should also be xerces.jar on that classpath
> >
> > Fergus
> >
> > P.S. probably does no harm, but the jsdk.jar shouldn't be there.
> >
> > legin wrote:
> > >
> > > Hi friends,
> > >
> > >     I'm not able to start tomcat...I get the foll exceptions....I tried
> > > the same even with sun-1.2.2 JDK..
> > >
> > > Can anybody help me out in this???
> > >
> > > -----------------------------------------------------------------------------
> > >
> > > ./startup.sh
> > > Using classpath:
> > > ./webserver.jar:./lib/servlet.jar:./lib/jasper.jar:./lib/xml.jar:/pub/ibm-1.1.8/bin/../lib/tools.jar:.:/pub/ibm-1.1.8/lib/classes.zip:/pub/swing-1.1/swingall.jar:/pub/JSDK2.0/lib/jsdk.jar:/pub/mm.mysql.jdbc-1.2b:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.jar:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.zip:/pub/MOCHA.ZIP
> > >
> > > [legin@/opt/tomcat]# Tomcat Web Server Version 3.0
> > > Loaded configuration from: file:/opt/tomcat/server.xml
> > > java.lang.NoClassDefFoundError: org/xml/sax/InputSource
> > >         at org.apache.tomcat.util.XMLParser.process(Compiled Code)
> > >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > > Code)
> > >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > > Code)
> > >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > > Code)
> > >         at org.apache.tomcat.shell.Startup.getConfig(Compiled Code)
> > >         at org.apache.tomcat.shell.Startup.configure(Compiled Code)
> > >         at org.apache.tomcat.shell.Startup.main(Compiled Code)
> > >
> > > -------------------------------------------------------------
> > >
> > > Can anybody help me in this.....
> > >
> > > Thanks,
> > > legin.....
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: general-help@jakarta.apache.org
> >
> > --
> > Fergus Gallagher          Tel: +44 (20) 89 87 07 17
> > Orbis                     Fax: +44 (20) 87 42 26 49
> > The Swan Centre           email: Fergus.Gallagher@orbisuk.com
> > Fishers Lane              Web: http://www.orbisuk.com
> > London W4 1RX / UK
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> 
> --
> Manik Surtani
> Chief Technology Officer
> Espada (Pvt.) Ltd.
> http://www.espadanet.com
> ICQ: 853533
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org

-- 
Fergus Gallagher          Tel: +44 (20) 89 87 07 17
Orbis                     Fax: +44 (20) 87 42 26 49
The Swan Centre           email: Fergus.Gallagher@orbisuk.com
Fishers Lane              Web: http://www.orbisuk.com
London W4 1RX / UK

Re: help!

Posted by Manik Surtani <ma...@espadanet.com>.
Umm ... I dont have any xerces.jar in my classpath ..... and my Tomcat works OK ....

Fergus Gallagher wrote:

> There should also be xerces.jar on that classpath
>
> Fergus
>
> P.S. probably does no harm, but the jsdk.jar shouldn't be there.
>
> legin wrote:
> >
> > Hi friends,
> >
> >     I'm not able to start tomcat...I get the foll exceptions....I tried
> > the same even with sun-1.2.2 JDK..
> >
> > Can anybody help me out in this???
> >
> > -----------------------------------------------------------------------------
> >
> > ./startup.sh
> > Using classpath:
> > ./webserver.jar:./lib/servlet.jar:./lib/jasper.jar:./lib/xml.jar:/pub/ibm-1.1.8/bin/../lib/tools.jar:.:/pub/ibm-1.1.8/lib/classes.zip:/pub/swing-1.1/swingall.jar:/pub/JSDK2.0/lib/jsdk.jar:/pub/mm.mysql.jdbc-1.2b:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.jar:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.zip:/pub/MOCHA.ZIP
> >
> > [legin@/opt/tomcat]# Tomcat Web Server Version 3.0
> > Loaded configuration from: file:/opt/tomcat/server.xml
> > java.lang.NoClassDefFoundError: org/xml/sax/InputSource
> >         at org.apache.tomcat.util.XMLParser.process(Compiled Code)
> >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > Code)
> >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > Code)
> >         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> > Code)
> >         at org.apache.tomcat.shell.Startup.getConfig(Compiled Code)
> >         at org.apache.tomcat.shell.Startup.configure(Compiled Code)
> >         at org.apache.tomcat.shell.Startup.main(Compiled Code)
> >
> > -------------------------------------------------------------
> >
> > Can anybody help me in this.....
> >
> > Thanks,
> > legin.....
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
>
> --
> Fergus Gallagher          Tel: +44 (20) 89 87 07 17
> Orbis                     Fax: +44 (20) 87 42 26 49
> The Swan Centre           email: Fergus.Gallagher@orbisuk.com
> Fishers Lane              Web: http://www.orbisuk.com
> London W4 1RX / UK
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org

--
Manik Surtani
Chief Technology Officer
Espada (Pvt.) Ltd.
http://www.espadanet.com
ICQ: 853533



Re: help!

Posted by Fergus Gallagher <Fe...@OrbisUK.com>.
There should also be xerces.jar on that classpath

Fergus

P.S. probably does no harm, but the jsdk.jar shouldn't be there.

legin wrote:
> 
> Hi friends,
> 
>     I'm not able to start tomcat...I get the foll exceptions....I tried
> the same even with sun-1.2.2 JDK..
> 
> Can anybody help me out in this???
> 
> -----------------------------------------------------------------------------
> 
> ./startup.sh
> Using classpath:
> ./webserver.jar:./lib/servlet.jar:./lib/jasper.jar:./lib/xml.jar:/pub/ibm-1.1.8/bin/../lib/tools.jar:.:/pub/ibm-1.1.8/lib/classes.zip:/pub/swing-1.1/swingall.jar:/pub/JSDK2.0/lib/jsdk.jar:/pub/mm.mysql.jdbc-1.2b:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.jar:/pub/twz1/jdbc/mysql/htdocs/twz1jdbcForMysql.zip:/pub/MOCHA.ZIP
> 
> [legin@/opt/tomcat]# Tomcat Web Server Version 3.0
> Loaded configuration from: file:/opt/tomcat/server.xml
> java.lang.NoClassDefFoundError: org/xml/sax/InputSource
>         at org.apache.tomcat.util.XMLParser.process(Compiled Code)
>         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> Code)
>         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> Code)
>         at org.apache.tomcat.shell.deployment.Config.loadConfig(Compiled
> Code)
>         at org.apache.tomcat.shell.Startup.getConfig(Compiled Code)
>         at org.apache.tomcat.shell.Startup.configure(Compiled Code)
>         at org.apache.tomcat.shell.Startup.main(Compiled Code)
> 
> -------------------------------------------------------------
> 
> Can anybody help me in this.....
> 
> Thanks,
> legin.....
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org

-- 
Fergus Gallagher          Tel: +44 (20) 89 87 07 17
Orbis                     Fax: +44 (20) 87 42 26 49
The Swan Centre           email: Fergus.Gallagher@orbisuk.com
Fishers Lane              Web: http://www.orbisuk.com
London W4 1RX / UK