hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Davies <tomdav...@exemail.com.au>
Subject Trivial config gives horrible error
Date Mon, 08 Nov 2004 19:13:33 GMT
I've installed Hivemind 1.0 by adding the hivemind-1.0.jar to  
WEB-INF/lib, and adding this mapping:

<filter>
	  <filter-name>HiveMindFilter</filter-name>
	   
<filter-class>org.apache.hivemind.servlet.HiveMindFilter</filter-class>
	</filter>
	<filter-mapping>
	  <filter-name>HiveMindFilter</filter-name>
	  <servlet-name>daffy</servlet-name>
	</filter-mapping>

to my web.xml

When I start Jetty I get the error below. I expect it will go away when  
I add my own hivemodule.xml, but it is a bit confusing. I'm using  
JettyRunner under eclipse.

Tom

06:02:24.096 INFO   [main]  
org.apache.hivemind.servlet.HiveMindFilter.initializeRegistry(HiveMindFi 
lter.java:83) >09> Constructing HiveMind Registry.
06:02:24.307 ERROR! [main]  
org.apache.hivemind.impl.DefaultErrorHandler.error(DefaultErrorHandler.j 
ava:37) >30> Error at  
jar:file:/Users/tomd/Development/Workspace/daffy/context/WEB-INF/lib/ 
hivemind-1.0.jar!/META-INF/hivemodule.xml, line 70, column 25: Schema  
hivemind.Defaults conflicts with existing schema at  
jar:file:/Users/tomd/Development/Workspace/daffy/context/WEB-INF/lib/ 
hivemind-1.0.jar!/META-INF/hivemodule.xml, line 70, column 25.null
06:02:24.317 ERROR! [main]  
org.apache.hivemind.impl.DefaultErrorHandler.error(DefaultErrorHandler.j 
ava:37) >30> Error at  
jar:file:/Users/tomd/Development/Workspace/daffy/context/WEB-INF/lib/ 
hivemind-1.0.jar!/META-INF/hivemodule.xml, line 123, column 29: Schema  
hivemind.MethodFilter conflicts with existing schema at  
jar:file:/Users/tomd/Development/Workspace/daffy/context/WEB-INF/lib/ 
hivemind-1.0.jar!/META-INF/hivemodule.xml, line 123, column 29.null
06:02:24.354 ERROR! [main]  
org.apache.hivemind.impl.DefaultErrorHandler.error(DefaultErrorHandler.j 
ava:37) >15> Error: Module hivemind is duplicated!  Definition in  
jar:file:/Users/tomd/Development/Workspace/daffy/context/WEB-INF/lib/ 
hivemind-1.0.jar!/META-INF/hivemodule.xml has been ignored in favor of  
existing definition from  
jar:file:/Users/tomd/Development/Workspace/daffy/context/WEB-INF/lib/ 
hivemind-1.0.jar!/META-INF/hivemodule.xml.null
06:02:24.695 ERROR! [main]  
org.apache.hivemind.servlet.HiveMindFilter.initializeRegistry(HiveMindFi 
lter.java:96) >09>  
$InnerProxy_1001990c0a1_1.<init>($SingletonProxy_1001990bfde_0,  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel)
org.apache.hivemind.ApplicationRuntimeException:  
$InnerProxy_1001990c0a1_1.<init>($SingletonProxy_1001990bfde_0,  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel)
	at  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingle 
tonProxy(SingletonServiceModel.java:114)
	at  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(S 
ingletonServiceModel.java:58)
	at  
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.ja 
va:171)
	at  
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.ja 
va:184)
	at  
org.apache.hivemind.impl.RegistryImpl.getService(RegistryImpl.java:151)
	at org.apache.hivemind.impl.RegistryImpl.startup(RegistryImpl.java:321)
	at  
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuild 
er.java:417)
	at  
org.apache.hivemind.servlet.HiveMindFilter.constructRegistry(HiveMindFil 
ter.java:113)
	at  
org.apache.hivemind.servlet.HiveMindFilter.initializeRegistry(HiveMindFi 
lter.java:87)
	at  
org.apache.hivemind.servlet.HiveMindFilter.init(HiveMindFilter.java:75)
	at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:176)
	at  
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebAp 
plicationHandler.java:277)
	at  
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationCont 
ext.java:445)
	at org.mortbay.http.HttpServer.start(HttpServer.java:678)
	at  
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
	at  
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
	at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
Caused by: java.lang.NoSuchMethodException:  
$InnerProxy_1001990c0a1_1.<init>($SingletonProxy_1001990bfde_0,  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel)
	at java.lang.Class.getConstructor0(Class.java:1937)
	at java.lang.Class.getConstructor(Class.java:1027)
	at  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingle 
tonProxy(SingletonServiceModel.java:103)
	... 16 more
getRootCause():
java.lang.NoSuchMethodException:  
$InnerProxy_1001990c0a1_1.<init>($SingletonProxy_1001990bfde_0,  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel)
	at java.lang.Class.getConstructor0(Class.java:1937)
	at java.lang.Class.getConstructor(Class.java:1027)
	at  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingle 
tonProxy(SingletonServiceModel.java:103)
	at  
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(S 
ingletonServiceModel.java:58)
	at  
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.ja 
va:171)
	at  
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.ja 
va:184)
	at  
org.apache.hivemind.impl.RegistryImpl.getService(RegistryImpl.java:151)
	at org.apache.hivemind.impl.RegistryImpl.startup(RegistryImpl.java:321)
	at  
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuild 
er.java:417)
	at  
org.apache.hivemind.servlet.HiveMindFilter.constructRegistry(HiveMindFil 
ter.java:113)
	at  
org.apache.hivemind.servlet.HiveMindFilter.initializeRegistry(HiveMindFi 
lter.java:87)
	at  
org.apache.hivemind.servlet.HiveMindFilter.init(HiveMindFilter.java:75)
	at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:176)
	at  
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebAp 
plicationHandler.java:277)
	at  
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationCont 
ext.java:445)
	at org.mortbay.http.HttpServer.start(HttpServer.java:678)
	at  
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
	at  
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
	at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
--
tomdavies@exemail.com.au


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message