It's all about the answers!

Ask a question

After moving house RTC server having problems


Andy Armstrong (1126) | asked Nov 19 '12, 1:33 p.m.
edited Nov 19 '12, 2:43 p.m.
 I was running an RTC server and build engine on a box in my home with ccm. Everything worked fine.

Then I moved home - today I have started up the same box on my new connection in my new location and when going to :

https://thinkbigapps.dyndns.tv:9443/ccm I am getting :


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.


I also get the same error when going to /jts/admin.

The rtc works on the local machine its running on i,e going https://thinkbigapps.dyndns.tv:9443/ccm.....comes back with the correct webpage and services.

Please offer any ideas on stuff I can change or try to fix this.

6 answers



permanent link
Alex Fitzpatrick (5583816) | answered Nov 19 '12, 1:59 p.m.
JAZZ DEVELOPER
 From 
java.net.URISyntaxException: Illegal character in hostname at index 8: https://(null):9443
	
I would say you have DNS issues.


Comments
Andy Armstrong commented Nov 19 '12, 2:41 p.m.

 I see, well the thing is - the rtc works on the local machine its running on...so what you are suggesting seems right, but how do I configure this correctly?!


permanent link
sam detweiler (12.5k6195201) | answered Nov 19 '12, 2:33 p.m.
edited Nov 19 '12, 2:38 p.m.
did your router fix your dyndns.org address?

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
Andy Armstrong commented Nov 19 '12, 2:42 p.m.

Yes - and I am using the same router type and broadband service as before... 


permanent link
sam detweiler (12.5k6195201) | answered Nov 19 '12, 3:04 p.m.
did u hard code the IP address in your hosts file?

Comments
Andy Armstrong commented Nov 19 '12, 3:08 p.m.

 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...


Andy Armstrong commented Nov 19 '12, 3:12 p.m.

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. 


Andy Armstrong commented Nov 19 '12, 3:30 p.m.

 ok - no difference!



permanent link
sam detweiler (12.5k6195201) | answered Nov 19 '12, 5:26 p.m.
what happens if you use the IP address instead of the name?

Comments
Andy Armstrong commented Nov 19 '12, 5:31 p.m.

 the same issues when using 192.168.0.5, but its odd when ot works perfectly when on the local machine using 127.0.0.1


permanent link
sam detweiler (12.5k6195201) | answered Nov 19 '12, 5:48 p.m.
what do you get when you nslookup or ping your name?  some config is different than before

Comments
Andy Armstrong commented Nov 19 '12, 5:55 p.m.

 well its gettin thru to tomcat to throw those errors, so ping works. i think its a server side issue, just not sure what!


sam detweiler commented Nov 19 '12, 6:00 p.m.

yes, I can see your tomcat page.

have u reset the server?

https://server:port/ccm/admin/requestReset


Andy Armstrong commented Nov 20 '12, 12:23 p.m.

I have visited that page - to no avail...:( 


Andy Armstrong commented Nov 20 '12, 3:46 p.m.

 nslookup reports:


C:\Users\Andy>nslookup
Default Server:  SkyRouter.Home
Address:  192.168.0.1

> thinkbigapps.dyndns.tv
Server:  SkyRouter.Home
Address:  192.168.0.1

Non-authoritative answer:
Name:    thinkbigapps.dyndns.tv
Address:  2.218.141.240


sam detweiler commented Nov 20 '12, 4:45 p.m.

an after running the requestreset, you need to cycle the server


Andy Armstrong commented Nov 20 '12, 5:41 p.m.

Ahh right, ok, ill try that now

 


Andy Armstrong commented Nov 20 '12, 5:52 p.m.

No difference, same issues...!  :'( 


sam detweiler commented Nov 20 '12, 6:11 p.m.

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?


Andy Armstrong commented Nov 20 '12, 6:23 p.m.

 Yes, and i get the same problems that you see connecting from a WAN. I.e from my desktop i go:


https://192.168.0.5:9443/ccm i get the exact same error.
Router config very little has changed. Admittedly I have a new router but I setup in the same way. I have 192.168.0.5 in the dmz, and thats pretty much all i would ever need.


sam detweiler commented Nov 21 '12, 8:01 a.m. | edited Nov 21 '12, 8:02 a.m.

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.


Andy Armstrong commented Nov 21 '12, 9:46 a.m.

Ok so:


I removed 192.168.0.5 from DMZ - ip of server
Added 2 new firewall rules :

1/outbound -> 192.168.0.5 : 9443:9443 to any address
2/inbound -> any address on 9443 to 192.168.0.5

No luck. 


sam detweiler commented Nov 21 '12, 11:35 a.m.

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...


Andy Armstrong commented Nov 21 '12, 12:16 p.m.

 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!!??!?!?!??!



sam detweiler commented Nov 21 '12, 12:39 p.m.

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


Andy Armstrong commented Nov 21 '12, 1:27 p.m.

 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 -_-


Andy Armstrong commented Nov 22 '12, 5:37 a.m. | edited Nov 22 '12, 6:31 a.m.

 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,


So this suggests its network

root cause

java.net.URISyntaxException: Illegal character in hostname at index 8: https://(null):9443
    java.net.URI$Parser.fail(URI.java:281
        


Andy Armstrong commented Nov 23 '12, 6:56 a.m.

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.


Do I need to do a reset of tomcat or somehow refresh it!? 


sam detweiler commented Nov 23 '12, 8:15 p.m.

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..

showing 5 of 18 show 13 more comments

permanent link
sam detweiler (12.5k6195201) | answered Nov 19 '12, 5:56 p.m.
also, can u look at the server name in the config when accessing locally?

mine shows ok from this URL https://wxyz.dyndns.org:xxxx/ccm/admin

Application Status
Database Status Connected
Uptime 5 hours, 26 minutes
Public URI https://wxyz.dyndns.org:xxxx/ccm
Diagnostics
OK OK


Comments
Andy Armstrong commented Nov 20 '12, 12:26 p.m.

Ok mine looks fine: it shows:


Status Summary

Application Status
Database Status Connected
Uptime 21 hours, 10 minutes
Public URI https://thinkbigapps.dyndns.tv:9443/ccm
Diagnostics
OK
VM Memory Usage
Maximum Memory Allocation 1170 MB
Current Memory Allocation 1170 MB
Free Memory 72 %

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.