Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5436210622 for ; Wed, 9 Apr 2014 01:20:41 +0000 (UTC) Received: (qmail 13123 invoked by uid 500); 9 Apr 2014 01:20:40 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 13077 invoked by uid 500); 9 Apr 2014 01:20:40 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 13065 invoked by uid 99); 9 Apr 2014 01:20:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2014 01:20:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of aklimets@adobe.com) Received: from [207.46.163.189] (HELO na01-bn1-obe.outbound.protection.outlook.com) (207.46.163.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2014 01:20:33 +0000 Received: from BY2PR02MB363.namprd02.prod.outlook.com (10.141.140.148) by BY2PR02MB363.namprd02.prod.outlook.com (10.141.140.148) with Microsoft SMTP Server (TLS) id 15.0.913.9; Wed, 9 Apr 2014 01:20:09 +0000 Received: from BY2PR02MB363.namprd02.prod.outlook.com ([10.141.140.148]) by BY2PR02MB363.namprd02.prod.outlook.com ([10.141.140.148]) with mapi id 15.00.0913.002; Wed, 9 Apr 2014 01:20:09 +0000 From: Alexander Klimetschek To: "oak-dev@jackrabbit.apache.org" Subject: Session concurrency warning Thread-Topic: Session concurrency warning Thread-Index: AQHPU5HYg/AUA71z9UuGFiT4v8opAQ== Date: Wed, 9 Apr 2014 01:20:09 +0000 Message-ID: <3A28B3DA-288E-48F2-87C9-BC8C06251B0F@adobe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.1874) x-originating-ip: [192.150.10.203] x-forefront-prvs: 01762B0D64 x-forefront-antispam-report: SFV:NSPM;SFS:(10019001)(6009001)(428001)(189002)(199002)(85852003)(83072002)(97336001)(87936001)(85306002)(87286001)(2656002)(83716003)(86362001)(93516002)(94946001)(93916002)(92726001)(76482001)(98676001)(81342001)(99396002)(88136002)(57306001)(74876001)(46102001)(62966002)(94316002)(92566001)(47446003)(69226001)(56776002)(95666003)(47736002)(54316003)(47976003)(74366001)(87266001)(95416001)(97186001)(49866001)(4396001)(66066001)(80022001)(90146001)(50226001)(93136001)(36756003)(74502001)(74662001)(31966008)(77982001)(76176001)(77156001)(76786001)(83322001)(82746002)(33656001)(81686001)(79102001)(89996001)(81542001)(74706001)(20776003)(53806002)(19580395003)(81816001)(80976001)(50986002)(56816006)(63696004)(76796001)(65816002)(59766002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR02MB363;H:BY2PR02MB363.namprd02.prod.outlook.com;FPR:C005D9AE.3E35579A.17D1B37D.8ED9ED78.20168;MLV:sfv;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (: adobe.com does not designate permitted sender hosts) Content-Type: text/plain; charset="us-ascii" Content-ID: <877EBC008DA9594190BEB23767A58BD4@namprd02.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: adobe.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, if I get this warning below, does "another thread is concurrently writing" = mean that the other threads is using session WRITE methods? Or could it happen just because a session was shared between two threads, o= ne only READing from the session, the other writing. *WARN* org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate Attempt to pe= rform Adding node [....] while another thread is concurrently writing to se= ssion-3831. Blocking until the other thread is finished using this session.= Please review your code to avoid concurrent use of a session. java.lang.Exception: Stack trace of concurrent access to session-3831 at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionD= elegate.java:269) at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:11= 3) at org.apache.jackrabbit.oak.jcr.session.NodeImpl.addNode(NodeImpl.java:25= 3) Cheers, Alex=