It's all about the answers!

Ask a question

Can we configure RTC public URI containing an _ (underscore)


Shradha Srivastav (348413) | asked Apr 22 '15, 6:23 a.m.

I found the below technote and defect, that says the hostname used for configuring public URI should not contain underscore (_)

http://www-01.ibm.com/support/docview.wss?uid=swg21474026

https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/99196

Is it fixed still an issue of fixed in RTC 5.0.2

One answer



permanent link
Ralph Schoon (63.4k33646) | answered Apr 22 '15, 7:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
 Please read https://rsjazz.wordpress.com/2013/12/02/beware-of-the-underscore/ carefully. Underscore is not a legal character for a host name.

Comments
Shradha Srivastav commented May 05 '15, 3:08 a.m.

Thanks Ralph.

As per the wiki link in your blog (http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names), it says "While a hostname may not contain other characters, such as the underscore character (_), other DNS names may contain the underscore"

My CLM URI is "https://XXXX.xyz_01.com:9443" but when I am trying to login in to the setup I am not able to login. On checking the logs I found below in Systemout.log and jts.log

+++++++++++
E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[equinoxbridgeservlet]: java.lang.RuntimeException: Failed to generate URI from incoming request data

Caused by: java.net.URISyntaxException: Illegal character in hostname at index 29: "https://XXXX.xyz_01.com:9443"
+++++++++++

Is the above issue because of underscore in URL? Is there any workaround as we cann't change the domain name itself.


Ralph Schoon commented May 05 '15, 3:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The problem seems to be that the Java.net code chokes on the underscore. So as far as I can tell, the underscore is not tolerated by this Java version.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.