Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

After moving house RTC server having problems

 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.

1 vote



6 answers

Permanent link
 From 
java.net.URISyntaxException: Illegal character in hostname at index 8: https://(null):9443
	
I would say you have DNS issues.

0 votes

Comments

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

0 votes

Comments

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


Permanent link
did u hard code the IP address in your hosts file?

0 votes

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!



Permanent link
what happens if you use the IP address instead of the name?

0 votes

Comments

 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
what do you get when you nslookup or ping your name?  some config is different than before

0 votes

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:


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

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:


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.

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:


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. 

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,


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
        

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

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

0 votes

Comments

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 19 '12, 1:33 p.m.

Question was seen: 5,856 times

Last updated: Nov 23 '12, 8:15 p.m.

Confirmation Cancel Confirm