I wonder if Solr works with ActiveMQ. We successfully use Solr with newSearcher listener event utilizing Fioranno JMS and Tomcat 7.0.35. I try to update solrconfig.xml to use ActiveMQ to no avail. The followings are settings for Fioranno (OK) and ActiveMQ (Not OK): <listener event="newSearcher" class="listeners.MyNotifier"> <str name="java.naming.provider.url">http://<jms-server-ip>:<port></str> <str name="topic">MyTopicName</str> <str name="conn">0</str> <str name="java.naming.factory.initial">fiorano.jms.runtime.naming.FioranoInitialContextFactory</str> <str name="jmsTopicConnectionFactory">TopicConnectionFactory</str> <str name="java.naming.security.principal"></str> <str name="java.naming.security.credentials"></str> </listener>
ActiveMQ (Not OK): <listener event="newSearcher" class="listeners.MyNotifier"> <str name="topic">MyTopicName</str> <str name="conn">0</str> <str name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</str> <str name="jmsTopicConnectionFactory">TopicConnectionFactory</str> <str name="java.naming.security.principal"></str> <str name="java.naming.security.credentials"></str> </listener> URL to solrapp yielded error 500 unless I change solr.abortOnConfigurationError to false. Then http://<server-ip>:<port>/solrapp/solect got error listed below. ActiveMQ console never shows new topic MyTopicName. ERROR: http://<server-ip>:<port>/solrapp/select java.lang.NullPointerException at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:297) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:657) Thanks for any pointers. Regards. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-and-ActiveMQ-tp4158266.html Sent from the Solr - User mailing list archive at Nabble.com.