Turn up your debugging. It'll tell you when it's actually finding your module and adding it to the registry. If you don't see it in the debug statements, then it's not on the classpath. As Achim asked, where is your hivemodule.xml file? Are you putting it in WEB-INF or WEB-INF/classes/META-INF or inside a jar's META-INF directory? Those are the only locations that will be loaded automatically by HiveMind/Tapestry.
-----Original Message----- From: Robin Ericsson [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 4:06 PM To: [email protected] Subject: Classloading problems Hi, I'm trying to get Hivetranse running with a Tapestry project. Given that I'm new to both Tapestry and HiveMind I've run into some problem that seems to be related to classpath/loading. I've setup Eclipse together with WTP using this page: http://wiki.apache.org/jakarta-tapestry/HowToSetupEclipseWtp and I've have no problems with Tapestry alone. The problems started after I've tried to get Hivetranse running. The missing configuration point that it complains about is found in my applications hivemodule.xml. The exception I get when I run this through Tomcat (5.5.16) inside Eclipse is: org.apache.hivemind.ApplicationRuntimeException: Error at jar:file:/C:/xxx/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps /Tidrapport/WEB-INF/lib/hivetranse.core.jar!/META-INF/hivemodule.xml, line 20, column 59: Configuration point hivetranse.core.TransactionDefaults contains no contributions but expects exactly one contribution. location: jar:file:/C:/xxx/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps /Tidrapport/WEB-INF/lib/hivetranse.core.jar!/META-INF/hivemodule.xml, line 20, column 59 org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39 ) org.apache.hivemind.impl.RegistryInfrastructureConstructor.checkContribution Counts(RegistryInfrastructureConstructor.java:678) org.apache.hivemind.impl.RegistryInfrastructureConstructor.constructRegistry Infrastructure(RegistryInfrastructureConstructor.java:180) org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j ava:151) org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet. java:253) org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194) org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 05) However, running this through JBoss 4.0.3 it works as it should (No idea of Tomcat version shipped with JBoss) Any ideas where I should start to look for problems? regards, Robin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
