From users-return-2329-archive-asf-public=cust-asf.ponee.io@deltaspike.apache.org Wed Apr 15 19:42:20 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5DAE318065C for ; Wed, 15 Apr 2020 21:42:20 +0200 (CEST) Received: (qmail 27369 invoked by uid 500); 15 Apr 2020 19:42:19 -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 27357 invoked by uid 99); 15 Apr 2020 19:42:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2020 19:42:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D2813C03A8 for ; Wed, 15 Apr 2020 19:42:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id pI0D1s372cxa for ; Wed, 15 Apr 2020 19:42:15 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::542; helo=mail-ed1-x542.google.com; envelope-from=lightguard.jp@gmail.com; receiver= Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id A9B9F7F7A8 for ; Wed, 15 Apr 2020 19:35:15 +0000 (UTC) Received: by mail-ed1-x542.google.com with SMTP id p6so6524740edu.10 for ; Wed, 15 Apr 2020 12:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ViLg8Ih7poBM1qoVrZP9bZLREboIC7B29XgmXjM2dFw=; b=s67WUVkIpGt31xoOfedyDUWaApbAe1uPmR61jm0tNAsL1t+b/i4/X6qeDe9g3xxw/+ Tne4dTfqtSI1yZWittEEoNBWljppn/ANn04rM+42yizECjG02vSxk8hoYyoqqFbxYAbf zbdzwIwSNZcdNgQxWBzyctcZSCTmI50yGBvXlEjLNHE0wTkDdMUu4nItjPNX/VSFEq46 8nnQ4iCYYczP8f1rKUQ+yFFewp+YllOby1SCXnqb8ZtppsXW9Ry1n+bGKQz/GR7siw7y YnQI0WpVSzhXinGHYGU2TZ+hs/XjzbXNsucqk7V+mpNI51fYXbiJgr5cAKHPSQEA2nTl 0zkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ViLg8Ih7poBM1qoVrZP9bZLREboIC7B29XgmXjM2dFw=; b=TKXFStV3XRRF18DUsHWkrTHiBgGuT5+jIcCSyG/GfUp5AAzQxgfBM/VpDuzFa/C9Fp QWqx4Vh9t597k1qkiGZuzXFjICCr4ntegZTHJr/nmAfySdZ5B9oJm1MRpX3Xr3RWcJQc tFK9qItjAMI046obXVSRk1f4Oc72b6H860+9Brc+hMKfjiKEGQpAPhNcmW6Chj2jQOBB KWsKFuCKRxaNE5MlSqNfqbykGcZglW+bL1cjSC8nEIEUVugfX0jm4kmHLmziprrhYUC7 8qsgfoF351nNqoYj6x4/hOB7vJ9ZuMnx0OBQIboOMlaJCGHAopF8UXN6fZjNuACBDf2S KUyQ== X-Gm-Message-State: AGi0Puby9L+PuRej3f+eQWeOooQnZnMj9+IFFkAfxTzVknB1GOfRNglv TNMDGPewRjmZoZzIeacUUmwSFAZp1VqDliAswcojjVh8 X-Google-Smtp-Source: APiQypLK/3wnG170rAhzsmkGOAltZbGy4aLRHYwS4ozpmTrFN6oLaKuMDhQhE1qQoMQghHNSmJIUVCYUjCHGaY510Pw= X-Received: by 2002:a17:906:f106:: with SMTP id gv6mr6735603ejb.271.1586979314634; Wed, 15 Apr 2020 12:35:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jason Porter Date: Wed, 15 Apr 2020 13:35:03 -0600 Message-ID: Subject: Re: Quarkus + Deltaspike To: users@deltaspike.apache.org Content-Type: multipart/alternative; boundary="0000000000005095af05a3596a13" --0000000000005095af05a3596a13 Content-Type: text/plain; charset="UTF-8" Thomas is correct. This would be a pretty big effort to get DeltaSpike Quarkus compatible. Is there something you're looking for out of DeltaSpike in your Quarkus project? On Wed, Apr 15, 2020 at 12:57 PM Thomas Andraschko < andraschko.thomas@gmail.com> wrote: > Hi, > > that wont work! > Quarkus isn't a CDI implementation (it just uses many API parts), so i > general we would need to re-development party of DS in a Quarkus extension. > E.g. Quarkus doesn't support the CDI Extensions mechanism, where DS takes a > heavy use of it. > > If you would like to create a such a extensions, i can give you some hints. > But i think the effort isn't low to port all modules. > > Best regards, > Thomas > > < > https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail > > > Virenfrei. > www.avast.com > < > https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail > > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > Am Mi., 15. Apr. 2020 um 20:34 Uhr schrieb Shultz, Dmitry < > Dmitry_Shultz@kaltire.com>: > > > Hi All, > > > > I'm trying to use Deltaspike (1.9.3) in the fresh Quarkus project and > > getting this exception: > > > > java.lang.RuntimeException: io.quarkus.builder.BuildException: Build > > failure: Build failed due to errors > > [error]: Build step > > io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an exception: > > java.lang.IllegalStateException: Bean defined via class > > > org.apache.deltaspike.jpa.impl.transaction.EnvironmentAwareTransactionStrategy > > is declared as an @Alternative, but has no @Priority. Either declare a > > @Priority or leverage @io.quarkus.arc.AlernativePriority annotation. > > at > > io.quarkus.arc.processor.Beans.createClassBean(Beans.java:125) > > at > > > io.quarkus.arc.processor.BeanDeployment.findBeans(BeanDeployment.java:743) > > at > > > io.quarkus.arc.processor.BeanDeployment.registerBeans(BeanDeployment.java:206) > > at > > > io.quarkus.arc.processor.BeanProcessor.registerBeans(BeanProcessor.java:122) > > at > > > io.quarkus.arc.deployment.ArcProcessor.registerBeans(ArcProcessor.java:262) > > at > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > at > > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > > > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at > > java.base/java.lang.reflect.Method.invoke(Method.java:564) > > at > > io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:938) > > at > > io.quarkus.builder.BuildContext.run(BuildContext.java:273) > > at > > > org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) > > at > > > org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2027) > > at > > > org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1551) > > at > > > org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1442) > > at java.base/java.lang.Thread.run(Thread.java:832) > > at > org.jboss.threads.JBossThread.run(JBossThread.java:479) > > > > > > How to fix? > > > > In general, is Deltaspike supposed to be used with Quarkus? > > > > Cheers, > > Dmitry > > > -- Jason Porter http://en.gravatar.com/lightguardjp --0000000000005095af05a3596a13--