Steve, The first reference you listed states the following:
Note: In Tomcat 5.5.x, you can include all required JARs in WEB-INF/lib. With this configuration carol.properties goes in WEB-INF/classes. For an example WAR, see http://static.raibledesigns.com/downloads/dbtest.war. I took that to mean it's ok for Fedora to deploy the various jotm libs to WEB-INF/lib. Evidently, however, your experience indicates otherwise. Are you using the Tomcat that is bundled w/ Fedora or something else? Also, what version of Orbeon Forms are you using? Are the jotm libs included in Orbeon Forms webapp's WEB-INF/lib? I'd like to avoid having the installer drop stuff into common/lib if at all possible, so I'm hoping to lay the blame for this misbehavior elsewhere ;) Eddie On 20/02/09 16:54, Steve Bayliss is rumored to have said: > 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 ------------------------------------------------------------------------------ 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
