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

Jean-Baptiste Onofré commented on KARAF-6153:
---------------------------------------------

It's not related to Windows, the problem happens on Unix as well. It's due to a 
missing substitution in a config file:

{code}
SEVERE: Could not launch framework
java.lang.RuntimeException: Could not resolve 
mvn:org.apache.felix/org.apache.felix.framework/@@felix.framework.version@@
  at 
org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59)
  at org.apache.karaf.main.Main.createClassLoader(Main.java:487)
  at org.apache.karaf.main.Main.launch(Main.java:254)
  at org.apache.karaf.main.Main.main(Main.java:178)
{code}

I'm fixing this and adding a test to detect such issue in the future.

> Instance fails to start
> -----------------------
>
>                 Key: KARAF-6153
>                 URL: https://issues.apache.org/jira/browse/KARAF-6153
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.3
>            Reporter: Akhil
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.3.0, 4.2.4
>
>         Attachments: karaf.log
>
>
> Karaf creates a new instance but the instance does not start.
>  
> karaf@root()> instance:create test
> karaf@root()> instance:list
> SSH Port | SSH Host | RMI Registry | RMI Registry Host | RMI Server | RMI 
> Server Host | State | PID | Name
> ---------+----------+--------------+-------------------+------------+-----------------+---------+-------+-----
>  8101 | 0.0.0.0 | 1099 | 127.0.0.1 | 44444 | 127.0.0.1 | Started | 28644 | 
> root
>  8102 | 0.0.0.0 | 1100 | 127.0.0.1 | 44445 | 127.0.0.1 | Stopped | 0 | test
> karaf@root()> instance:start test
> karaf@root()> instance:list
> SSH Port | SSH Host | RMI Registry | RMI Registry Host | RMI Server | RMI 
> Server Host | State | PID | Name
> ---------+----------+--------------+-------------------+------------+-----------------+---------+-------+-----
>  8101 | 0.0.0.0 | 1099 | 127.0.0.1 | 44444 | 127.0.0.1 | Started | 28644 | 
> root
>  8102 | 0.0.0.0 | 1100 | 127.0.0.1 | 44445 | 127.0.0.1 | Stopped | 0 | test
> karaf@root()>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to