Using tomcat to hold many open connections.
Hi. I'm looking for a server that has to hold many (web services) remote clients for controlling them. I want to do things like sending power off command to a bunch of machines remotely. The clients are usually windows machines behind firewalls NAT or web proxies that only allow HTTP (this is why I thought of webservices) The regular request-response fashion that servlet follows is not suitable here since the initiator of the operation is the server. What can I do in order to solve this and still use web services? -- View this message in context: http://www.nabble.com/Using-tomcat-to-hold-many-open-connections.-tp19839078p19839078.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using tomcat to hold many open connections.
Thanks johnny. Will TC can survive 20k polling clients ? Johnny Kewl wrote: > > > - Original Message - > From: "uprooter" <[EMAIL PROTECTED]> > To: > Sent: Monday, October 06, 2008 4:29 PM > Subject: Using tomcat to hold many open connections. > > >> >> Hi. >> I'm looking for a server that has to hold many (web services) remote >> clients >> for controlling them. >> I want to do things like sending power off command to a bunch of machines >> remotely. >> The clients are usually windows machines behind firewalls NAT or web >> proxies that only allow HTTP (this is why I thought of webservices) >> >> The regular request-response fashion that servlet follows is not >> suitable >> here since the initiator of the operation is the server. >> What can I do in order to solve this and still use web services? > > HTTP is pull only Browser asked a question, server answers > But technologies like Ajax (javascript with a fancy name) simulate real > time > display... they can poll. > So thats how you get your charts... > > (talks to server) > > TC will service those requests but inside TC you can do anything... and in > your case beside the monitoring stuff you going to have a machine client. > ie either the machines are "mini webservers" and or they using a serial > protocol... so you have a "machine service" that talks to them, and > monitors > them. > The design may even include talking to a PLC or some some other > controller, > possibly even relay logic if the there are safety aspects... ie cant have > the factory shutdown just because a web server crashed, so got to think > about that. > > For cool charting and that sort of thing, you looking at rich clients... > TC > has GWT, and Flex and our Pojo Application Server which allows you to run > normal Java at the client as well for cool real time graphs and that sort > of > thing. What the PAS can also do is run mixed native and you going to need > it > because java is not hot on serial/usb parellel etc... which you will need > for the machine interface... typically the drivers and the interface are > not > done in Java. > > Really cool project you got there... there are lots of skills needed but I > would definitely use TC. > You outside the box, crossing over between engineering, electronics and IT > so you not going to get too much help in any one mailing list... but it > can > be done if you know the protocol on the machines, and you good... in the > end > you'll watch and control those machines from anywhere... lucky devil, its > a > technical orgasm.. ha ha > > --- > HARBOR : http://www.kewlstuff.co.za/index.htm > The most powerful application server on earth. > The only real POJO Application Server. > See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm > --- > > > > > > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Using-tomcat-to-hold-many-open-connections.-tp19839078p19841733.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Am I the only idiot trying metro/wsit on tomcat 6 ?
Hi. I need to create a secure web service and allow .net clients to consume it. sun/netbeans are only focusing on glassfish. but I couldn't find any official documentation on how to set up this thing on tomcat. I've seend some blog posts from sun developers but nothing that could really make things work for me. I wanted to know: 1. Is there any alternative that allows me web services security/interoperability with .net. 2. Is there any official documentation on how to set this thing. (the wsit howto is hardly touching it) Thanks. -- View this message in context: http://www.nabble.com/Am-I-the-only-idiot-trying-metro-wsit-on-tomcat-6---tp16285128p16285128.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat's log files naming and rotation.
Hi. I'm using tomcat-6.0.16 on a linux server. I don't want tomcat to insert the date in the log file names, this is very uncomfortable for me. And I don't want tomcat to do the log rotation. I'll do it myself with logrotate I'm using the default logging facility. How can I achieve that? Many Thanks. -- View this message in context: http://www.nabble.com/tomcat%27s-log-files-naming-and-rotation.-tp17050926p17050926.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Acting on threads by socket events.
Hello. I'm trying to overcome 2 of tomcat limitations that prevent me from rolling my project on it. The limitations are: 1. Tomcat can't detect a lost of connection while the server is processing. 2. If I want my servlet to halt the processing but and keep the connection open tomcat will just halt that thread and not use it for another processing. How can I implement a supervisor or an observer that can act on tomcat threads according to socket events ? -- View this message in context: http://www.nabble.com/Acting-on-threads-by-socket-events.-tp21057805p21057805.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Acting on threads by socket events.
Bill Barker-2 wrote: > > Can't be done unless the servlet periodically writes (and flushes) to the > OutputStream. > Many thanks bill. I don't want to periodically write as im planning to hold many connections waiting for the server. Does SOAP/TCP or NIOconnector can help me with that ? -- View this message in context: http://www.nabble.com/Acting-on-threads-by-socket-events.-tp21057805p21071682.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org