Re: JNDI property roleSearchAsUser not working as expected

2013-03-14 Thread Felix Schumacher
Am 13.03.2013 21:46, schrieb Eugène Adell: Hello I am running the following : java version "1.6.0_25" Java(TM) SE Runtime Environment (build 1.6.0_25-b06) Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing) Tomcat 7.0.37 CentOS release 6.3 with this REALM configuration i

Re: Limiting threads per context

2013-01-03 Thread Felix Schumacher
Am 03.01.2013 15:31, schrieb kharp...@oreillyauto.com: Hello All, Yesterday we had a Tomcat6 server reach maxThreads and stay that way until we restarted it. After researching a thread dump and some log files, we found one of the applications is creating NullPointerExceptions and subsequently l

Re: PSI-PROBE query

2012-12-10 Thread Felix Schumacher
Hi Vicky, Am 09.12.2012 19:56, schrieb vicky: Yes Chris, i am pretty sure that nobody is accessing the application. The moment i start my Tomcat the "Request Count " reaches values of 400+ within few seconds, this value is getting incremented by 6 everytime (eg: 6,12,18,24,30) which port do you

Re: Mod_jk - loadbalancer

2012-12-03 Thread Felix Schumacher
Am 03.12.2012 11:59, schrieb André Warnier: Mladen Turk wrote: On 12/3/2012 11:18, Orhan Karasakal wrote: But firstly I want to send requests to loadbalancer and then according to url, sending the other nodes. Session affinity should handle that. Session affinity should ensure that once a s

Re: How to stop mod_jk.log in apache 2.2

2012-11-24 Thread Felix Schumacher
s you had for not having an integration/testing environment :) Regards Felix > > Regards, > Lokesh > > On Fri, Nov 23, 2012 at 12:13 PM, Felix Schumacher < > felix.schumac...@internetallee.de> wrote: > > > > > > > lokesh borse schrieb: > > &g

Re: How to stop mod_jk.log in apache 2.2

2012-11-22 Thread Felix Schumacher
lokesh borse schrieb: >Hi, > >We are using Apache 2.2 installed on windows server 2008 Enterprise >edition, 64 bit. I am extremely surprised that the log file mod_jk.log >(Apache2.2/logs) is increasing so rapidly to 21 GB and I am having >space >issue due to the same. > >I did search on intern

Re: JDBCRealm conection timeout failure on getPassword

2012-10-07 Thread Felix Schumacher
Aladin Dajani schrieb: >Hello List, > >My application is configured for JDBCRealm authentication uses a MySQL >database. >For my own use inside the application, I have setup a connection pool >to >access the database, However, the configuration of JDBCRealm in >server.xml >uses astand-alone co

Re: Login Delay

2012-09-04 Thread Felix Schumacher
de it that isn't commented out. David On 2012-09-04 15:12, Felix Schumacher wrote: 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

Re: Login Delay

2012-09-04 Thread Felix Schumacher
n get a thread dump David On 2012-09-04 14:25, Felix Schumacher wrote: 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 do

Re: Login Delay

2012-09-04 Thread Felix Schumacher
suggesting a firewall issue, which I've been speculating on. Thanks for confirmation about the persistent connection that JDBCRealm tries to keep. I'll look into the DataSourceRealm. Thanks for the tip. David On 2012-08-31 03:16, Felix Schumacher wrote: Am 31.08.2012 04:01, schrieb

Re: Login Delay

