Also bear in mind that this worked with AS 4.x, so bearing in mind that
Java is Turing-complete, logically there must be some way of working
around this ;)
Dimitris Andreadis wrote:
Ok, let's hear from Ron.
Tim Fox wrote:
>
>
> Dimitris Andreadis wrote:
>> Am I missing the point, or this is JDK code being executed
>> (javax.management...). How escaping the hostname could help?
>
> AFAICT the string is just a JMX service name, it doesn't *have to*
> contain the actual hostname AFAICT:
>
> String serviceURL = "service:jmx:rmi://" + bindAddress +
> "/jndi/rmi://" + bindAddress + ":" + registryPort + jndiPath;
>
> So should be to escape it before passing it to the JDK code.
>
> Maybe someone from the remoting team should comment, since this is
> remoting code...
>
>>
>> java.net.MalformedURLException: Bad URL path:
>> _laptop/jndi/rmi://tims_laptop:1090/jmxconnector
>> at
>> javax.management.remote.JMXServiceURL.validate(JMXServiceURL.java:348)
>> at
>> javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:208)
>> at
>>
org.jboss.mx.remoting.service.JMXConnectorServerService.start(JMXConnectorServerService.java:106)
>>
>>
>> This looks like a non-issue to me. Better change your hostname :)
>>
>> Tim Fox wrote:
>>> I'm not familiar with that code, but I'm assuming that whoever is
>>> generating the URLs should be able to escape any occurences of '_'
>>> pretty easily....
>>>
>>>
>>> Dimitris Andreadis wrote:
>>>> So, is this a JDK problem, or not?
>>>>
>>>> _______________________________________________
>>>> jboss-development mailing list
>>>> jboss-development(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/jboss-development
>>>
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/jboss-development
>
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development