You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/04/15 08:01:58 UTC
[jira] [Resolved] (KARAF-3662) Unable to start on Windows
[ https://issues.apache.org/jira/browse/KARAF-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved KARAF-3662.
------------------------------------
Resolution: Fixed
Fix Version/s: 4.0.0
Assignee: Guillaume Nodet
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=fb520ff12e0000519d6620b5a91ff9b960005de9
> 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
> Assignee: Guillaume Nodet
> Fix For: 4.0.0
>
>
> {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)