karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Markevich (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3662) Unable to start on Windows
Date Tue, 14 Apr 2015 13:10:13 GMT
Alexey Markevich created KARAF-3662:
---------------------------------------

             Summary: Unable to start on Windows
                 Key: KARAF-3662
                 URL: https://issues.apache.org/jira/browse/KARAF-3662
             Project: Karaf
          Issue Type: Bug
          Components: karaf-core
    Affects Versions: 4.0.0
            Reporter: Alexey Markevich


{noformat}
d:\apache-karaf-4.0.0-SNAPSHOT\bin>karaf.bat
javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.apache.karaf.management.boot.KarafMBean
ServerBuilder: 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.KarafM
BeanServerBuilder
{noformat}

cause:
for %%G in (karaf*.jar) do call:APPEND_TO_CLASSPATH %%G
fix:
for %%G in (*.jar) do call:APPEND_TO_CLASSPATH %%G




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

Mime
View raw message