Description
after removing the jgroups-configuration within cayenne-modeler, the cayenne.xml is not properly reset:
<property name="javagroupsbridge.config.url" value="/usr/local/tomcat5/conf/tcp.xml"/>
here is the stacktrace:
org.objectstyle.cayenne.CayenneRuntimeException: [v.1.2.2 January 18 2007] Error initializing DataRowStore.
at org.objectstyle.cayenne.access.DataRowStore.startListeners(DataRowStore.java:767)
at org.objectstyle.cayenne.access.DataRowStore.initWithProperties(DataRowStore.java:246)
at org.objectstyle.cayenne.access.DataRowStore.<init>(DataRowStore.java:169)
at org.objectstyle.cayenne.access.DataDomain.getSharedSnapshotCache(DataDomain.java:426)
at org.objectstyle.cayenne.access.DataDomain.createDataContext(DataDomain.java:590)
at org.objectstyle.cayenne.access.DataDomain.createDataContext(DataDomain.java:576)
at org.objectstyle.cayenne.access.DataContext.createDataContext(DataContext.java:242)
at de.freenet.pos.TDSLRecherche.configuration.ConfigHelper.fetchProfiles(ConfigHelper.java:52)
at de.freenet.pos.TDSLRecherche.tests.ConfigTest.testProfile(ConfigTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.jgroups.ChannelException: unable to setup the protocol stack
at org.jgroups.JChannel.init(JChannel.java:1273)
at org.jgroups.JChannel.<init>(JChannel.java:265)
at org.jgroups.JChannel.<init>(JChannel.java:248)
at org.objectstyle.cayenne.event.JavaGroupsBridge.startupExternal(JavaGroupsBridge.java:157)
at org.objectstyle.cayenne.event.EventBridge.startup(EventBridge.java:311)
at org.objectstyle.cayenne.event.EventBridge.startup(EventBridge.java:256)
at org.objectstyle.cayenne.event.EventBridge.startup(EventBridge.java:241)
at org.objectstyle.cayenne.access.DataRowStore.startListeners(DataRowStore.java:762)
... 24 more
Caused by: java.lang.Exception: unable to load class for protocol /usr/local/tomcat5/conf/tcp.xml (either as an absolute - /usr/local/tomcat5/conf/tcp.xml - or relative - org.jgroups.protocols./usr/local/tomcat5/conf/tcp.xml - package name)!
at org.jgroups.stack.Configurator$ProtocolConfiguration.createLayer(Configurator.java:586)
at org.jgroups.stack.Configurator$ProtocolConfiguration.access$000(Configurator.java:502)
at org.jgroups.stack.Configurator.createProtocols(Configurator.java:283)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:56)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:177)
at org.jgroups.JChannel.init(JChannel.java:1270)
... 31 more