You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2014/04/08 22:18:21 UTC

[jira] [Commented] (SM-2279) The jndi feature can not be installed

    [ https://issues.apache.org/jira/browse/SM-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963390#comment-13963390 ] 

Krzysztof Sobkowiak commented on SM-2279:
-----------------------------------------

I have removed following lines from etc/startup.properties and the jndi feature could be installed

{code}
org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar=10
org/apache/karaf/features/org.apache.karaf.features.obr/2.3.4/org.apache.karaf.features.obr-2.3.4.jar=30
{code}

These lines are added by maven-antrun-plugin
{code}
                    <execution>
                        <id>enable-obr</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target name="enable-obr">
                                <echo message="Updating etc/startup.properties in assembly" />
                                <concat destfile="target/dependencies/unix/apache-karaf-${karaf.version}/etc/startup.properties" append="true">
                                    <string value="${line.separator}" />
                                    <fileset file="target/classes/startup-obr.properties" />
                                </concat>
                            </target>
                        </configuration>
                    </execution>
{code}
Do we really need this? 

> The jndi feature can not be installed
> -------------------------------------
>
>                 Key: SM-2279
>                 URL: https://issues.apache.org/jira/browse/SM-2279
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: assemblies
>    Affects Versions: 5.0.0
>            Reporter: Krzysztof Sobkowiak
>             Fix For: 5.0.1, 5.1.0, 6.0.0
>
>
> Installation of the jndi feature ends with following error
> {code}
> karaf@root> features:install jndi
> Error executing command: Can not resolve feature:
> Unsatisfied requirement(s):
> ---------------------------
>    service:(service=org.apache.aries.proxy.ProxyManager)
>       Apache Karaf :: JNDI :: Core 
> {code}
> Cfr: http://servicemix.396122.n5.nabble.com/Feature-Install-Errors-in-SMX-5-0-0-td5719921.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)