2 Replies Latest reply on Jan 16, 2015 10:25 AM by Gopinath Ponnivalavan

    MalformedUrlException: no protocol while migrating from jboss4 to jboss6 on xmbean.xml

    Gopinath Ponnivalavan Newbie

      Here is my xmbean.xml from my sar/META-INF file. I am getting MalformedUrlException: no protocol error while deploying in jboss6. I saw in previous forum, that this error occurs for missing http protocol. But I am still getting the error? Can someone help. Is this migration issue to Jboss6


      It looks like I am facing exactly similar issue mentioned in this forum _https://developer.jboss.org/thread/62750?start=0&tstart=0


      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
        
      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
      <mbean>
        
      <description>Management Utils MBEAN</description>
        
      <class>......


      17:37:41,442 ERROR [AbstractKernelController] Error installing to Instantiated: name=:service=ManagementUtilsService state=Described mode=Manual requiredState=Configured: java.net.MalformedURLException: no protocol: META-INF/ManagementUtils-xmbean.xml
        at java
      .net.URL.<init>(URL.java:585) [:1.7.0_25]
        at java
      .net.URL.<init>(URL.java:482) [:1.7.0_25]
        at java
      .net.URL.<init>(URL.java:431) [:1.7.0_25]
        at org
      .jboss.system.ServiceCreator.installExternalXMBean(ServiceCreator.java:308) [:6.1.0.Final (Build SVNTag:JBoss_6.1.0.Final date: 20110816)]
        at org
      .jboss.system.ServiceCreator.install(ServiceCreator.java:140) [:6.1.0.Final (Build SVNTag:JBoss_6.1.0.Final date: 20110816)]
        at org
      .jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:73) [:2.2.0.SP2]
        at org
      .jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:46) [:2.2.0.SP2]
        at org
      .jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2]
        at org
      .jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.SP2]
        at org
      .jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.SP2]
        at org
      .jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
        at org
      .jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.SP2]
        at org
      .jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
        at org
      .jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
        at org
      .jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2]
        at org
      .jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]