You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by "Burgermeister, Thomas" <th...@dv-ma.de> on 2002/11/12 11:36:52 UTC

Xalan in Applets under Java Plugin 1.4.0_01

Hello all,

i've got an urgent problem using xalan.jar under Sun's plugin 1.4.0_01.

Some details about:

There's no problem downloading xalan.jar to Java_Home\lib\endorsed before loading the rest of the Applet.
Running the Applet causes essential problems, but there are no exceptions thrown.

By the way - closing and restarting the Browser then leads to the expected results, because xalan.jar is already loaded to the endorsed-directory.

We're using xalan.jar not directly as it's delivered (together with xerces.jar and xml-apis.jar) as part of a software package from another company.

Here's the result of the EnvironmentCheck:

#---- BEGIN writeEnvironmentReport($Revision: 1.5 $): Useful properties found: -
---
#---- BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path ----
xalan.jar.apparent.version=xalan.jar potential-ERROR present-unknown-version
xalan.jar.path=c:\programme\java\j2re1.4.0_01\lib\endorsed\xalan.jar
#----- END Listing XML-related jars in: foundclasses.sun.boot.class.path -----
java.version=1.4.0_01
version.JAXP=1.1
java.ext.dirs=C:\Programme\Java\j2re1.4.0_01\lib\ext
version.crimson=not-present
java.class.path=.
version.xerces=not-present
sun.boot.class.path=C:\Programme\Java\j2re1.4.0_01\lib\endorsed\xalan.jar;C:\Pr
ogramme\Java\j2re1.4.0_01\lib\rt.jar;C:\Programme\Java\j2re1.4.0_01\lib\i18n.jar
;C:\Programme\Java\j2re1.4.0_01\lib\sunrsasign.jar;C:\Programme\Java\j2re1.4.0_0
1\lib\jsse.jar;C:\Programme\Java\j2re1.4.0_01\lib\jce.jar;C:\Programme\Java\j2re
1.4.0_01\lib\charsets.jar;C:\Programme\Java\j2re1.4.0_01\classes
version.DOM.draftlevel=2.0fd
version.xalan2=Xalan;Java;Xalan Java 2.2.D10;
version.DOM=2.0
version.xalan1=not-present
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.

Is there any workaround for this problem (i.e. ClassLoader?).

Thank you very much in advance!!!

Thomas
-- 

      

Re: Xalan in Applets under Java Plugin 1.4.0_01

Posted by gopal sharma <go...@Sun.COM>.
 Hi Thomas,

 You have misplaced xalan.jar and rest of files (xercesImpl.jar &
 xml-apis.jar). These files need to be in 

 JAVA_HOME/jre/lib/endorsed instead of  JAVA_HOME/lib/endorsed.

 So, Classloader is picking up xalan 2.2-D10 from rt.jar within Sun 
 Jdk 1.4.0_01 and not latest one. 

 Please correct it and work happily  :-)

 Thanks
 - Gopal

"Burgermeister, Thomas" wrote:
> 
> Hello all,
> 
> i've got an urgent problem using xalan.jar under Sun's plugin 1.4.0_01.
> 
> Some details about:
> 
> There's no problem downloading xalan.jar to Java_Home\lib\endorsed before loading the rest of the Applet.
> Running the Applet causes essential problems, but there are no exceptions thrown.
> 
> By the way - closing and restarting the Browser then leads to the expected results, because xalan.jar is already loaded to the endorsed-directory.
> 
> We're using xalan.jar not directly as it's delivered (together with xerces.jar and xml-apis.jar) as part of a software package from another company.
> 
> Here's the result of the EnvironmentCheck:
> 
> #---- BEGIN writeEnvironmentReport($Revision: 1.5 $): Useful properties found: -
> ---
> #---- BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path ----
> xalan.jar.apparent.version=xalan.jar potential-ERROR present-unknown-version
> xalan.jar.path=c:\programme\java\j2re1.4.0_01\lib\endorsed\xalan.jar
> #----- END Listing XML-related jars in: foundclasses.sun.boot.class.path -----
> java.version=1.4.0_01
> version.JAXP=1.1
> java.ext.dirs=C:\Programme\Java\j2re1.4.0_01\lib\ext
> version.crimson=not-present
> java.class.path=.
> version.xerces=not-present
> sun.boot.class.path=C:\Programme\Java\j2re1.4.0_01\lib\endorsed\xalan.jar;C:\Pr
> ogramme\Java\j2re1.4.0_01\lib\rt.jar;C:\Programme\Java\j2re1.4.0_01\lib\i18n.jar
> ;C:\Programme\Java\j2re1.4.0_01\lib\sunrsasign.jar;C:\Programme\Java\j2re1.4.0_0
> 1\lib\jsse.jar;C:\Programme\Java\j2re1.4.0_01\lib\jce.jar;C:\Programme\Java\j2re
> 1.4.0_01\lib\charsets.jar;C:\Programme\Java\j2re1.4.0_01\classes
> version.DOM.draftlevel=2.0fd
> version.xalan2=Xalan;Java;Xalan Java 2.2.D10;
> version.DOM=2.0
> version.xalan1=not-present
> #----- END writeEnvironmentReport: Useful properties found: -----
> # YAHOO! Your environment seems to be OK.
> 
> Is there any workaround for this problem (i.e. ClassLoader?).
> 
> Thank you very much in advance!!!
> 
> Thomas
> --
> 
>