Hi John,

        What webserver u r using for the servlet... probably u need to configure
this jar file in ur webserver. If suppose u r using apache, u need to give
the classpath of this jar file in the jserv.properties file in the
jserv(home)/conf directory.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 3:29 PM
To: [EMAIL PROTECTED]
Subject: iPlanet xerces JAR access help



I am trying to use the xerces 1.4 XML parser in a servlet.  When setting
the validation feature, the parser throws an error.  I believe that the
error is caused since the parser cannot read it's JAR file with the
resources that it needs.  Can someone tell me how to allow this?

I am using iPlanet Enterprise Edition 4.1SP7 on Redhat
7.0 Linux.  The application is a servlet.  The xerces.jar file is
included in the classpath.  I tried adding a line to the java.policy
file
with a read java.io.FilePermission.  That didn't help.

The exact error message is:

org.xml.sax.SAXNotSupportedException: Installation Problem??? Couldn't
load messages: Can't find resource for base name
org.apache.xerces.utils.regex.message, locale en US

But I can see the resource in the JAR file and I can run the code as a
stand alone program.

Thanks,

John

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to