As someone previously pointed out, the CLASSPATH environment variable is
ignored when using the -jar option to start a java program. So that might be
your problem id you are starting your server that way.

Also, I know JRun (2.3.x) ignores the classpath env variable; you are
required to set it in a properties file. Maybe it's the same for your
server.

Also, I have found that, since JAXP is implemented in later versions of
xerces I have been able to overwrite the orion supplied xerces.jar file with
a later one and delete the parser.jar file without a problem. If anyone
knows why this might be a bad idea, please let me know.

Jim

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kemp
Randy-W18971
Sent: Tuesday, March 13, 2001 9:10 AM
To: Orion-Interest
Subject: Colombo Java mystery -- the case of the unrecognized Parser jar


Here is a Colombo mystery I am wrestling with, called the case of the
unrecognized Parser jar.   See if anyone has any insights.

1. On windows 2000, I get this message when running Resin or Tomcat (Since
their lists don't know, I would see if any Orion experts could answer).
(http://localhost:8080/JSP page entry)

Error: 500  Internal Servlet Error:
javax.servlet.ServletException: org/xml/sax/EntityResolver
2.  If I look at my classpath, I have Parser.jar in it.
CLASSPATH=.;d:\javaprograms\javasource;c:\jdk1.3\lib\mail.jar;c:\jdk1.3\lib\
acti
vation.jar;D:\javajdbcs\jdbc1\mm.mysql.jdbc-1.2c;C:\jdk1.3\lib\tools.jar;D:\
Java
ServletProducts\JbossData\addressbook;D:\JavaServletProducts\JbossData\addre
ssbo
ok\src\java;D:\javajarfiles\ejb.jar;D:\javajarfiles\servlet.jar;D:\javajarfi
les\
server.jar\jboss-client.jar;D:\javajarfiles;D:\javajarfiles\jnp-client.jar;D
:\Ja
vaServletProducts\JbossData\addressbook\src\java\addressbook;D:\javajarfiles
\add
ressbook-client.jar;D:\javajarfiles\jndi.properties;D:\javajarfiles\Parser.j
ar;C
:\j2sdkee1.2.1\lib\j2ee.jar;d:\javaservletproducts\orionapp\classes

3.  If I examine the Parser.jar command with jar tf Parser.jar, then this is
part of my jar file:

org/xml/sax/EntityResolver.class

So if the Java Columbo were looking at this case, what wisdom would they add
that I am missing?



Reply via email to