java.net.MalformedURLException: Bad URL path: _PC.btbdom01:8686/jndi/rmi://SIEMONEIT_PC.btbdom01:8686/jmxrmi

Oracle Community | MaxMuster | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bug?? Unable start freshly installed Glassfish from NetbeansIDE: "Cannot start JMX connector"

    Oracle Community | 6 years ago | MaxMuster
    java.net.MalformedURLException: Bad URL path: _PC.btbdom01:8686/jndi/rmi://SIEMONEIT_PC.btbdom01:8686/jmxrmi
  2. 0

    How to access GlassFish's web service testing facility

    Coderanch | 6 years ago | Kumar Sonu
    java.net.MalformedURLException: Bad URL path: _krv:8686/jndi/rmi://deepak_krv:8686/jmxrmi
  3. 0

    GlassFish não sobe! 'Cannot start JMX connector JmxConnector'

    com.br | 1 year ago
    java.net.MalformedURLException: Service URL contains non-ASCII character 0xe9
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Glassfish 4 won't deploy project

    Oracle Community | 2 years ago | 38025b39-2556-41ce-b904-e8cd6fd5df36
    java.net.MalformedURLException: Bad URL path: _W_921V_1_36_000:8686/jndi/rmi://Sunshine.Speedport_W_921V_1_36_000:8686/jmxrmi
  6. 0

    The RMIConnectorStarter class, if given a literal IPv6 address, constructs an invalid URL in the start method at lines 276-286. When literal IPv6 addresses are used in URLs, they need to be enclosed in square brackets ([]). See RFC 2732 for details (http://www.ietf.org/rfc/rfc2732.txt). However, this code doesn't take that into account. This causes the following exception if a literal address is used in the address field for the JMX service: [#|2011-02-09T16:27:12.701-0800|WARNING|oracle-glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=71;_ThreadName=Thread-1;|Cannot start JMX connector: JmxConnector config: { name = system, Protocol = rmi_jrmp, Address = fe80::21b:24ff:fe5c:2e59, Port = 8686, AcceptAll = false, AuthRealmName = admin-realm, SecurityEnabled = false}: java.net.MalformedURLException: Bad port number: "": java.lang.NumberFormatException: For input string: ""|#] [#|2011-02-09T16:27:12.702-0800|SEVERE|oracle-glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=71;_ThreadName=Thread-1;|java.net.MalformedURLException: Bad port number: "": java.lang.NumberFormatException: For input string: "" at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:193) at org.glassfish.admin.mbeanserver.RMIConnectorStarter.start(RMIConnectorStarter.java:288) at org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.startConnector(JMXStartupService.java:243) at org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.run(JMXStartupService.java:283) |#] This problem was originally reported in issue GLASSFISH-15924. Workarounds for this issue include: - use square brackets in the domain.xml, i.e, address="[fe80::216:3eff:fe3e:4c35]" - use a DNS name that points to an IPv6 address instead Tagging this as 3_1-exclude because there are workarounds and this is not a release stopper.

    Java.net JIRA | 6 years ago | Tom Mueller
    java.net.MalformedURLException: Bad port number: "": java.lang.NumberFormatException: For input string: ""

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.MalformedURLException

      Bad URL path: _PC.btbdom01:8686/jndi/rmi://SIEMONEIT_PC.btbdom01:8686/jmxrmi

      at javax.management.remote.JMXServiceURL.validate()
    2. Java RT
      JMXServiceURL.<init>
      1. javax.management.remote.JMXServiceURL.validate(JMXServiceURL.java:348)
      2. javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:208)
      2 frames
    3. MBeanServer
      JMXStartupService$JMXConnectorsStarterThread.run
      1. org.glassfish.admin.mbeanserver.RMIConnectorStarter.start(RMIConnectorStarter.java:288)
      2. org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.startConnector(JMXStartupService.java:243)
      3. org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.run(JMXStartupService.java:283)
      3 frames