Re: how to set context path on TOMCAT6

2008-08-21 Thread Felix Schumacher
On Thu, August 21, 2008 9:04 am, Sushil Dodake wrote: hi all, I am using TOMCAT 6. i have a application war file named as 'aaa.0.0.1d.war' i need to set a context path for this application as '/reporting-application' so for this to work i am creating a xml file 'reporting-application.xml'

Re: Servlet Memory Leak

2008-08-29 Thread Felix Schumacher
Am Freitag, den 29.08.2008, 19:56 +0200 schrieb Pierre Goupil: Hello, Interesting thread, indeed. But I've googled around and can't find JMap homepage, I'm afraid. It seems like some other programs has the same name. Even with the profiler keyword, it doesn't give the page I'm looking for.

Re: Unable to import certificate into keystore

2008-09-11 Thread Felix Schumacher
Hi David, http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html says there are two modes for importing certificates. 1. You choose an alias, which is already present in your keystore. keytool will assume, that the cert is a certificate reply (which is probably wrong in your

Re: JNDIRealm - mapping LDAP group to security role

2008-10-08 Thread Felix Schumacher
Hi Jerome, have you thought about adding an extra attribute to the groups, so that the mapping is done by a normal ldap query? Consider having an objectClass tomcatRoleMapping which has one attribute tomcatRole. Than with your mapping like below securityrole1=group1,group2,group4

RE: JNDIRealm - mapping LDAP group to security role

2008-10-08 Thread Felix Schumacher
Am Mittwoch, den 08.10.2008, 12:04 -0500 schrieb Caldarale, Charles R: From: Felix Schumacher [mailto:[EMAIL PROTECTED] Subject: Re: JNDIRealm - mapping LDAP group to security role have you thought about adding an extra attribute to the groups, so that the mapping is done by a normal

Re: problem with Connection pooling in tomcat 5.5

2008-11-18 Thread Felix Schumacher
Am Dienstag, den 18.11.2008, 23:37 +0530 schrieb Sridhar n: Hello friends, I am doing small web application ,in that I am doing connection pooling.I followed these steps: *1.In Conf/server.xml - added below code* Server port=8005 shutdown=SHUTDOWN... Resource name=jdbc/myoracle

Re: Tomcat App becomes Unresponsive

2008-01-26 Thread Felix Schumacher
Am Freitag, den 25.01.2008, 16:40 -0500 schrieb tc: The calls look like this: public void testXXX(DataSource ds, String login) { PreparedStatement ps=null; ResultSet rs=null; try { ... }catch (Exception e) { System.out.println(Exception: + e);

Re: Best Practices for JNDI DataSources/Authentication

2008-03-05 Thread Felix Schumacher
On Thu, March 6, 2008 1:40 am, pbdavey wrote: I've been looking through a lot of tutorials regarding using JNDI for datasources and ldap authentication and was wondering if someone could explain things. Most of what I've come across has authentication completely seperate from the

Re: Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Felix Schumacher
Hi Nuno, I would think you have configured mod_jk to use worker1 as the only worker in apache. You should use the loadbalancer worker in mod_jk.conf like JkMount /myapp/* loadbalancer and change your worker.properties to inlude the loadbalancer worker in the worker.list property like

Re: How to get Tomcat to pick up Oracle database connections after database shutdown?

2008-04-04 Thread Felix Schumacher
On Thu, April 3, 2008 9:45 pm, steve kerver wrote: ... (If I shutdown the Oracle database and then don't do a Tomcat restart when the database comes back up, we get HTTP 500 errors). ... Also- FYI, we are using Hibernate. You are not telling us, which tomcat version, java version or OS you

Re: ROOT as 'ROOTORIG'

2008-04-14 Thread Felix Schumacher
Am Montag, den 14.04.2008, 23:16 +0530 schrieb karthikn: Hi ROOT_orig? What happens if you reference what you actually named it as? Ok Am sorry ...( I rename the ROOT as ROOT_orig and NOT 'ROOTORIG' but still the Browser status is HTTP Status 404 - /ROOT_orig/manager/html

Re: Apache 2.2.4 + Tomcat 5.5 + Mod_jk 1.2 causing login loop

2008-04-17 Thread Felix Schumacher
On Wed, April 16, 2008 7:23 pm, murthy gandikota wrote: We have 2 tomcat servers being load-balanced by a front-end apache server using mod-jk. Whenever we open a new browser and point the url to the http://fakedomain.com/xyz/content/home/home.jsf and submit the form, we get back the same form

Re: Problem with JNDI using a changed context root path

2008-04-21 Thread Felix Schumacher
On Mon, April 21, 2008 10:55 am, Stefan Dirschnabel wrote: Hi, I experience a problem changing the context root path of my Tomcat 5.5. I deploy my application using a war file. Because the Application can now only be accessed using www.url.de/warfilename I changed the context root of my

Re: mod_jk + tomcat 5.5 and apache2.2

2008-05-08 Thread Felix Schumacher
On Thu, May 8, 2008 6:21 am, mamta chaudhary wrote: I am configuring mod_jk to connect apache2.2 and tomcat5.5. But it seems apache is not connecting to tomcat. If I run http://example.com:8080/jsp-examples/ or http://example.com:7690/jsp-examples/ [here 8080 is tomcat port and 7690 is

Re: response goes through load balancer?

2008-05-08 Thread Felix Schumacher
On Thu, May 8, 2008 6:16 am, Dave wrote: Hi, I am using Apache mod JK as load balancer for tomcat instances. Tomcat instances are on the different machines with public IP addresses. Will the HTTP responses go back to the Apache load balance? If so, it will slow down the response. how to

Re: Restart TC with cron/sh

2008-07-07 Thread Felix Schumacher
On Mon, July 7, 2008 4:11 pm, Piller Sébastien wrote: Yes, we're running Linux. I'm not sure what's my distrib. I'm using our dedicated hosting, administrated via ssh. When I need to start tomcat, I just use the startup.sh script (the one in /bin/). Same to shutdown: use shutdown.sh. Have you

Re: Auth incorrectly redirects to img file

2008-07-29 Thread Felix Schumacher
Am Dienstag, den 29.07.2008, 13:44 -0400 schrieb Jerry Atrick: OK, a bit more info. I might have set up my tomcat incorrectly, tho I'm not entirely sure why. In my login.jsp file, I have a simple image div id=logoimg src=c:url value='/img/logo.gif' / //div which when I try to login,

Re: JNDIRealm and LDAP

2006-03-04 Thread Felix Schumacher
Am Mittwoch, den 01.03.2006, 08:40 +0100 schrieb Leucht, Axel: Hi, I'm currently trying to protect a tomcat web-app via LDAP. This application handled the protection against a LDAP server with a customized login procedure before. As there is now some more sensible content in the web-app,

Re: Configure JNDI Realm For Active Directory Under Tomcat 5.5.12 on OSX

2006-04-08 Thread Felix Schumacher
Am Freitag, den 07.04.2006, 17:35 -0400 schrieb John Leyden: ... 2) SERVER.XML excerpt: !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost [snip] Realm className=org.apache.catalina.realm.JNDIRealm

Re: ArrayIndexOutOfBoundsException

2009-11-25 Thread Felix Schumacher
Am Dienstag, den 24.11.2009, 17:57 +0100 schrieb geoff...@fileflow.com: Hi everyone. I'm stuck with a problem I don't understand. We have a tomcat server and after redeploying our war file, we get this error: ... Are in and out instance variables? They should be method variables, like

RE: How to get java process id of a user running tomcat

2009-12-02 Thread Felix Schumacher
Have you tried to use the evironment variable CATALINA_PID? That variable should be set to a file(name) in which the pid of tomcat will be stored. You can take a look at bin/catalina.sh for more information. Bye Felix On Wed, 2 Dec 2009 08:57:45 -, gerhardus.geldenh...@gta-travel.com wrote:

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Felix Schumacher
Am Mittwoch, den 02.12.2009, 15:42 -0500 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 12/2/2009 5:48 AM, Felix Schumacher wrote: Have you tried to use the evironment variable CATALINA_PID? That variable should be set to a file(name) in which

RE: JSSE question

2009-12-07 Thread Felix Schumacher
Am Montag, den 07.12.2009, 10:25 -0800 schrieb Vadim Letitchevski: Bill. I have followed the recommendations in that document but did not succeed. So I have a set of self-generated (using OpenSSL) credentials. OpenSSL server and client work fine (connect) using these credentials with

Re: tomcat 5 and the JVM

2009-02-02 Thread Felix Schumacher
Hi Ray, On Mon, February 2, 2009 1:59 pm, Ray Holme wrote: I run tomcat 6 on Linux and have multiple applications in development mode. From my testing I have discovered that a Java bean shared by all applications and with ALL methods as static SEEMS to have a separate instance for each

Re: WLSTInterpreter classloading

2009-06-18 Thread Felix Schumacher
Hi, On Wed, June 17, 2009 00:20, Pankaj Tandon wrote: Hi all, I know Tomcat classloading is a hairy subject but I've tried all I could and would appreciate some help! I'm using Tomcat 6.0.18 with JDK 1.6 My webapp uses the Weblogic supplied Jython Interpreter called WLSTInterpreter. My

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Felix Schumacher
Am Montag, den 21.05.2007, 13:54 +0800 schrieb Peter: hi all, I have come into a very wired problem. here it is. my project using JBuilder 2006 and tomcat 5.5.20. when i put a 0 into a list and get 1 as a result. simple code for testing! List alist =new ArrayList(); alist.add(0);

Re: Help with tomcat 5.0.28 loadbalancing

2007-06-13 Thread Felix Schumacher
Am Di, 12.06.2007, 20:32, schrieb Dwayne A. Ghant: Almost got it loadbalancing almost wokring need minor help finishing off. Things have chang since I havn't did this in about 3 years. I keep getting error messages in my mod_jk.log file below every time apache initializes. The connector

Re: worker redirect problems

2010-02-08 Thread Felix Schumacher
Am Montag, den 08.02.2010, 13:21 +0100 schrieb Paolo Santarsiero: Hi, in my cluster I have many tomcat enable and two tomcat in sleeping, all in load balancing. The sleepers start only when one or more active tomcat go down, managing thier sessions. In order to do this I use

Re: Tomcat 6.0.20 Returning NullPointer upon closing response.getWriter()

2010-02-22 Thread Felix Schumacher
Hi, have you checked, that you aren't sharing the request object by saving it in an instance variable? Sharing it would explain such an error. Bye Felix chinmaytotekar chinmaytote...@gmail.com schrieb: Tomcat returned NullpointerException upon closing response.getWriter(). This does not

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Felix Schumacher
Hi, have you checked, that no context file for your webapp exists in conf/Catalina/localhost? The file would be named like your webapp but ending with .xml. So if your webapp is called foo. The file would be conf/Catalina/localhost/foo.xml. Another thing with filenames. You called your context

RE: DB connection error -Tomcat 6 config

2010-02-27 Thread Felix Schumacher
Hi, Am Donnerstag, den 25.02.2010, 14:45 -0600 schrieb Propes, Barry L : Sorry for the delay - supplying both my META-INF/context.xml and webapps/WEB-INF/web.xml contents. just to be sure, the dirs META-INF and WEB-INF are both located inside your webapplication, right? Have you checked, that

Re: JNDI Realm question

2010-03-09 Thread Felix Schumacher
Hi Leo, On Mon, 8 Mar 2010 14:11:50 -0700, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html Using Tomcat 6.0.24 on Windows Server 2003 Standard R2 SP2 1.

Re: set up tomcat for biopython

2010-05-11 Thread Felix Schumacher
Am Dienstag, den 11.05.2010, 17:36 +0200 schrieb Silvio Tschapke: Hi all, how do I configure tomcat that it finds the biopython libaries? Biopython is not included in jython.jar (which I have moved into the tomcat/lib folder. Biopython installs itself into the python26/lib/side-packages

Re: AW: Logger / Context

2010-06-01 Thread Felix Schumacher
Hi Pid, Am Dienstag, den 01.06.2010, 10:40 +0100 schrieb Pid *: On 1 Jun 2010, at 09:08, Stefan Rainer s.rai...@teamaxess.com wrote: Hello, thank you for your reply but I do not manage to get my desired result. We have several axis*** servlets installed in /webapps of Tomcat 6.0*.

RE: Allowing only specific users LDAP access

2010-06-08 Thread Felix Schumacher
On Tue, 8 Jun 2010 10:16:01 -0700, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, June 08, 2010 9:12 AM To: Tomcat Users List Subject: RE: Allowing only specific users LDAP

Re: Allowing only specific users LDAP access

2010-06-08 Thread Felix Schumacher
On Tue, 8 Jun 2010 08:25:04 -0700 (PDT), Mark-E mer...@hbs.edu wrote: I have setup an https instance of Tomcat and I am trying to allow only specific users access. In the current configuration, anyone who is in LDAP can get in. Here is the current configuration in the server.xml

DefaultServlet and default character encoding

2010-06-17 Thread Felix Schumacher
Hi, I have a character encoding problem with the DefaultServlet. We use it to serve static html content, which is encoded in utf-8. The DefaultServlet doesn't set characterset in the response, so the browser looks for a meta-tag describing the encoding. Luckily these are set in our content and

Re: DefaultServlet and default character encoding

2010-06-18 Thread Felix Schumacher
On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Felix Schumacher felix.schumac...@internetallee.de: For the moment I have written a filter, which sets a default encoding, as soon as Response.setContentType(String type) is called

Re: DefaultServlet and default character encoding

2010-06-18 Thread Felix Schumacher
On Fri, 18 Jun 2010 12:50:31 +0200, Rainer Jung rainer.j...@kippdata.de wrote: On 18.06.2010 11:04, Felix Schumacher wrote: On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Felix Schumacherfelix.schumac...@internetallee.de: For the moment I have

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Felix Schumacher
Hi Moritz, Am Dienstag, den 27.07.2010, 15:40 +0200 schrieb Moritz Winter: My issue is with the mod_jk plugin. I want to redirect my subdomain requests jira.example.com to a tomcat 6 virtual host called jiraapp. If I call the subdomain jira.example.com Im always getting the default tomcat

RE: Does Tomcat have something similar to JRun's virtual-mapping?

2010-08-01 Thread Felix Schumacher
Hi Bob. Am Freitag, den 30.07.2010, 11:39 -0700 schrieb Bob Carpenter: Hi Pid, Thanks for the useful explanation with an easy to understand example! I did as you say, but am getting a 404 error. My TC structure looks like this: apache-tomcat-6.0.20 conf Catalina cfusion

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 rainer.j...@kippdata.de 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

Re: 2 separate clusters, crosstalk?

2010-08-11 Thread Felix Schumacher
Hi Chris, On Tue, 10 Aug 2010 17:05:11 -0400, Christopher Schultz ch...@christopherschultz.net 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

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 VM (build

Re: JNDI: LDAPv3 with StartTLS

2010-08-15 Thread Felix Schumacher
Am Sonntag, den 15.08.2010, 17:53 + schrieb Igor Galić: - Felix Schumacher felix.schumac...@internetallee.de 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 seems weird, since: http

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

Re: JNDI: LDAPv3 with StartTLS

2010-08-16 Thread Felix Schumacher
On Sun, 15 Aug 2010 21:33:09 + (UTC), Igor Galić i.ga...@brainsware.org wrote: - Felix Schumacher felix.schumac...@internetallee.de 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

Re: JNDI: LDAPv3 with StartTLS

2010-08-17 Thread Felix Schumacher
On Mon, 16 Aug 2010 22:39:14 + (UTC), Igor Galić i.ga...@brainsware.org wrote: - Felix Schumacher felix.schumac...@internetallee.de wrote: On Sun, 15 Aug 2010 21:33:09 + (UTC), Igor Galić i.ga...@brainsware.org wrote: - Felix Schumacher felix.schumac...@internetallee.de

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 in jar

Re: JNDI: LDAPv3 with StartTLS

2010-08-18 Thread Felix Schumacher
On Tue, 17 Aug 2010 21:30:56 + (UTC), Igor Galić i.ga...@brainsware.org 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

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 pattern looks

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 wrong.

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

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Felix Schumacher
of your user beans. Hth Felix From: Felix Schumacher felix.schumac...@internetallee.de To: Tomcat Users List users@tomcat.apache.org 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, 21:54

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-23 Thread Felix Schumacher
. From: Felix Schumacher felix.schumac...@internetallee.de To: Tomcat Users List users@tomcat.apache.org Sent: Sat, August 21, 2010 6:07:18 PM Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux Yawar Khan khanya...@yahoo.com schrieb: thanks

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 arnaud.ic...@univ-avignon.fr wrote: Hello, I guess my subject

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 compu...@videotron.ca wrote: - Original Message - From: Mohit Anchlia mohitanch...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 02, 2010

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 felix.schumac...@internetallee.de wrote: userSearch=(cn={0})(specialRole=admin) The will have to be masked as amp; if used in the realm (xml file). Sorry Felix

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 phrac...@gmail.com 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

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 stress

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. svku...@googlemail.com 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

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 portsshare the same RAM / CPU Processor] c) O/s Linux Red hat [ Linux DTVMS1 2.6.18-128.1.10.el5PAE #1 SMP Wed

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

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

RE: how to configue tomcat ldap 2008

2011-01-21 Thread Felix Schumacher
. 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 20.01.2011, 07:19

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

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 a...@ice-sa.com 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

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

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

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*

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-27 Thread Felix Schumacher
/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+) of third party webapps name /ABC* and /DEF

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
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 answer, I think you will have

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 +0200 schrieb Felix Schumacher: On Wed, 27 Apr

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 ? On Wed, Apr 27, 2011 at 7:01 PM

Re: pure tomcat failover (no loadbalacing)

2011-04-28 Thread Felix Schumacher
Christopher Schultz ch...@christopherschultz.net 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

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 ch...@christopherschultz.net schrieb: Felix and Guillaume, I think you guys are working too hard

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 \-- /abc* (active) |-- /def* (passive) tomcat2

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

2011-05-03 Thread Felix Schumacher
Christopher Schultz ch...@christopherschultz.net 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: 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 jar. I

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 deal,

Re: recovering connections on jdbc connection pool

2011-05-08 Thread Felix Schumacher
) at java.lang.Thread.run(Thread.java:662) Do you get any abandoned log entries, if you add the configuration ... removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true ... to your resource? Bye Felix On May 8, 2011, at 12:19 PM, Felix Schumacher wrote: Am

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

Re: Tomcat6

2011-05-10 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: Tomcat6

2011-05-10 Thread Felix Schumacher
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-dbcp.jar that was on my

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 your

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

Re: Mod_jk working for failover

2011-06-08 Thread Felix Schumacher
.redirect=43m2g1 Do I need more changes in my setup? I don't think so. Felix Regards 2011/6/8 Felix Schumacher felix.schumac...@internetallee.de Am Mittwoch, den 08.06.2011, 08:41 +0200 schrieb Manuel Fernández Panzuela: my setup: # Define list of workers that will be used

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 the

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-pointer exceptions from 'response.encodeUrl'. This is with Tomcat

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 bug

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
folder do not exist in cxf package. 2011/6/25 Felix Schumacher felix.schumac...@internetallee.de 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

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
, 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 felix.schumac...@internetallee.de Am Samstag, den 25.06.2011, 11:52 +0200

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

2011-07-06 Thread Felix Schumacher
Hi Marvin, Marvin Addison marvin.addi...@gmail.com 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,

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

2011-07-06 Thread Felix Schumacher
Peterson, Tommy tommy.peter...@xpandcorp.com 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.

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 to a

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

2011-07-27 Thread Felix Schumacher
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 regards V o l k e r Am 26.07.2011 19:54, schrieb Felix Schumacher: Hi Volker, Am

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

2011-07-27 Thread Felix Schumacher
Anu Gali anuatm...@yahoo.com 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

Re: Question: Tomcat SSL configuration issue

2011-07-27 Thread Felix Schumacher
Sammaiah Kyatham sammaiahf...@googlemail.com 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

  1   2   3   4   >