Tomcat 5 - Datasource Connection Pooling

2005-01-24 Thread Manisha Sathe
Finally after long struggle I could get the datasource things running. The things are working when i specified all into GlobalResources and GlobalContext inside server.xml My server.xml is something like below.. - GlobalNamingResources Resource

connection Pool leaking - how to detect it ?

2005-01-24 Thread Manisha Sathe
I just shifted to DataSource Connection pooling. I followed http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html Here they have given 3 parameters to specify to control leaking such as removeAbandoned, removeAbandonedTimeout, logAbandoned 1) Is there any

sharing webapplication

2005-01-24 Thread Omar Adobati
Hi to everybody, I need an idea. suppose I have some webapp that i need to share among some other webapplication. For example, suppose I have three customer website each that need the access to a reserved area. Suppose thet I want to use just on login webapp shared among all my customers;

Re: Tomcat 5 - Datasource Connection Pooling

2005-01-24 Thread Trond G. Ziarkowski
Hi! 1)My problem is my working directory is different. I use ant to create war file and then i manually stop the server - delete existing war file / existing directory (This is due to some Win TomCat problem .??..). Then i deploy it using TomCat Manager. It automatically creates META-INF file

Re: What is it mean that Java code does not belong in well designed JSP pages?

2005-01-24 Thread Harry Mantheakis
I just read this thread and didn't quite understand it. If it means what it seems to mean on the surface, I'm doing everything wrong. I belong to the camp that thinks Java code in JSPs is evil. I happen to think that tag libraries are wonderful. JSPs are HTML documents that are empowered to

controlling and limiting threads launched by servelts

2005-01-24 Thread Romeo Benzoni
Hi situation: A tomcat instance where several independent webapps are hosted. (kind of shared hosting). scenario: A developer for one of this webapp is kind of lazy (or not that skilful) and launches a new thread during init(). but he does not terminates this thread during the destroy() of the

precompilation and JSTL

2005-01-24 Thread Marcus Beyer
Hello all! I am trying to precompile my JSPs using org.apache.jasper.JspC. Problem: The ones that use JSTL result in uncompilable Java code. [Sorry for my english. Is it uncompilable or incompilable?] Example: %@ taglib uri=http://java.sun.com/jstl/core; prefix=c % titleJSTL test/title c:if

Re: precompilation and JSTL

2005-01-24 Thread Tim Funk
Are you sure you want %@ taglib uri=http://java.sun.com/jstl/core; prefix=c% and not %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % -Tim Marcus Beyer wrote: Hello all! I am trying to precompile my JSPs using org.apache.jasper.JspC. Problem: The ones that use JSTL result in

open Excel 2000 bug

2005-01-24 Thread Sun House
Hi All, I have a JSP page that eventually opens Excel page. I got my content type set to be application/vnd.ms-excel I also work with FOP to serialize the Excel. I got this working for both Win 2000 and XP , and for Office XP and 2003, but for Office 2000 I got an Error generating the Ecxel.

Re: controlling and limiting threads launched by servelts

2005-01-24 Thread QM
On Mon, Jan 24, 2005 at 12:04:41PM +0100, Romeo Benzoni wrote: : A tomcat instance where several independent webapps are hosted. (kind of : shared hosting). This is the crux of your problem right here. =) In my experience, getting multiple Java apps to behave in the same container was a

BASIC Authentication

2005-01-24 Thread Giorgio Ponza
Hi all I have a small problem trying to configure BASIC auth. Everything works good, but i'd like to know if i can change the default page when the user is not authenticated. I try to eplain better: if i write wrong 3 times the password, or i click on cancel button, a default Tomcat page appears

Re: BASIC Authentication

2005-01-24 Thread Omar Adobati
I never try it, but maybe u can write your own code into the login page that redirect you on a different page if the login taske will not completed as needed... On Mon, 24 Jan 2005 14:21:19 +0100, Giorgio Ponza [EMAIL PROTECTED] wrote: Hi all I have a small problem trying to configure BASIC

