logo       

Re: Aonyx and Catalina: msg#00127

java.enhydra.general

Subject: Re: Aonyx and Catalina

Hi,

On Wednesday, October 30, 2002, at 02:15 PM, busch@xxxxxxxxxxxxxxxx wrote:


We have tried putting these enhydra jars:
core.jar
enhydra.jar
gnu-regexp.jar
xmlc.jar
xmlcSupport.jar
(probably also dods.jar if you use dods)

into either $CATALINA_HOME/shared/lib or
$CATALINA_HOME/webapps/[ourapp]/WEB-INF/lib.

I had my Enyhdra jars in common/lib and have moved them to
shared/lib as recommended, but now even the
com.lutris.appserver.server.StandardApplication won't be found. Do
I have to make them "visible" to some strange class-loader? And if
so, how'll I do that? Edit the enhydra-app.conf and change the
class_path[] ?


You shouldn't have to do anything special. Did you restart tomcat after moving the jar files? You shouldn't have to change your app's Server.ClassPath[] (unless it has relative path names in it).

Putting the libs into the webapps directory results in an
ClassCastException for some reason...


When is this exception being thrown?


Our enhydra app ran without problems with the enhydra jars in either
location. Also, we found it necessary to combine the app's
multiserver.conf and app.conf files into a single file, and use this as
the ConfFile init-param in the app's WEB-INF/web.xml file.

Have you overriden the Apache Xerces coming with Catalina with
that xerces implementation of Enhydra Aonyx (patched version)?
These jars reside in common/endorsed, and I removed the original
jars from apache and put that xerces.jar from enhydra into it.

Danny


No (I haven't noticed problems related to this, but also have not tested much). The tomcat class-loader how-to (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader- howto.html) recommends placing alternate xml parsers into your app's WEB-INF/lib/directory...you shouldn't have to touch the xerces.jar in common/.

Scott


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise