DBCP inconsistency

2005-04-18 Thread henrik rathje
Hi, i am using the tomcat 5.0.27 distribution. After several days of uptime the DBCP seems to run odd: org.apache.commons.dbcp.BasicDataSource.getNumActive() == 4 org.apache.commons.dbcp.BasicDataSource.getNumIdle() == 1 org.apache.commons.dbcp.BasicDataSource.getMaxActive() == 10

Tomcat WebDAV access via httpd/jk

2005-03-27 Thread Henrik Vendelbo
Hi guys, I have run in to a little problem with accessing a webdav enabled app on tomcat. I run Tomcat 5.5 with Apache2+jk in front of it, but fail to get working connection when authenticating. I have configured tomcat and app exactly as my installation on a local test server where I access

changing the storage location for webdav app

2005-03-26 Thread Henrik Vendelbo
I want to modify the default webdav app in Tomcat 5.5 to storing information in a folder outside the webapps hierachy. How do I do that ? Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

org.apache.tomcat.util.threads.ThreadPool logFull

2005-03-17 Thread Henrik Rathje
maxThreads (50) or check the servlet status Where have all these threads gone? When looking on the status page (before the crash), there is only one active Thread - what leads to the situation where 50 threads are active? Henrik

NullPointerException attempting to deploy a WAR with context.xml in META-INF on Tomcat 5.5

2004-12-26 Thread Henrik Vendelbo
? Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5.5 classloading blues

2004-12-20 Thread Henrik Vendelbo
not the only one who would want seperate logging facilities working painlessly in their current environment. Thanks for the input, Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 5.5 classloading blues

2004-12-19 Thread Henrik Vendelbo
/lib commons/lib shared/lib in a fresh install ? 4) Is JMX tools to manage Tomcat the way forward ? Thanks for any comments, Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

DBCP Performance?

