Running Fedora 3.1 alongside Orbeon Forms is causing Orbeon Forms to throw
the following exception:
---
javax.servlet.ServletException:
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:133)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
...
Caused by:
java.lang.ClassNotFoundException:
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1386)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1232)
---
Removing Fedora makes the exception go away.
This also occurs when migrating Fedora 2.4 into Muradora - Fedora 2.4 seems
to be the first Fedora release with JOTM.
I did a bit of digging around, and the references below suggest that
deployment of JOTM should include copying certain libraries to
$CATALINA_HOME/common/lib
http://static.raibledesigns.com/downloads/howto-tomcat-jotm.html
http://jotm.objectweb.org/current/jotm/doc/howto-tomcat-jotm.html
http://jotm.objectweb.org/current/jotm/doc/examples/node6.html
Cross-checking against Fedora 3.1's libs (and 2.4, they seem to be the
same), the following jars matched, and sure enough copying these to
$CATALINA_HOME/common/lib seems to make the problem go away:
carol-2.0.5.jar
connector-1_5.jar
jotm-2.0.10.jar
jotm_jrmp_stubs-2.0.10.jar
jta-spec1_0_1.jar
The references also list the following, but I can't identify the
corresponding Fedora lib jars (if there are any):
jts1_0.jar
objectweb-datasource.jar
xapool.jar
howl.jar
commons-cli-1.0.jar
The references above also say that jdbc driver jars should also be moved to
$CATALINA_HOME/common/lib, but I'm not sure which jar files these are.
Doing the above seems to solve the problem.
However this does result in the following message when Orbeon Forms is
starting up:
INFO: No protocols were defined for property 'carol.protocols', trying
with default protocol = 'jrmp'.
Should there also be a carol.properties file somewhere? (maybe under
$CATALINA_HOME/common/classes?)
Regards
Steve
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers