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:18:28 UTC

Help....Can't find Xerces 2 by application

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 attached file: run.bat)

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

RE: Help....Can't find Xerces 2 by application

Posted by Mark Stanton <ma...@gruden.com>.
Hi Choo

I extracted the jars and manually placed their contents under my java/bin.
This is probably not the greatest method but I was tearing my hair out with
the same problem you are having and it worked. Hope it helps

Cheers

Mark


______________
Mark Stanton
Web Production
Gruden Pty Ltd
Tel: 9884 9522
Mob: 0410 458 201
Fax: 9884 9533
email: mark@gruden.com
www.gruden.com


********************************************************************
This message and any attachments are confidential to the ordinary
user of the e-mail address to which it was addressed and may also
be privileged. If you are not the addressee you may not copy,
forward, disclose or use any part of the message or its
attachments and if you have received this message in error, please
notify the sender immediately by return e-mail and delete it from
your system.

Internet communications cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
arrive late or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the context of
this message which arise as a result of Internet transmission.

Before opening or using attachments, check them for viruses and
defects. Our liability is limited to resupplying any affected
attachments.
********************************************************************


-----Original Message-----
From: cjtan@pg.ebx.com [mailto:cjtan@pg.ebx.com]
Sent: Monday, 11 March 2002 12:18 PM
To: xerces-j-user@xml.apache.org
Subject: Help....Can't find Xerces 2 by application


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 attached file: run.bat)

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