You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tomimitsu Masaru <mt...@prosodie.com> on 2006/06/05 10:33:12 UTC

any way to share objects between non-clustered tomcat instances ?

Hello all,

Maybe this has already been discussed, but I dare ask you the question :
are there any ways to share Java objects between non-clustered tomcat
instances ?

When they are clusters, I heard they can share ServletContext's
attributes without problem, is that right ? But in our case, we don't
have tomcat instances as clusters, but in separate JVMs, on several
physically separate machines. 

However, we would like to control users' connections so as to limit the
same login user to have only a limited number (one or two) of authorized
connections to our application. You guys should certainly know such
stories alike.

So, firstly I wanna know 'Yes you can' or 'No you can't' as answer. If
'Yes', then I wanna know how. All answers are welcome for me. If someone
can show me any past discussions on this matter, such answers are also
welcome.

Masaru Tomimitsu


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: any way to share objects between non-clustered tomcat instances ?

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
sure, you can implement your own little app on top of a messaging framework,
I would recommend using Tribes, 
http://people.apache.org/~fhanik/tribes/docs/introduction.html

Filip

Tomimitsu Masaru wrote:
> Hello all,
>
> Maybe this has already been discussed, but I dare ask you the question :
> are there any ways to share Java objects between non-clustered tomcat
> instances ?
>
> When they are clusters, I heard they can share ServletContext's
> attributes without problem, is that right ? But in our case, we don't
> have tomcat instances as clusters, but in separate JVMs, on several
> physically separate machines. 
>
> However, we would like to control users' connections so as to limit the
> same login user to have only a limited number (one or two) of authorized
> connections to our application. You guys should certainly know such
> stories alike.
>
> So, firstly I wanna know 'Yes you can' or 'No you can't' as answer. If
> 'Yes', then I wanna know how. All answers are welcome for me. If someone
> can show me any past discussions on this matter, such answers are also
> welcome.
>
> Masaru Tomimitsu
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


-- 


Filip Hanik

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org