Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 66584 invoked from network); 18 Jun 2008 23:01:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2008 23:01:02 -0000 Received: (qmail 83876 invoked by uid 500); 18 Jun 2008 23:01:04 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 83420 invoked by uid 500); 18 Jun 2008 23:01:03 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 83409 invoked by uid 99); 18 Jun 2008 23:01:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 16:01:03 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.202.4.58] (HELO osl1smout1.broadpark.no) (80.202.4.58) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 23:00:10 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0K2O0008OL8R4OB0@osl1smout1.broadpark.no> for users@jackrabbit.apache.org; Thu, 19 Jun 2008 01:00:27 +0200 (CEST) Received: from Falcon ([80.202.102.24]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0K2O00IQRL8QX0E0@osl1sminn1.broadpark.no> for users@jackrabbit.apache.org; Thu, 19 Jun 2008 01:00:27 +0200 (CEST) From: Karianne Berg To: users@jackrabbit.apache.org References: <17986274.post@talk.nabble.com> In-reply-to: <17986274.post@talk.nabble.com> Subject: RE: spring-modules-jcr problem Date: Thu, 19 Jun 2008 01:00:25 +0200 Message-id: <007d01c8d197$187c8620$49759260$@no> X-Mailer: Microsoft Office Outlook 12.0 Thread-index: AcjRYY5Ufwf+FAkiRUm/vpt7806argANQKSA Content-language: no X-Virus-Checked: Checked by ClamAV on apache.org Hello Adam, I had the same problem as you have. In my experience, there is no help to get with the JCR-support in spring-modules from the mailing list or the spring framework forum. The documentation (manual and javadocs) gives no clues to this behaviour. I ended up using transactions because I eventually had to do so anyway, and it worked. Best regards, Karianne Berg -----Original Message----- From: AdamR [mailto:adam.ross@runbox.com] Sent: Wednesday, June 18, 2008 6:33 PM To: users@jackrabbit.apache.org Subject: spring-modules-jcr problem Hi there, I'm getting the following exception when I try to access my Jackrabbit repository via spring-modules 0.8: java.lang.IllegalStateException: No session bound to thread, and configuration does not allow creation of non-transactional one here org.springmodules.jcr.SessionFactoryUtils.doGetSession(SessionFactoryUtils.java:74) I do not wish to use transactions for now, so I'm passing true into getSession() within my DAO. My bean config is as follows: Any thoughts? Thanks in advance. Adam -- View this message in context: http://www.nabble.com/spring-modules-jcr-problem-tp17986274p17986274.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.