Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Is there a clean way to add Custom protocol endpoint to tomcat 5.5

David Gagnon

2006-04-27

Replies:

Hi all,

I need to have my tomcat servers to broadcast their state (custom
information) in order for them to collaborate.

I look into the cluster code, org.apache.catalina.cluster.mcast.* it a
good example of what I need : send a multicast message each X seconds
and keep a member list with their public info.

My problem is to fin a way to starts MY protocol endpoint when Tomcat
boots. I don't want to put the code in my webApp, since I can have
several webapps on the same server.

I looked into server.xml to find a way to starts it... I tought
Connector would be suitable for my needs but it seems strictly related
to HTTP request handling.

I hope to find a way without changing the tomcat code base.

Thanks for your help.
Best Regards
/David


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.