tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefán Freyr Stefánsson <stef...@althingi.is>
Subject Re: Tomcat Won't start on NT
Date Mon, 13 Jan 2003 13:13:20 GMT
I think you can still use JDK 1.3 but I'd reccommend using 1.4.

How you get this to work on JDK 1.3, I'm not sure... you can start by trying 
to get an XML parser implementation (like Xerces) and either put that 
somewhere in your classpath or (better yet since I hate the global classpath) 
put it in your {TOMCAT_HOME}/lib directory.

I don't know if it's enough to just put it there but at least it's a starting 
point.  You may need to configure some things but I don't know more about 
that.  I seem to recall reading that you need to remove the jaxp.jar and 
parser.jar files when you put xerces.jar instead so the classloader doesn't 
get confused.

Go ahead and try that and let us know how it works out.

Regards, Stefan.

p.s. don't completely delete the jaxp.jar and parser.jar files... just move 
them somewhere temporarily since I only vaguely remember reading this... this 
might not even be neccessary at all.

On Monday 13 January 2003 12:33, Raj wrote:
> But can't I use JDK 1.3? Is it absolutely necessary to use 1.4?
>
> ----- Original Message -----
> From: Stefán Freyr Stefánsson <stefanf@althingi.is>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Sent: Monday, January 13, 2003 5:51 PM
> Subject: Re: Tomcat Won't start on NT
>
>
> I imagine that you have a problem with an XML parser definition.  If you
> have
> JDK 1.4.x installed you might try to run tomcat using that JDK since it has
> a
> built in XML implementation.
>
> Regards, Stefan.
>
> On Monday 13 January 2003 12:03, Raj wrote:
> > Hello Reynir,
> > This is what I get. What could be wrong?
> >
> > C:\Program Files\Apache Group\Tomcat 4.1\bin>catalina run
> > Using CATALINA_BASE:   ..
> > Using CATALINA_HOME:   ..
> > Using CATALINA_TMPDIR: ..\temp
> > Using JAVA_HOME:       c:\jdk1.3
> > Exception during startup processing
> > java.lang.reflect.InvocationTargetException:
> > javax.xml.parsers.FactoryConfigurat
> > ionError: Provider null could not be instantiated:
> > java.lang.NullPointerExceptio
> > n
> >         at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
> >         at
> > org.apache.commons.digester.Digester.getFactory(Digester.java:511)
> >         at
> > org.apache.commons.digester.Digester.getParser(Digester.java:676) at
> > org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
> >         at org.apache.commons.digester.Digester.parse(Digester.java:1495)
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
> >         at
> > org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at
> > org.apache.catalina.startup.Catalina.process(Catalina.java:180) at
> > java.lang.reflect.Method.invoke(Native Method)
> >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> >
> > C:\Program Files\Apache Group\Tomcat 4.1\bin>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message