Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-04 Thread Shailendra Singh
Hi, We are using 64 bit Tomcat 6.0.35 with windows 2008 R2 (64 bit JVM 1.6.0_33) and facing memory leak issues(OutOfMemoryError ) after a short interval of time( ~30 minutes). We deploy a web application on this version of tomcat and while working with the GUI part of the application we face

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

2012-09-04 Thread Rainer Jung
On 04.09.2012 05:37, Ferdie Romero wrote: On Sep 4, 2012 11:25 AM, Ferdie Romero ferdierom...@gmail.com wrote: On Sep 3, 2012 10:43 PM, Ferdie Romero ferdierom...@gmail.com wrote: On Mon, Sep 3, 2012 at 10:07 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 03.09.2012 15:46, Ferdie

Re: Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-04 Thread Rainer Jung
On 04.09.2012 08:35, Shailendra Singh wrote: Hi, We are using 64 bit Tomcat 6.0.35 with windows 2008 R2 (64 bit JVM 1.6.0_33) and facing memory leak issues(OutOfMemoryError ) after a short interval of time( ~30 minutes). We deploy a web application on this version of tomcat and while working

Atmosphere Chat sample throws exception upon page reload in IE 9

2012-09-04 Thread Christof Doll
Hi, I would like to use the Atmosphere framework which supports websockets and long-polling. On their page they have a little chat application exampIe that is based on Guice (see atmosphere.java.net). I run it on Tomcat 7. Loading the chat page in IE 9 works fine. However, upon reloading the

Re: Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-09-04 Thread Olivier Lamy
2012/9/3 Sérgio Areias juger.on.n...@gmail.com: Hi. On 31 August 2012 21:24, Olivier Lamy ol...@apache.org wrote: 2012/8/27 Sérgio juger.on.n...@gmail.com: Hi. I am trying to use the Tomcat Maven Plugin to create an executable jar file with an embedded Tomcat7, but I am having two

Re: Atmosphere Chat sample throws exception upon page reload in IE 9

2012-09-04 Thread Konstantin Kolinko
2012/9/4 Christof Doll christof.d...@fortis-it.de: There are two different issues: Sep 04, 2012 8:50:39 AM org.apache.catalina.connector.CoyoteAdapter event Schwerwiegend: null org.apache.tomcat.jni.Error: 620015: APR does not understand this error code at

Re: Root context switching

2012-09-04 Thread chris derham
I am new to Tomcat. What I like to do is to deploy different versions of my application, for example: hostname\myappv1 hostname\myappv2 Now I want the ROOT context to be set dynamicly to one of the available deployed versions. Is this possible? Is there a way to implement this? Dennie,

Re: Root context switching

2012-09-04 Thread Dennie.nl
Hello, If my idea was only as simple as renaming it to ROOT.war (this one I know of):) Basic what I want is the same functionality which google apps provides. So I want to be able to have multiple versions of my application online, let people try the new environment and eventually switch the root

Re: Root context switching

2012-09-04 Thread chris derham
Basic what I want is the same functionality which google apps provides. So I want to be able to have multiple versions of my application online, let people try the new environment and eventually switch the root context to the new running version. This enables my clients to try out the new

Re: Root context switching

2012-09-04 Thread Mikolaj Rydzewski
On 04.09.2012 13:26, Dennie.nl wrote: Basic what I want is the same functionality which google apps provides. So I want to be able to have multiple versions of my application online, let people try the new environment and eventually switch the root context to the new running version. This

RE: Root context switching

2012-09-04 Thread Jeffrey Janner
Sounds to me like you are looking for the parallel deployment capabilities built into Tomcat 7. See: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html Jeff -Original Message- From: Dennie.nl [mailto:dennie...@gmail.com] Sent: Tuesday, September 04, 2012 6:26 AM To: Tomcat

Re: Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-09-04 Thread Sérgio Areias
On 4 September 2012 09:26, Olivier Lamy ol...@apache.org wrote: 2012/9/3 Sérgio Areias juger.on.n...@gmail.com: Hi. On 31 August 2012 21:24, Olivier Lamy ol...@apache.org wrote: 2012/8/27 Sérgio juger.on.n...@gmail.com: Hi. I am trying to use the Tomcat Maven Plugin to create

