Arghhh!
Aren't classpaths a nightmare!!!!!!
The only things I can suggest is that you check...
1) No earlier version of xalan.jar,jaxp.jar exists on the classpath.
2) jaxp.jar does exist on the classpath
Re another of your posts...
a)The classpath is the same for JBoss & Tomcat if you are using the embedded
Tomcat.
b)If you put the jars in WEB-INF/lib they should be picked up by that WAR
onto its classpath.
Lewis
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Timo
Kauppinen
Sent: 17 June 2001 08:09
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] xalan 'n' stuff
Yes, I've checked that the class really is in the jar-file.. kinda
frustrating, isn't it.
The jars are the ones from xml.apache.org/xalan-j, file
xalan-j_2_1_0.zip. It has all the neccessary jars (xerces, xalan, etc.),
I've checked.
Is the classpath described in run_with_tomcat.bat -file the one tomcat
uses? I haven't found the classpath configuration from any of the tomcats
configuration files, so does jboss and tomcat use the same classpath when
the Tomcat is run as embedded?
Earlier I haven't had any difficulties with classpaths, but this makes me
really puzzled..
Timo
On Fri, 15 Jun 2001, Lewis Henderson wrote:
> It looks as though the config is correct! Do you have the correct version
of
> xalan.jar...(Does this class exist in the jar)?
>
> Mine is 705k 15-Mar-2001 14:21
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Timo
> Kauppinen
> Sent: 15 June 2001 14:20
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] xalan 'n' stuff
>
>
> Well, the error stack is this:
>
>
> javax.xml.transform.TransformerFactoryConfigurationError:
> java.lang.ClassNotFoundException:
> org.apache.xalan.processor.TransformerFactoryImpl
> at
>
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:1
> 21)
>
>
> I also thought that it would be enough if I put xalan.jar in
> jboss/lib/ext.. how wrong I was...
>
>
>
>
> On Fri, 15 Jun 2001, Lewis Henderson wrote:
>
> > I put my xerces.jar, xalan.jar and jaxp.jar in the jre/lib/ext as I use
> them
> > for all kinds of projects!
> >
> > It should have worked in the /jboss/lib/ext....what class is it failing
to
> > find?
> >
> > Lewis
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Timo
> > Kauppinen
> > Sent: 15 June 2001 13:09
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] xalan 'n' stuff
> >
> >
> > Hello!
> >
> > I know this may be a common problem (or maybe not). At least I think I
> > have seen this thing discussed here.. but I ask it anyway:
> >
> > If I want to use xalan as the xsl-parser in my servlet (I'm using
> > Jboss-2.2.2 with tomcat), where should I put the xalan.jar? Tomcat
> > can't find the needed classes if I put it in [inst-dir]/tomcat/lib and
> > [inst-dir]/jboss/lib/ext doesnt't work either. I thought that it
wouldn't
> > do in the "starting classpath" either (in run_with_tomcat.bat).
> >
> > So if those options don't work, I'm a little out of ideas. Can anyone
give
> > suggestions?
> >
> > Cheers!
> >
> > Timo
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user