2012-08-31 Thread Felix Schumacher
Am 31.08.2012 04:01, schrieb David A. Rush: We've got two different machines (both Windows Server something) running Tomcat 7.0.22, and each running a webapp that uses user authentication. We're using a couple of different schemes (LDAP and database using JDBCRealm with hashed pwords, just datab

Re: java.sql.SQLException: No more data to read from socket

2012-07-21 Thread Felix Schumacher
Am Samstag, den 21.07.2012, 08:44 +0800 schrieb vijay mathew: > For the last 2 failures, this issue appeared on Monday and DB gets restarted > every Saturday. So I assume that this issue has to do something with the DB > restart for the last 2 failures. > > However 1 months back, the same issue

Re: Chasing a SocketTimeoutException with APR

2012-04-02 Thread Felix Schumacher
Christopher Schultz schrieb: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Micheal, > >On 3/30/12 3:37 AM, Osipov, Michael wrote: >> Pid * wrote: >>> Can you switch to the NIO connector and see if a similar issue >>> occurs? >> >> Not on the production system. We are using APR with SSL, s

Re: Writing a custom resource factory

2012-03-16 Thread Felix Schumacher
Am 16.03.2012 09:34, schrieb 1983-01...@gmx.net: Am 16.03.2012 08:24, schrieb Felix Schumacher: > Am 15.03.2012 21:54, schrieb Michael-O: >> Hi folks, >> >> I'd like to write a custom ldap resource factory as same as a data >> source factory. The getOb

Re: Writing a custom resource factory

2012-03-16 Thread Felix Schumacher
Am 16.03.2012 08:24, schrieb Felix Schumacher: Am 15.03.2012 21:54, schrieb Michael-O: Hi folks, I'd like to write a custom ldap resource factory as same as a data source factory. The getObjectInstance method shall return InitialDirContext object. I have written a mock factory and noticed

Re: Writing a custom resource factory

2012-03-16 Thread Felix Schumacher
Am 15.03.2012 21:54, schrieb Michael-O: Hi folks, I'd like to write a custom ldap resource factory as same as a data source factory. The getObjectInstance method shall return InitialDirContext object. I have written a mock factory and noticed that the output is cached by Tomcat. So the object is

RE: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Felix Schumacher
Am Samstag, den 03.03.2012, 11:50 -0600 schrieb Brooke Hedrick: > On Mar 3, 2012 11:48 AM, "Brooke Hedrick" > wrote: > > > > > > On Mar 3, 2012 11:35 AM, "Caldarale, Charles R" < > chuck.caldar...@unisys.com> wrote: > > > > > > > From: Brooke Hedrick [mailto:brooke.t.hedr...@gmail.com] > > > > Sub

Re: Tomcat-DB Connection problem

2012-02-27 Thread Felix Schumacher
Anjib Mulepati schrieb: >Hi All, >I have DB and application in two different machine. My DB is Oracle >Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production. >And my applciation is in Tomcat 6.0.20. >I have following in resource > driverClassName="oracle.jdbc.drive

Re: Servlet Timer error

2012-02-27 Thread Felix Schumacher
Jerry Malcolm <2ndgenfi...@gmail.com> schrieb: >I have several tasks that needs to run periodically as part of an >overall >web application solution... some every few minutes and some once a day. > I >know it's technically not a requirement that it run in a web container. >But it needs all off t

RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-23 Thread Felix Schumacher
Am 23.02.2012 19:50, schrieb Ofer Israeli: Felix Schumacher wrote: Am 23.02.2012 19:32, schrieb Ofer Israeli: Caldarale, Charles R wrote: From: Ofer Israeli [mailto:of...@checkpoint.com] Subject: RE: Tomcat with mod_jk becomes irresponsive after working for awhile I am in the situation

Re: LDAP connection issue

2012-02-23 Thread Felix Schumacher
Am 22.02.2012 21:40, schrieb vbw: Hi all, I am having trouble using FORM based authentication against an LDAP server. I have configured my web.xml and server.xml and created a Login.jsp page and can can successfully authenticate against a simple tomcat-users.xml file. Therefore I am confiden

RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-23 Thread Felix Schumacher
Am 23.02.2012 19:32, schrieb Ofer Israeli: Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Tomcat with mod_jk becomes irresponsive after working for awhile You might want to take a thread dump of Tomcat and see just what is going on. Also look in the Tomcat logs (there a

RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-23 Thread Felix Schumacher
Am 23.02.2012 19:32, schrieb Ofer Israeli: Caldarale, Charles R wrote: From: Ofer Israeli [mailto:of...@checkpoint.com] Subject: RE: Tomcat with mod_jk becomes irresponsive after working for awhile I am in the situation where the server is giving 503s for all incoming requests, so I did a cap

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Felix Schumacher
Am Freitag, den 10.02.2012, 16:54 +0400 schrieb Lev A KARATUN: > Felix Schumacher wrote on 10.02.2012 > 15:31:43: > > > Felix Schumacher > > 10.02.2012 15:32 > > > > > >

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Felix Schumacher
Am 10.02.2012 11:43, schrieb Lev A KARATUN: Does anybody have an idea?.. Hi again. So, my boss told me that it's insecure to give anyone the password to view tomcat's logs and that should be an authentication b

Re: Re[2]: Tomcat 7.0.23 startup freezes at "INFO: Deploying web application directory ..."

2011-11-29 Thread Felix Schumacher
Am 29.11.2011 12:34, schrieb ~ ~: 2. where do i find Michael Zampani's report? http://www.mail-archive.com/users@tomcat.apache.org/msg94574.html 29 ноября 2011, 14:47 от ma...@apache.org: ~ ~ wrote: >Nuances: >- no errors are displayed in logs >- tomcat process can't be shutted down with

Re: Tomcat 7.0.23 startup freezes at "INFO: Deploying web application directory ..."

2011-11-29 Thread Felix Schumacher
Am 29.11.2011 10:19, schrieb ~ ~: Nuances: - no errors are displayed in logs - tomcat process can't be shutted down with shutdown.sh script - http request on 80 port wait forever - it's a multi host configuration - the same setup works well on all previous build, including 7.0.22 - when lib/*.jar

RE: Tomcat-7.0.23 startup deadlocks

2011-11-29 Thread Felix Schumacher
Am 29.11.2011 01:28, schrieb Zampani, Michael: -Original Message- From: ma...@apache.org [mailto:ma...@apache.org] Sent: Monday, November 28, 2011 4:02 PM To: Tomcat Users List Subject: Re: Tomcat-7.0.23 startup deadlocks "Zampani, Michael" wrote: >Hi, > >I'm trying to upgrade an exist

Re: parallel webapp initialization

2011-10-11 Thread Felix Schumacher
moment for example. Regards Felix Regards Alex Am 10.10.2011 um 19:30 schrieb Felix Schumacher: Hi, Am Montag, den 10.10.2011, 10:17 +0200 schrieb Alexander Knöller: Hi Mark. I'd like to give it a try. If I can't find time to do it I'll send an email. I also took interes

Re: parallel webapp initializa​tion

2011-10-10 Thread Felix Schumacher
Christopher Schultz schrieb: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Pid, > >On 10/10/2011 2:28 PM, Pid wrote: >> On 10/10/2011 10:30, sasc sasc wrote: >>> +1 for this enhancement. With configurable number of threads >>> (default: Runtime.getRuntime().availableProcessors()) >> >> Su

Re: parallel webapp initializa​tion

2011-10-10 Thread Felix Schumacher
Am Montag, den 10.10.2011, 11:30 +0200 schrieb sasc sasc: > +1 for this enhancement. With configurable number of threads (default: > Runtime.getRuntime().availableProcessors()) > > I would also like to expand/add to this request: Making contexts available > for request processing continuously as t

Re: parallel webapp initialization

2011-10-10 Thread Felix Schumacher
Hi, Am Montag, den 10.10.2011, 10:17 +0200 schrieb Alexander Knöller: > Hi Mark. > > I'd like to give it a try. > If I can't find time to do it I'll send an email. I also took interest in it and have parallel starting of contexts implemented. But for stopping I couldn't find a central point to imp

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Felix Schumacher
rvlet.service(HttpServlet.java:717) Ok, strange... Do you have any other error messages, you are not showing us? :) Where have you put your jdbc-driver for oracle? Bye Felix > > > On 9/8/2011 2:43 PM, Felix Schumacher wrote: > > Am Mittwoch, den 07.09.2011, 10:22 -0500 schrieb

RE: JNDI configuration with 6.0.29

2011-09-08 Thread Felix Schumacher
Am Mittwoch, den 07.09.2011, 10:22 -0500 schrieb Anjib Mulepati: > Yes I am positive So, your error message changes, if you change your factory code? Say, if you change your code like this ds = (DataSource) envCtx.lookup("jdbc/no_such_name"); Do you see a message like "NameNotFoundException: N

Re: JNDI configuration with 6.0.29

2011-09-07 Thread Felix Schumacher
Anjib Mulepati schrieb: >Hi All, > >I am trying to setup JNDI mapping for oracle JDBC Connection Pooling >with Tomcat 6.0.29. This is giving me following error > >javax.naming.NameNotFoundException: Name dynic is not bound in this >From your code and configuration I would have expected jdbc/dyn

Re: OT: help with concurrency issue

2011-08-21 Thread Felix Schumacher
c.start(); > > > > > > to stop > > > > if(c.isAlive()) > > { > > c.doStop(); //this turn keepRunning to false > > c.interrupt(); > > while(c.isAlive()) > > { > > log.info("Waiting for consumer to stop"); //now im facing a l

Re: OT: help with concurrency issue

2011-08-21 Thread Felix Schumacher
alexis schrieb: >I marked this issue OT because i think is a conceptual issue and not >related to any application per se. > >I have 2 main issues with concurrency, one class is a queue > >public class Queue { > >private static org.apache.log4j.Logger log = >Logger.getLogger(Queue.class); >

Re: OT: help with concurrency issue

2011-08-21 Thread Felix Schumacher
alexis schrieb: >I marked this issue OT because i think is a conceptual issue and not >related to any application per se. > >I have 2 main issues with concurrency, one class is a queue > >public class Queue { > >private static org.apache.log4j.Logger log = >Logger.getLogger(Queue.class); >

Re: Stuck at making jsvc while installing tomcat

2011-08-14 Thread Felix Schumacher
Hi Jörg, Am Sonntag, den 14.08.2011, 14:48 +0200 schrieb kampmann: > Hi list, just got a similar error like > > ** Shen LI > > > **I normally do not have any problem compiling packages etc. can't help you there. > > My question is therefore: > >

Re: Question: Tomcat SSL configuration issue

2011-07-30 Thread Felix Schumacher
to establish chain from reply I think you don't want to add the cert into your trustcacert, so try removing -trustcacerts from your command line. Bye Felix > > I'm I missing something here Thanks in advance. > > Sammaiah > > > On 27 July 2011 19:41, Feli

Re: Question: Tomcat SSL configuration issue

2011-07-27 Thread Felix Schumacher
Sammaiah Kyatham schrieb: >Hello, > Your keystore has no private key. The output of keytool below shows only a certificate. You can use keytool -importkeystore to import key and certificate at the same time. Regards Felix >Could you help me on this issue. I spent many hours with the various

Re: Adding reference to properties file in Tomcat context.xml or server.xml

2011-07-27 Thread Felix Schumacher
Anu Gali schrieb: > >    I am trying to externalize a properties file outside of the app >war in the tomcat context itself.This is so that the war can be build >and ported to different env without having to change the properties >file in each env every time. > >Lets say that the proper

Re: Problems after updating from Tomcat 3.3 to 4.1: http tunneling servlet not working anymore

2011-07-27 Thread Felix Schumacher
shooting_and_Diagnostics and find the troublemaker :) Common advise is to take a few threadtraces a few seconds apart. Then find stacktraces which apear to be stuck. Maybe it just tries to do a dns lookup or connect to some host until it times out. Regards Felix > > Thanks and best r

Re: Problems after updating from Tomcat 3.3 to 4.1: http tunneling servlet not working anymore

2011-07-26 Thread Felix Schumacher
Hi Volker, Am Dienstag, den 26.07.2011, 16:29 +0200 schrieb Volker: > Hello, > > my current system configuration is like following: > > - FreeBSD 8.2 > - apache-2.2.17_2 > - mod_jk-ap2-1.2.31_1 Apache2 JK > - tomcat 4.1.36_2 As you said elsewhere in this thread, that you are willing to upgrade t

Re: SSL Certificate formats, requirements for import into existing keystore

2011-07-06 Thread Felix Schumacher
"Peterson, Tommy" schrieb: I have a keystore for an application that runs on Tomcat. People here introduced a load balancer (LB) into the mix for this same application and therefore I have to use keytool to import the LB's certificate into the existing keystore. However, the key and the cer

Re: SSL Certificate formats, requirements for import into existing keystore

2011-07-06 Thread Felix Schumacher
Hi Marvin, Marvin Addison schrieb: >> There is some "junk" ("bag attributes")n the file that I don't' >understand. I am used to just seeing "-BEGIN CERTIFICATE- >"END CERTIFICATE- "" ""-BEGIN RSA PRIVATE KEY- >"-END RSA PRIVATE KEY- " > >As far as I know, keytool

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
know which package you've downloaded, since you haven't told us. And if you want to run the webapp inside tomcat and outside of eclipse, you will have to copy the cxf-libs into WEB-INF/lib, or tomcat can't find them. Felix > > 2011/6/25 Felix Schumacher > > > Am Sams

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
de tomcat - too? Felix > folder do not exist in cxf package. > > 2011/6/25 Felix Schumacher > > > Am Samstag, den 25.06.2011, 11:23 +0200 schrieb Miguel Bonilla: > > > I am trying to integrate a Java Application into a J2EE proyect using a > > JSP > > > and

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
Am Samstag, den 25.06.2011, 11:23 +0200 schrieb Miguel Bonilla: > I am trying to integrate a Java Application into a J2EE proyect using a JSP > and > a Servlet. > I run the proyect as Java Application (in Eclipse J2EE) and works perfectly, > but I run the JSP in server and fails. > > This is the b

Re: Null-pointer exception from response.encodeUrl under Windows Tomcat 7

2011-06-09 Thread Felix Schumacher
Am Donnerstag, den 09.06.2011, 09:40 +0100 schrieb Jocelyn Ireson-Paine: > On Thu, 9 Jun 2011, Felix Schumacher wrote: > > > Am Donnerstag, den 09.06.2011, 04:53 +0100 schrieb Jocelyn Ireson-Paine: > >> Hi, > >> > >> I'm getting sporadic null

Re: Null-pointer exception from response.encodeUrl under Windows Tomcat 7

2011-06-09 Thread Felix Schumacher
Am Donnerstag, den 09.06.2011, 04:53 +0100 schrieb Jocelyn Ireson-Paine: > Hi, > > I'm getting sporadic null-pointer exceptions from 'response.encodeUrl'. > This is with Tomcat 7.0.14, the latest stable version to which I upgraded > an hour ago, and Java 1.6.0_26, which again I upgraded to at th

Re: Mod_jk working for failover

2011-06-08 Thread Felix Schumacher
bled > ?? > > worker.43m1g1.redirect=43m2g1 > > Do I need more changes in my setup? I don't think so. Felix > > Regards > > > > 2011/6/8 Felix Schumacher > > > Am Mittwoch, den 08.06.2011, 08:41 +0200 schrieb Manuel Fernández > > Panzuela:

Re: Mod_jk working for failover

2011-06-08 Thread Felix Schumacher
Am Mittwoch, den 08.06.2011, 08:41 +0200 schrieb Manuel Fernández Panzuela: > my setup: > > # Define list of workers that will be used for mapping requests > worker.list=loadbalancer43,status > > # Definicion de plantilla > worker.template43.port=8009 > worker.template43.type=ajp13 > worker.templ

RE: ClassNotFoundException WSServlet with Tomcat 7.0.11 on Windows Server 2008 R2 using METRO 2.1

2011-05-21 Thread Felix Schumacher
Am Freitag, den 20.05.2011, 09:51 -0500 schrieb Caldarale, Charles R: > > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > > Subject: Re: ClassNotFoundException WSServlet with Tomcat 7.0.11 on Windows > > Server 2008 R2 using METRO 2.1 > > > are you sure that you need to put you

Re: Tomcat6

2011-05-10 Thread Felix Schumacher
en. Glad it works with tomcat7. Bye Felix Thx anyway for your help ^^ On Tue, May 10, 2011 at 8:52 AM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: Hi Micka, On Sun, 8 May 2011 20:44:01 +0200, Micka wrote: Thanks for your answer, I just removed the "tomcat-

Re: Tomcat6

2011-05-09 Thread Felix Schumacher
Hi Micka, On Sun, 8 May 2011 20:44:01 +0200, Micka wrote: Thanks for your answer, I just removed the "tomcat-dbcp.jar" that was on my web app librairies. But I still have the same problem as before ! Which is : May 8, 2011 8:39:40 PM org.apache.catalina.core.AprLifecycleListener init INFO

Re: mod_jk Loadbalancer for 2 different tomcat Installations

2011-05-09 Thread Felix Schumacher
Hello Alexander, On Mon, 9 May 2011 11:48:54 +0200, Alexander Diedler wrote: Hello, I have a question about the configuration of loadbalancer with mod_jk for Apache 2.2. We have 2 physical servers. Both have 2 different Tomcat Installations. Tomcat 6.0.26 and 6.0.32. We make worker1 and worker2

Re: recovering connections on jdbc connection pool

2011-05-08 Thread Felix Schumacher
> org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1104) > at > org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106) > ... 5 more > Exception in thread "XCALL3-Scheduler" java.lang.

Re: recovering connections on jdbc connection pool

2011-05-08 Thread Felix Schumacher
Am Sonntag, den 08.05.2011, 11:42 -0300 schrieb alexis: > Hello all, is there any way to recover lost connectios on a pool? > > Here's the issue, for an application, using postgresql jdbc (same happens > with mysql as i tried), having query errors syntax or duplicated keys, > actually no big dea

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-08 Thread Felix Schumacher
Am Donnerstag, den 05.05.2011, 11:36 -0600 schrieb Yongqin Xu: > Hello, Churck, > > I tried to use $CATALINA_OPTS env to set my ${oracle.common.home} variable in > common.loader property, > starting TC has no problem, but when shutting down TC, it gives me error > saying it could not find the ja

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Felix Schumacher
"Christopher Schultz" schrieb: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Mark, > >On 5/3/2011 10:52 AM, Mark Thomas wrote: >> On 03/05/2011 15:46, André Warnier wrote: >>> Mark Thomas wrote: On 03/05/2011 15:22, Christopher Schultz wrote: > All, > > Moments ago in our

Re: pure tomcat failover (no loadbalacing)

2011-05-02 Thread Felix Schumacher
Am Montag, den 02.05.2011, 10:06 -0400 schrieb Christopher Schultz: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Felix, > > On 4/30/2011 5:09 AM, Felix Schumacher wrote: > > The original req, as I understood it: > > > > tomcat1 > > \--

Re: pure tomcat failover (no loadbalacing)

2011-04-30 Thread Felix Schumacher
On Fri, 29 Apr 2011 18:39:09 -0400, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 4/28/2011 12:44 PM, Felix Schumacher wrote: "Christopher Schultz" schrieb: Felix and Guillaume, I think you guys are working too hard for this. Isn't i

Re: pure tomcat failover (no loadbalacing)

2011-04-28 Thread Felix Schumacher
"Christopher Schultz" schrieb: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Felix and Guillaume, > >I think you guys are working too hard for this. Isn't it as simple as >using a redirect from each worker to the other, with no clustering or >anything like that? You don't even need to set

Re: pure tomcat failover (no loadbalacing)

2011-04-28 Thread Felix Schumacher
On Wed, 27 Apr 2011 21:15:36 +0100, Guillaume Favier wrote: On Wed, Apr 27, 2011 at 8:55 PM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: Am Mittwoch, den 27.04.2011, 19:20 +0100 schrieb Guillaume Favier: > Felix, > > Dis you check my workaround ? > > >

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Felix Schumacher
Am Mittwoch, den 27.04.2011, 19:20 +0100 schrieb Guillaume Favier: > Felix, > > Dis you check my workaround ? > > > On Wed, Apr 27, 2011 at 7:01 PM, Felix Schumacher < > felix.schumac...@internetallee.de> wrote: > > > Am Mittwoch, den 27.04.2011, 10:21 +020

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Felix Schumacher
Am Mittwoch, den 27.04.2011, 10:21 +0200 schrieb Felix Schumacher: > On Wed, 27 Apr 2011 09:58:45 +0200, Felix Schumacher wrote: > > On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote: > >> Thanks for your answer Felix, > > Well, after rethinking my original answe

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Felix Schumacher
On Wed, 27 Apr 2011 09:58:45 +0200, Felix Schumacher wrote: On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote: Thanks for your answer Felix, Well, after rethinking my original answer, I think you will have to define two clusters: worker.list=cluster1,cluster2 ... worker.c2t2

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Felix Schumacher
use JkMount /ABC* cluster1 JkMount /DEF* cluster2 Regards Felix On Tue, Apr 26, 2011 at 8:36 PM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: On Mon, 25 Apr 2011 09:40:59 +0100, Guillaume Favier wrote: Hi, I have 2 tomcat 5.5 server. Each of them handling a set (50+

Re: Tolerate expired certificates

2011-04-26 Thread Felix Schumacher
On Tue, 26 Apr 2011 20:44:38 +0200, Thomas Hill wrote: Hi, I am using clientAuth on Tomcat 5.5.30, JVM version 1.6.0_21-b06 from Sun on Linux. The client certificates are self-generated and signed as I am acting as CA for the client certificates. Authentication is working as expected until the

Re: pure tomcat failover (no loadbalacing)

2011-04-26 Thread Felix Schumacher
On Mon, 25 Apr 2011 09:40:59 +0100, Guillaume Favier wrote: Hi, I have 2 tomcat 5.5 server. Each of them handling a set (50+) of third party webapps name /ABC* and /DEF*. Each of these webapp is quite memory consumming when started (more than 300M). I would like all connection to ABC* webapp

Re: PUT Data Available in App?

2011-04-03 Thread Felix Schumacher
On Sat, 2 Apr 2011 16:50:53 -0400, Jonathan Rosenberg wrote: My question was sloppy. I have a Grails app. If I use POST it sees data. If I use PUT in same situation data does not show up in Grails App. Spying shows me data is sent. I'm guessing tomcat handles put data differently than post d

Re: Session timeouts: ignore "periodic polling" URL?

2011-03-21 Thread Felix Schumacher
On Sun, 20 Mar 2011 22:26:46 +0100, André Warnier wrote: Felix Schumacher wrote: ... The creation or retrieval of a session, as far as I understand it, is totally under application control. In other words, if your servlet (or JSP), when it is called, executes a

Re: Session timeouts: ignore "periodic polling" URL?

2011-03-20 Thread Felix Schumacher
On Sun, 20 Mar 2011 15:40:48 +0100, André Warnier wrote: sebb wrote: On 20 March 2011 11:19, André Warnier wrote: sol myr wrote: Hi, We have a Servelts/JSP application Tomcat6. Our javascripts issues automatic, periodic polling requests (Ajax and Comet), in order to keep the view up-to-da

Re: Hook into Tomcat before web applications load

2011-03-20 Thread Felix Schumacher
Am Samstag, den 19.03.2011, 19:26 -0400 schrieb Pulkit Singhal: > Hello, > > Is there a hook exposed in tomcat such that a custom class can be > introduced to do some work at a point where we have a list of the > docBase attribute for all the web applications that will be hosted by > this tomcat i

RE: how to configue tomcat ldap 2008

2011-01-21 Thread Felix Schumacher
ys a good idea. Bye Felix Thanks, Jill -Original Message----- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Thursday, January 20, 2011 11:11 AM To: Tomcat Users List Subject: RE: how to configue tomcat ldap 2008 X-HOSTLOC: alverno.edu/10.0.60.9 Am Donnerstag, den

RE: how to configue tomcat ldap 2008

2011-01-20 Thread Felix Schumacher
Am Donnerstag, den 20.01.2011, 07:19 -0600 schrieb Jill Han: > Thanks for your reply. > 1. Apache Tomcat version is 5.5.15. > 2. Below is from the log file. > Jan 19, 2011 3:29:26 PM org.apache.catalina.realm.JNDIRealm authenticate > SEVERE: Exception performing authentication > javax.naming.Partia

Re: Increase tomcat log level

2010-12-29 Thread Felix Schumacher
Am Mittwoch, den 29.12.2010, 04:31 -0800 schrieb Amol Puglia: > Hello Team, > > Please let us know how to increase the tomcat log level. > > I am using tomcat 5.5.15 version and jdk 1.6.0_17. > > Let me know in case you need further details. Have you tried to read http://tomcat.apache.org/tomcat

Re: TOMCAT be in Hung state?

2010-12-08 Thread Felix Schumacher
Am Mittwoch, den 08.12.2010, 13:10 +0530 schrieb Karthik Nanjangude: > Hi > > Spec > > a) JDK 1.6 > > b) 2 Web Server Tomcat 5.0.20 (on same O/s with different Startup /shutdown > ports & share the same RAM / CPU Processor] > > c) O/s Linux Red hat [ Linux DTVMS1 2.6.18-128.1.10.el5PAE #1

Re: Tomcat 6.0.18 JNDIRealm ConnectException: Connection timed out

2010-10-29 Thread Felix Schumacher
Hi, On Thu, 28 Oct 2010 21:50:15 +0200, "S.V." wrote: > Hi, > > i have tomcat 6.0.18 and configured it to use JNDIRealm for a specific That version is quite old. In newer versions you could try to add 'adCompat="true"' as documented on http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html.

Re: DBCP connections not in accordance with netstat output

2010-10-20 Thread Felix Schumacher
Hi Marc, Am Mittwoch, den 20.10.2010, 00:54 +0200 schrieb Marc Wilmots: > Hi List, > > I installed Lambda Probe to debug a problem that I'm having with a Liferay > portal (5.1.2): > > Tomcat: 6.0.26 with dbcp > JDK: 1.6.0_18 > DB: Oracle 10.2.0.4 (ojdbc14) > RHEL 5.4 64Bits > > When launching a

Re: Tomcat5 and ajp13 (port 8009) localhost only

2010-10-12 Thread Felix Schumacher
On Tue, 12 Oct 2010 09:42:13 +0200, Petr Hracek wrote: > Dear tomcat users, > > I would like to configure tomcat5 so that ajp13 which used port 8009 > will listen on localhost only. > In the front of tomcat5 is apache 2.2. > Could you please help me how to do that so that output of command > lsof

RE: How to authenticate user against ldap grouper / role

2010-10-01 Thread Felix Schumacher
On Fri, 01 Oct 2010 20:23:33 +0200, Felix Schumacher wrote: > userSearch="&(cn={0})(specialRole=admin)" The "&" will have to be masked as "&" if used in the realm (xml file). Sorry Felix --

RE: How to authenticate user against ldap grouper / role

2010-10-01 Thread Felix Schumacher
On Fri, 1 Oct 2010 10:50:53 -0700, "Manish Kashikar -X (mkashika - Zensar at Cisco)" wrote: > Appreciate if someone can help us in doing the setup to validate user > against ldap role / grouper I would start reading the documentation at http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JND

Re: URL rewrite

2010-09-02 Thread Felix Schumacher
Am Donnerstag, den 02.09.2010, 09:49 -0700 schrieb Mohit Anchlia: > On Thu, Sep 2, 2010 at 9:35 AM, michel wrote: > > > > - Original Message - From: "Mohit Anchlia" > > To: "Tomcat Users List" > > Sent: Thursday, September 02, 2010 12:25 PM > > Subject: Re: URL rewrite > > > > > >> On We

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-26 Thread Felix Schumacher
Hello, even if you decided to remove httpd and go directly with virtual hosts in tomcat, there are two things in your httpd config, which could be advanced (see inline below). On Wed, 25 Aug 2010 18:13:28 +0200, arnaud icard wrote: > Hello, > > I guess my subject isn't clear at all so here is

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-23 Thread Felix Schumacher
i had moved them inside the login > function. > > > > > > > > From: Felix Schumacher > To: Tomcat Users List > Sent: Sat, August 21, 2010 6:07:18 PM > Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux > > > >

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Felix Schumacher
ith the values of your user beans. Hth Felix > > > >____ >From: Felix Schumacher >To: Tomcat Users List >Sent: Sat, August 21, 2010 4:13:52 PM >Subject: RE: Sessions mix-up on Tomcat 6.0.26 on Linux > >Am Freitag, den 20.08.2010,

RE: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Felix Schumacher
Am Freitag, den 20.08.2010, 21:54 -0700 schrieb Yawar Khan: > Chris, you identified a possible sql injection in my code and declaring it a > very bad piece of code. Despite the fact that jdbc does not allow more than 1 > query on this execute function and I am doing fields validation before > su

Re: JNDI: LDAPv3 with StartTLS

2010-08-19 Thread Felix Schumacher
Am Mittwoch, den 18.08.2010, 20:45 + schrieb Igor Galić: > > org.apache.catalina.realm.JNDIRealm.getUserByPattern(JNDIRealm.java:1269) > > This means, that you specified userPattern='...' in your realm > > configuration. And you since your pattern looks like > > '(uid={0})(...)' it is probably

Re: JNDI: LDAPv3 with StartTLS

2010-08-19 Thread Felix Schumacher
Am Donnerstag, den 19.08.2010, 09:36 +0200 schrieb Rainer Jung: > On 18.08.2010 22:45, Igor Galić wrote: > > > >> org.apache.catalina.realm.JNDIRealm.getUserByPattern(JNDIRealm.java:1269) > >> This means, that you specified userPattern='...' in your realm > >> configuration. And you since your patt

Re: JNDI: LDAPv3 with StartTLS

2010-08-18 Thread Felix Schumacher
On Tue, 17 Aug 2010 21:30:56 + (UTC), Igor Galić wrote: >> That looks right. I believe I have found one issue with my code. It >> will >> get a InitialDirContext with your admin user and password, before it >> is >> negotiating TLS. I have attached another ContextFactory, which will >> remove

Re: JNDI: LDAPv3 with StartTLS

2010-08-17 Thread Felix Schumacher
Am Dienstag, den 17.08.2010, 14:31 + schrieb Igor Galić: > > Either use the LdapTlsContextFactory, or the patched tomcat. Not both. > > I > > would advise to use the factory, since you can use a supported > > tomcat. > > ACK. Done that. In a vanilla Tomcat, I've put your LdapTlsContextFactory

Re: JNDI: LDAPv3 with StartTLS

2010-08-17 Thread Felix Schumacher
On Mon, 16 Aug 2010 22:39:14 + (UTC), Igor Galić wrote: > - "Felix Schumacher" wrote: > >> On Sun, 15 Aug 2010 21:33:09 + (UTC), Igor Galić >> wrote: >> > - "Felix Schumacher" wrote: >> > >> >> Ok,

Re: JNDI: LDAPv3 with StartTLS

2010-08-16 Thread Felix Schumacher
On Sun, 15 Aug 2010 21:33:09 + (UTC), Igor Galić wrote: > - "Felix Schumacher" wrote: > >> Ok, my patch will not work, since new InitialDirContext(env) will not >> create a LdapContext, but a DirContext. You could try to change new >> InitialDirConte

Re: JNDI: LDAPv3 with StartTLS

2010-08-15 Thread Felix Schumacher
Ok, my patch will not work, since new InitialDirContext(env) will not create a LdapContext, but a DirContext. You could try to change new InitialDirContext(env) into InitalLdapContext(env, null) as used in the sun startssl example. I will test it tomorrow. But it may be easier to allow ssl with y

Re: JNDI: LDAPv3 with StartTLS

2010-08-15 Thread Felix Schumacher
Am Sonntag, den 15.08.2010, 17:53 + schrieb Igor Galić: > - "Felix Schumacher" wrote: > > /snip > > > I've traced the operation with wireshark only to find it's not even > > trying to do any kind of SASL negotiation. > > > That see

Re: JNDI: LDAPv3 with StartTLS

2010-08-15 Thread Felix Schumacher
Am Sonntag, den 15.08.2010, 14:14 + schrieb Igor Galić: > Hi folks, > > I'm running Hudson in Tomcat 6.0.29 on Debian/Squeeze/amd64 with > > i.ga...@pheme /opt/tomcat6 % java -version > java version "1.6.0_18" > OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) > OpenJDK 64-Bit Server

Re: 2 separate clusters, crosstalk?

2010-08-11 Thread Felix Schumacher
Hi Chris, On Tue, 10 Aug 2010 17:05:11 -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On 8/6/2010 12:35 PM, cnnfntop wrote: >> Below are the configs, one from one of the prod servers, the other from >> one of >> the stage servers (note that the member/

Re: Rewrite URLs inside HTML pages?

2010-08-02 Thread Felix Schumacher
Hi Rainer, On Mon, 02 Aug 2010 10:00:57 +0200, Rainer Jung wrote: > On 02.08.2010 06:31, Leon Kolchinsky wrote: >> Hello, >> >> I've configured Tomcat (apache-tomcat-5.5.26) to run behind Apache Http >> (v.2.2.3 ) using mod_jk. >> >> We have 2 of those Tomcat servers running on different machines.

<    1   2   3   4   >