On 21/06/17 09:26, Yaniv Sagron wrote: > Hi, > > I have a strange issue with Tomcat 8.5 (and with earlier revisions as well). > I run a Jython interpreter that connects to an external debugger (using > PyDev if it matters to anyone) through a TCP connection. > running the code on a regular Jar or on Jetty works flawlessly (both when > the server is in localhost or on a different machine). > Unfortunately, with Tomcat the connection gets terminate after few > interactions, e.g. stepping Jython instructions or stepping into functions. > Tried it with both, embedded Tomcat in a jar and on a standalone Tomcat > with a war file deployed to it. > Did anyone ever encounter such an issue and can think of a solution or a > way to debug it?
Tomcat plays no role in outgoing TCP connections or incoming connections to sockets it does not control. Is the connection initiated from the Jython interpreter to the debugger, or does the interpreter listen for a connection from the debugger? I don't think it is a port clash since it would not work at all in that case. I'd probably look at the network traffic in Wireshark to see if there are any clues around the time the connection is terminated. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org