Re: Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-09-04 Thread Olivier Lamy
A bit weird. Can you have a look at this project which works fine with empty path https://github.com/olamy/tomcat-foo-artifact 2012/9/4 Sérgio Areias juger.on.n...@gmail.com: On 4 September 2012 09:26, Olivier Lamy ol...@apache.org wrote: 2012/9/3 Sérgio Areias juger.on.n...@gmail.com: Hi.

Re: Login Delay

2012-09-04 Thread David A. Rush
Well, drat. I swapped the application over to using a DataSourceRealm (instead of JDBCRealm) to support the JDBC connection that Tomcat's using for authentication, but it doesn't seem to have helped. Seems to have made it a bit worse. Originally when using a JDBCRealm, after some time of

tomcat 6 virtual hosting vs apache virtual hosting

2012-09-04 Thread Charles Richard
Hi, I've started a new job where the last sysadmin has the virtual hosting configured in Tomcat (and Apache). I'm used to only doing virtual hosting with Apache. What are the pros and cons of each method? I'm trying to understand why that would be needed. Thanks, Charles

Re: Login Delay

2012-09-04 Thread Felix Schumacher
Am 04.09.2012 19:13, schrieb David A. Rush: Well, drat. I swapped the application over to using a DataSourceRealm (instead of JDBCRealm) to support the JDBC connection that Tomcat's using for authentication, but it doesn't seem to have helped. Seems to have made it a bit worse. Originally

Re: Login Delay

2012-09-04 Thread David A. Rush
Felix: Well, it still takes over an hour of cold time (no logins) before I can reproduce the problem. More info in logging.2012-09.04.log I found: Sep 4, 2012 12:03:57 PM org.apache.catalina.realm.DataSourceRealm getPassword SEVERE: Exception retrieving password for david Sep 4, 2012

Re: Login Delay

2012-09-04 Thread Felix Schumacher
Am 04.09.2012 20:30, schrieb David A. Rush: Felix: Well, it still takes over an hour of cold time (no logins) before I can reproduce the problem. Ok, I misread it. More info in logging.2012-09.04.log I found: Sep 4, 2012 12:03:57 PM org.apache.catalina.realm.DataSourceRealm

Tomcat HeapMemoryUsage MBean question

2012-09-04 Thread Shanti Suresh
Greetings, I would like to graph Tomcat's HeapMemoryUsage - used mbean value for trending. I have installed Tomcat's manager application with a user belonging only to the manager-jmx role. I would like to use curl to get the data. I have a couple of questions: (1) I don't seem to be able to

Re: Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-09-04 Thread Sérgio Areias
I have downloaded the project and tested it. Replicated a bit of the structure on my project and seems that now I am able to do it with the empty value on path. Why I can do it with the / anyway? Even with your project, I was not able to change the running port defining it in the pom.xml. Only

Re: Login Delay

2012-09-04 Thread David A. Rush
Felix: Windows seems to be conspiring against my efforts to get a thread dump. For configuration, in my webapp's context config file: Under Context: Resource name=jdbc/myoracle auth=Container type=javax.sql.DataSource description=Connection to the database

Re: tomcat 6 virtual hosting vs apache virtual hosting

2012-09-04 Thread André Warnier
Charles Richard wrote: Hi, I've started a new job where the last sysadmin has the virtual hosting configured in Tomcat (and Apache). I'm used to only doing virtual hosting with Apache. What are the pros and cons of each method? I'm trying to understand why that would be needed. To answer

Re: Login Delay

2012-09-04 Thread Joseph
do you think that maxwait should be tuned? and you can also monitor live session in oracle by query db,what does it tell you (both before 20s and after 20s)? and by using oracle 11g driver(use ojdbcXX_g.jar with log enabled), you can turn on logging for driver and have a look when does the request

Re: Starting tomcat with catalina.sh run -security

2012-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ragini, On 8/31/12 6:44 AM, Ragini wrote: I have added following things to setenv.sh to make tomacat profile. #!/bin/sh export CATALINA_OPTS=-Djava.security.auth.login.config=$(TOMCAT_HOME)/conf/jaas.config export