5 Replies Latest reply on Sep 13, 2007 11:59 AM by peterj

    JBoss5 JMXConnectorServer

    an4253

      Hello,

      I get the following trace snippet when I start JBoss AS5 with JDK1.6 or 1.5.11.

      09:35:05,618 ERROR [AbstractKernelController] Error installing to Start: name=jboss.remoting:protocol=rmi,service=JMXConnectorServer state=C
      reate mode=Manual requiredState=Installed
      java.net.MalformedURLException: Bad URL path: _XXX/jndi/rmi://NA_XXX:1090/jmxconnector
      at javax.management.remote.JMXServiceURL.validate(JMXServiceURL.java:348)
      at javax.management.remote.JMXServiceURL.(JMXServiceURL.java:208)
      at org.jboss.mx.remoting.service.JMXConnectorServerService.start(JMXConnectorServerService.java:106)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
      at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
      at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
      at org.jboss.system.ServiceController.start(ServiceController.java:431)
      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
      at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
      at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
      at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
      at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
      at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
      at org.jboss.Main.boot(Main.java:210)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:595)
      09:35:05,774 INFO [RARDeployment] Required license terms exist, view .../deploy/mail-ra.rar!/META-INF/ra.xml
      09:35:05,899 INFO [MailService] Mail Service bound to java:/Mail

      What can I do?

      Thanks Anna

        • 1. Re: JBoss5 JMXConnectorServer
          peterj

          Which JBoss AS 5? Beta2? Or did you download and build from SVN?

          The URL should have been something like this:

          service:jmx:rmi://NA_XXX/jndi/rmi://NA_XXX/jmxconnector

          at least, that is what I get when I run beta2. (Thought it uses my host name instead of yours.)

          • 2. Re: JBoss5 JMXConnectorServer
            an4253

            I try Beta 1 and Beta 2 (with JDK 1.5) and get always the exception.

            I don't know how the URL should look. I only know that the second has a NA_XXX but not the first. It's no error during copying.

            • 3. Re: JBoss5 JMXConnectorServer
              peterj

              Which operating system are you running? It runs for me on Windows XP and Fedora Core 6. If you are using Linux, what is in your /etc/hosts file?

              • 4. Re: JBoss5 JMXConnectorServer
                an4253

                Thank you for your interest PeterJ.

                The problem is I don't do anything strange. I download the zip. Unpack the zip and execute run.bat. The operation system is Windows XP. I did the same with AS4.2.x and it works without any errors or warnings.

                • 5. Re: JBoss5 JMXConnectorServer
                  peterj

                  A couple of thoughts.

                  1) Try downloading it again, and verify the download with md5. I have successfully downloaded it to various machines, and run it without encountering this issue. (Thinking about this some more, if the download was bad, Windows would probably complain about a zipfile error, so this has a low probability of success.)

                  2) Try it on another PC. If it works there, you need to figure out what is the difference between your PC and that PC.

                  That gives me an idea. Do you have listdlls? If not download it from http://www.microsoft.com/technet/sysinternals/utilities/listdlls.mspx, then run the app server, and then at another command prompt enter:

                  listdlls java

                  Post the output, perhaps there is a stray DLL causing the problem.

                  Oh, by the way, do you have any JAR files in the JVMs endorsed directory? If you are not sure, install another version of the JDK, set JAVA_HOME to it, and try again. If that works, then an endorsed JAR is messing you up.