Re: HTTP-less GenericServlets - Was: Socket Servlet using Tomcat 5.5.17

2006-06-02 Thread Tim Funk
(My opinion) The servlet spec really only works for http based things. Trying to fit anything else in will morph into a ainful kludge. There are other apache projects out there such as avalon (or whatever subprojects it broke into) which is probably more suited to this task. -Tim Juergen Weber

HTTP-less GenericServlets - Was: Socket Servlet using Tomcat 5.5.17

2006-06-02 Thread Juergen Weber
I have quite a similar problem as the original poster. I'd like to write a router for CORBA messages that should listen on a socket and forward the messages to JMS. Same as the OP I would like to host the code in Tomcat, to avoid having to handle all the threading and socket issues and still more

Re: Socket Servlet using Tomcat 5.5.17

2006-05-31 Thread Markus Schönhaber
[EMAIL PROTECTED] wrote: > Yeah it dose work when i am accessing the Tomcat via the browser but i > don't want to access it via the browser because somebody from different > machine will send me a message via a socket connection and i want that > servlet do the work once the socket connect to the T

RE: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
quot;'Tomcat Users List'" cc Subject RE: Socket Servlet using Tomcat 5.5.17 Tomcat's purpose is to listen for requests and pass them on to the appropriately mapped servlet. Maybe you do not want to use Tomcat, but instead roll your own server that simply listens on a partic

RE: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Richard Mixon
cause Tomcat to listen for a generalize TCP connection. HTH - Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 8:55 PM To: Tomcat Users List Subject: Re: Socket Servlet using Tomcat 5.5.17 Hi David... I didn't send a requ

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
/2006 15:04 Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: Socket Servlet using Tomcat 5.5.17 Could you please clarify something for me? You say you expect the servlet to run when the socket is opened. Did you send a request or are you really exp

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
arkus Schönhaber <[EMAIL PROTECTED]> 30/05/2006 14:18 Please respond to "Tomcat Users List" To "Tomcat Users List" cc Subject Re: Socket Servlet using Tomcat 5.5.17 [EMAIL PROTECTED] wrote: > My problem is that my servlet running at Tomcat 5.05.17 and my serv

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Mladen Adamovic
[EMAIL PROTECTED] wrote: I want Tomcat run this default servlet open once that socket connect to Tomcat Do redirect from index.jsp to your servlet. Do something like : <% String redirectURL = "http://hostname.com/";; response.sendRedirect(redirectURL); %> p.s. you should lear

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread David Smith
ault >servlet open once that socket connect to Tomcat > > > > >Markus Schönhaber <[EMAIL PROTECTED]> >30/05/2006 11:35 >Please respond to >"Tomcat Users List" > > >To >"Tomcat Users List" >cc > >Subject >Re: Socket Ser

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Markus Schönhaber
[EMAIL PROTECTED] wrote: > My problem is that my servlet running at Tomcat 5.05.17 and my servlet is > the default servlet, now i am trying to call this servlet by a Java > program that open socket connection... I want Tomcat run this default > servlet once that socket connect to Tomcat... Now the

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
My problem is that my servlet running at Tomcat 5.05.17 and my servlet is the default servlet, now i am trying to call this servlet by a Java program that open socket connection... I want Tomcat run this default servlet once that socket connect to Tomcat... Now the connection is done but Tomca

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
AIL PROTECTED]> 30/05/2006 11:35 Please respond to "Tomcat Users List" To "Tomcat Users List" cc Subject Re: Socket Servlet using Tomcat 5.5.17 [EMAIL PROTECTED] wrote: > How i can let Tomcat 5.5.27 listen to any socket connection from the > client and handle

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Markus Schönhaber
[EMAIL PROTECTED] wrote: > How i can let Tomcat 5.5.27 listen to any socket connection from the > client and handle it ?? By starting it. If this answer doesn't seem helpful, you should propably explain a little more precisely what you are trying to achieve. Regards mks ---

Socket Servlet using Tomcat 5.5.17

2006-05-29 Thread Ahmed . AlGhafri
How i can let Tomcat 5.5.27 listen to any socket connection from the client and handle it ??