Share info across different sessions & servers

2013-07-01 Thread Jose MarĂ­a Zaragoza
Hello: I need to share data between sessions running in different Tomcat server. I 'd been thinking about using a JMS broker (as ActiveMQ ): - when a new session is created in Tomcat A, it's created a new unique topic for this session - the session registers itself as listener of that topic ( th

Re: Unable to start running Tomcat "startup" script

2013-07-01 Thread Sunil Dath
Chuck, Thanks for your response. I see the same issue with startup and shutdown as well. Its just that the window startup script spawns disappears. I see the java version also to be right. C:\Program Files\Java\jre7\bin>java -version java version "1.7.0_25" Java(TM) SE Runtime Environment (build

Re: Unable to start running Tomcat "startup" script

2013-07-01 Thread Sunil Dath
Mark, I did unpack under "C:\Users\me\" without any luck. C:\Users\Me>cd apache-tomcat-7.0.41 C:\Users\Me\apache-tomcat-7.0.41>cd bin C:\Users\Me\apache-tomcat-7.0.41\bin>startup Using CATALINA_BASE: "C:\Users\Me\apache-tomcat-7.0.41" Using CATALINA_HOME: "C:\Users\Me\apache-tomcat-7.0.41"

Re: Help with crossContext="true" and getRequestDispatcher()

2013-07-01 Thread Paul Hammant
Hi Mark, thanks for the reply. I've modified https://github.com/paul-hammant/servletDispatcherTest to include scripts to reproduce the problem, and to show the two web-apps working separately, but not in the getRequestDispatcher(..).include(..) way. The scripts download an anointed version of Tom

RE: Unable to start running Tomcat "startup" script

2013-07-01 Thread Caldarale, Charles R
> From: Sunil Dath [mailto:sunild...@gmail.com] > Subject: Unable to start running Tomcat "startup" script > set "JAVA_HOME=%ProgramFiles%\Java\jdk1.7.0_25" > set "JRE_HOME=%ProgramFiles%\Java\jre7" In general, you should set just one or the other of the above, not both. > exit /b 0 The exit c

Re: Unable to start running Tomcat "startup" script

2013-07-01 Thread Mark Eggers
On 7/1/2013 6:31 PM, Sunil Dath wrote: Hello, I am using apache-tomcat-7.0.41 and I have downloaded the - 64-bit Windows zip (pgp

Unable to start running Tomcat "startup" script

2013-07-01 Thread Sunil Dath
Hello, I am using apache-tomcat-7.0.41 and I have downloaded the - 64-bit Windows zip (pgp

Re.: Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Demetrio Carvalho
Atenciosamente, Demetrio Carvalho. 11-9.4992-6018 Mark Thomas escreveu: >On 01/07/2013 22:00, Caldarale, Charles R wrote: >>> From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Tomcat >>> 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel >>> Deployment when the Context Name

RE: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Caldarale, Charles R
> From: Majors, Jeremy [mailto:jmaj...@tribune.com] > Subject: Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat > Parallel Deployment when the Context Name is Different than the WAR Name > It appears to be working after I added the information provided by Mark > (even with the p

Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Majors, Jeremy
On 7/1/13 4:03 PM, "Mark Thomas" wrote: >On 01/07/2013 22:00, Caldarale, Charles R wrote: >>> From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Tomcat >>> 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel >>> Deployment when the Context Name is Different than the WAR Name >

Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Mark Thomas
On 01/07/2013 22:00, Caldarale, Charles R wrote: >> From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Tomcat >> 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel >> Deployment when the Context Name is Different than the WAR Name > >> Assuming the file above is called website1#

RE: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat > Parallel Deployment when the Context Name is Different than the WAR Name > Assuming the file above is called website1##001.xml > then you should be able to add website1##

Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Mark Thomas
On 01/07/2013 21:50, Majors, Jeremy wrote: > I have 3 separate context files setup within the conf/Catalina/localhost/ > folder (examples provided below). > > WebSite1 > docBase="/Users/jeremy/tomcat/manualDeploy/myapp" > path="/website1"> Assuming the file above is called website1##001.xml th

Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Majors, Jeremy
On 7/1/13 2:27 PM, "Mark Thomas" wrote: >On 01/07/2013 19:30, Majors, Jeremy wrote: >> The application I am working on currently runs in production under >> multiple contexts within tomcat and we are doing so by creating >> separate context.xml files for each where we specify the docbase >> whi

Re: Help with crossContext="true" and getRequestDispatcher()

2013-07-01 Thread Mark Thomas
On 29/06/2013 13:51, Paul Hammant wrote: > If you edit conf/context.xml and add crossContext="true", one Tomcat > mounted web-app should be able to forward to (or include content from) > another in the same request. > > I can't get it working and I have a minimal Github project ( > https://github.

Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Mark Thomas
On 01/07/2013 19:30, Majors, Jeremy wrote: > The application I am working on currently runs in production under > multiple contexts within tomcat and we are doing so by creating > separate context.xml files for each where we specify the docbase > which points to a single directory and each has a un

Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Majors, Jeremy
The application I am working on currently runs in production under multiple contexts within tomcat and we are doing so by creating separate context.xml files for each where we specify the docbase which points to a single directory and each has a unique path value specified. We are currently eval

Re: SSI - Regular expression parsing

2013-07-01 Thread David Reitter
Christopher Schultz wrote: > Can you provide a minimal test case as a WAR file: basically just the > META-INF/web.xml and a minimal SSI page to be processed? Done. I filed bug report #55176. I hope it contains all pertinent information. Thanks for getting back to me. - David ---

Re: SSI - Regular expression parsing

2013-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 6/28/13 7:40 PM, David Reitter wrote: > I'm trying to use some SSI in 7.0.39 using SSIFilter. The file is > parsed, in principle, but whenever an IF expression with a certain > regular expression is encountered, Tomcat seems to stop proce