xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sriram83 <ssrira...@gmail.com>
Subject Re: XSL Transformation in Xalan - Pls help!
Date Sat, 13 Sep 2008 16:16:58 GMT

I have included the output of Xalan Environment Check. I could not find any
differences between both the environments. But still, there is a difference
in performance between these two environments. 

Environment 1 [Linux Box]:

#---- BEGIN writeEnvironmentReport($Revision: 1.29 $): Useful stuff found:
----
version.DOM.draftlevel=2.0fd
java.class.path=/jboss/jboss-4.0.5.GA/bin/run.jar:/usr/java/jdk1.5.0_11/lib/tools.jar
version.JAXP=1.1 or higher
java.ext.dirs=/usr/java/jdk1.5.0_11/jre/lib/ext
#---- BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path
----
xalan.jar-path=/jboss/jboss-4.0.5.GA/lib/endorsed/xalan.jar
serializer.jar-apparent.version=serializer.jar present-unknown-version
serializer.jar-path=/jboss/jboss-4.0.5.GA/lib/endorsed/serializer.jar
xercesImpl.jar-apparent.version=xercesImpl.jar
WARNING.present-unknown-version
xercesImpl.jar-path=/jboss/jboss-4.0.5.GA/lib/endorsed/xercesImpl.jar
xml-apis.jar-apparent.version=xml-apis.jar present-unknown-version
xml-apis.jar-path=/jboss/jboss-4.0.5.GA/lib/endorsed/xml-apis.jar
#----- END Listing XML-related jars in: foundclasses.sun.boot.class.path
-----
version.xerces2=Xerces-J 2.9.0
version.xerces1=not-present
version.xalan2_2=Xalan Java 2.7.0
version.xalan1=not-present
version.ant=not-present
java.version=1.5.0_11
version.DOM=2.0
version.crimson=not-present
sun.boot.class.path=/jboss/jboss-4.0.5.GA/lib/endorsed/xalan.jar:/jboss/jboss-4.0.5.GA/lib/endorsed/serializer.jar:/jboss/jboss-4.0.5.GA/lib/endorsed/xercesImpl.jar:/jboss/jboss-4.0.5.GA/lib/endorsed/xml-apis.jar:/jboss/jboss-4.0.5.GA/lib/endorsed/resolver.jar:/usr/java/jdk1.5.0_11/jre/lib/rt.jar:/usr/java/jdk1.5.0_11/jre/lib/i18n.jar:/usr/java/jdk1.5.0_11/jre/lib/sunrsasign.jar:/usr/java/jdk1.5.0_11/jre/lib/jsse.jar:/usr/java/jdk1.5.0_11/jre/lib/jce.jar:/usr/java/jdk1.5.0_11/jre/lib/charsets.jar:/usr/java/jdk1.5.0_11/jre/classes
version.SAX=2.0
version.xalan2x=Xalan Java 2.7.0
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.

Environment 2 [My Environment]:

#---- BEGIN writeEnvironmentReport($Revision: 1.29 $): Useful stuff found:
----
version.DOM.draftlevel=2.0fd
java.class.path=C:\jdk1.5.0_11\lib\tools.jar;C:\jboss-4.0.5.GA\bin\\run.jar
version.JAXP=1.1 or higher
java.ext.dirs=C:\jdk1.5.0_11\jre\lib\ext
#---- BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path
----
serializer.jar-apparent.version=serializer.jar present-unknown-version
serializer.jar-path=C:\jboss-4.0.5.GA\bin\..\lib\endorsed\serializer.jar
xalan.jar-path=C:\jboss-4.0.5.GA\bin\..\lib\endorsed\xalan.jar
xercesImpl.jar-apparent.version=xercesImpl.jar
WARNING.present-unknown-version
xercesImpl.jar-path=C:\jboss-4.0.5.GA\bin\..\lib\endorsed\xercesImpl.jar
xml-apis.jar-apparent.version=xml-apis.jar present-unknown-version
xml-apis.jar-path=C:\jboss-4.0.5.GA\bin\..\lib\endorsed\xml-apis.jar
#----- END Listing XML-related jars in: foundclasses.sun.boot.class.path
-----
version.xerces2=Xerces-J 2.9.0
version.xerces1=not-present
version.xalan2_2=Xalan Java 2.7.0
version.xalan1=not-present
version.ant=not-present
java.version=1.5.0_11
version.DOM=2.0
version.crimson=not-present
sun.boot.class.path=C:\jboss-4.0.5.GA\bin\\..\lib\endorsed\resolver.jar;C:\jboss-4.0.5.GA\bin\\..\lib\endorsed\serializer.jar;C:\jboss-4.0.5.GA\bin\\..\lib\endorsed\xalan.jar;C:\jboss-4.0.5.GA\bin\\..\lib\endorsed\xercesImpl.jar;C:\jboss-4.0.5.GA\bin\\..\lib\endorsed\xml-apis.jar;C:\jdk1.5.0_11\jre\lib\rt.jar;C:\jdk1.5.0_11\jre\lib\i18n.jar;C:\jdk1.5.0_11\jre\lib\sunrsasign.jar;C:\jdk1.5.0_11\jre\lib\jsse.jar;C:\jdk1.5.0_11\jre\lib\jce.jar;C:\jdk1.5.0_11\jre\lib\charsets.jar;C:\jdk1.5.0_11\jre\classes
version.SAX=2.0
version.xalan2x=Xalan Java 2.7.0
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.





Sriram83 wrote:
> 
> Hi, 
> 
> I am facing a performance difference for XSL transformation between
> Windows and Linux.
> 
> Details of Environment:
> 
> Environment 1 [Production Environment]: 
> Red Hat Enterprise Linux AS release 4 (Nahant Update 2)
> Kernel 2.6.9-22.ELsmp on an i686
> Xalan version: 2.7.0
> JDK: 1.5_11-b03 server edition
> Min-Max memory: 3 GB
> Time taken for XSL T: 700 ms
> 
> Environment 2 [My Desktop]: 
> MS Windows XP Service pack 2
> Xalan version: 2.7.0
> JDK: 1.5_11-b03
> Min-Max memory: 200-300 MB
> Time taken for XSL T: 280 ms
> 
> With superior hardware and same software, I would expect the production
> server to be faster, but surprisingly the XSL transformation in
> Environment 2 is faster.
> 
> I am using the same XML for transformation. I am at my wits end trying to
> figure out the problem. 
> 
> Please can someone provide any insight this?
> 
> Thanks,
> Sriram
> 

-- 
View this message in context: http://www.nabble.com/XSL-Transformation-in-Xalan---Pls-help%21-tp19471054p19472082.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.


Mime
View raw message