Re: BASIC Authentication

2005-01-24 Thread Giorgio Ponza
Omar Adobati ha scritto: I never try it, but maybe u can write your own code into the login page that redirect you on a different page if the login taske will not completed as needed... I can't try this :D There is no login page, only a box appearing over the browser asking user and password.

Re: BASIC Authentication

2005-01-24 Thread Omar Adobati
Oh, I'm sorry... you are using the basic auth mode... there was a missunderstanding... sorry again... On Mon, 24 Jan 2005 14:29:44 +0100, Giorgio Ponza [EMAIL PROTECTED] wrote: Omar Adobati ha scritto: I never try it, but maybe u can write your own code into the login page that redirect you

Re: precompilation and JSTL

2005-01-24 Thread Marcus Beyer
Tim Funk schrieb: Are you sure you want %@ taglib uri=http://java.sun.com/jstl/core; prefix=c% and not %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % Oh, right. Thank you! Unfortunately the error persists nevertheless ... -- Grüße, Marcus http://www.Stormlight.de Whatever you do will

Problem with HTTPServletRequest

2005-01-24 Thread Peter Monz
Hi All, I have quite a problem with HTTPServletReuquest in some Servlets sometimes. Sometimes if I access HTTPServletRequest in Servlet I get only a null-Pointer and my Servlet crashes. But I can see in a HTTP-trace, created with a spy programm that the date will be sent from the browser to the

Re: Problem with HTTPServletRequest

2005-01-24 Thread Tim Funk
We need a stack trace to help you debug. Odds are - its your servlet. -Tim Peter Monz wrote: Hi All, I have quite a problem with HTTPServletReuquest in some Servlets sometimes. Sometimes if I access HTTPServletRequest in Servlet I get only a null-Pointer and my Servlet crashes. But I can see in a

Installing SSL into tomcat

2005-01-24 Thread Mumanyi Bravismore
Sorry for my ignorance. Is there anyone who happens to have a guide on how to install SSL into tomcat. I have tried using the method that comes with tomcat documentation with no success. Thanks Regards /Bravo - To unsubscribe,

Re: Installing SSL into tomcat

2005-01-24 Thread Tim Funk
There are 2 ssl links here ... http://wiki.apache.org/jakarta-tomcat/UsefulLinks -Tim Mumanyi Bravismore wrote: Sorry for my ignorance. Is there anyone who happens to have a guide on how to install SSL into tomcat. I have tried using the method that comes with tomcat documentation with no

Re: Problem with HTTPServletRequest

2005-01-24 Thread Christoph Kutzinski
Hi, Peter Monz wrote: Hi All, I have quite a problem with HTTPServletReuquest in some Servlets sometimes. Sometimes if I access HTTPServletRequest in Servlet I get only a null-Pointer and my Servlet crashes. But I can see in a HTTP-trace, created with a spy programm that the date will be sent from

RE: open Excel 2000 bug

2005-01-24 Thread Derrick Koes
Try calling response.reset() before setting content type. ContactInfo NameDerrick Koes/Name TitleSenior Software Engineer/Title Company name=SkillSoft url=http://www.skillsoft.com/ AIMcodeauthor2001/AIM Email[EMAIL PROTECTED]/Email Phone(603) 821-3260/Phone Cell(603)

Re: precompilation and JSTL

2005-01-24 Thread Marcus Beyer
Tim Funk schrieb: Are you sure you want %@ taglib uri=http://java.sun.com/jstl/core; prefix=c% and not %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % -Tim c:if test=${true} c:out value=this is JSTL :) / /c:if Strange. After changing to JSTL 1.1 taglib, that c:if thing above

RE: open Excel 2000 bug

2005-01-24 Thread Sun House
Hi, I tried that, and it did not help it looks like maybe related to a subject of disabling WebDav from working with default servlet. though if webDav is working, it is strage because i deleted the WebDav application from tomcat Derrick Koes [EMAIL PROTECTED] wrote: Try calling

