Return-Path: X-Original-To: apmail-openejb-users-archive@www.apache.org Delivered-To: apmail-openejb-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 556F3D332 for ; Sun, 12 Aug 2012 11:56:41 +0000 (UTC) Received: (qmail 64059 invoked by uid 500); 12 Aug 2012 11:56:41 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 63762 invoked by uid 500); 12 Aug 2012 11:56:38 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 63730 invoked by uid 99); 12 Aug 2012 11:56:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2012 11:56:36 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2012 11:56:31 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T0Wm9-0001m3-1X for users@openejb.apache.org; Sun, 12 Aug 2012 04:56:09 -0700 Date: Sun, 12 Aug 2012 04:56:09 -0700 (PDT) From: Morten Steffensen To: users@openejb.apache.org Message-ID: <1344772569039-4656812.post@n4.nabble.com> In-Reply-To: References: <1342627701049-4656379.post@n4.nabble.com> <1342634220882-4656384.post@n4.nabble.com> <1342636866466-4656388.post@n4.nabble.com> <1342645459069-4656391.post@n4.nabble.com> <1344556667837-4656770.post@n4.nabble.com> Subject: Re: Spring/EJB integration on TomEE - @Resource problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Romain, Oh my mistake - you are right it also works for me. I was too fast, and put a breakpoint with Intellij in the springInCdi() test method. Then when inspecting the cdi.bean() the prop is null. I assume this is because the springbean is a proxy. As soon as i read the getProp() i actually get the expected value. Ok great. Now i have to figure out how get the transactiontional context from EJB/CDI to spring... -- View this message in context: http://openejb.979440.n4.nabble.com/Spring-EJB-integration-on-TomEE-Resource-problem-tp4656379p4656812.html Sent from the OpenEJB User mailing list archive at Nabble.com.