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

Why am I running into Error 404: ProxyServlet: /jts/setup when the server started up fine?

The server was started up fine as shown by the last line of the startup log showing INFO: Server startup in 181657 ms; however, I am unable to access https://localhost:9443/jts/setup. 

I did notice the following SEVERE messages in tomcat's log: 
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9080"]
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-9080]]
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9443"]
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-9443]]

I do see a follow-up message INFO: Initializing ProtocolHandler ["ajp-bio-9009"]. Does that mean it's using port 9009? 

On Firefox, I get the "Error 404: ProxyServlet: /jts/setup" message while on IE, it's only a "HTTP 404 Not Found" message. 

Do I have to do what this post suggest? https://jazz.net/forum/questions/46651/error-404-no-target-servlet-configured-for-uri-jtssetup 


0 votes



2 answers

Permanent link
Hello Handika,

Do you have a firewall in the mix? Can you check with your network admin to ensure communication is allowed through those ports?

By default, the ssl port Tomcat will use is 9443 as defined in the server.xml file:

    <Connector port="9080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="9443" />

Check that 9080 and 9443 are not in use prior to starting Tomcat as well.

0 votes

Comments

 Hi Marek,


This is what I get from doing netstat -an which leads me to think that the ports are open...? 

  Proto  Local Address          Foreign Address        State
  ...
  TCP    0.0.0.0:9080           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:9100           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:9443           0.0.0.0:0              LISTENING
  ...
  TCP    [::]:9080              [::]:0                 LISTENING
  TCP    [::]:9100              [::]:0                 LISTENING
  TCP    [::]:9443              [::]:0                 LISTENING
  ...

If you run a netstat -an when the server is down, and it shows that something is listening at those ports, you would run into a port conflict when starting Tomcat. Glad you were able to resolve your issue by changing the ports.


Permanent link
 I ended up following the suggestions in the other post to change the port configuration for Apache and it seems to have solved the problem. Odd but oh well, it works now. 

0 votes

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: Oct 02 '15, 2:48 p.m.

Question was seen: 5,978 times

Last updated: Oct 03 '15, 12:05 p.m.

Confirmation Cancel Confirm