2004-09-10 Thread Henrik Rathje
Connections in the Pool: parameter nameinitialSize/name value20/value /parameter So there shold be active Connections before the getConnection( ) is called .. Any ideas? Regards, Henrik - To unsubscribe, e-mail: [EMAIL

Re: DBCP Performance?

2004-09-10 Thread Henrik Rathje
Hi, The minIdle value during this test was: parameter nameminIdle/name value20/value /parameter any other suggestions? Thanks in advance, Henrik On Fri, 10 Sep 2004 11:21:08 -0400 Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, The initial connections can be closed if idle

Re: DBCP Performance?

2004-09-10 Thread Henrik Rathje
nameminIdle/name value20/value /parameter parameter namemaxWait/name value-1/value /parameter parameter nametestOnBorrow/name valuefalse/value /parameter /ResourceParams Thanks for support, Henrik On Fri, 10 Sep 2004 11:51:05 -0400

Re: DBCP Performance?

2004-09-10 Thread Henrik Rathje
of active connections that can be allocated from this pool at the same time, or zero for no limit. cheers, Henrik On Fri, 10 Sep 2004 12:23:40 -0400 Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Try minIdle = 19, maxIdle = 20, maxActive = 20, initialSize = 20. I think the maxActive 0 effectively means

Re: DBCP Performance?

2004-09-10 Thread Henrik Rathje
I have to correct myself: getNumIdle() returned 19 after a little bit of waiting. but getConnection( ) still takes 1238 miliseconds. Henrik On Fri, 10 Sep 2004 18:47:46 +0200 Henrik Rathje [EMAIL PROTECTED] wrote: Hi, I tried your settings, but getNumIdle() still returns 0. Why

Re: DBCP Performance?

2004-09-10 Thread Henrik Rathje
hi, im note sure if there exists another jdbc driver for ingres beside the one i use. can this really be a driver issue? which connectionpool did you use while doing the measurements for your 'so you want high performance' paper? regards, henrik On Fri, 10 Sep 2004 12:02:13 -0500 Peter Lin

Re: DBCP Performance - solved.

2004-09-10 Thread Henrik Rathje
Hi, i did not change any settings, no restart and no anything; but now the timings are: 67 miliseconds pool 956 miliseconds nopool. seems it simply takes several minutes until the pool is ready to use. sorry for asking those stupid questions + thanks for helping, Henrik On Fri, 10 Sep 2004 12

unexpected timeout during benchmark

2004-09-09 Thread Henrik Rathje
the servlet answers again (no tomcat restart neccessary) What causes this timeout? (when running with half the amout of requests, the throughput is 500/sec) Regards, Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: unexpected timeout during benchmark

2004-09-09 Thread Henrik Rathje
Connector configuration and increase these parameters if needed to allow your test to complete. Yoav Shapira Millennium Research Informatics -Original Message- From: Henrik Rathje [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 12:05 PM To: [EMAIL PROTECTED] Subject

Wildcard subdomains

2004-08-08 Thread Henrik Gammelmark
Is there any way I can catch all subdomains belonging to a domain-name within one Host tag? Host bla..bla... Alias*.domain2.com/Alias/Host The above illustrates what I wish to do, but it seems tomcat handles the asterisk literally instead of a wildcard. Using Tomcat 5 hooked up to Apache2

Letting apache handle 404s

2004-08-08 Thread Henrik Gammelmark
My primary httpd is Apache2 but i connect to Tomcat5 using the mod-jk2 connector. The problem is, that it seems that tomcat handles too much of apache's job. For instance if I enter a URL ending in .jsp I see a tomcat 404 instead of an apache 404 - presumably because apache naivly passes all

Re: Wildcard subdomains

2004-08-08 Thread Henrik Gammelmark
server.xml. it should have the name somehost.domain.net I don't think you can use acronyms where you specify host-aliases in server.xml. hope it helps -reynir Henrik Gammelmark wrote: Is there any way I can catch all subdomains belonging to a domain-name within one Host tag? Host bla..bla... Alias

Re: Letting apache handle 404s

2004-08-08 Thread Henrik Gammelmark
My primary httpd is Apache2 but i connect to Tomcat5 using the mod-jk2 connector. The problem is, that it seems that tomcat handles too much of apache's job. For instance if I enter a URL ending in .jsp I see a tomcat 404 instead of an apache 404 - presumably because apache naivly passes all

Controlling access to j_security_check

2004-07-03 Thread Henrik Rathje
tasks to be able to login again. I found out that it is not possible to plave a Filter in front of j_security_check in tomcat. So what would be a convienient way to control access to j_security_check in tomcat? Regards, Henrik

Servlet Filter modifying RequestURL

2004-06-28 Thread Henrik Vendelbo
path is /sports. The following does not seem to do the trick, what am I doing wrong. If I need to use a HttpServletRequestWrapper, will I have to overrid all path getters ? Henrik HttpServletRequest req = (HttpServletRequest)_req; String uri = req.getRequestURI(); StringBuffer urlBuffer

DataSourceRealm

2004-06-27 Thread Henrik Rathje
in this Context in my logs. As DataSource i use a connectionpool which is configured according the jndi-resources-howto. Has anyone got a connectionpool as DataSourceRealm running in jakarta-tomcat-5.0.* and can post the interesting parts of his configuration? Regards, Henrik

Re: https -- http session problem

2003-11-18 Thread Henrik Bentel
. Not the best solution, but with deadline looming it did the job. Later, when switching with Struts, this ported nicely(if you can call it that) by extending sslext. In the end I wish this was covered by the servlet spec. Does anybody know how other containers behave(Jetty, Resin, etc)? -Henrik

Logger.getConfigurationFileName()

2003-09-28 Thread Henrik Vendelbo
and the relative path ? Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Logger.getConfigurationFileName()

2003-09-28 Thread Henrik Vendelbo
: Logger.getConfigurationFileName() If using log4j, log4j automagically looks for log4j.properties in the classloader with no package prefix. So if log4j is in $TOMCAT_HOME/lib, you can configure it via log4j.properties in $TOMCAT_HOME/classes. -Tim Henrik Vendelbo wrote: With all the flexibility

Re: Tomcat as a service

2003-09-28 Thread Henrik Vendelbo
(part of httpd) 3) Configuring Tomcat with service parameters (or ini file) instead of CATALINA_OPTS Henrik - Original Message - From: Robert Mark Bram [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 2:21 PM Subject: RE: Tomcat as a service Hi

Re: Stop Tomcat Remotely

2003-09-28 Thread Henrik Vendelbo
What about Java Management Extensions (JMX) and MBeans. Perhaps they will do it for you ? - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 10:28 PM Subject: Re: Stop Tomcat Remotely I was under the

Re: cannot log from a load-on-startup servlet in init()

2003-09-28 Thread Henrik Vendelbo
class threw an exception. Going down a little further we find the Caused by error that claims Log4JLogger does not implement Log. This is almost certainly due to having more than one copy of the Log4J classes visible in the class loader hierarchy. Craig Thank you soo much. I was really

web.xml validator

2003-09-28 Thread Henrik Vendelbo
Do someone know a URL for a site that will validate a web.xml file against the webapp DTD ? Apparently there is an error in this webapp block, but damned if I can find it :( web-app display-namedspc Management/display-name description SOAP interface to dspc Management on the

cannot log from a load-on-startup servlet in init()

2003-09-28 Thread Henrik Vendelbo
I am running Axis under Tomcat. Both are the latest versions. I chose to use the log4j that is already in the Tomcat directory. When the Axis servlet loads, I get the following. Where does the issue lie ? 2003-09-28 18:44:02 StandardWrapper[/dspc:DspcAxisServlet]: Marking servlet DspcAxisServlet

Servlet.destroy but not init called when context is reloaded

2003-09-14 Thread Henrik Vendelbo
? Rather than waste your time by pasting a 1000 lines from the logfile. My question is simply : what is the most likely cause of my problem ? Environment : Tomcat 4.1.27 Axis 1.1 J2SDK 1.4.2 Thanks for your time, Henrik Vendelbo

better configuration for Apache and Tomcat?

2003-08-11 Thread Henrik Bentel
this in mod_ssl user group, but if anybody here konws a lot easier) 3. more of a question: should I configure 2 coyote connectors, one for http and one for https in tomcat? Even when apache is doing all the certificate management? hope someone can help Henrik Bentel

HELP!: Cookie problem on linux

2003-03-03 Thread Henrik W. Hansen
more can I do? The cookie is added to the response, how do I trace it from there? (it newer reaches the browser.) Please advise.. Any help would greatly be appreciated. /Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED

Cookie problem on Redhat 7.3 and tomcat 4.1.18

2003-02-22 Thread Henrik W. Hansen
? Any suggestions on how to fix this are very welcome! /Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem with session tracking and redirection http--- https

2002-10-19 Thread Henrik Bentel
the security point of view, this is worse than useless (worse because it gives you a false sense of confidence). Craig Craig R. McClanahan wrote: On Fri, 18 Oct 2002, Henrik Bentel wrote: Date: Fri, 18 Oct 2002 23:07:17 + From: Henrik Bentel [EMAIL PROTECTED] Reply-To: Tomcat Users

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Henrik Bentel
. From: Henrik Bentel [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: problem with session tracking and redirection http--- https Date: Thu, 17 Oct 2002 04:45:21 + ok, I see your point. My approach is that I only use https to scramble

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Henrik Bentel
tracking and redirection http--- https Date: Fri, 18 Oct 2002 14:13:40 -0700 is the request method changing in redirection, for example post to get ?? if it is, use HttpServletResponse.encodeURL() Henrik Bentel wrote: Another weird behaviour I just discovered is the following: If a httpsession

problem with session tracking and redirection http--- https

2002-10-16 Thread Henrik Bentel
added my context(defining docbase and such). For 3.3 this worked like a charm. Anyone?? -Henrik _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e

Re: problem with session tracking and redirection http--- https

2002-10-16 Thread Henrik Bentel
do something similar, where only the password part is secure, and subsequent pages are insecure. and to change password, the old one has to be entered. I guess I'm a bit of a loss for a better way to do this?? Any well known approaches out there? -Henrik From: Jacob Kjome [EMAIL PROTECTED

Apache Tomcat and IP address

2002-09-20 Thread Henrik
I just got an IP address. I've been running the Apache Tomcat on an internal network for about two months with no problems, and I would like to set it up to use the IP address, effectively letting people connect to my server through the Internet. How do I set up the Apache Tomcat (4.0.4) to

Default context

2002-08-10 Thread Henrik Oddershede
is launched, then he will get a default context and everything is right. If a user adds the directories when Tomcat is running, then they will not get a context - thus I am forced to restart Tomcat every time this happens. Can anyone please help? Thanks in advance, Henrik -- To unsubscribe, e-mail

Tomcat and ASP

2002-07-23 Thread Henrik
Do I need another server program to run ASP scripts, or can Tomcat do it?

Re: Tomcat and ASP

2002-07-23 Thread Henrik
... -- -- Nishant Awasthi Corporate Systems Development Progressive Insurance Henrik henrikslarsen@hoTo: [EMAIL PROTECTED] tmail.com cc: (bcc: Nishant Awasthi

Re: Tomcat and ASP

2002-07-23 Thread Henrik
and for Windows 95/98 Microsoft Personal Web Server -- -- Nishant Awasthi Corporate Systems Development Progressive Insurance Henrik henrikslarsen@ho

Setup advice urgently needed!

2002-07-23 Thread Henrik
Hi! I am new to this list, and to the Tomcat Jakarta. I've been setting things up to get into Java servlets, and I'm still having a problem setting up my desktop as a servlet-capable server. I got Apache's Tomcat (4.0.4) running, and it takes their own examples quite well. I also have my

Re: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-03 Thread Henrik Schultz
-TO :-) Regards - Henrik Schultz Senior Systems Architect Consultant to Maersk Data AS Tel.: +45 39 10 21 13 Mobile: +45 22 12 24 29 E-mail: [EMAIL PROTECTED

Re: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-02 Thread Henrik Schultz
not work, it is highly problematic that there are no trace of what goes wrong anywhere. Do you have experience in this, or do you have the FAQ handy? I've never tried this myself, but one time has to be the first I guess :-) Regards - Henrik Schultz Senior Systems Architect Consultant to Maersk Data

Only one message in digests?

2002-07-02 Thread Henrik Schultz
Is it just me, or do the rest of you also get only one message following the index in your digests? Same thing when requesting a range of messages to be sent to me, only the first message is returned. Could it be a problem with our Notes Domino mail gateway perhaps? Regards - Henrik Schultz

RE: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-02 Thread Henrik Schultz
this is. At least NS is saying something, contrary to IE that just gives me that bloody Page cannot be displayed. When I've gotten it all to work I'll write up a HOW-TO. Promise. Enough people have been struggling with this now for way too long. Regards - Henrik Schultz Senior Systems Architect Consultant

Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-01 Thread Henrik Schultz
certificates for Tomcat, let me know. This is certainly tricky stuff! Henrik Schultz Senior Systems Architect Consultant to Maersk Data AS Tel.: +45 39 10 21 13 Mobile: +45 22 12 24 29 E-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

Client certificate does not show in browser

2002-02-13 Thread Henrik Schultz
that the server in fact includes my CA certificate in the SSL handshake. Anynone else have had succes with this, that could shed some light on this, or perhaps suggest ways of double-checking the setup? Best regards - Henrik Schultz Senior Systems Architect Consultant to Maersk Data AS Tel.: +45 39

NT Realm

2001-11-02 Thread Henrik . Borgstrom
Hi I'm new to Tomcat and I have a question... Is it possible to use the NT realm(accessing the NT PDC from a standalone server) and to get access to the specific username from the loged on user, on a JSP page? I'm using Tomcat 4 on Win200. /Henrik -- To unsubscribe: mailto:[EMAIL

Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Henrik Schultz
What an excellent timing! I just subscribed to the mailing list today, and quickly discovered that the traffic volume is quite high. Wondered if there was a discussion forum instead - and voila! Your mail popped up!!! Thanks for a great initiative! Cheers - Henrik

Preventing System.exit(0)

2001-07-30 Thread Henrik Skafsgaard Larsen
Is it possible to configure Tomcat to avoid shutdown in case the jsp page contains the code: % System.exit(0); % med venlig hilsen / kind regards Henrik Skafsgaard Larsen

Tomcat vs. other app servers

2001-04-18 Thread Henrik Ross
Title: Tomcat vs. other app servers What are peoples opinions on Tomcat vs. other app servers? Performance, scalability, security, reliability? Can Tomcat function in a real production business environment?

Problems getting Apache-Tomcat on the jk-module running!

2001-02-07 Thread CARL-HENRIK . LILJEGREN . SP
Hi everybody, could somebody please give me a hint, on how to get Apache-Tomcat on the jk-module running??? I've tried everything... Discription: --- I'm using Apache 1.3.17 and Tomcat 3.2.1 (JDK 1.3) on a Linux-Maschine. I've built Apache with the mod_jk.c of the source distribution