java.net.MalformedURLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Glassfish 4 won't deploy project
    via by 38025b39-2556-41ce-b904-e8cd6fd5df36,
  • 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.
    via by Tom Mueller,
  • Configure WLS for BI Publisher 11g
    via by 661894,
    • java.net.MalformedURLException: Bad URL path: _PC.btbdom01:8686/jndi/rmi://SIEMONEIT_PC.btbdom01:8686/jmxrmi at javax.management.remote.JMXServiceURL.validate(JMXServiceURL.java:348) at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:208) 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)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,