Re: BASIC Authentication

2005-01-24 Thread Ashish Kulkarni
Hi May be try putting the following in web.xml file just before taglib ( i am not sure but works with 2.2) error-page error-code403/error-code location/pages/error/noaccess.jsp/location /error-page error-page

RE: IIS 5.0 + ISAPI filter + tomcat

2005-01-24 Thread Warron French
Ramien, I have checked and found that there was a virtual directory called tomcat (which is what the ISAPI filter is configured with. In the Vritual directory I have the following files: isapi_redirect_1.2.5.dll jboss-connector.reg uriworkermap.properties workers.properties Here is the

Re: RE: IIS 5.0 + ISAPI filter + tomcat

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

tomcat-user@jakarta.apache.org

2005-01-24 Thread ksv
Hello , Interests everything, that is connected to managements of transactions at use DBCP... Who Can will share experience or links? The database is not essential. The principle of work with transactions through DBCP is necessary... Best regards, ksv mailto:[EMAIL

RE: connection Pool leaking - how to detect it ?

2005-01-24 Thread Mike Curwen
I use the logAbandonded in our test server, and I find the log messages in catalina.out. The log message includes (as part of a stack trace, so you will have to inspect the output a bit) the JSP page or class (and line!) in which the connection was opened. Here's an example: DBCP object created

Re: RE: connection Pool leaking - how to detect it ?

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

ant install fails

2005-01-24 Thread Anil Philip
Hello, The build.xml supplied in the Tomcat 5.5.4 (Windows XP) documentation has this line in the 'install' target: localWar=file://${build.home}/ Following the development processes Tomcat document, when I do an: ant install I get the following error: C:\CRUDRE\build.xml:369:

Re: ant install fails

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

RE: RE: IIS 5.0 + ISAPI filter + tomcat

2005-01-24 Thread Warron French
Sorry, I dont remember Dutch anymore. Please reply in English. Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike #400 Vienna, VA 22182 Desk: 703-821-6110 Main: 703-821-6000 Fax: 703-827-0374 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

Re: RE: RE: IIS 5.0 + ISAPI filter + tomcat

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: sharing webapplication

2005-01-24 Thread Omar Adobati
nobody can help me too? On Mon, 24 Jan 2005 11:08:36 +0100, Omar Adobati [EMAIL PROTECTED] wrote: Hi to everybody, I need an idea. suppose I have some webapp that i need to share among some other webapplication. For example, suppose I have three customer website each that need the access

Re: What is it mean that Java code does not belong in well designed JSP pages?

2005-01-24 Thread Dakota Jack
Debugging code in JSPs is very painful. Debugging tag libraries is the same as debugging any ordinary Java object. I pretty much agree with everything Harry says and I do so in spades as they say. You can, as a tip, make debugging JSP easier by putting the whole page in a try/catch exception

TrustManager

2005-01-24 Thread Quenin Bertrand
Hi, I'd like to know how setting a custom TrustManager in Tomcat 4.1.31. I have my custom provider installed and working ok. I tried to override ssl.TrustManagerFactory.algorithm property with my custom TrustManagerAlgorithm but tomcat seems to ignore it ... The only thing i achieve is to

Re: TrustManager

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: sharing webapplication

2005-01-24 Thread Parsons Technical Services
Way out on a limb here. (Assuming) If you are having three customers then you have three URLs. If this is true, maybe you could use the alias and setup something like this: secure.companya.com secure.companyb.com secure.companyc.com where all three are pointed to the same app. I have NOT done

Re: Re: sharing webapplication

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: sharing webapplication

2005-01-24 Thread Omar Adobati
This seems to be a nice way to try out... I'll say you if this should work as I hope. I'm waiting for other suggestions too On Mon, 24 Jan 2005 11:45:20 -0500, Parsons Technical Services [EMAIL PROTECTED] wrote: Way out on a limb here. (Assuming) If you are having three customers then you

Re: precompilation and JSTL

2005-01-24 Thread Marcus Beyer
Tim Funk schrieb: I finally solved my (first) problem: I had a wrong lib (J2EE 1.3) in my class path. So there was some kind of version mismatch ... Are you sure you want %@ taglib uri=http://java.sun.com/jstl/core; prefix=c% and not %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %

Re: Re: precompilation and JSTL

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: precompilation and JSTL

2005-01-24 Thread Tim Funk
Is your web.xml using the 2.4 declaration? -Tim Marcus Beyer wrote: Tim Funk schrieb: I finally solved my (first) problem: I had a wrong lib (J2EE 1.3) in my class path. So there was some kind of version mismatch ... Are you sure you want %@ taglib uri=http://java.sun.com/jstl/core; prefix=c%

Re: Re: precompilation and JSTL

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: sharing webapplication

2005-01-24 Thread Dakota Jack
You can have the various application URLs point to the same webserver app, as Parsons pointed out. However, why don't you want them to share, except the skin, everything on the website? As long as the skin is different, they won't know they are sharing anything. Jack On Mon, 24 Jan 2005

out of memory error with more than a few sites

2005-01-24 Thread Helmut Eggebert
Hi, I am getting an out of memory error when I start Tomcat. I read posts on this in the past and followed some instructions to increase by min and max memory settings in catalina.sh. I have 1028 MB on this server and so I increased the min to 128 and the max to 768. The server was working

Re: out of memory error with more than a few sites

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: Re: out of memory error with more than a few sites

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: out of memory error with more than a few sites

2005-01-24 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/memory.html I bet your machine has some kernel limits on number of open files that you are passing. -Tim Helmut Eggebert wrote: Hi, I am getting an out of memory error when I start Tomcat.

Start Tomcat 5.5.4 in the Background with No Console (Windows)

2005-01-24 Thread Matt Mejaski
Hi all, I'm wondering -- is there a way to start Tomcat 5.5.4 in the background on Windows, without seeing the console, and without running it as a service? Here's my situation: I have a webapp running that sometimes needs to access network folders that are only mapped when the user logs in

Using digital signatures to log into admin webapp

2005-01-24 Thread Edmon Begoli
Hi, Is it possible to enable digital certs as a authentication method for the admin app. and if yes - please tell me how. Thank you, Edmon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Emergency: make Tomcat forward

2005-01-24 Thread Stephen Charles Huey
I have Tomcat 4.1.27 on a Linux box at a particular public IP address, and I want to make it forward ALL requests to a Tomcat on a Windows box at another public IP address. Over the weekend, we changed the DNS to the Linux box, but now we need to roll back to the Windows box, and we already

Re: Emergency: make Tomcat forward

2005-01-24 Thread Tim Funk
If you can use tomcat5 - look at the balancer webapp. -Tim Stephen Charles Huey wrote: I have Tomcat 4.1.27 on a Linux box at a particular public IP address, and I want to make it forward ALL requests to a Tomcat on a Windows box at another public IP address. Over the weekend, we changed the DNS

Re-Post SSL and Tomcat

2005-01-24 Thread stuff
I would really appreciate any help on this. I have two applications running on a Tomcat server. One is the main webpage and the other is a shopping cart for that webpage. I would like to set up a secure checkout for the cart. Is it best to encrypt the whole cart or just part of the cart? Should

Sending email with zip file attach problem

2005-01-24 Thread Daxin Zuo
Hi, Please help. Any sugestion is welcome. In my web page, users send email with attachment, so upload is related. I can provide the file in either a byte[] array, or in an inputstream. I try to send the attachement with JavaMail(I know there is email api in Tomcat-Common. But I have no a good

Re: precompilation and JSTL

2005-01-24 Thread David Smith
Just a thought: Last I knew using the j2ee jar w/ Tomcat == EVIL. You can either use the j2ee distribution on Sun's site OR Jakarta Tomcat (w/ j2sdk, not j2ee), but never j2ee and jakarta tomcat together. It'll create some really ugly version conflicts. If you use jakarta tomcat from

Re: Sending email with zip file attach problem

2005-01-24 Thread Caroline Jen
It is an example of sending bulk mails with attachment. You have to write the uploaded file into a temporary directory. See the attachments. I hope the example could be useful. -Caroline --- Daxin Zuo [EMAIL PROTECTED] wrote: Hi, Please help. Any sugestion is welcome. In my web page,

Re: precompilation and JSTL

2005-01-24 Thread Marcus Beyer
Tim Funk schrieb: Is your web.xml using the 2.4 declaration? Yes it is. The problem has to do with precompilation, because it works if I deploy the JSPs instead of the servlets. Example: c:out value=1 + 2 = ${1 + 2} / The precompiled Java code looks like this: _jspx_th_c_out_1.setValue(new

Virtual domains

2005-01-24 Thread Dola Woolfe
Recently I asked whether Tomcat can be used w/o Apache, and the answers that I received convinced me that for my project using Tomcat by itself is the right thing to do. But does Tomcat support virtual domains? Aaron Fude __ Do you

Re: Virtual domains

2005-01-24 Thread Dakota Jack
Yes. Check the documentation. On Mon, 24 Jan 2005 12:40:19 -0800 (PST), Dola Woolfe [EMAIL PROTECTED] wrote: Recently I asked whether Tomcat can be used w/o Apache, and the answers that I received convinced me that for my project using Tomcat by itself is the right thing to do. But does

Meaning of threads

2005-01-24 Thread Dola Woolfe
Hi, Where can I read about the meaning of the following options: maxThreads=150 minSpareThreads=25 maxSpareThreads=75 My server tends to lock out a user who bombards it with requests so I'm wondering whether those options have anything to do with it before I post the problem here. Aaron Fude

Re: Virtual domains

2005-01-24 Thread Hassan Schroeder
Dola Woolfe wrote: But does Tomcat support virtual domains? The FM, particularly the Server Configuration Reference, is your friend :-) http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html :: which would lead you to the Host element...

Error allocating a servlet instance caused by ClassCircularityError on java.util.Date with Tomcat 5.0.28

2005-01-24 Thread Ian Stevens
I have been trying to get our servlet working with Tomcat5.0, without much success. The servlet works flawlessly in Tomcat4.0 and Tomcat4.1, although dropping the same WAR file in Tomcat5.0 on Windows with JDK1.4.2 (on two seperate machines, even) produces the following stacktrace:

Re: Meaning of threads

2005-01-24 Thread Filip Hanik - Dev
maxThreads=150 your server can handle a maximum of 150 concurrent clients minSpareThreads=25 if your server is idle, it will at least have 25 threads waiting to handle requests maxSpareThreads=75 if your server is idle, it will have no more than 75 threads waiting to handle requests you get

bizarre authentication problem

2005-01-24 Thread Andy Kriger
I have an Tomcat server on an internal network configured to require basic authentication. This works fine when I use IE or Java code to access a site, but when I try to access the site using Firefox, the user/password is never accepted. I have packet sniffed the GET calls from both IE and Firefox

Re: Emergency: make Tomcat forward

2005-01-24 Thread Graham Bleach
On Mon, Jan 24, 2005 at 12:15:05PM -0600, Stephen Charles Huey wrote: I have Tomcat 4.1.27 on a Linux box at a particular public IP address, and I want to make it forward ALL requests to a Tomcat on a Windows box at another public IP address. Over the weekend, we changed the DNS to the Linux

Re: Meaning of threads

2005-01-24 Thread Dola Woolfe
Yes, I get the direction this is going in! I assume that the reason for having threads waiting is that they take time to be created? And you don't want to have too many because they take up memory? I can't resist asking a question about optimal values. Since the answer is obviously it depends

Re: Virtual domains

2005-01-24 Thread Dola Woolfe
The FM, particularly the Server Configuration Reference, is your friend :-) Wrong! Guys like you, who point me to the FM, are my friends. Thanks for the response. Aaron __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile

Re: Meaning of threads

2005-01-24 Thread Filip Hanik - Dev
the number of threads will depend on the size of your machine, but to support many concurrent users, you will want to turn off keep alive connections, as these will have the opposite effect. Filip - Original Message - From: Dola Woolfe [EMAIL PROTECTED] To: Tomcat Users List

Re: Meaning of threads

2005-01-24 Thread Dola Woolfe
That's counterintuitive, isn't it? How come? --- Filip Hanik - Dev [EMAIL PROTECTED] wrote: the number of threads will depend on the size of your machine, but to support many concurrent users, you will want to turn off keep alive connections, as these will have the opposite effect.

AW: Meaning of threads

2005-01-24 Thread Steffen Heil
Hi the number of threads will depend on the size of your machine, but to support many concurrent users, you will want to turn off keep alive connections, as these will have the opposite effect. Wouldn't it make more sense to enable keep alive connections and increase the thread count - if

Re: Meaning of threads

2005-01-24 Thread Andrew Miehs
I would also consider turning of keepalive. Unfortunately tomcat (and apache) both setup one thread per connection. You may be able to use squid as a reverse proxy if you are having load/ number of connection/ thread problems depending on your application Andrew On Jan 24, 2005, at 10:11 PM,

Certificate Revocation List

2005-01-24 Thread Martin Dubuc
Does Tomcat support certificate revocation list? If it does, could someone send me a pointer to a page that explains how to configure Tomcat to enable this? Regards, Martin __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses.

Re: Meaning of threads

2005-01-24 Thread Filip Hanik - Dev
no, think about it a little bit longer, what does a keepalive connection do, it hogs one thread per client, not per concurrent user. so now other clients will be stuck waiting cause you have keepalive turned on, and a user is sitting idle doing nothing, but yet, taking up server resources

Re: AW: Meaning of threads

2005-01-24 Thread Andrew Miehs
On Jan 24, 2005, at 11:09 PM, Steffen Heil wrote: Hi the number of threads will depend on the size of your machine, but to support many concurrent users, you will want to turn off keep alive connections, as these will have the opposite effect. Wouldn't it make more sense to enable keep alive

Re: Tomcat Error: java.lang.NoClassDefFoundError:

2005-01-24 Thread Kathie Manson
Hi QM, Thanks for your response. In between Tomcat working and breaking, I had installed Cactus. I think that actually changed something, somewhere on the classpath which wasn't actually in tomcat's directory structure. When I reinstalled tomcat, I did completely remove it, then reinstall.

Re: AW: Meaning of threads

2005-01-24 Thread Dola Woolfe
In my experience however, this does NOT work well in a high traffic situation. I'm sure you're not saying that Tomcat does NOT work well in a high traffic situation. You are just saying that in a high traffic situation one should turn off keep alives. Am I guessing correctly that I have only a

Re: Re: AW: Meaning of threads

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Multiple hit from one user problem

2005-01-24 Thread Dola Woolfe
Hi, Since this doesn't appear to threads issue I'm taking it out into a separate thread. I'm running TC 5.4.4 on port 80 with no Apache on XP Pro. A colleague on mine has an Excel spreadsheet attempts to perform about 2000 very short queries, most likely in sequence. About half of the way

Re: Multiple hit from one user problem

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

RE: Sending email with zip file attach problem

2005-01-24 Thread Daxin Zuo
Thanks for the reply. So I have to output the file. If, in jave, there is no way to upload the file and attach the file directly, it seems strange. -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, January 24, 2005 11:10 AM To: Tomcat Users List Subject: Re:

Re: RE: Sending email with zip file attach problem

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Tomcat does not evaluate jspf extension files

2005-01-24 Thread Norris Shelton
Everytime I try to use a .jsfp extension for a file, tomcat does not evaluate it. Comments come out, code is displayed, etc. I also ran into this thread: http://www.javakb.com/Uwe/Forum.aspx/java-programmer/13915/Tomcat-5-EL-Expressions-in-jsp-inlcude He happened to be using the .jspf extension

Re: Tomcat does not evaluate jspf extension files

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Does JDBCRealm close connections?

2005-01-24 Thread Stephen Charles Huey
Hey there--just wondering if JDBCRealm with Tomcat 4 ever closes connections it opens...I'm assuming it can open up more than one connection to the database if traffic gets heavy (because we think we're seeing that, though it's hard to tell for sure). If so, when does it go about closing those

Re: Does JDBCRealm close connections?

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Tomcat Bug?

2005-01-24 Thread Aris Javier
Hello! Please Help! It seems Tomcat won't refresh the page... I have this logout.jsp page.. have configured it so many times... deployed it to webapps/elog/web folder but still it's initial logout.jsp appeared... restarted tomcat, restarted browser, and even restarted my pc... but to no

Re: Tomcat Bug?

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: Tomcat does not evaluate jspf extension files

2005-01-24 Thread Larry Meadors
See the problem below? On Mon, 24 Jan 2005 17:01:38 -0800 (PST), Norris Shelton wrote: Everytime I try to use a .jsfp extension for a file, tomcat does not evaluate it. Comments come out, code is displayed, etc. servlet-mapping servlet-namejsp/servlet-name

Re: Tomcat Bug?

2005-01-24 Thread Parsons Technical Services
Empty your browser cache. How are you doing the deploy? Make sure the directory is being removed before redeploy. Are other pages updating? What if you delete the page all together? Doug - Original Message - From: Aris Javier [EMAIL PROTECTED] To: Tomcat Users List

Re: Re: Tomcat Bug?

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: Tomcat does not evaluate jspf extension files

2005-01-24 Thread Paul Gregoire
Ok, just so its clear... servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsfp/url-pattern /servlet-mapping ;) Larry Meadors wrote: See the problem below? On Mon, 24 Jan 2005 17:01:38 -0800 (PST), Norris Shelton wrote: Everytime I try to use a .jsfp extension for a

Re: Re: Tomcat does not evaluate jspf extension files

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

RE: Tomcat Bug?

2005-01-24 Thread Aris Javier
I've deleted the cookies, ie history, temp files... is this the way to empty browser cache? I've also deleted the whole webapp/elog folder before deployment. but to no avail. thanks aris -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: RE: Tomcat Bug?

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: Does JDBCRealm close connections?

2005-01-24 Thread Parsons Technical Services
In a quick scan of the source (4.1.30). The realm does not use pools. It opens the connection upon authentication. Then closes it right after. All in the same method. There is a note about adding pooling, and this may be one reason why. If you have a limit on the number of connection your

Re: Re: Does JDBCRealm close connections?

2005-01-24 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88

Re: Meaning of threads

2005-01-24 Thread Sean M. Duncan
What is the impact of having apache httpd allow keep alive requests when using the AJP connector to tomcat? Does this have any impact on tomcat's thread usage? How well does httpd itself deal with keep alive pipelines under a heavy user load? -Sean On Mon, 2005-01-24 at 16:23 -0600, Filip

Re: Tomcat Bug?

2005-01-24 Thread Parsons Technical Services
As far as I know. Under IE options for the settings in the files section you can set that to check for a new page on each visit. Pressing F5 is suppose to do a new request. Also I remember some mention about file dates. Make sure date on new file is later than on original file. There have been

Deploying a Servlet to Tomcat 5.0

2005-01-24 Thread Harsha perera
Hi, I have been trying to deploy a simple servlet to Tomcat 5.0. Tomcat is installed on WIndows XP. This is what I did: 1. Created a directory structure under $TOMCAT_HOME\webapps as follows: ROOT\WEB-INF\classes 2. Moved the class(HelloServlet.class) to the above created directory.

  1   2   >