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] [Updated] (KARAF-2600) Failed to get the session when running clinet.bat to connect karaf instance
Date Fri, 20 Dec 2013 06:51:10 GMT

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

Jean-Baptiste Onofré updated KARAF-2600:
----------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   3.0.1

> Failed to get the session when running clinet.bat to connect karaf instance
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-2600
>                 URL: https://issues.apache.org/jira/browse/KARAF-2600
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>         Environment: windows
>            Reporter: ChengRen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.1
>
>
> After building the latest source code, when I execute the karaf.bat under assemblies\apache-karaf\target\assembly\bin
to get a karaf instance, everything is ok. But,
> 1) when I run client.bat to connect the karaf instance, I get this output from console
: "Failed to get the session."
> 2) when I run shell.bat, I get this output:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/osgi/util/tracker/ServiceTracker
>         at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.createSecuredCommandProcessor(ConsoleImpl.java:227)
>         at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:181)
>         at org.apache.karaf.shell.console.impl.Main.run(Main.java:214)
>         at org.apache.karaf.shell.console.impl.Main.run(Main.java:158)
>         at org.apache.karaf.shell.console.impl.Main.run(Main.java:73)
>         at org.apache.karaf.shell.console.impl.Main.main(Main.java:54)
> Caused by: java.lang.ClassNotFoundException: org.osgi.util.tracker.ServiceTracker
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>         ... 6 more



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message