jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Gallmetzer <markus.gallmet...@googlemail.com>
Subject Jackrabbit JCA on JBoss
Date Mon, 08 Nov 2010 18:32:28 GMT

i tried to deploy jackrabbit to JBoss with JCA on Mac OS X and followed almost literally the
instructions provided in the wiki (http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss).


The following steps repeat what i've done so far:
1.) Download & unzip the JCR-2.0 specification from the specified link.
2.) Moved the jar-file from lib/jcr-2.0.jar to $JBOSS_HOME/common/lib/jcr-2.0.jar
3.) Downloaded jackrabbit-jca-2.1.2.rar and placed it into $JBOSS_HOME/server/default/deploy/
4.) Downloaded the jcr-ds.xml template from the specified link and edited the file:
	4.1) changed the value of "rar-name" element to <rar-name>jackrabbit-jca-2.1.2.rar</rar-name>

	4.2) Added <config-property name="homeDir" type="java.lang.String">/Users/myuser/Documents/Jackrabbit-Workspace</config-property>
	4.3) And finally deployed jcr-ds.xml to $JBOSS_HOME/server/default/deploy/
5.) Start jboss: $JBOSS_HOME/bin/run.sh

Starting jboss results in a lot of exceptions being thrown. The following error appears at

  Deployment "jboss.jca:name='jackrabbit-jca-2.1.2.rar',service=RARDeployment" is in error
due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name='jackrabbit-jca-2.1.2.rar',service=RARDeployment'
  Deployment "vfs:///Users/myuser/Applications/jboss-"
is in error due to the following reason(s): java.lang.IllegalAccessError: class org.apache.commons.collections.DoubleOrderedMap$2$1
cannot access its superclass org.apache.commons.collections.DoubleOrderedMap$DoubleOrderedMapIterator

I searched the web and unfortunately found only similar but unresolved errors. My questions
a) I seem to miss a required library (maybe jackrabbit-jca-2.1.2.rar alone is not enough),
do i?
b) Are jackrabbit-jca-2.1.2.rar and jboss-as-6.0.0-20100911-M5 compatible, i.e. usable together?

Thank you all in advance

View raw message