RE: Can Tomcat be used to host socket servers?

2009-01-14 Thread Martin Gainty
In other words instead of committing to single port request TC use a port range for connector? You might be able to accomplish the task by developing an algorithm which rewrites server.xml with 'unused port' Not sure if this has been accomplished ? Martin

Re: Can Tomcat be used to host socket servers?

2009-01-14 Thread Jonathan Mast
Well what I want is to have a dedicated port for a socket, I just want all the application infrastructure to be handled by Tomcat rather than a writing a custom solution. Not sure if dynamically rewriting server.xml is the way to go. My guess would by a Valve/Connector type thing, but I'm just

RE: Can Tomcat be used to host socket servers?

2009-01-14 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Can Tomcat be used to host socket servers? Not sure if dynamically rewriting server.xml is the way to go. Pretty much guaranteed not to be, since that would require stopping and restarting Tomcat. The situation

Re: Can Tomcat be used to host socket servers?

2009-01-14 Thread Jonathan Mast
when they restart. Kinda tedious. Thanks again On Wed, Jan 14, 2009 at 4:35 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Can Tomcat be used to host socket servers? Not sure if dynamically rewriting

RE: Can Tomcat be used to host socket servers?

2009-01-14 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Can Tomcat be used to host socket servers? By socket servers, I mean the existing programs are bound to a particular port number and just sit there waiting for requests. The port numbers are arbitrary How do they get