It's all about the answers!

Ask a question

Browser cannot find localhost:9448/jts


K-Andre Harris (812) | asked Apr 30 '14, 2:37 p.m.
edited Apr 30 '14, 2:38 p.m.
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.

Comments
sam detweiler commented Apr 30 '14, 2:41 p.m.

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


K-Andre Harris commented Apr 30 '14, 3:36 p.m.

 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?


sam detweiler commented Apr 30 '14, 3:50 p.m.

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.


Also, does https://localhost:9448 bring up the tomcat homepage?
What does server/logs/jts.log say? Or ccm.log?


K-Andre Harris commented Apr 30 '14, 4:10 p.m.

Yes it brings up the tomcat homepage.

for the server/logs/jts.log
"2014-04-30 15:05:16,480 [Component Resolve Thread (Bundle 88)]  INFO nternal.OverridablePropertyFileServerConfiguration  - CRJAZ1363I Loading the configuration from "file:/opt/IBM/JazzTeamServer/server/conf/jts/teamserver.properties"."
 


sam detweiler commented Apr 30 '14, 4:18 p.m.

You have done server:port/jts/setup, right? 

This has to be  done after install before u can talk to the jazz components. Install just puts the files in place

Accepted answer


permanent link
Karl Weinert (2.0k52736) | answered Apr 30 '14, 4:47 p.m.
JAZZ DEVELOPER
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



permanent link
Alan Sampson (93749) | answered Apr 30 '14, 3:06 p.m.
JAZZ DEVELOPER
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.


permanent link
K-Andre Harris (812) | answered Apr 30 '14, 4:55 p.m.
 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


permanent link
K-Andre Harris (812) | answered 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
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


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.