Re: Instantiating a SAX parser (Xerces)

2001-09-07 Thread Maximilian Eberl

Have You tried to place the JAR file in the /orion main directory ?
That is not very elegant but has worked many times in such
ClassNotFound-cases.


--

Maximilian Eberl
Online Development

Astarte New Media AG
Waldstrasse 65
76133 Karlsruhe

Tel.: 0721-98554-80
Fax 0721-98554-99

mailto:[EMAIL PROTECTED]
www.astarte.de




Re: Instantiating a SAX parser (Xerces)

2001-09-07 Thread Dean H. Saxe

I did.  I finally was able to get it working by using the following to 
startup orion:

java -classpath xerces.jar -jar orion.jar

-dhs

At 12:14 PM 9/7/01 +0200, you wrote:
Have You tried to place the JAR file in the /orion main directory ?
That is not very elegant but has worked many times in such
ClassNotFound-cases.


--

Maximilian Eberl
Online Development

Astarte New Media AG
Waldstrasse 65
76133 Karlsruhe

Tel.: 0721-98554-80
Fax 0721-98554-99

mailto:[EMAIL PROTECTED]
www.astarte.de






Instantiating a SAX parser (Xerces)

2001-09-06 Thread Dean H. Saxe

I am trying to instantiate a SAX parser with the following code in a JSP:

// Instantiate a parser
XMLReader parser 
=  XMLReaderFactory.createXMLReader(org.apache.xerces.parsers.SAXParser);

However, each time I do I receive the following exception:

500 Internal Server Error

java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser

at 
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:118)

at /report/index.ibs._jspService(/report/index.ibs.java:95) (JSP page line 45)

at com.orionserver[Orion/1.5.2 (build 
10460)].http.OrionHttpJspPage.service(Unknown Source)

at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)

at com.evermind[Orion/1.5.2 (build 
10460)].server.http.JSPServlet.service(Unknown Source)

at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)

at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)

at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)

at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)

at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

I have imported the proper packages and installed xerces.jar in the lib 
directory of WEB-INF, however, I am unable to get this to work.  For the 
record, in a standalone java app, the instantiation of a parser works 
beautifully.

Any help you can offer is appreciated.

-dhs