You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mia isabelle <mi...@yahoo.com.sg> on 2002/12/29 09:30:17 UTC

Problems starting up...

 
Hi,

I can't get the Tomcat server to start. I used the startup.bat, setclasspath.bat, catalina.bat with the following configuration:

Using CATALINA_BASE: d:\tomcat41

Using CATALINA_HOME: d:\tomcat41

Using CATALINA_TMPDIR: d:\tomcat41\temp

Using JAVA_HOME: D:\jdk1.3

When it executes the last line : %_EXECJAVA% %JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %ACTION%

I got the followings:

Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/InputSource

at java.lang.Class.newInstance0(Native Method)

at java.lang.Class.newInstance(Class.java:237)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)

Similarly, if I use the configuration from the Start menu: D:\jdk1.3\bin\java.exe -jar -Duser.dir="d:\Tomcat41" "d:\Tomcat41\bin\bootstrap.jar" start, it gave me the same thing as the above.

Can someone point out where I could get the "org/xml/sax/InputSource"?

Thanks in advance,

Mia

 Yahoo! Travel
- Get the latest travel deals in town!

Re: Problems starting up...

Posted by Bill Barker <wb...@wilshire.com>.
"mia isabelle" <mi...@yahoo.com.sg> wrote in message
news:20021229083017.65129.qmail@web14706.mail.yahoo.com...
>
> Hi,
>
> I can't get the Tomcat server to start. I used the startup.bat,
setclasspath.bat, catalina.bat with the following configuration:
>
> Using CATALINA_BASE: d:\tomcat41
>
> Using CATALINA_HOME: d:\tomcat41
>
> Using CATALINA_TMPDIR: d:\tomcat41\temp
>
> Using JAVA_HOME: D:\jdk1.3
>
> When it executes the last line : %_EXECJAVA%
%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,su
spend=n -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath
"%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_H
OME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %ACTION%
>
> I got the followings:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
org/xml/sax/InputSource
>
> at java.lang.Class.newInstance0(Native Method)
>
> at java.lang.Class.newInstance(Class.java:237)
>
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)
>
> Similarly, if I use the configuration from the Start menu:
D:\jdk1.3\bin\java.exe -jar -Duser.dir="d:\Tomcat41"
"d:\Tomcat41\bin\bootstrap.jar" start, it gave me the same thing as the
above.
>
> Can someone point out where I could get the "org/xml/sax/InputSource"?

It should be in the xerces jars, which should be living in
$CATALINA_HOME/common/endorsed, which should be what JAVA_ENDORSED_DIRS is
set to.

If you find which of these isn't true on your system, you've probably solved
your problem :).

>
> Thanks in advance,
>
> Mia
>
> Yahoo! Travel
> - Get the latest travel deals in town!





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>