Thomas <ma...@apache.org> 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 ac
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
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
(, baseDir.getAbsolutePath());
2014/1/22 John Cartwright - NOAA Federal john.c.cartwri...@noaa.gov
Thanks for the suggestion Valery, but swapping the arguments doesn't
work.
--john
On Tue, Jan 21, 2014 at 8:12 AM, Valery Shyshkin
vns.shysh...@gmail.com
wrote:
May
/21 John Cartwright - NOAA Federal john.c.cartwri...@noaa.gov
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
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 startup
Thanks for your suggestions Martin, I'll look into modifying the memory
parameters. Strange thing is that this has been running for weeks w/o
any changes in the configuration or contexts.
--john
Martin Gainty wrote:
Here is the code
void acceptConnections() {
if(
Thanks for your reply Peter. Initially I was assuming that lsof was not
showing me files on disk that were being opened and read by servlets.
However, I've been unable to reproduce that in a more controlled setting.
Since this system has been running for weeks w/o any modification,
Hello All,
I have what should be a simple problem, but can't seem to resolve it.
Basic JSP using a non-pooled connection:
sql:setDataSource var=myDS
url=jdbc:oracle:thin:@host.example.com:1521:ORACLE
driver=oracle.jdbc.driver.OracleDriver
user=username
password=password
/
I'm
Thank you for your prompt reply Martin and for your suggestion. Given
that I have the ojdbc14.jar in the WEB-INF/lib, doesn't that the version
of the OracleDriver suitable for jdk 1.4+?
It *seems* like it started working when I replaced jstl-1.2.jar w/
jstl-1.1.2.jar - does that make any
Thanks to all who responded. Chuck seemed to hit the nail on the head -
as soon as I removed the duplicate JDBC driver from the WEB-INF/lib, the
problem went away. I didn't intend to have the duplicate driver there,
it was the result of omitting the scopeprovided/scope in my
pom.xml.
Hello All,
I'm using tomcat 6.0.18 and it appears that reading a request parameter
like:
String param = request.getParameter(param);
causes any subsequent attempt to ready the post body to fail:
while ((inputLine = reader.readLine()) != null) {
sb.append(inputLine);
}
It doesn't
Hello All,
I have a very simple doPost method that reads the body of a POST
request. Seems to work fine on 6.0.14 but consistently fails to read
the body correctly in 6.0.16. Can someone help me with what's wrong here?
Thanks!
-- john
protected void doPost(HttpServletRequest request,
Hello All,
I have a servlet which generates and returns an PNG, setting the
mimetype with setContentType(image/png). Everything works fine when
Tomcat directly handles the request. However, when using mod_jk to pass
the requests through Apache, the mime type of the response seems to be
Hello All,
Is there a simple way to get a list of the HttpSession objects
associated w/ a particular context? I know that I can send a request to
the Manager servlet, but I'm looking to get the objects themselves. I
need to examine each session for a particular attribute.
Thanks!
-- john
Hello All,
Does anyone have a suggestion on how to maintain a separate session for
each browser tab and window? Currently the same session is shared for
each frame, window, tab of a given brower instance and context.
I understand that this is the way things are supposed to be, but for my
17 matches
Mail list logo