tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Mast" <jhmast.develo...@gmail.com>
Subject Re: Can Tomcat be used to host socket servers?
Date Wed, 14 Jan 2009 20:10:19 GMT
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 not that
familiar with Tomcat.  I can't be only one who has had this issue.

The situation is that we have some existing programs (written in C) that are
socket servers.  I want to redo them in Java, and having Tomcat host them
would be great because I could focus solely on the parts of the program than
do request processing and leave the housekeeping to Tomcat.

In other words, I want to write servlets that are faux-sockets.

On Wed, Jan 14, 2009 at 10:33 AM, Martin Gainty <mgainty@hotmail.com> wrote:

>
> 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
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>
>
> > Date: Wed, 14 Jan 2009 09:20:27 -0500
> > From: jhmast.developer@gmail.com
> > To: users@tomcat.apache.org
> > Subject: Can Tomcat be used to host socket servers?
> >
> > Is it possible to use Tomcat to host socket servers? Or is Tomcat a
> strictly
> > 1 port operation?
> >
> > thanks
>
> _________________________________________________________________
> Windows Live™: Keep your life in sync.
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message