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] [Assigned] (KARAF-3249) Error: "usage: dirname path" when Karaf is located under path with spaces
Date Fri, 26 Sep 2014 14:16:33 GMT

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

Jean-Baptiste Onofré reassigned KARAF-3249:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Error: "usage: dirname path" when Karaf is located under path with spaces
> -------------------------------------------------------------------------
>
>                 Key: KARAF-3249
>                 URL: https://issues.apache.org/jira/browse/KARAF-3249
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>         Environment: OS X
>            Reporter: Stuart McCulloch
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.2
>
>
> Unpack apache-karaf-minimal 3.0.1 under a path with spaces.
> Change directory to {{apache-karaf-minimal-3.0.1/bin}}
> Run {{./status}} and you should see the following output:
> {code}
> usage: dirname path
> javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.apache.karaf.management.boot.KarafMBeanServerBuilder:
java.lang.ClassNotFoundException: org.apache.karaf.management.boot.KarafMBeanServerBuilder
>         at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:503)
>         at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:539)
>         at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
>         at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:231)
>         at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:192)
>         at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:466)
>         at sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:519)
>         at sun.management.Agent.startLocalManagementAgent(Agent.java:144)
>         at sun.management.Agent.startAgent(Agent.java:264)
>         at sun.management.Agent.startAgent(Agent.java:456)
> Caused by: java.lang.ClassNotFoundException: org.apache.karaf.management.boot.KarafMBeanServerBuilder
>         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)
>         at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:446)
>         at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:488)
>         ... 9 more
> Exception thrown by the agent : javax.management.JMRuntimeException: Failed to load MBeanServerBuilder
class org.apache.karaf.management.boot.KarafMBeanServerBuilder: java.lang.ClassNotFoundException:
org.apache.karaf.management.boot.KarafMBeanServerBuilder
> {code}



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

Mime
View raw message