k Thomas wrote:
> On 27/04/17 17:47, John Cartwright - NOAA Federal wrote:
>> Hello All,
>>
>> We recently switched to Apache 2.4 and it's event mpm and are now
>> finding that some of our Tomcat 7 webapps are failing sporadically
>> when accessed via Apache -
Hello All,
We recently switched to Apache 2.4 and it's event mpm and are now
finding that some of our Tomcat 7 webapps are failing sporadically
when accessed via Apache - generally reporting 503s back to the
browser. The webapps work reliably when accessed directly from
Tomcat.
We're using mod_j
Thanks for your reply Chris.
On Mon, Jan 27, 2014 at 12:40 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> Are you running one and only one webapp in your Tomcat instance? If
> not, then the system property will override it for all webapps, which
> will probably cause confusion (
Hello All,
I have a simple program which uses embedded-tomcat (7.0.50) to host a WAR
file. The webapp is using log4j and logs correctly when run inside a
standard tomcat container. However, when hosted by the embedded-tomcat,
the log4j configuration does not appear to be found.
I'm specifying a
> >
> >
> > 2014/1/22 Valery Shyshkin
> >
> >> Try:
> >>
> >> File baseDir = new File(System.getProperty("java.io.tmpdir"));
> >> tomcat.addContext("", baseDir.getAbsolutePath());
> >>
> >>
> >>
> &
> 2014/1/21 John Cartwright - NOAA Federal
>
> > Hello All,
> >
> > I'm trying to create a very basic embeded tomcat 7 application to host a
> > packed WAR file. My code looks like:
> >
> > Tomcat tomcat = new Tomcat()
> > tomcat.setPort(port)
>
Hello All,
I'm trying to create a very basic embeded tomcat 7 application to host a
packed WAR file. My code looks like:
Tomcat tomcat = new Tomcat()
tomcat.setPort(port)
tomcat.setBaseDir(".")
tomcat.addWebapp(pathToWarFile, contextName)
It seems to work, but I'm getting an exception on startu