Browser cannot find localhost:9448/jts
I used the installation manager to install JazzTeamServer using the default configuration.
Since the tomcat is not started by default, I edited the server.xml file to point to port that is available.
vi /opt/IBM/JazzTeamServer/server/tomcat/conf/server.xml
After I edited the xml files. I run the startup scrip
/opt/IBM/JazzTeamServer/server/./server.startup
When I run the startup script on redhat server i get this.
Using CATALINA_BASE: /opt/IBM/JazzTeamServer/server/tomcat
Using CATALINA_HOME: /opt/IBM/JazzTeamServer/server/tomcat
Using CATALINA_TMPDIR: /opt/IBM/JazzTeamServer/server/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.7.0-openjdk.x86_64
Using CLASSPATH: /opt/IBM/JazzTeamServer/server/tomcat/bin/bootstrap.jar:/opt/IBM/JazzTeamServer/server/tomcat/bin/tomcat-juli.jar
but it is not pointing to my url https://localhost:9448/jts/
can someone tell me how to fix this please
I did a fresh installation and that did not work. Help.
|
Accepted answer
The server.xml file has a number of ports that I generally change when I switch from the default port.
I search the server.xml for the word port and increase each one by the same value. So if you changed 9443 to 9448 just add 4 to the other ones. I think these are all of the default ports in the server.xml 9007 9080 9443 8009 9009 K-Andre Harris selected this answer as the correct answer
|
3 other answers
The default port is normally 9443. Are you sure you reconfigured everything to point to port 9448?
Comments
K-Andre Harris
commented Apr 30 '14, 3:37 p.m.
I copied the sever.xml to my local machine and did a find and replace using notepad++. I even changed the ports in the comment section. |
I uninstalled the server and went through the info center installation guide and now it is working. Thanks guys for your help. I really appreciate it. I am new to RTC.
It is pointing to my uri now.
https://localhost:9448/jts
Comments
sam detweiler
commented Apr 30 '14, 6:43 p.m.
can you tell us what was different this time (only to add info for others who might fall into the same trap)..
K-Andre Harris
commented May 01 '14, 7:05 a.m.
After installing the RTC server using the installation manager, I did not run the /opt/IBM/JazzTeamServer/server/ ./server.startup script.
I copied the server.xml file from:
/opt/IBM/JazzTeamServer/internal/server/tomcat/conf/
/opt/IBM/JazzTeamServer/tomcat/conf/
changed the ports needed in my case:
9080 to 9088 (9084 was in use by another application)
9443 to 9448
I used notepad++ to do a find and replace ( a lot easier and accurate)
Then I replaced the server.xml files with the modified ones.
Finally I started the server /opt/IBM/JazzTeamServer/server/ ./server.startup
Configured the settings, public uri, etc.
That was it.
So don't start the server before you change the ports :)
Thanks again. =)
sam detweiler
commented May 01 '14, 7:27 a.m.
thank you for posting that info
|
After installing the RTC server using the installation manager, I did not run the /opt/IBM/JazzTeamServer/server/ ./server.startup script.
I copied the server.xml file from:
/opt/IBM/JazzTeamServer/internal/server/tomcat/conf/
/opt/IBM/JazzTeamServer/tomcat/conf/
changed the ports needed in my case:
9080 to 9088 (9084 was in use by another application)
9443 to 9448
I used notepad++ to do a find and replace ( a lot easier and accurate)
Then I replaced the server.xml files with the modified ones.
Finally I started the server /opt/IBM/JazzTeamServer/server/ ./server.startup
https://localhost:9448/jts/setup
Configured the settings, public uri, etc.
That was it.
So don't start the server before you change the ports :)
Thanks again. =)
|
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.
Comments
I do this all the time and it never fails.. added 4.0.6 last week, and its running on 9143..
note that there are some sections of the server.xml that are commented out.
you also need to do this BEFORE you run setup.
look in server/tomcat/logs/catalina.out to see what port it is actually on
It says it is on port 9448. I never checked that before i ran the setup. could that cause the problem i am facing now?
I would change them back to 9443 and restart the server to see if 9443 works. I'm pretty sure u have the public uri set to port 9443.
Yes it brings up the tomcat homepage.
You have done server:port/jts/setup, right?