AW: Configuring DataSources using jsp: reload context.xml?

2008-07-02 Thread Jonas Wagner
Thanks Hassan for your question. > Are these data sources known in advance, or can the configuration > tool user come up with an arbitrary new one at any time? These data sources will be known at the time of deployment, but as they are specific for each customer, I cannot write one META-INF/conte

nsapi_redirector.so file

2008-07-02 Thread sandeep gelli
Hi, Can anyone help me providing nsapi_redirector.so file(64-bit version). My application is running on solaris sparc os 9, and sunone webserver 6.1 sp9. When i used the one available in the apache website, i am getting ELFCLASS64 error. I tried building it, but getting the following error during

Re: Tomcat 5.5.25 freezes

2008-07-02 Thread Clovis Wichoski
Hi Anthony, i have same problem sometimes in version 6.0.16, when the thread stuck occurs again, execute the follow shell script, please adjust for your scenario. #!/bin/bash today=`date +%Y%m%d%H%M%S` psId=`/opt/java/jdk1.6.0_06/bin/jps | grep Bootstrap | cut -d' ' -f1` /opt/java/jdk1.6.0_06/bi

Re: [OT] Performance Requirements

2008-07-02 Thread Frank W. Zammetti
It might be a little simplistic, but we've always used a simple "100 user" metric: if we can simulate 100 simultaneous users on a site, or webapp (in the sense of RIAs) and all the responses across the app come back in reasonable times (which you can define variably as you see fit), then we gen

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-02 Thread Filip Hanik - Dev Lists
Christophe Fondacci wrote: Thanks for your replies. Charles, I am logging long request in my client code, and a POST request like http://S:8080/solr/select/ can take 250s with 12 posted NameValuePair while this same request can pass OK in hundreds of ms. So I *think* our requests are well f

[OT] Performance Requirements

2008-07-02 Thread Leon Rosenberg
Hi all, recently I was asked by someone to define performance requirements for a site without even knowing it (the site). The task was to deliver standard requirements valid for most sites (or portal-like sites). I answered that it's probably impossible without knowing the type of media delivered,

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-02 Thread Rainer Jung
Hi Jesse, Jesse Klaasse schrieb: I have migrated a customer's server system to the following configuration: MS IIS 6.0 (port 80) Unlimited connections Connection timeout: 120s keep-alive JK 1.2.25 AJP/1.3 Connector isapi_redirect.properties: uri_select=parsed workers.properties: connect

Re: How to turn off tomcat daemon?

2008-07-02 Thread kjwchu
I started tomcat with sudo. So I think I should use sudo to turn it off. However, the jsvc process is still there. [EMAIL PROTECTED] bin]$ sudo ./jsvc -stop -pidfile ../temp/jsvc.pid org.apache.catalina.startup.Bootstrap Password: [EMAIL PROTECTED] bin]$ ps -ef | grep jsvc root 30117 1

Re: How to turn off tomcat daemon?

2008-07-02 Thread kjwchu
Thanks, but I also noticed there is a java process. Kill it too? There is no graceful shutodwn or exit? /jdk1.5.0_15/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/nreg/apache-tomcat-6.0.16/conf/logging.properties -Djava.endorsed.dirs=/

Re: How to turn off tomcat daemon?

2008-07-02 Thread David Smith
Just kill the jsvc process. It'll trap the signal and send a proper shutdown to tomcat. See the sample service script provided with jsvc source. --David kjwchu wrote: I ran tomcat as a daemon via the command below: ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile ./

Re: How to turn off tomcat daemon?

2008-07-02 Thread Steve Ochani
On 2 Jul 2008 at 11:29, kjwchu wrote: Date sent: Wed, 02 Jul 2008 11:29:36 -0700 (PDT) From: kjwchu <[EMAIL PROTECTED]> Subject:How to turn off tomcat daemon? To: users@tomcat.apache.org Send reply to: Tomcat Users List

How to turn off tomcat daemon?

2008-07-02 Thread kjwchu
I ran tomcat as a daemon via the command below: ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile ./logs/catalina.err org.apache.catalina.startup.Bootstrap How to turn if off? Thanks for any thoughts. -- View this message in context: http://www.nabble.com/How-to-turn-o

Re: Help configuring Tomcat 5.5.15 with Apache 2.0.58

2008-07-02 Thread Steve Ochani
Date sent: Wed, 02 Jul 2008 12:32:58 +0200 From: Ljuba Veselinova <[EMAIL PROTECTED]> Subject:Help configuring Tomcat 5.5.15 with Apache 2.0.58 To: users@tomcat.apache.org Send reply to: Tomcat Users List > Hi, > > I nee

