I think the stack trace for the exception might provide a clue about
what is going on.
thanks
david jencks
On Apr 21, 2006, at 6:21 AM, Finian O'Boyle wrote:
Thank you for responding so quickly, Aaron. Unfortunately, putting
org.exist
in hidden-classes doesn't work. WEB-INF/lib contains the standard
Exist
jars. They are:
antlr.jar
avalon-framework-api-4.1.5.jar
avalon-framework-impl-4.1.5.jar
axis-ant.jar
axis-schema.jar
axis.jar
cocoon-2.1.7-deprecated.jar
cocoon-2.1.7.jar
cocoon-databases-block.jar
cocoon-xmldb-block.jar
cocoon-xsp-block.jar
commons-collections-3.1.jar
commons-discovery-0.2.jar
commons-fileupload-1.1.jar
commons-httpclient-3.0.jar
commons-io-1.1.jar
commons-jexl-1.0.jar
commons-jxpath-1.2.jar
commons-lang-2.0-20041007T2305.jar
commons-logging-1.0.4.jar
commons-pool-1.2.jar
ehcache-1.1.jar
excalibur-cli-1.0.jar
excalibur-component-1.2.jar
excalibur-datasource-1.1.1.jar
excalibur-i18n-1.1.jar
excalibur-instrument-1.0.jar
excalibur-instrument-manager-1.0.jar
excalibur-instrument-manager-interfaces-1.0.jar
excalibur-io-1.1.jar
excalibur-logger-1.1.jar
excalibur-naming-1.0.jar
excalibur-pool-1.2.jar
excalibur-sourceresolve-1.1.jar
excalibur-store-1.0.jar
excalibur-xmlutil-1.0.jar
exist-modules.jar
exist-optional.jar
exist.jar
jEdit-syntax.jar
javacApi-0.9.jar
javacImpl-0.9.jar
jaxrpc.jar
jgroups-all.jar
jug-lgpl-2.0.0.jar
libreadline-java.jar
log4j-1.2.9.jar
logkit-1.2.2.jar
nekohtml-0.9.5.jar
resolver.jar
saaj.jar
serializer-2.7.0.jar
start.jar
sunxacml.jar
util.concurrent-1.3.4.jar
wsdl4j-1.5.1.jar
xalan-2.7.0.jar
xercesImpl.jar
xml-apis.jar
xmldb.jar
xmlrpc-1.2-patched.jar
xmlunit1.0.jar
I realise that there are some jars that overlap with ones in
Geronimo's
repository, but the class which causes the problem is in exist.jar,
which
isn't in the repository. Another thing I should have mentioned is that
running with
<context-priority-classloader>true</context-priority-classloader>
doesn't solve the problem either.
Finian
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Aaron
Mulder
Sent: 21 April 2006 13:58
To: [email protected]
Subject: Re: Exist ClassCastException
I assume Exist is in your WEB-INF/lib. You might try changing the
filter to just "org.exist" and see if that helps. Otherwise, are
there any XML processing libraries that Exist depends on that Geronimo
might have a copy of? What else is in your WEB-INF/lib?
Thanks,
Aaron
On 4/21/06, Finian O'Boyle <[EMAIL PROTECTED]> wrote:
Has anyone successfully deployed Exist to Geronimo? I get a
java.lang.ClassCastExcption when I attempt an Xquery against Exist
with
the
message "Can't find/access AST Node
typeorg.exist.xquery.parser.XQuesryAST"
which sounds like a problem with the classpath within Geronimo.
The same
Xquery works fine against the same version of Exist in Tomcat 5.5
I've tried using
<hidden-classes><filter>org.exist.xquery.parser</filter></hidden-
classes>
in geronimo-web.xml but with no success.
Finian
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date:
20/4/2006
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date:
20/4/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date:
20/4/2006