Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0FD64200C2C for ; Fri, 3 Mar 2017 14:53:17 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0E78F160B6D; Fri, 3 Mar 2017 13:53:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5DA58160B57 for ; Fri, 3 Mar 2017 14:53:16 +0100 (CET) Received: (qmail 72012 invoked by uid 500); 3 Mar 2017 13:53:15 -0000 Mailing-List: contact users-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@deltaspike.apache.org Delivered-To: mailing list users@deltaspike.apache.org Received: (qmail 72000 invoked by uid 99); 3 Mar 2017 13:53:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2017 13:53:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7D2E21A00FB for ; Fri, 3 Mar 2017 13:53:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id YhunpFupTip4 for ; Fri, 3 Mar 2017 13:53:13 +0000 (UTC) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C9CC95FB1E for ; Fri, 3 Mar 2017 13:53:12 +0000 (UTC) Received: by mail-qk0-f178.google.com with SMTP id n127so176299808qkf.0 for ; Fri, 03 Mar 2017 05:53:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=VLx7J1Ke/WAQr3gseilKRWs5PTQg6BlIZuBFDrpK/pE=; b=ITJhFwCa8XOH/57qdrOYuyb+4ya13RtJeIbAO0O1WqYQMV4A9iV0/NnYIdg0rTNZzu ICi9IQB7yxL7DfD+EaeTLXziMu3XWbN0yEh5z68/mbardPEEtrVUqGBUX8aiV9aRCAFx VNbPHkomYRSQ5fGZwggpx3lfvzFwwL+yDSLPMykwGfo4XnhWZ8nRr/UEhWbYfnYKCrtq aMjBAMh5xy/lRaR7YnxRAQurgcJOe8jBv5JaZUO9qMuNrixUdeiL3eK4AAN5i+vu3SBO t97ZilSO5Fz+3xDWTuR7jeRfHkka7sF4XZpMiVpWQ34M67IW9bL3//g0FPnTAdq/Ey9n 9+7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=VLx7J1Ke/WAQr3gseilKRWs5PTQg6BlIZuBFDrpK/pE=; b=H/xwR2UWOV9yZMioDV0nQqaDv2xNrhjzrs1k2Q3oLmwnhNnMI2DWgNodhph4PKEwyV dXi1Rk0ADBm2RCne+FIHwmAvrsM5FJCNbvl9kNPF/iAGbH1LNsLAxsYmerMeLj2m9DEN vx7CKahJQeCFxI6VKI4IaS8PjDMFFYGiY7srIx4hOkcZ2gy18NfUF1ouadBWCSw8k0Ol 1ARE7HWNrAjREwYbINBU7D/cijM2U2j01LPPP3Tr5RaaKg1DWyS78Ul8hfGqqDP/4I5a 7GIIiISVGnolTCllJMlhy8d6fFZcpyFUQBf8zwtNI82No5K82b8haIVzcPPnXmyxItrJ yFvQ== X-Gm-Message-State: AMke39lKbqdVFIhAIuX1uQA1NPGn3BDPOR+k48Xbk4aa1G+eCjdi/KL5Z6GDgD+2tp9tFDwhM6WRjS88A1JjKg== X-Received: by 10.55.181.6 with SMTP id e6mr2507003qkf.298.1488549190173; Fri, 03 Mar 2017 05:53:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.52.251 with HTTP; Fri, 3 Mar 2017 05:53:09 -0800 (PST) In-Reply-To: References: From: =?UTF-8?Q?Ondrej_Mih=C3=A1lyi?= Date: Fri, 3 Mar 2017 14:53:09 +0100 Message-ID: Subject: Re: DeltaSpike Data - What application servers are supported? To: users@deltaspike.apache.org Content-Type: multipart/alternative; boundary=94eb2c065a00b611c90549d3dd8b archived-at: Fri, 03 Mar 2017 13:53:17 -0000 --94eb2c065a00b611c90549d3dd8b Content-Type: text/plain; charset=UTF-8 Hi John, It sounds to me that DeltaSpike could be improved to make a sophisticated guess to infer the default value of this configuration from the container it is running in. At least for WildFly and maybe some other containers where people report problems. Just an idea :) Ondrej 2017-03-03 12:05 GMT+01:00 John D. Ament : > Hi Konrad, > > What that's referring to is that you need to create a > META-INF/apache-deltaspike.properties and add the following line: > > globalAlternatives.org.apache.deltaspike.jpa.spi.transaction. > TransactionStrategy=org.apache.deltaspike.jpa.impl.transaction. > ContainerManagedTransactionStrategy > > I do something similar to you, and it works perfect. I'm using maven to > build a WAR file, so it just goes in > src/main/resources/META-INF/apache-deltaspike.properties > > John > > On Fri, Mar 3, 2017 at 3:38 AM Instantiation Exception < > instantiationexception@gmail.com> wrote: > > > Hi, > > > > In my company projects we use WildFly. In the past I tried few times to > use > > DeltaSpike Data, but it didn't work. I configured everything according to > > documentation. In pure CDI scenario it worked. But when I created > > @Dependent @Repository and injected it to @Stateless EJB I got some > > transaction errors when tried to call EJB methods. In documentation I see > > warning: > > > > Some containers do not support BeanManagedUserTransactionStrategy! As > JTA > > > has still some portability issues even in Java EE 7, it might be > required > > > that you implement your own TransactionStrategy. We will think about > > > providing an acceptable solution for this. > > > > > > Is it about WildFly? Is WildFly supported? > > > > Best regards, > > Konrad > > > --94eb2c065a00b611c90549d3dd8b--