Gary,

thank you, that helped me, now everything works

Stefan

Gary L Peskin wrote:
> 
> This is a bug in a Sun internationalization extension to Xalan.
> 
> Please see
> http://developer.java.sun.com/developer/bugParade/bugs/4662527.html
> 
> Unfortunately, putting the Xalan-supplied jars in front of the
> bootclasspath won't help because the XSLTErrorResources_de will still be
> found and screw things up.
> 
> About the only workaround is the one suggested in the bug parade entry
> above.  You could also download the Xalan source and make the suggested
> change in your local copy of Process.java and then put that in the
> endorsed directory as explained at
> http://java.sun.com/j2se/1.4/docs/guide/standards/index.html
> 
> HTH,
> Gary
> 
> Also see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4649
> and http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6956
> 
> > -----Original Message-----
> > From: Stefan Hermanek [mailto:[EMAIL PROTECTED]
> > Sent: Monday, May 06, 2002 7:04 AM
> > To: [EMAIL PROTECTED]
> > Subject: jdk1.4
> >
> >
> > Hello,
> >
> > I have looked through the archive but didn't find an answer
> > to my problem concerning jdk1.4 and Xalan 2.3.1 although
> > there are some people having the same troubles. With jdk1.3
> > there is no problem running Xalan on the same PC, but I have
> > to upgrade to jdk1.4. Whatever I do the result is: Exception
> > in thread "main" java.lang.ClassCastException:
> > org.apache.xalan.res.XSLTErrorResources_de
> >
> > This is the result of the enviroment check:
> > #---- BEGIN writeEnvironmentReport($Revision: 1.7 $): Useful
> > properties
> > found: ----
> > java.version=1.4.0
> > #---- BEGIN Listing XML-related jars in: foundclasses.java.class.path
> > ----
> > xalan.jar-apparent.version=xalan.jar
> > WARNING.present-unknown-version
> > xalan.jar-path=/opt/xalan-j_2_3_1/bin/xalan.jar
> > #----- END Listing XML-related jars in: foundclasses.java.class.path
> > -----
> > version.JAXP=1.1
> > java.ext.dirs=/opt/j2sdk1.4.0/jre/lib/ext
> > version.crimson=not-present
> > version.SAX=2.0
> > java.class.path=/opt/xalan-j_2_3_1/bin/xalan.jar:/opt/xalan-j_
> > 2_3_1/bin/xml-apis.jar:/opt/xalan-j_2_3_1/bin/xercesImpl.jar
> > version.xerces=not-present
> > sun.boot.class.path=/opt/j2sdk1.4.0/jre/lib/rt.jar:/opt/j2sdk1
> > .4.0/jre/lib/i18n.jar:/opt/j2sdk1.4.0/jre/lib/sunrsasign.jar:/
> > opt/j2sdk1.4.0/jre/lib/jsse.jar:/opt/j2sdk1.4.0/jre/lib/jce.ja
> > r:/opt/j2sdk1.4.0/jre/lib/charsets.jar:/opt/j2sdk1.4.0/jre/classes
> > version.DOM.draftlevel=2.0fd
> > version.xalan2=Xalan;Java;Xalan Java 2.2.D11;
> > version.DOM=2.0
> > version.xalan1=not-present
> > #----- END writeEnvironmentReport: Useful properties found:
> > ----- # YAHOO! Your environment seems to be OK.
> >
> > The classpath is
> > /opt/xalan-j_2_3_1/bin/xalan.jar:/opt/xalan-j_2_3_1/bin/xml-ap
> > is.jar:/opt/xalan-j_2_3_1/bin/xercesImpl.jar
> >
> > I started with Xbootclasspath as mentioned in some mails:
> > -Xbootclasspath/p:/opt/xalan-j_2_3_1/bin/xalan.jar;/opt/xalan-
> > j_2_3_1/bin/xercesImpl.jar;/opt/xalan-j_2_3_1/bin/xml-apis.jar
> >
> > I copied the jars from the Xalan distribution into the
> > jdk1.4/jre/lib/ext directory but that didn't work either.
> >
> > Thanks a lot IA, Stefan
> >

-- 
Citem - Dr.Siegl
W�hringer G�rtel 166/6
A-1090 Wien
Tel.: +43 (0)1 319 59 893
Fax: +43 (0)1 319 59 891
Mobil: 0699 114 034 33
Mail: [EMAIL PROTECTED]
www.citem.at
-------------------------

Reply via email to