karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Work started] (KARAF-3747) jndi:alias prefix a name with a /
Date Mon, 01 Jun 2015 18:59:17 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Work on KARAF-3747 started by Jean-Baptiste Onofré.
---------------------------------------------------
> jndi:alias prefix a name with a /
> ---------------------------------
>
>                 Key: KARAF-3747
>                 URL: https://issues.apache.org/jira/browse/KARAF-3747
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-jndi
>    Affects Versions: 3.0.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.4, 2.3.12, 4.0.0.M3, 2.4.3
>
>
> When manually adding a jndi:alias, it seems to want to add a forward slash at the beginning
even though I didn't specify that.
> {code}
> jndi:alias osgi:service/jndi/foo java:com/env/jdbc/foo
> {code}
> results in /java:com/env/jdbc/foo.
> It seems to be related to this change: http://grepcode.com/file_/repo1.maven.org/maven2/org.apache.karaf.jndi/org.apache.karaf.jndi.core/3.0.3/org/apache/karaf/jndi/internal/JndiServiceImpl.java/?v=diff&id2=3.0.0
> Actually, it should check if a trailing / is required or not. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message