It's all about the answers!

Ask a question

Unable to access web setup page; connection refused.


Benjamin Stickney (10223) | asked Apr 18 '13, 2:44 p.m.

I just used the Rational Requirements Composer 64bit installer on a Windows 7sp1 Test Machine, to install the Jazz team server with Required Base Keys, along with CCM, QM, and RM applications (appears to be version 3.0.1)

I’ve worked through several issues but have finally got Tomcat to launch.  (Server startup in 22855ms)  I’ve not ever used the application before and am attempting to follow the next step to access the setup web page so I can set the initial settings.  But, I’m unable to access any of the setup web pages…

                https://localhost:9443/jts/setup

                https://127.0.0.1:9443/jts/setup

                https://localhost:9443/jazz/setup

                etc…  I can’t even access localhost:8080…

I get an error Internet Explorer was unable to display the page for all of them.

I’ve checked and have SSL and TLS protocols enabled, Firewall is disabled, Popup Blocker Disabled

 

Server Startup:::

Apr 18, 2013 9:17:04 AM org.apache.catalina.core.AprLifecycleListener init

INFO: Loaded APR based Apache Tomcat Native library 1.1.20.

Apr 18, 2013 9:17:04 AM org.apache.catalina.core.AprLifecycleListener init

INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

Apr 18, 2013 9:17:05 AM org.apache.coyote.http11.Http11AprProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-9081

Apr 18, 2013 9:17:05 AM org.apache.coyote.http11.Http11AprProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-9444

Apr 18, 2013 9:17:05 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1092 ms

Apr 18, 2013 9:17:05 AM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Apr 18, 2013 9:17:05 AM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.30

Apr 18, 2013 9:17:05 AM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Apr 18, 2013 9:17:22 AM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive clmhelp.war

Apr 18, 2013 9:17:26 AM org.apache.coyote.http11.Http11AprProtocol start

INFO: Starting Coyote HTTP/1.1 on http-9081

Apr 18, 2013 9:17:26 AM org.apache.coyote.http11.Http11AprProtocol start

INFO: Starting Coyote HTTP/1.1 on http-9444

Apr 18, 2013 9:17:26 AM org.apache.catalina.storeconfig.StoreLoader load

INFO: Find registry server-registry.xml at classpath resource

Apr 18, 2013 9:17:27 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 21700 ms

============================================================

Attempt to connect to the setup page for the first time…

 

Apr 18, 2013 9:26:04 AM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused: connect

                at java.net.PlainSocketImpl.socketConnect(Native Method)

                at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:393)

                at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:254)

                at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:241)

                at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)

                at java.net.Socket.connect(Socket.java:556)

                at java.net.Socket.connect(Socket.java:504)

                at java.net.Socket.<init>(Socket.java:412)

                at java.net.Socket.<init>(Socket.java:226)

                at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:618)

                at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)

                at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)

==================================================================================

I’m getting a connection refused before I’m even able to reach the setup page.

Any suggestions?   I'm new to this and am out of ideas on how to proceed.

Thanks,

Ben

 


Comments
Anthony Kesterton commented Apr 18 '13, 3:39 p.m. | edited Apr 18 '13, 3:40 p.m.
JAZZ DEVELOPER

As you are installing on Window7, make sure you installed the software on somewhere other than c:\program files (x86).  I recommend a short directory like c:\ibm.  It may be possible that your server is unable to access the right directories.

anthony

p.s forgot to add - unless you have reason to use 3.0.1 - I would install the current release - 4.0.2

4 answers



permanent link
Indradri Basu (1.8k1514) | answered Apr 18 '13, 3:18 p.m.
hi Ben, it seems your HTTPS transport port is 9444 so try  https://localhost:9444/jts/setup

Comments
Bo Chulindra commented Apr 18 '13, 3:50 p.m. | edited Apr 18 '13, 3:51 p.m.
JAZZ DEVELOPER

Yes, the lines below from the Tomcat console output indicate the port numbers.

Benjamin: I'm guessing you changed your ports in your server.xml?

Apr 18, 2013 9:17:26 AM org.apache.coyote.http11.Http11AprProtocol start

INFO: Starting Coyote HTTP/1.1 on http-9081

Apr 18, 2013 9:17:26 AM org.apache.coyote.http11.Http11AprProtocol start

INFO: Starting Coyote HTTP/1.1 on http-9444



Benjamin Stickney commented Apr 18 '13, 5:09 p.m.

Yes, when it wasn't working initially I thought it might have been a conflicting port so I incremented all the ports by 1.  I'm currently downloading 4.0.2 so I'll be going back to the default settings going forward.

Thanks,
Ben


permanent link
Bo Chulindra (1.3k2718) | answered Apr 18 '13, 4:13 p.m.
JAZZ DEVELOPER
edited Apr 18 '13, 4:14 p.m.
Another thing I notice about the Tomcat console output is this line:

INFO: Deploying web application archive clmhelp.war

There should be more lines like this for all your other apps
(jts.war, admin.war, rm.war, etc) but I don't see any.

This suggests that either:
  • You didn't paste the entire Tomcat console output
  • There is something wrong with the way you installed the server and your applications were not installed where they should be
  • You are starting the wrong server.

I would suggest you do the following:

Check the folder you believe you installed your applications (we'll call it InstallDir). Make sure there is a InstallDir/server/conf/jts and InstallDir/server/conf/admin. Also check InstallDir/server/tomcat/webapps and make sure there is a jts.war and admin.war.

If any of those are missing, then your server won't work. If they are not missing, then inspect whatever method you are using the start the server. Make sure it is starting the Tomcat in InstallDir and not some other location. One way to verify this is to start the server, and check towards the top of the Tomcat console output. You should see the path somewhere (unfortunately I don't remember where it will be for Tomcat 5).

