Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-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 C9E9E9A13 for ; Fri, 23 Mar 2012 05:00:44 +0000 (UTC) Received: (qmail 16496 invoked by uid 500); 23 Mar 2012 05:00:44 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 16425 invoked by uid 500); 23 Mar 2012 05:00:44 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 16407 invoked by uid 99); 23 Mar 2012 05:00:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2012 05:00:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2012 05:00:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 88044341229 for ; Fri, 23 Mar 2012 05:00:22 +0000 (UTC) Date: Fri, 23 Mar 2012 05:00:22 +0000 (UTC) From: "Stuart Douglas (Commented) (JIRA)" To: deltaspike-dev@incubator.apache.org Message-ID: <2080956808.6573.1332478822645.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <711371174.6564.1332478582610.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DELTASPIKE-128) JNDI lookup for config variables cannot use java:comp as the sole location MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DELTASPIKE-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236326#comment-13236326 ] Stuart Douglas commented on DELTASPIKE-128: ------------------------------------------- The reason why java:comp is not available is because in a multi-war ear there are multiple java:comp name spaces available (and in an ear without a war there are none), so relying on java:comp being present is non-portable. > JNDI lookup for config variables cannot use java:comp as the sole location > -------------------------------------------------------------------------- > > Key: DELTASPIKE-128 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-128 > Project: DeltaSpike > Issue Type: Bug > Components: Core > Affects Versions: 0.1-incubating > Environment: JBoss AS 7.1.1 possibly other web profile or full profile servers > Reporter: Jason Porter > Assignee: Gerhard Petracek > > java:comp/env is not available to CDI Extensions in JBoss AS 7.1. I propose we also look under java:global/deltaspike if java:comp/env/deltaspike fails. That would be the next place that would really make sense and an administrator could reliably set without changing a deployment descriptor. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira