cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat - This is a proxy server. Does not respond to non-proxy requests.

SOLVED
Highlighted
Aquamarine

Tomcat - This is a proxy server. Does not respond to non-proxy requests.

Hi,

We have installed Thingworx 8.5 with Tomcat 8.5. It was working properly. But, after sometime it is showing "This is a proxy server. Does not respond to non-proxy requests." message while trying to open tomcat. What will be the issue? How to resolve?

 

Thanks & Regards,

Sathishkumar C.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Tomcat - This is a proxy server. Does not respond to non-proxy requests.

Hi,

 

I have seen in catalina.log the following:

 

22-Nov-2019 11:24:36.512 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:228)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:866)
at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:213)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:575)
at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:65)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:944)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:873)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at org.apache.catalina.startup.Catalina.load(Catalina.java:606)
at org.apache.catalina.startup.Catalina.load(Catalina.java:629)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)

 

For me this seems that the 8080 port is already used.

Please follow the steps from this article: https://www.ptc.com/en/support/article?n=CS290811

 

Hope it helps,

Raluca Edu

View solution in original post

5 REPLIES 5

Re: Tomcat - This is a proxy server. Does not respond to non-proxy requests.

Hello,

 

Thank you for your post.  Hopefully we can resolve this issue together.  Did you happen to use a proxy configuration in your config.json file during installation?

 

Thank you,

Angela 

Re: Tomcat - This is a proxy server. Does not respond to non-proxy requests.

Thanks for your reply.

Installation of tomcat you are asking? Where i can find config.json file?

 

Re: Tomcat - This is a proxy server. Does not respond to non-proxy requests.

Hello,

 

I'd actually like to take a step back and get a better idea of the system you're working with.  Can you please provide the following details?

  • Java Version
  • OS (windows, ubuntu, RHEL, Amazon RDS)
  • Persistence (H2, PostgreSQL, DSE, Azure, etc)
  • Where exactly are you seeing the error message?  (Is it in a Tomcat log?)
  • Do you have any error logs to share?
  • Have you successfully launched ThingWorx platform and created and saved an Entity?

Thank you,

Angela 

Re: Tomcat - This is a proxy server. Does not respond to non-proxy requests.

Hi,

Please find details below,

  • Java 1.8.0_171
  • Windows 10 Home
  • PostgreSQL 9.4 Thingworx
  • PostgreSQL 9.6 for Streams (Persistance Provider)

Both the servers installed on same system.

 

Thanks.

Tags (3)

Re: Tomcat - This is a proxy server. Does not respond to non-proxy requests.

Hi,

 

I have seen in catalina.log the following:

 

22-Nov-2019 11:24:36.512 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:228)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:866)
at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:213)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:575)
at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:65)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:944)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:873)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at org.apache.catalina.startup.Catalina.load(Catalina.java:606)
at org.apache.catalina.startup.Catalina.load(Catalina.java:629)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)

 

For me this seems that the 8080 port is already used.

Please follow the steps from this article: https://www.ptc.com/en/support/article?n=CS290811

 

Hope it helps,

Raluca Edu

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________