tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Marino <Anth...@RESoftInc.com>
Subject RE: Has anyone run Tomcat in JDK 1.4?
Date Sat, 23 Sep 2000 01:15:11 GMT
Where is JDK 1.4?

-----Original Message-----
From: Michael Percy [mailto:mpercy@portera.com]
Sent: Tuesday, September 19, 2000 7:35 PM
To: 'tomcat-dev@jakarta.apache.org'
Subject: RE: Has anyone run Tomcat in JDK 1.4?


Are you sure you can use JRE? Wouldnt you want to use a JDK... after all,
you are compiling on the fly... I believe JRE is only for executing class
files. Am I mistaken about this?

Mike

> -----Original Message-----
> From: Todd Eisemann [mailto:todd@talismanapps.com]
> Sent: Monday, September 18, 2000 2:50 PM
> To: tomcat-dev@jakarta.apache.org
> Subject: Re: Has anyone run Tomcat in JDK 1.4?
> 
> 
> 
> I am having the same problem, but with jre 1.2.2-001. In my 
> environment,
> tomcat works great with jre 1.1.8 on Solaris. It also works 
> well with jdk
> 1.2.2-001 on NT. However on Solaris, when I switch to using 
> jre 1.2.2-001. I
> always get this
> 
> java.lang.ClassNotFoundException: com.sun.xml.parser.Parser
>         at java.net.URLClassLoader$1.run(URLClassLoader.java, 
> Compiled Code)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled
> Code)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java, 
> Compiled Code)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java, 
> Compiled Code)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java, Compiled Code)
>         at 
> org.xml.sax.helpers.ParserFactory.makeParser(ParserFactory.java,
> Compiled Code)
>         at 
> org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java,
> Compiled Code)
>         at 
> org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java, Compiled
> Code)
>         at 
> org.apache.tomcat.startup.Tomcat.execute(Tomcat.java, Compiled
> Code)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java, 
> Compiled Code)
> FATAL: configuration error
> java.lang.Exception: Error creating sax parser
>         at 
> org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java,
> Compiled Code)
>         at 
> org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java, Compiled
> Code)
>         at 
> org.apache.tomcat.startup.Tomcat.execute(Tomcat.java, Compiled
> Code)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java, 
> Compiled Code)
> 
> I am sure that tomcat/lib/xml.jar is in my class path.
> Any clues?
> 
> ----------------------------------------------
> 
> JDK1.4? Does such a beast exist?
> 
> I thought we were still in beta for 1.3!
> 
> geoff
> 
> ----- Original Message -----
> From: "Craig R. McClanahan" <Craig.McClanahan@eng.sun.com>
> To: <tomcat-dev@jakarta.apache.org>
> Sent: Wednesday, September 13, 2000 8:03 AM
> Subject: Re: Has anyone run Tomcat in JDK 1.4?
> 
> 
> > "David R. Smith" wrote:
> >
> > > Hi all,
> > > I'm trying to run Tomcat 3.1 under JDK 1.4 beta.  So far, no luck.
> > > Right after Tomcat starts, it stops with a classdef not 
> found error,
> > > claiming that it can't find com.sun.xml.parser.Parser  (which is
> > > there, in xml.jar, and it's in the classpath).
> > >
> > > This is a Tomcat installation that runs just fine in JDK 
> 1.3, on NT.
> > > But if I tweak the tomcat.bat file to use JDK 1.4, it halts with
> > > the classdef not found error.
> > >
> > > Anyone have any tips on working around this problem?
> > > Or for that matter, can anyone simply say whether they've
> > > gotten Tomcat to work with 1.4?
> > >
> >
> > I haven't tried 1.4, but I would suggest you experiment 
> with 3.2 instead
> > of 3.1.  The reason is that 3.2 can use any JAXP-compatible 
> XML parser.
> > If memory servers me, doesn't 1.4 have a JAXP-compatible 
> parser built
> > in?  If so, it could be interfering with the old parser (in 
> xml.jar) that
> > Tomcat 3.1 used.
> >
> > >
> > > Thanks in advance
> > > Dave
> > >
> >
> > Craig McClanahan
> >
> > ====================
> > See you at ApacheCon Europe <http://www.apachecon.com>!
> > Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
> > Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
> >                                     Applications to Tomcat
> >
> >
> >
> 
> ------------------------------
> 
> JDK1.4? Does such a beast exist?
> 
> I thought we were still in beta for 1.3!
> 
> geoff
> 
> ----- Original Message -----
> From: "Craig R. McClanahan" <Craig.McClanahan@eng.sun.com>
> To: <tomcat-dev@jakarta.apache.org>
> Sent: Wednesday, September 13, 2000 8:03 AM
> Subject: Re: Has anyone run Tomcat in JDK 1.4?
> 
> 
> > "David R. Smith" wrote:
> >
> > > Hi all,
> > > I'm trying to run Tomcat 3.1 under JDK 1.4 beta.  So far, no luck.
> > > Right after Tomcat starts, it stops with a classdef not 
> found error,
> > > claiming that it can't find com.sun.xml.parser.Parser  (which is
> > > there, in xml.jar, and it's in the classpath).
> > >
> > > This is a Tomcat installation that runs just fine in JDK 
> 1.3, on NT.
> > > But if I tweak the tomcat.bat file to use JDK 1.4, it halts with
> > > the classdef not found error.
> > >
> > > Anyone have any tips on working around this problem?
> > > Or for that matter, can anyone simply say whether they've
> > > gotten Tomcat to work with 1.4?
> > >
> >
> > I haven't tried 1.4, but I would suggest you experiment 
> with 3.2 instead
> > of 3.1.  The reason is that 3.2 can use any JAXP-compatible 
> XML parser.
> > If memory servers me, doesn't 1.4 have a JAXP-compatible 
> parser built
> > in?  If so, it could be interfering with the old parser (in 
> xml.jar) that
> > Tomcat 3.1 used.
> >
> > >
> > > Thanks in advance
> > > Dave
> > >
> >
> > Craig McClanahan
> >
> > ====================
> > See you at ApacheCon Europe <http://www.apachecon.com>!
> > Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
> > Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
> >                                     Applications to Tomcat
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message