Andrew,

Sharing state between web apps in Tomcat is possible with solutions like
Terracotta or a customized messaging system.

D.

On Mon, Oct 27, 2008 at 2:49 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]
> wrote:

> but you are saying they are different applications, so what data could they
> possible share?
>
> ie, if you have appA.war and appB.war, and they are totally different apps,
> then they shouldn't be sharing session data
>
> only appA.war on one tomcat instance can share session data with appA.war
> on another tomcat instance
>
> Filip
>
>
> Andrew Hole wrote:
>
>> Well,
>>
>> I would like in the future to have application A and B in different
>> machines, and for that i need to use some way to share session data.
>>
>> Thanks
>>
>> On Mon, Oct 27, 2008 at 8:19 PM, Filip Hanik - Dev Lists <
>> [EMAIL PROTECTED]
>>
>>
>>> wrote:
>>>
>>>
>>
>>
>>
>>> nothing like that is built in, you'd have to write that code for the
>>> object
>>> sharing yourself
>>> you could use the tomcat internals to achieve what you want, but you'd
>>> have
>>> to do a bit of legwork.
>>> Filip
>>>
>>>
>>> Andrew Hole wrote:
>>>
>>>
>>>
>>>> Yes.
>>>>
>>>> Machine1
>>>>  TomcatA
>>>>  ApplicationA1
>>>>  TomcatB
>>>>  ApplicationB1
>>>>
>>>> But both applications have been developed by me and I want to share an
>>>> object between applications. If the object have been created in
>>>> application
>>>> A, I would like to replicate information to application B.
>>>>
>>>> Thanks
>>>>
>>>>
>>>> On Mon, Oct 27, 2008 at 6:18 PM, Filip Hanik - Dev Lists <
>>>> [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>>> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>> not sure I understand
>>>>>
>>>>> Is this your layout then?
>>>>>
>>>>> Machine1
>>>>>  TomcatA
>>>>>  ApplicationA1
>>>>>  TomcatB
>>>>>  ApplicationB1
>>>>>
>>>>> since ApplicationA1 and ApplicationB1 are different, there is nothing
>>>>> to
>>>>> cluster, there is no state to share
>>>>>
>>>>> Filip
>>>>>
>>>>>
>>>>> Andrew Hole wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> I would like to cluster two different applications in same machine
>>>>>> (each
>>>>>> in
>>>>>> different Tomcat instance).
>>>>>> Is it possible?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Oct 27, 2008 at 5:39 PM, Filip Hanik - Dev Lists <
>>>>>> [EMAIL PROTECTED]
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> It means that the application that it is trying to request data from
>>>>>>> is
>>>>>>> not
>>>>>>> deployed on the server.
>>>>>>>
>>>>>>> for example, if you have applicate /test installed on server A, then
>>>>>>> it
>>>>>>> will have to be installed on server B as well, if it isn't, you'll
>>>>>>> get
>>>>>>> a
>>>>>>> message like the one below
>>>>>>>
>>>>>>> Filip
>>>>>>>
>>>>>>>
>>>>>>> Andrew Hole wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi Guys!
>>>>>>>>
>>>>>>>> What means the following error? What I'm doing wrong?
>>>>>>>>
>>>>>>>> FINE: Assuming clocks are synched: Replication for GET-ALL- took=47
>>>>>>>> ms.
>>>>>>>> 27/Out/2008 17:12:10
>>>>>>>> org.apache.catalina.cluster.session.ClusterSessionListener
>>>>>>>> messageReceived
>>>>>>>> SEVERE: Context manager doesn't exist:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks a lot
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to