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

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: 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

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

<    1   2   3   4