If you are running Tomcat as a Windows service, then please mention that because then there are more things to consider.



Comments
Bo Chulindra commented Apr 18 '13, 4:30 p.m.
JAZZ DEVELOPER

Also, I find it curious that your ports were changed from the default. If you made custom modifications beyond a normal setup, it makes it more difficult to diagnose your problems unless we know about these custom modifications.


Benjamin Stickney commented Apr 18 '13, 4:49 p.m.

Thanks Bo,

I didn't paste the full Output...
I checked for the two folders under conf and they were present.
I checked webapps and there is a ccm.war, admin.war,clnhelp.war, converter.war, jts.war, qm.war and rm.war listed.

I launch the server using the Icon for start the Jazz team server and clm applications.

Tomcat is not running as a service...


Benjamin Stickney commented Apr 18 '13, 4:50 p.m. | edited Apr 19 '13, 10:30 a.m.

This is Tomcat starting up...

Apr 18, 2013 3:30:39 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Apr 18, 2013 3:30:39 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
ndom [true].
Apr 18, 2013 3:30:39 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-9081
Apr 18, 2013 3:30:39 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-9444
Apr 18, 2013 3:30:39 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1201 ms
Apr 18, 2013 3:30:39 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 18, 2013 3:30:39 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.30
Apr 18, 2013 3:30:40 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Apr 18, 2013 3:31:03 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive clmhelp.war
Apr 18, 2013 3:31:09 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-9081
Apr 18, 2013 3:31:09 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-9444
Apr 18, 2013 3:31:09 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Apr 18, 2013 3:31:09 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 29766 ms


Bo Chulindra commented Apr 18 '13, 5:10 p.m. | edited Apr 18 '13, 5:18 p.m.
JAZZ DEVELOPER

Looking at the Tomcat console output you pasted again, it again only mentions deploying the clmhelp.war but not the other WARs. This is wrong.

So at this point here's what I would recommend:

  1. Check the logs at InstallDir/server/tomcat/logs for any errors. I wouldn't expect any since the console is not showing any errors, but it's worth taking a peek.
  2. If the Tomcat logs have no errors, then try not using the icon to start the Jazz Team Server and CLM applications. Instead, visit InstallDir/server and run server.startup.bat (run as Administrator). 
  3. If after that, the Tomcat console output still does not mention deployment of the other WARs, then uninstall CLM. Since your server.xml has been modified to have different ports, I suspect there may be other changes to your Tomcat configuration files that may be the issue. Reinstall CLM and start the server using server.startup.bat in NewInstallDir/server. Verify that the other WARs are deployed.


permanent link
Benjamin Stickney (10223) | answered Apr 18 '13, 3:52 p.m.
Thank You for your quick responses.

Jazz is installed to c:\IBM
I'm using which ever version is brought up by the Jazz installer so I may be using 4.0.2 but I'm not sure how to check which version it installed.  Just checked and it shows the version is 3.0.1, so I may just need to strip it out again and see if I can get the most current version...

Checked the https://localhost:9444/jts/setup  and get the same error connection refused.


Thanks for the suggestions, I'm going to rip out 3.0.1 and install 4.0.2 and see if that makes a difference.

Ben



Comments
Anthony Kesterton commented Apr 18 '13, 4:22 p.m.
JAZZ DEVELOPER

Hi Ben

Get 4.0.2 from here https://jazz.net/downloads/rational-team-concert/releases/4.0.2

Don't panic that it is the RTC download - you can select/unselect the bits you need.

Another thought - do you perhaps have another app server or IIS server running on the machine.

Also - if I am not running Tomcat as a Windows Service - I open a command shell (as an administrator) then change dir to the server.startup batch file and run it.

Final thought - install it while you are a machine administrator (right-button and do a Run As Administrator on the Launchpad.exe file) - it helps resolve any underlying windows permission problems.

I install on Window7 regularly - so keep posting questions if you are still stuck (and Bo had some good suggestions too).

Apologies for all the thoughts - a straight install on Windows is a very common use case, so rather bizzare you are getting these errors.


Benjamin Stickney commented Apr 19 '13, 10:06 a.m. | edited Apr 19 '13, 10:31 a.m.

Seems that this was the best answer for me :)
I'm now able to access the Jazz setup web page.

Thank You for all your help.
Ben


Benjamin Stickney commented Apr 19 '13, 10:09 a.m. | edited Apr 19 '13, 10:32 a.m.

Install of 4.0.2 appears to have corrected the Issue for me, I'm brand new so I'm sure I'll have more questions.

Thank You Everyone for your help and suggestions..

Ben


Anthony Kesterton commented Apr 21 '13, 4:41 p.m.
JAZZ DEVELOPER

Excellent - glad you got past that problem.  Keep asking if you have more questions.

anthony


permanent link
Michael Afshar (7014) | answered Apr 22 '13, 12:30 p.m.
JAZZ DEVELOPER
 Benjamin,

On the Launchpad, there's a drop down list to select the user mode for installation. By default, Administrator is selected. You should select Non-Administrator if the user who is logged on to the system does not have administrative privileges. If you select Non-Administrator, Launchpad forces IM to install the applications in the user's directory which you will have full write access rather than to install in the Program Files directory which non-admin users don't have write access.

Hope this helps,

Michael

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.