Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 5979 invoked from network); 27 Feb 2010 10:04:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Feb 2010 10:04:35 -0000 Received: (qmail 77654 invoked by uid 500); 27 Feb 2010 10:04:35 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 77620 invoked by uid 500); 27 Feb 2010 10:04:35 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 77604 invoked by uid 99); 27 Feb 2010 10:04:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 10:04:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 10:04:26 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 349F6234C4BB for ; Sat, 27 Feb 2010 10:04:06 +0000 (UTC) Message-ID: <773181384.10081267265046214.JavaMail.jira@brutus.apache.org> Date: Sat, 27 Feb 2010 10:04:06 +0000 (UTC) From: "Valentin Mahrwald (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Assigned: (ARIES-204) blueprint-cm property placeholder parser bug In-Reply-To: <700055821.540891267142187936.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARIES-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Valentin Mahrwald reassigned ARIES-204: --------------------------------------- Assignee: Valentin Mahrwald > blueprint-cm property placeholder parser bug > -------------------------------------------- > > Key: ARIES-204 > URL: https://issues.apache.org/jira/browse/ARIES-204 > Project: Aries > Issue Type: Bug > Components: Blueprint > Affects Versions: 1.0 > Environment: Mac OS , Servicemix 4.2 > Reporter: Marcel Casado > Assignee: Valentin Mahrwald > > I'm using servicemix 4.2 that uses the geronimo blueprint implementation (http://geronimo.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0) . I have a blueprint xml config file that use "blueprint-cm" to read a properties file and pass them to the beans. It seem there is a bug with parsing the properties placehodler. > For example the property placeholder > ${ldap.server.host}:${ldap.server.port} is parsed as > "ldap.server.host}:${ldap.server.port" one property instead of two > differnet properties. > Exception in servicemix (fuse) 4.2 > 16:29:53,402 | DEBUG | pool-2-thread-1 | > PropertyPlaceholder | lueprint.ext.PropertyPlaceholder 138 > | Property ldap.server.host}:${ldap.server.port not found > Complete blueprint file : > xmlns:jaas="http://felix.apache.org/karaf/xmlns/jaas/v1.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:cm="http://geronimo.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0" > xmlns:ext="http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" > > > > class="org.apache.felix.karaf.jaas.modules.properties.PropertiesConverter" > /> > > > > > > > value="DEFINED_IN_nnew_security.cfg"/> > > value="localhost"/> > > > > > > > value="DEFINED_IN_nnew_security.cfg"/> > > value="nnew"/> > > > value="DEFINED_IN_nnew_security.cfg"/> > > > > value="DEFINED_IN_nnew_security.cfg"/> > > value="nnew"/> > > value="DEFINED_IN_nnew_security.cfg"/> > > value="DEFINED_IN_nnew_security.cfg"/> > > > > > > className="edu.ucar.ral.security.jaas.login.LDAPLoginModule" > flags="required"> > > > debug=false > initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory > connectionURL=ldap://${ldap.server.host}:${ldap.server.port} > connectionUsername=${ldap.connectionUsername} > connectionPassword=${ldap.connectionPassword} > connectionProtocol=s > authentication=simple > userBase=${ldap.constraint.userBase} > userSearchMatching=${ldap.filter.userSearchMatching} > userRoleName=${ldap.filter.userRoleName} > userSearchSubtree=${ldap.constraint.userSearchSubtree} > roleBase=${ldap.constraint.roleBase} > roleName=${ldap.filter.roleName} > roleSearchMatching=${ldap.filter.roleSearchMatching} > roleSearchSubtree=${ldap.constraint.roleSearchSubtree} > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.