-
-
Notifications
You must be signed in to change notification settings - Fork 8
FAQ
dizzzz edited this page Nov 11, 2014
·
22 revisions
org.exist.EXistException: org.exist.collections.triggers.DocumentTriggerProxies.add(Lorg/exist/collections/triggers/AbstractTriggerProxy;)V
at org.exist.storage.BrokerPool.initialize(BrokerPool.java:1065)
at org.exist.storage.BrokerPool.<init>(BrokerPool.java:722)
at org.exist.storage.BrokerPool.configure(BrokerPool.java:248)
at org.exist.storage.BrokerPool.configure(BrokerPool.java:224)
at org.exist.jetty.JettyStart.run(JettyStart.java:163)
at org.exist.jetty.JettyStart.main(JettyStart.java:71)
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:597)
at org.exist.start.Main.invokeMain(Main.java:126)
at org.exist.start.Main.run(Main.java:448)
at org.exist.start.Main.main(Main.java:50)
Caused by: java.lang.NoSuchMethodError: org.exist.collections.triggers.DocumentTriggerProxies.add(Lorg/exist/collections/triggers/AbstractTriggerProxy;)V
at org.exist.storage.BrokerPool.initialiseTriggersForCollections(BrokerPool.java:1175)
at org.exist.storage.BrokerPool.initialize(BrokerPool.java:981)
... 12 more
Answer: The internal Trigger interface (API) has been changed during development of eXist-db 2.2. Please update the extension-code to at least commit 15fe9259a8
The producer/master mainly logs on debug level unless something bad or unexpected happens. Update log4j.xml with the following lines:
<category name="org.exist.replication" additivity="false">
<priority value="debug"/>
<appender-ref ref="console"/>
<!-- <appender-ref ref="exist.core"/> -->
</category>
With the v0.9.0 pre-release the java-packages have been updated making them more logical and consistent. It makes the code better maintainable. Apologies for any inconvenience.
Replication:
<trigger class="org.exist.jms.replication.publish.ReplicationTrigger">
<trigger class="org.exist.jms.replication.subscribe.StartupTrigger">
import module namespace replication="http://exist-db.org/xquery/replication"
at "java:org.exist.jms.xquery.ReplicationModule";
Messaging:
import module namespace messaging="http://exist-db.org/xquery/messaging"
at "java:org.exist.jms.xquery.MessagingModule";
JMS receiver management:
import module namespace jms="http://exist-db.org/xquery/jms"
at "java:org.exist.jms.xquery.JmsModule";