After moving house RTC server having problems
I also get the same error when going to /jts/admin.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.RuntimeException: Failed to generate URI from incoming request data com.ibm.team.repository.servlet.AbstractTeamServerServlet.getRepoURL(AbstractTeamServerServlet.java:1212) com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1648) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126) org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:133) com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:154)
root cause
java.net.URISyntaxException: Illegal character in hostname at index 8: https://(null):9443 java.net.URI$Parser.fail(URI.java:2810) java.net.URI$Parser.parseHostname(URI.java:3349) java.net.URI$Parser.parseServer(URI.java:3198) java.net.URI$Parser.parseAuthority(URI.java:3117) java.net.URI$Parser.parseHierarchical(URI.java:3059) java.net.URI$Parser.parse(URI.java:3015) java.net.URI.<init>(URI.java:662) com.ibm.team.repository.servlet.AbstractTeamServerServlet.getRepoURL(AbstractTeamServerServlet.java:1207) com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1648) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126) org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:133) com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:154)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.
6 answers
java.net.URISyntaxException: Illegal character in hostname at index 8: https://(null):9443
mine has a configuration for my dyndns.org address
and for my ISP, I had to ask for a fixed IP address as they don't allow inbound requests on the dynamic IP systems
Comments
Hmm possibly..The server is mac osx and there mightve been some odd setups issues like that - will check I think you are onto something...
I had an entry : 127.0.0.1 thinkbigapps.dyndns.tv so I think If i restart the server after all these issues and updating my router with the dyndns details it may work.
ok - no difference!
Comments
well its gettin thru to tomcat to throw those errors, so ping works. i think its a server side issue, just not sure what!
yes, I can see your tomcat page.
have u reset the server?
https://server:port/ccm/admin/requestReset
I have visited that page - to no avail...:(
nslookup reports:
an after running the requestreset, you need to cycle the server
Ahh right, ok, ill try that now
No difference, same issues...! :'(
man you got tricky one..
all works on the local machine
tomcat works on the remote port
ccm can't be accessed.
do you have a second machine inside home to access the server from?
no router config changes, right?
Yes, and i get the same problems that you see connecting from a WAN. I.e from my desktop i go:
just for grins, what happens if you move this out of the DMZ, and use port mapping?
maybe the router is mangling the uri
I map an external port 1234 to my internal port 1234
(I normally use different values, but because RTC exposes the full public URI by default on subsequent requests I need to use the same values)
localhost works cause it doesn't go thru the router.
Ok so:
ok, well, more fun..
if u install a second instance (for test) on the same machine, does it fail the same way? this will be a new tomcat, etc...
I really wanted to avoid that, because a ton of projects which are needed on the existing setup! This is ridiculous what is causing the problem!!??!?!?!??!
I wasn't suggesting you REPLACE the existing server, just install a second one to test the connectivity.. It might help you zero in on the config issue. (which is what I think it is)..
if the new server fails, then its NOT the server setup.. but something about the router probably. on my prior router config suggestion I wanted to know if the now NOT dmz server works from inside your house
On the not DMZ setup it acts exactly the same inside the house. I will need to spend quite a bit of time fiddling to get another server setup as I need to install on linux, then port across to mac in order to continue -_-
Right I started another server up and go to /jts/setup from localhost is fine, from any other host in my house i get the same old errors,
root cause
java.net.URISyntaxException: Illegal character in hostname at index 8: https://(null):9443 java.net.URI$Parser.fail(URI.java:281
I wonder if it has anything to do with https?? Do you think it generated something off my old IP address?? Why is it saying https://(NULL):9443 - why is it unable to get access to that piece of data.
sorry, I have no clue.. I have taken my laptop with RTC server installed to different locations and have been able to access it remotely without doing anything using its IP address..
mine shows ok from this URL https://wxyz.dyndns.org:xxxx/ccm/admin
Database Status | Connected |
Uptime | 5 hours, 26 minutes |
Public URI | https://wxyz.dyndns.org:xxxx/ccm |
Diagnostics |