Hi, I am using T4/HiveMind/Spring in Tomcat without any problems. The only difference I see between yours and mine is that I have all my jar files under WEB-INF/lib.
-- Serge Richard Clark wrote: > Here's a puzzler for you all: > > I'm using the Tapestry-4 Spring integration from the Wiki (http:// > wiki.apache.org/jakarta-tapestry/Tapestry4Spring) using the > individual files instead of the pre-packaged JAR. This all works > beautifully when running under Jetty. But when I deploy it under > Tomcat, I get an error: > > org.apache.hivemind.ApplicationRuntimeException > Unable to construct service hivemind.lib.SpringObjectProvider: Error > building service hivemind.lib.SpringObjectProvider: Error at > jar:file:/usr/local/jakarta-tomcat5.5/shared/lib/hivemind- > lib-1.1.jar!/META-INF/hivemodule.xml, line 138, column 89: Unable to > update property beanFactory of object > [EMAIL PROTECTED]: argument > type mismatch > location: > jar:file:/usr/local/jakarta-tomcat5.5/shared/lib/hivemind- > lib-1.1.jar!/META-INF/hivemodule.xml, line 136, column 21 > 132 > > 133 > > 134 > Provides the "spring:" prefix, which looks up Spring beans in a > Spring BeanFactory. > 135 > > ***136**** This line is highlighted **** > > 137 > > 138 > > 139 > > 140 > > > > > > I knocked together a little debugging page and got identical results > under Jetty and Tomcat: > - global-property:hivemind.lib.spring-bean-factory is > service:DefaultSpringBeanFactory > - service:hivemind.lib.DefaultSpringBeanFactory is > > So, why would this work in one container (Jetty) and not another > (Tomcat 5.5)? > > ...Richard > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -------------------- m2f -------------------- Sent from www.TapestryForums.com Read this topic online here: <<topic_link>> http://www.tapestryforums.com/viewtopic.php?p=11956#11956 -------------------- m2f --------------------