Re: Configuring DataSources using jsp: reload context.xml?

2008-07-02 Thread Hassan Schroeder
On Wed, Jul 2, 2008 at 8:53 AM, Jonas Wagner <[EMAIL PROTECTED]> wrote: > I'm trying to write a configuration frontend for a webapp. This > application uses several data sources, and it should be possible to > change the username/password/database/... using the configuration > frontend. > > My ide

Configuring DataSources using jsp: reload context.xml?

2008-07-02 Thread Jonas Wagner
Hello, I'm trying to write a configuration frontend for a webapp. This application uses several data sources, and it should be possible to change the username/password/database/... using the configuration frontend. My idea was that the configuration servlet would modify the META-INF/context.xml f

RE: Help configuring Tomcat 5.5.15 with Apache 2.0.58

2008-07-02 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Ljuba Veselinova > Subject: Help configuring Tomcat 5.5.15 with Apache 2.0.58 > > I need to configure Tomcat 5.5.15 with Apache 2.0.58 so that I can > then install ArcIMS 9.2. Two questions: 1) Why such an old level of Tomcat? Th

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-02 Thread Jesse Klaasse
Additional information: When using version 1.2.26 of the connector, these messages appear in isapi_redirect.log before the messages I quoted in my previous mail: [Wed Jul 02 15:39:34.690 2008] [11800:10604] [info] service::jk_lb_worker.c (1221): Forcing recovery once for 1 workers [Wed Jul 02 15:

IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-02 Thread Jesse Klaasse
I have migrated a customer's server system to the following configuration: MS IIS 6.0 (port 80) Unlimited connections Connection timeout: 120s keep-alive JK 1.2.25 AJP/1.3 Connector isapi_redirect.properties: uri_select=parsed workers.properties: connect_timeout=1 prepost_timeout=1 so

Help with authentication and file upload

2008-07-02 Thread dexter
Hello, I have two problems using Tomcat while developing a jsp web application, I've been trying to solve them for quite some time but I wasn't able to do so... The first problem is about Tomcat's automatic authentication mechanism. I need to authenticate users that are stored on an HSQL database,

Re: proxy_ajp sticky sessions troubles

2008-07-02 Thread Michele Mase'
thanx; changing it both apache and tomcat side solved my issue! I've also followed this blog http://www.felixwu.com/blog/?tag=proxy_ajp where the simple config i well explained. Ciao Michele On Wed, Jul 2, 2008 at 3:15 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: > Hi Michele, > > Michele Mase' wro

Re: proxy_ajp sticky sessions troubles

2008-07-02 Thread Rainer Jung
Hi Michele, Michele Mase' wrote: According with the documentation, I've tried to setup a load balancer apache2.2.x/tomcat5.5.x; I'm unable to maintain the session. my conf: apache2.2.9/tomcat5.5.26/jdk1.5.0_15,linux redhat5.2 apache side: RewriteEngine On ProxyPreserveHost On P

proxy_ajp sticky sessions troubles

2008-07-02 Thread Michele Mase'
According with the documentation, I've tried to setup a load balancer apache2.2.x/tomcat5.5.x; I'm unable to maintain the session. my conf: apache2.2.9/tomcat5.5.26/jdk1.5.0_15,linux redhat5.2 apache side: RewriteEngine On ProxyPreserveHost On ProxyRequests Off ProxyVia

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-02 Thread Christophe Fondacci
Thanks for your replies. Charles, I am logging long request in my client code, and a POST request like http://S:8080/solr/select/ can take 250s with 12 posted NameValuePair while this same request can pass OK in hundreds of ms. So I *think* our requests are well formed (I log the request aft

Help configuring Tomcat 5.5.15 with Apache 2.0.58

2008-07-02 Thread Ljuba Veselinova
Hi, I need to configure Tomcat 5.5.15 with Apache 2.0.58 so that I can then install ArcIMS 9.2. I am following the instructions in http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=31218, It says there that the HelloWorld example should be working before ArcIMS 9.2 i

RE: Rebuilding Tomcat from sources

2008-07-02 Thread JLucas ZB
Hello Chuck, thank you very much for your answer, this helps me JLZ > Message du 27/06/08 15:14 > De : "Caldarale, Charles R" > A : "Tomcat Users List" > Copie à : > Objet : RE: Rebuilding Tomcat from sources > > > > From: JLucas ZB [mailto:[EMAIL PROTECTED] > > Subject: Re: Rebuildin