You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by cj...@pg.ebx.com on 2002/03/11 02:29:44 UTC

Help....Can't find Xerces 2 by application (with attachmented run.bat content)

Hi,
I run my application with error, as it shows can't detect the included
Xerces 2 parser.

with attached run.bat in mail.(See file: run.bat for windows)
-------------
set CSC_HOME=c:\demo_dex
set localclasspath=%classpath%
set classpath=.;%CSC_HOME%\dex\csc\jar\xmlParserAPIs.jar;%CSC_HOME%
\dex\csc\jar\xerceslmpl.jar;%CSC_HOME%\dex\csc\jar\xalan.jar;%CSC_HOME%
\dex\csc\jar\xml-apis.jar;%CSC_HOME%
\dex\csc\jar\dtdparser113.jar;%CSC_HOME%
\dex\csc\jar\activation.jar;%CSC_HOME%\dex\csc\jar\mail.jar;%CSC_HOME%
\dex\csc\jar\IBMJCEfw.jar;%CSC_HOME%
\dex\csc\jar\IBMJCEProvider.jar;%CSC_HOME%
\dex\csc\jar\jce1_2_1.jar;%CSC_HOME%
\dex\csc\jar\local_policy.jar;%CSC_HOME%\dex\csc\jar\log4j.jar;%CSC_HOME%
\dex\csc\jar\sunjce_provider.jar;%CSC_HOME%
\dex\csc\jar\US_export_policy.jar;%CSC_HOME%
\dex\csc\jar\skinlf.jar;%CSC_HOME%\dex\csc\jar\skinregion.jar;%CSC_HOME%
\dex\csc\jar\db2java.zip;%CSC_HOME%\dex\csc\properties;%CSC_HOME%
\dex\csc\jar
java org.apache.xalan.xslt.EnvironmentCheck -out %CSC_HOME%
\dex\csc\log\check_parser.log
java com.ebx.dex.csc.DexCscINMain
set classpath=%localclasspath%
set localclasspath=
set CSC_HOME=
--------------


I try out following checking as provided by example in Xalan 2.3.1, i run
"java org.apache.xalan.xslt.EnvironmentCheck -out %CSC_HOME%
\dex\csc\log\check_parser.log",
and catch following output. It showed not Xerces 2 detected, please consult
TQ.

#---- BEGIN writeEnvironmentReport($Revision: 1.10 $): Useful stuff found:
----
version.DOM.draftlevel=2.0fd
java.class.path=.;c:\demo_dex\dex\csc\jar\xmlParserAPIs.jar;c:
\demo_dex\dex\csc\jar\xerceslmpl.jar;c:\demo_dex\dex\csc\jar\xalan.jar;c:
\demo_dex\dex\csc\jar\xml-apis.jar;c:
\demo_dex\dex\csc\jar\dtdparser113.jar;c:
\demo_dex\dex\csc\jar\activation.jar;c:\demo_dex\dex\csc\jar\mail.jar;c:
\demo_dex\dex\csc\jar\IBMJCEfw.jar;c:
\demo_dex\dex\csc\jar\IBMJCEProvider.jar;c:
\demo_dex\dex\csc\jar\jce1_2_1.jar;c:
\demo_dex\dex\csc\jar\local_policy.jar;c:\demo_dex\dex\csc\jar\log4j.jar;c:
\demo_dex\dex\csc\jar\sunjce_provider.jar;c:
\demo_dex\dex\csc\jar\US_export_policy.jar;c:
\demo_dex\dex\csc\jar\skinlf.jar;c:\demo_dex\dex\csc\jar\skinregion.jar;c:
\demo_dex\dex\csc\jar\db2java.zip;c:\demo_dex\dex\csc\properties;c:
\demo_dex\dex\csc\jar
version.JAXP=1.1
java.ext.dirs=C:\PROGRAM FILES\JAVASOFT\JRE\1.3.1_02\lib\ext
version.xerces2=not-present
version.xerces1=not-present
version.xalan2_2=Xalan Java 2.3.1
version.xalan1=not-present
version.ant=not-present
java.version=1.3.1_02
version.DOM=2.0
version.crimson=not-present
sun.boot.class.path=C:\PROGRAM FILES\JAVASOFT\JRE\1.3.1_02\lib\rt.jar;C:
\PROGRAM FILES\JAVASOFT\JRE\1.3.1_02\lib\i18n.jar;C:\PROGRAM
FILES\JAVASOFT\JRE\1.3.1_02\lib\sunrsasign.jar;C:\PROGRAM
FILES\JAVASOFT\JRE\1.3.1_02\classes
#---- BEGIN Listing XML-related jars in: foundclasses.java.class.path ----
xalan.jar-apparent.version=xalan.jar WARNING.present-unknown-version
xalan.jar-path=c:\demo_dex\dex\csc\jar\xalan.jar
xml-apis.jar-apparent.version=xml-apis.jar from xalan-j_2_3_0 from
xml-commons-1.0.b2
xml-apis.jar-path=c:\demo_dex\dex\csc\jar\xml-apis.jar
#----- END Listing XML-related jars in: foundclasses.java.class.path -----
version.SAX=2.0
version.xalan2x=Xalan Java 2.3.1
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.

Choo Jun Tan

Tel: (604) 890-8143    Ext: 155
Direct Line: (604) 8934155
Fax: (604) 890-1771
E-Mail: cjtan@pg.ebx.com
Visit us at www.ebx.com



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org