Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 94170 invoked from network); 22 Jan 2008 15:03:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2008 15:03:46 -0000 Received: (qmail 60461 invoked by uid 500); 22 Jan 2008 15:03:36 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 60132 invoked by uid 500); 22 Jan 2008 15:03:35 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 60123 invoked by uid 99); 22 Jan 2008 15:03:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 07:03:35 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 15:03:09 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JHKeh-0007Es-Om for users@activemq.apache.org; Tue, 22 Jan 2008 07:03:15 -0800 Message-ID: <15020394.post@talk.nabble.com> Date: Tue, 22 Jan 2008 07:03:15 -0800 (PST) From: activemqnewbie To: users@activemq.apache.org Subject: Activemq.xml configuration settings directory In-Reply-To: <14957812.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: acquaj29@yahoo.co.in References: <14957812.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org We are getting NullpointerException and the consumer shuts off. Consumer after receiving certain number of messages consumer automatically closes throwing a null pointer exception. Activemq 5 Oracle10g Below is the stack trace. <2008/01/22 09:52:56.470><23459640><> ExceptionListener receives a JMS exception <2008/01/22 09:52:56.470><23459640><> Unregistering Message Listener... <2008/01/22 09:52:56.470><23459640><> Notifying/signaling a waiting thread... <2008/01/22 09:52:56.470><20688146><> Waiting thread awaken <2008/01/22 09:52:56.470><20688146><> closing subscriber... <2008/01/22 09:52:56.470><20688146><> subscriber closed <2008/01/22 09:52:56.470><20688146><> closing session... <2008/01/22 09:52:56.470><20688146><> session closed <2008/01/22 09:52:56.470><20688146><> closing topic connection... <2008/01/22 09:52:56.470><20688146><> Exception in close() <2008/01/22 09:52:56.470><20688146><> closing topic connection... <2008/01/22 09:52:56.470><20688146><> Exception in close() <2008/01/22 09:52:56.470><20688146><> Unable to connect to the JMS Server <2008/01/22 09:52:56.470><23459640><> ExceptionListener receives a JMS exception <2008/01/22 09:52:56.470><20688146><> Error in MessageConsumer.start: Unable to connect to the JMS Server <2008/01/22 09:52:56.470><20688146><> closing topic connection... <2008/01/22 09:52:56.470><20688146><> Exception in close() <2008/01/22 09:52:56.470><23459640><> Unregistering Message Listener... <2008/01/22 09:52:56.470><20688146><> Error in main: Unable to connect to the JMS Server <2008/01/22 09:52:56.470><20688146><> StackTrace: <2008/01/22 09:52:56.470><20688146><> Error Code: -1 k12.util.SystemException: Unable to connect to the JMS Server at ss.integration.util.MessageConsumer.startConnection(MessageConsumer.java:368) at ss.integration.util.MessageConsumer.start(MessageConsumer.java:124) at ss.integration.agent.sams.SInputStarter.start(SInputStarter.java:113) at ss.integration.agent.sams.SInputStarter.main(SInputStarter.java:45) <2008/01/22 09:52:56.470><23459640><> java.lang.NullPointerException at ss.integration.util.MessageConsumer.unregisterListener(MessageConsumer.java:205) at ss.integration.util.MessageConsumer.notifyWaitingThread(MessageConsumer.java:159) at ss.integration.util.ExListener.onException(ExListener.java:26) at org.apache.activemq.ActiveMQConnection$3.run(ActiveMQConnection.java:1648) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) <2008/01/22 09:52:56.470><23459640><> Notifying/signaling a waiting thread... Thanks for the help, Vij -- View this message in context: http://www.nabble.com/Activemq.xml-configuration-settings-directory-tp14957812s2354p15020394.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.