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 <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to