Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: share data between two tomcat contexts? Date: Sun, 18 May 2014 10:12:07 +0200 Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net l+LPWy9+yJSEdOE2J4J6KQXo28wWX71QOjxegjhtRR5leggHA= Cancel-Lock: sha1:vetITSrLIJdffS0Oz2R5vuEulio= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:28527 On 17.05.2014 13:22, Laura Schmidt wrote: > On 05/17/2014 08:35 AM, Leif Roar Moldskred wrote: >> Laura Schmidt wrote: >>> I want to share some data between two tomcat applications running on the >>> same server. > Well, the first application is an existing legacy application where > users can login. > > When logged in, they are informed about a relaunch of the application > and they can follow a link to it. Wouldn't it be much easier to just immediately redirect users to the new application before login? Then they can login at the new application directly. I'm sure you have login functionality in place because you also need to handle user coming directly to the new application. Alternatively you can remove the old application completely and provide a login form in the new application under the URL of the old app's login page. Cheers robert