Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 83979 invoked from network); 24 Mar 2009 14:39:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 14:39:19 -0000 Received: (qmail 73444 invoked by uid 500); 24 Mar 2009 14:39:18 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 73370 invoked by uid 500); 24 Mar 2009 14:39:18 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 73360 invoked by uid 99); 24 Mar 2009 14:39:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 14:39:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kottmann@gmail.com designates 74.125.78.144 as permitted sender) Received: from [74.125.78.144] (HELO ey-out-1920.google.com) (74.125.78.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 14:39:09 +0000 Received: by ey-out-1920.google.com with SMTP id 5so396837eyb.54 for ; Tue, 24 Mar 2009 07:38:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=QMdQZc5YRtAJ8oO8axwylEwCMqvDGSHcbXGjh9E6Vu4=; b=OhfeFPX8bVoUmb+vF608uEEimsoLLtrqMVJZeozNOm9AxKCYhd/EGT7ktNvvtLT40N I8YGyu+7Xs8yPeevHt+NJ+Ab7/C2+zGfa/DjjOWepEp8SkmE/ucNpwCaaccHmv6AKQgq +1jW/uX4Ht5xQCcUX0m22T/1EagZqjov45nIs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=WjUazVYT1uG1s+/FOAOb5uvubRkLxh6xJy+4Qn6TALM1YZcxqdU2zuNgyQWAFGegtZ xhTPF7nHbgzwCnKeR5G1PQ+YeE3cPj87L4EYDsoeIOvCJcB2Cf/RjoE3FeNeckTEStrs 7eoS98F+jhdKiLAvER0gvEXm1WgR9lUnOiDZM= Received: by 10.216.21.206 with SMTP id r56mr2798092wer.110.1237905529108; Tue, 24 Mar 2009 07:38:49 -0700 (PDT) Received: from ?192.168.1.118? (g80211.upc-g.chello.nl [80.57.80.211]) by mx.google.com with ESMTPS id 7sm7721014eyg.57.2009.03.24.07.38.47 (version=SSLv3 cipher=RC4-MD5); Tue, 24 Mar 2009 07:38:48 -0700 (PDT) Message-ID: <49C8F075.70007@gmail.com> Date: Tue, 24 Mar 2009 15:38:45 +0100 From: =?ISO-8859-1?Q?J=F6rn_Kottmann?= User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: uima-user@incubator.apache.org Subject: javax.jms.JMSException: acknowledgeMode SESSION_TRANSACTED cannot be used for an non-transacted Session Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I wrote a small Apache Camel UIMA AS driver component to send a URI to my processing pipeline. It then uses the URI to retrieve the actual CAS from a hbase database and after processing is done the CAS is written back to hbase, like it is described in the getting started. I first created a small sample which worked fine for me, but now always this exception is thrown: javax.jms.JMSException: acknowledgeMode SESSION_TRANSACTED cannot be used for an non-transacted Session at org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:300) at org.apache.uima.adapter.jms.client.ActiveMQMessageSender.initializeProducer(ActiveMQMessageSender.java:61) at org.apache.uima.adapter.jms.client.BaseMessageSender.run(BaseMessageSender.java:141) at java.lang.Thread.run(Thread.java:619) In my eyes the cause for the exception is this call in ActiveMQMessageSender line 61: session = connection.createSession(false, 0); We try to create a transcated session (thats what 0 stands for) and set transacted to false, which is invalid usage of the API, right ? The same call can be found in the trunk version of that class. I really wonder why it worked first for me, but breaks now. J�rn