NNTP-Posting-Date: Sat, 17 May 2014 11:11:02 -0500 From: "Chris Uppal" Newsgroups: comp.lang.java.programmer References: Subject: Re: share data between two tomcat contexts? Date: Sat, 17 May 2014 11:11:29 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Message-ID: <6eKdnXpdNMeLF-rOnZ2dnUVZ7vidnZ2d@bt.com> Lines: 18 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-TC7L5iQDog1qaLNIBhjT7cexuY4U6AO9Y9uVxoQe3dvDZA7RbPcu6SfGYwWImTaYxREcvZX4wPMFu4l!+1YaoXvtn8edAWYXHAs07mryN2Sr30+UISAcYdHXMlA5kKXLdd0ZfBxtPnItwjdM2A99pFxvg7Q= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1826 Path: csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!backlog3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail Xref: csiph.com comp.lang.java.programmer:28525 Laura Schmidt wrote: > I want to share some data between two tomcat applications running on the > same server. > > There are a lot of suggestions proposing to set crossContext="true" in > the corresponding context elements in the server.xml. > > However, I do not have access to tomcat's server.xml. I only can modify > the war/WEB-INF/web.xml of my GWT app, which is the element. Can't you just set up an end-point as part of each service that is used by the other to transfer data ? Should be pretty efficient if the two services are actually in the same container. -- chris