RE: Upload File

2004-10-06 Thread Pawson, David
-Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 15:10 To: Tomcat Users List Subject: Re: Upload File Do you just not use ActionForm, David? Sorry Michael. I don't know what ActionForm is. regards DaveP ** snip here

Turn off session persistence

2004-10-06 Thread Joe
hi! is there a simple way to turn off the session persistence OFF by default for all contexts? many thanks in advance, joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problems with Tomcat 4.0.5

2004-10-06 Thread Hassan Sajjad
Thanks Shapira. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 18:04 To: Tomcat Users List Subject: RE: Problems with Tomcat 4.0.5 Hi, Tomcat 4.0.5 is not a good choice for a production system, because it's not a stable release. 4.0.6 was a

Different JDBCRealm for each app?

2004-10-06 Thread Vclavk Radek
Hi, is there a possibility to define different JDBCRealm (or realm in general) for each application within one servlet container? The realm is defined in server.xml, so I can't see a possibility how to make it application dependent. Could you please advise me on some best practices concerning

Re: Turn off session persistence

2004-10-06 Thread François Richard
hi! my bad solution : put the following in your contexts manager |pathname=| / I think the defaultcontext doesn't support the manager ... Someone know a way to turn off the persistence in the web.xml ? Joe wrote: hi! is there a simple way to turn off the session persistence OFF by default for

Re: Upload File

2004-10-06 Thread Michael McGrady
Pawson, David wrote: -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 15:10 To: Tomcat Users List Subject: Re: Upload File Do you just not use ActionForm, David? Sorry Michael. I don't know what ActionForm is. regards DaveP

Performance issue

2004-10-06 Thread Faisal Abdullah
Hi, I have 4 *really* sluggish Tomcats. All 4 are load balanced: Tomcat Version:4.1.30 Java: Sun 1.4.2_02 SMP: 4 CPU Xeon 2GHz Memory: 4GB OS: Redhat AS 3.0 Users can reach 500 at peak time (about 150 per server). It takes about 2-4 minutes to load. And we're also having session time-outs.

RE: Turn off session persistence

2004-10-06 Thread Dale, Matt
Read this page http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html I think your best bet would be to switch from the default manager to the persistent manager and set the saveOnRestart parameter to be false. Ta Matt -Original Message- From: Joe [mailto:[EMAIL

RE: Turn off session persistence

2004-10-06 Thread Dale, Matt
This isn't a bad solution and will achieve the desired affect. As far as I know you can't control this from web.xml but you can from META-INF/context.xml. Place a manager element in there. Ta Matt -Original Message- From: François Richard [mailto:[EMAIL PROTECTED] Sent: 06 October 2004

RE: Turn off session persistence

2004-10-06 Thread Dale, Matt
Actually you can also set the pathname= with the standard manager, will do the same. Ta Matt -Original Message- From: Dale, Matt Sent: 06 October 2004 10:29 To: Tomcat Users List Subject: RE: Turn off session persistence Read this page

RE: Measuring current connections, other metrics

2004-10-06 Thread Dale, Matt
I find the manager app useful in this respect. As long as your application invalidates sessions correctly the number of sessions here will be more or less the number of users, allowing for users just closing their window etc and therefore not giving the application a chance to invalidate its

Re: Different JDBCRealm for each app?

2004-10-06 Thread Tim Funk
Define the Realm in the Context declaration. -Tim Vclavk Radek wrote: Hi, is there a possibility to define different JDBCRealm (or realm in general) for each application within one servlet container? The realm is defined in server.xml, so I can't see a possibility how to make it application

RE: Doubt regarding Confguring HTTP port

2004-10-06 Thread Narayan, Satya
Thanks a lot. I tried setting the my_port variable and also setting on JAVA_OPTS on tomcat 4.1.30 it did not work. But it worked in 5.0 version. Can it be done in 4.1 also ? Could anybody tell me the reason as to why it cannot be done in 4.1? Thanks and Regards, Satya -Original

Re: Doubt regarding Confguring HTTP port

2004-10-06 Thread Tim Funk
That functionality is not in 4. Only 5. -Tim Narayan, Satya wrote: Thanks a lot. I tried setting the my_port variable and also setting on JAVA_OPTS on tomcat 4.1.30 it did not work. But it worked in 5.0 version. Can it be done in 4.1 also ? Could anybody tell me the reason as to why it cannot be

Re: Turn off session persistence

2004-10-06 Thread Joe
Thank you very much. I'll try your hints. The most promising is: in META-INF/context.xml use the persistent manager and set the saveOnRestart parameter to be false. gretings, joe Dale, Matt wrote: Actually you can also set the pathname= with the standard manager, will do the same. Ta Matt

Re: Tomcat, mod_jk, Apache and virtual host

2004-10-06 Thread Alex
Will this help? http://www.mail-archive.com/[EMAIL PROTECTED]/msg136432.html On Sun, 3 Oct 2004, Glen Ezkovich wrote: Date: Sun, 3 Oct 2004 16:55:10 -0500 From: Glen Ezkovich [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject:

Re: Performance issue

2004-10-06 Thread Alex
How big is your average session? On Wed, 6 Oct 2004, Faisal Abdullah wrote: Date: Wed, 6 Oct 2004 17:20:05 +0800 From: Faisal Abdullah [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], Faisal Abdullah [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject:

Re:

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file price.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

RE: Performance issue

2004-10-06 Thread Filip Hanik \(lists\)
sounds like an App problem, cause your hardware is sure powerful, assuming you configured your connector threads to handle enough concurrency Filip -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 6:20 AM To: Tomcat Users List Subject: Re:

Re: Hello

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file Price.com has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

Roles-problem with JNDIRealm and AD

2004-10-06 Thread Eividn Trondsen
Hi List I'm trying to connect Tomcat/5.0.28 to AD on Windows 2003. My problem is that JNDIRealm fails to get role information, after successfully binding with the users DN. My temporary conclusion is that JNDIRealm fails to use the bound connection with AD when performing the search for the role

Re: Thanks :)

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file Joke.scr has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

Re: Hi

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file Joke.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

Re: Hello

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file price.scr has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

{Spam} Re: Hello

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file Price.scr has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

{Spam} Re: Thanks :)

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file Joke.com has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

RE: DIGEST Authentication in Tomcat 4 vs Tomcat 5

2004-10-06 Thread Shapira, Yoav
Hi, AFAIK, Digested passwords work just fine in both the Memory and JDBC Realms. I haven't tried it with a JNDI, LDAP, or JAAS Realm. The doc page for Realms is at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html#Digeste d%20Passwords. This is for Tomcat 5, I haven't done

RE: Performance issue

2004-10-06 Thread Nitschke Michael
It could be that you catch a maximum open handles error. If you are using the standard linux distribution it is set to 1200 connections. And if you have 500 users and every user opens an connection you are up to 1000 and the remaining 200 are very quickly used up. The result is that all java app's

RE: RE: Root application in Tomcat

2004-10-06 Thread kax
Hi, Thanks for your answers and suggestions. I have never got so much help at any mailing list at any project before! You guys rock! I haven't had the time to test this until today. I'm trying to deploy the application with the deploy ant task. The application is deployed and unpacked into the

RE: Turn off session persistence

2004-10-06 Thread Shapira, Yoav
Hi, Someone know a way to turn off the persistence in the web.xml ? Being a container-specific feature, and not a Servlet Spec feature, means this can never go in web.xml. The others provided ways to make it work in Tomcat-specific configuration files. Yoav This e-mail, including any

RE: problem redeploying war files on tomcat 4.x

2004-10-06 Thread Shapira, Yoav
Hi, Can you turn off unpackWARs for your Host and run from a packed WAR? Yoav Shapira Millennium Research Informatics -Original Message- From: Wick, Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 9:12 PM To: '[EMAIL PROTECTED]' Subject: problem redeploying war files

RE: problem redeploying war files on tomcat 4.x

2004-10-06 Thread Wick, Daniel
Thanks Yoav. Well, inside the application, users upload things into the application directories. That's why I have to expand the war...and also don't want to delete every time we deploy. Is this possible to do? We currently use 9iAS/Orion...which does this - but now we're switching to Tomcat

RE: Turn off session persistence

2004-10-06 Thread Pawson, David
Jargon call :-) -Original Message- From: Shapira, Yoav Someone know a way to turn off the persistence in the web.xml ? Being a container-specific feature, and not a Servlet Spec feature, means this can never go in web.xml. containers servlet ... As someone

Re: problem redeploying war files on tomcat 4.x

2004-10-06 Thread QM
On Wed, Oct 06, 2004 at 08:12:32AM -0500, Wick, Daniel wrote: : Thanks Yoav. Well, inside the application, users upload things into the : application directories. That's why I have to expand the war...and also : don't want to delete every time we deploy. It sounds like the uploaded files and

Re: Turn off session persistence

2004-10-06 Thread QM
On Wed, Oct 06, 2004 at 02:11:23PM +0100, Pawson, David wrote: : As someone who is often made aware of the jargon he uses, : I wonder if anyone has the time to put together a basic jargon : buster for Tomcat, perhaps extending it to server speak more generally? The servlet spec does a wicked-good

RE: problem redeploying war files on tomcat 4.x

2004-10-06 Thread Shapira, Yoav
Hi, If you tell the server to unpack your WAR, it does, but then it won't remove the unpacked directory because you (or your web designers) may have updated stuff in it. So you have to manually remove this unpacked directory. If you keep the WAR packed then you don't need to worry about this

How to know the list of the active sessions

2004-10-06 Thread François Richard
Hi, Is there a way to do something like this : Enumeration list = servletContext.getActiveSession(); To solve this problem i have put a list attribute in the context. And use a session listener to refresh this list ... but the problem is that the session are persistent during a stop but not the

Re: Hello

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file price.scr has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

RE: How to know the list of the active sessions

2004-10-06 Thread Shapira, Yoav
Hi, Enumeration list = servletContext.getActiveSession(); To solve this problem i have put a list attribute in the context. And use a session listener to refresh this list ... but the problem is that the session are persistent during a stop but not the context attributes which became outdated

Re: How to know the list of the active sessions

2004-10-06 Thread Tim Funk
I have some servlet utilities here which handle that: http://funkman.home.comcast.net/servletutils-0.2/ In particular see SessionViewerListener. -Tim François Richard wrote: Hi, Is there a way to do something like this : Enumeration list = servletContext.getActiveSession(); To solve this problem i

RE: RE: Root application in Tomcat

2004-10-06 Thread Phillip Qin
I think Deploy task is using Tomcat Manager to deploy your application. Please check your deploy parameters deploy url=http://yourhost/manager; username=yourname password=yourpass path=/ war=yourwar.url/ yourwar.url is *nix - file:/dir/yourwar.war Win* - file:/c:/dir/yourwar.war In your

Re: How to know the list of the active sessions

2004-10-06 Thread François Richard
Thanks Yoav and Tim, I will studied your solutions ... Shapira, Yoav wrote: Hi, Enumeration list = servletContext.getActiveSession(); To solve this problem i have put a list attribute in the context. And use a session listener to refresh this list ... but the problem is that the session are

Newbe to Tomcat, Jakara and Apache

2004-10-06 Thread Patrick A Healey
Hi all, My question is, does any know if there are any issues running Tomcat and Apache together on Windows Server 2003? The problem I'm having is with a migration project that I'm working on. I'm trying to reintegrate a software suite that originally ran on a combination of RedHat and

AW: Newbe to Tomcat, Jakara and Apache

2004-10-06 Thread Steffen Heil
Hi This has a combination of Jakarta-Tomcat (4.1.2) and Apache (1.3.27). Upgrade to the latest tomcat of the 4.1.x release. 4.1.2 is fairly old and there are newer versions of the same core. 5.0 is a newer spec, so that might not be what you want, but I would definitly upgrade to 4.0.30.

[OT] That craigmcc guy is getting **REALLY** annoying!

2004-10-06 Thread Mike Curwen
yah, that's all. ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JK2 Connector for Apache 1.3

2004-10-06 Thread Matteo Turra
I have a Linux SUSE SLES 8, it has apache 1.3. Does I need apache sources to compile jk2 connector to obtain mod_jk2.so to put in module? Can I use JK2 with apache1.3 or I have to use the JK connector? Thanks in advance, Matteo. Everything should be made as simple as possible, but not simpler.

RE: [OT] That craigmcc guy is getting **REALLY** annoying!

2004-10-06 Thread Phillip Qin
If we ban Craig, that would be really loss to open source community.;) -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: October 6, 2004 11:01 AM To: 'Tomcat Users List' Subject: [OT] That craigmcc guy is getting **REALLY** annoying! yah, that's all. ;)

RE: Newbe to Tomcat, Jakara and Apache

2004-10-06 Thread Patrick A Healey
I've thought of upgrading to a newer version of both but have a concern that since the software was written for the older 4.1.2. Are there any good sources which could help me through the upgrade? Thanks, Patrick -Original Message- From: Steffen Heil [mailto:[EMAIL PROTECTED]

Still Need Help On Starting Tomcat When Machine Starts

2004-10-06 Thread Weifeng Wang
Hello there, I posted a question yesterday seeking help on automating Tomcat (4.1.30) startup and shutdown on HP-UX B.11.11 platform. Now, Tomcat can be shut down successfully when the machine shuts down. But, when the machine starts, the Tomcat does not get started. There is no error shown

AW: Newbe to Tomcat, Jakara and Apache

2004-10-06 Thread Steffen Heil
Hi I've thought of upgrading to a newer version of both but have a concern that since the software was written for the older 4.1.2. Are there any good sources which could help me through the upgrade? The tomcat docs. Upgrading should only be a problem for major version changes, since they tend

Re: Tomcat becoming almost completely non-responsive

2004-10-06 Thread Kaleb Pederson
On Tuesday 05 October 2004 6:53 pm, you wrote: Looks like you're using an old version of the JDBC driver that uses BufferedInputStreams by default. There is a 'feature' (many call a bug) in BufferedInputStreams that causes them in some cases to want to read a full buffer's worth of data when

Re: Still Need Help On Starting Tomcat When Machine Starts

2004-10-06 Thread Tim Funk
IIRC, HP startup is sort of goofy. Odds are tomcat is being started before the network is being started. I think placing and entry in /etc/inittab will do the trick. -Tim Weifeng Wang wrote: Hello there, I posted a question yesterday seeking help on automating Tomcat (4.1.30) startup and

RE: problem redeploying war files on tomcat 4.x

2004-10-06 Thread Wick, Daniel
Thanks everyone for the info. If there are any developers on the list...almost every other app server will expand a war over the top of an existing deployment (9iAS, Orion, WebSphere, etc I know of for sure). It would be a very useful feature to have. The files the users upload in my app, get

Re: Drops and Spikes in Tomcat responses

2004-10-06 Thread Kaleb Pederson
What suggestions do people have for a profiler or a profiler howto? I would prefer something that allows me to simply turn on the Java profiling (-Xprof) that I can then analyze later, but will do whatever I need to resolve the problem. Thanks for the help and suggestions. --Kaleb On

Threads in Tomcat 5

2004-10-06 Thread Juan Manuel Porras Gálvez
Hello all, I'm a newbie in mailing user list. My post is relationship with threads in Tomcat Server 5.0. Over Debian Linux v3.0 rc 2, threads are shown like processes; many processes are shown in process list command (ps -aux). We think that most of them, except one or two are threads, are

RE: RE: Root application in Tomcat

2004-10-06 Thread kax
Thanks, now I got the docBase right but I still have to restart Tomcat to get everything up and running after the ant deploy task, but after the restart everything works fine. What can be the problem with the deployment? As I said before, I can see the deployment in the admin console but I get

keystore manipulation

2004-10-06 Thread Carl Olivier
Greetings. Not sure if this is the right place to ask, but I reckon someone here will have some ideas! So here goes... I don't suppose anyone on the list knows of a way to dynamically (from code) reload a previously loaded keystore (e.g. one used with the system property:

Authentication Mechanisms

2004-10-06 Thread Anderson, M. Paul
What mechanisms do you developers typically use for preventing unauthorized access to a web application? I'm trying to determine the best approach for my web app. Here are the basic guidelines I need to follow: 1. We must limit access to the site to registered users. 2. We currently use BASIC

AW: Threads in Tomcat 5

2004-10-06 Thread Steffen Heil
Hi Are there any solution about limit the process or threads count?. Remember that Tomcat server.xml parameters don`t work. For me, these settings work. However, remember what they describe. They set the numbers of workers, not total threads. You applicaton might spawn threads, tomcat might

Re: Authentication Mechanisms

2004-10-06 Thread Robert Bateman
On Wed, 2004-10-06 at 11:59, Anderson, M. Paul wrote: snip 3. We currently store passwords in a database in plain text but we now wish to encrypt them. If you look at the underlying code for the web mail client for yahoo.com for example, you will find a small amount of JavaScript that encrypts

response.sendRedirect()

2004-10-06 Thread Pablo Carretero Sánchez
Hi, I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. It doesn't work in my appl. Can anyone help me. Thanks a lot -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 #8211; Móstoles

RE: RE: Root application in Tomcat

2004-10-06 Thread Phillip Qin
Deploy task is hot deployment, you don't need to restart Tomcat. Try to increase manager debug level to, i.e. 9. Before deploy, always undeploy your app. -Original Message- From: kax [mailto:[EMAIL PROTECTED] Sent: October 6, 2004 11:46 AM To: Tomcat Users List Subject: RE: RE: Root

Re: Tomcat, mod_jk, Apache and virtual host

2004-10-06 Thread Glen Ezkovich
Thanks Alex, Its a good resource but, we were hoping to be able to define the context some where besides the server.xml, such as in the appBase. I've run across mentions of using xml fragments for this, but as yet haven't been able to find out much. If anyone knows about how this can be

Re: response.sendRedirect()

2004-10-06 Thread QM
On Wed, Oct 06, 2004 at 04:38:54PM +0200, Pablo Carretero S?nchez wrote: : I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. : : It doesn't work in my appl. What, specifically, doesn't work? Did this same code work in a previous version of Tomcat 5.0.x? etc, etc. We're all

Re: response.sendRedirect()

2004-10-06 Thread Pablo Carretero Sánchez
Hi, I don't test in other Tomcat version. I'm trying a sendRedirect() in one JSP. And it doesn't work. The code is: response.sendRediredt(/jknopkn/prueba.jsp); QM ([EMAIL PROTECTED]) escribió: On Wed, Oct 06, 2004 at 04:38:54PM +0200, Pablo Carretero S?nchez wrote: : I have a urgent problem

RE: response.sendRedirect()

2004-10-06 Thread Dale, Matt
You haven't answered the main question, which is, exactly what doesn't work? Is there an error? Is the redirect ignored? Anything else? If it is in a JSP, have you enclosed the redirect in % %? I also assume you have spelt it correctly in the code as there is a spelling mistake in your

RE: Authentication Mechanisms

2004-10-06 Thread Rishi Pande
For a single webapp with a database, I have used md5 hashes. I believe MySQL does the same for its users table. If you have a whole suite of applications that you know you would like to tie into I like authentication to be taken care of by a separate web-app. Hope this helps. R -Original

Tomcat 5.5, Resource, and ResourceParams

2004-10-06 Thread derekmahar . 3966345
After having read the Tomcat User archives, I learned that Tomcat 5.5 server.xml no longer uses ResourceParams/. Instead, it uses only Resource/. However, after having read the JNDI Datasource HOW-TO (http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html), I am

RE: response.sendRedirect()

2004-10-06 Thread Filip Hanik \(lists\)
works for me -Original Message- From: Pablo Carretero Sánchez [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 9:39 AM To: [EMAIL PROTECTED] Subject: response.sendRedirect() Hi, I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. It doesn't work in my appl.

Re: response.sendRedirect()

2004-10-06 Thread Ben Souther
Without seeing the rest of your code, I'll guess that the problem is that you've started the relative link with a /. Try without it. If you have to back up a directory use ../jknopkn/prueba.jsp. On Wed, 2004-10-06 at 11:11, Pablo Carretero Snchez wrote: Hi, I don't test in other Tomcat

RE: Tomcat 5.5, Resource, and ResourceParams

2004-10-06 Thread Shapira, Yoav
Hi, All attributes, as the examples in the URL your quoted show. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 1:19 PM To: [EMAIL PROTECTED] Subject: Tomcat 5.5, Resource, and

{Spam} Re:

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file price.com has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

{Spam} Re: Thanks :)

2004-10-06 Thread Craigmcc
Dangerous Attachment has been Removed. The file Joke.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

RE: DIGEST Authentication in Tomcat 4 vs Tomcat 5

2004-10-06 Thread Mark Thomas
There have been a few issues (see the change log at http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/catalina/src/share/org/apac he/catalina/authenticator/DigestAuthenticator.java for details) but these have been fixed in both TC4 and TC5. The latest TC4 release (4.1.30) does not contain these

Re: Still Need Help On Starting Tomcat When Machine Starts

2004-10-06 Thread Weifeng Wang
Hi Tim, It works now. Thank you very much! Eric Tim Funk [EMAIL PROTECTED] 10/06/2004 11:27 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Still Need Help On Starting Tomcat When Machine Starts Caterpillar: Confidential

Mod JK2 Mapping and SSL

2004-10-06 Thread Scott Ahten
I'm stumped. Perhaps someone here can point me in the right direction? I have Apache 2 configured with domain based virtual hosting for several domains. However, I need to forward secure and unsecured requests to separate webapps for one of these domains. Example: HTTP://www.domain.com

Re: Drops and Spikes in Tomcat responses

2004-10-06 Thread Kaleb Pederson
What suggestions do people have for a profiler or a profiler howto? I would prefer something that allows me to simply turn on the Java profiling (-Xprof) that I can then analyze later, but will do whatever I need to resolve the problem. Thanks for the help and suggestions. --Kaleb PS: Sorry

RE: Drops and Spikes in Tomcat responses

2004-10-06 Thread Shapira, Yoav
Hi, The message came through ;) For suggestions on profilers and such, you can always search the archives, as this question is raised fairly regularly, and the answers are fairly uniform. There really isn't a dominant profiler out there, but rather a small group that's pretty close in ability,

is tomcat failing?

2004-10-06 Thread Stephen Charles Huey
We're using Tomcat 4.1.27 and we have a main database that the web app uses most of the time, and then a small MySQL database that Tomcat is configured to use for basic authentication. We used to have trouble with the main db hanging up on us, so we had a little watch program running to restart

HttpSessionListener- HttpSessionAttributeListener problems under TC-5.0.27,RedHat-7.2 and jdk-1.4.02_05?

2004-10-06 Thread Zsolt Koppany
Hi, we have the impression that either sessionDestroyed or attributeRemoved methods are not always called under RH-7.2. We are not sure but we think we didn't have the problem until this server got a new kernel with 4 processors. Tomcat (except this issue) is absolute stable even after days. Any

connection pooling

2004-10-06 Thread Eric Wulff
Hi all, I have gone over some of the tomcat docs and googled errors but there is SO much information covering JNDI and Datasources... and I'm hoping I don't have to be a JNDI/Datasource and XML guru just to set up db connections via connection pool. My situation is this... System: Tomcat 5 on

connection pooling

2004-10-06 Thread Eric Wulff
I have gone over some of the tomcat docs and googled errors but there is SO much information covering JNDI, connection pooling, and Datasources. Can someone review the info below and consult or point me in the right direction? Although I feel I'm missing something obvious, I can't find out

Re: connection pooling

2004-10-06 Thread jthompson
java code: Context ctx = (Context) init.lookup(xx); server.xml: ResourceParams name=xx web.xml: resource-ref res-ref-namexx/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref The entries I've labelled 'xx' should all be the same.

Re: connection pooling

2004-10-06 Thread jthompson
Please ignore my last post - it's wrong. (Answered before verifying). John Thompson |-+ | | Eric Wulff | | | [EMAIL PROTECTED]| | | | | || |

Re: connection pooling

2004-10-06 Thread jthompson
parameter nameurl/name valuejdbc:informix-sqli://url:port/dbName:INFORMIXSERVER=serverName/value /parameter Is that litterally what you have in your server.xml? - To unsubscribe, e-mail: [EMAIL

Capturing HTML using Tomcat 4

2004-10-06 Thread David Wall
I've been looking through archives and such for examples of how to capture the HTML output from a given JSP programmatically so I can archive or do other things with that HTML. For example, we might do this to record the text of an agreement that was displayed to a user, in which a JSP generated

Re: connection pooling

2004-10-06 Thread Eric Wulff
No, literally I have the actual values. The same connection string I use to successfully connect via JDBC using DriverMangager.getConnection() minus the user and passoword. Eric On Thu, 7 Oct 2004 11:04:22 +1300, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: parameter nameurl/name

Re: [ANN] Apache Jakarta Tomcat 5.5.3-alpha Released

2004-10-06 Thread Jacob Kjome
The tomcat5.exe and tomcat5w.exe seem to be missing from 5.5.3. They exist in 5.5.2. Might need to release 5.5.4. Jake Quoting Shapira, Yoav [EMAIL PROTECTED]: The Apache Jakarta Tomcat team is proud to announce the immediate availability of Tomcat 5.5.3-alpha. This build addresses

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Robert Harper
One way is to write a servlet that builds the html and before you finish with the response, save the text into a table and then send the response. Robert S. Harper 801.265.8800 ex. 255 -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 4:10

Re: connection pooling

2004-10-06 Thread jthompson
Is there a x.xml file in (TOMCAT_HOME)/conf/Catalina/localhost, where xx is the context name? (this is an independent context configuration that may have been created independently when you first deployed your application on Tomcat). If so, either delete it, or move your data source

Re: Capturing HTML using Tomcat 4

2004-10-06 Thread David Wall
That's not as nice only because most of the pages to be captured are JSPs, and converting the JSP to a servlet for this purpose would defeat much of the beauty of JSPs. I saw a listing for using a capture JSP tag at http://www.jguru.com/faq/view.jsp?EID=304022 that seems kind of interesting. Of

AW: Mod JK2 Mapping and SSL

2004-10-06 Thread Steffen Heil
Hi If you have apache2 in front of it, you can create two different virtualhosts with VirtualHost 1.2.3.4:80 mount unsecure here /VirtualHost VirtualHost 1.2.3.4:443 mount secure here /VirtualHost Regards, Steffen -Ursprüngliche Nachricht- Von: Scott Ahten [mailto:[EMAIL

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Mike Curwen
Could a filter do the job? response wrapping always seems scarey to me, but it should be possible to wrap all the requests for a given URL space (so for example, anything that might conveniently fall under the /agreement/* URL space), and after your call to doChain, you can extract and persist a

Single Login

2004-10-06 Thread Scott Smith
We have a Tomcat 4.1.x application using a JDBCRealm to do authentication. Is there a way to prevent the same login from being logged in multiple times simultaneously?

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Mike Curwen
oops. I meant .. it should be possible to **filter** all the requests... :o -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 6:24 PM To: 'Tomcat Users List'; 'David Wall' Subject: RE: Capturing HTML using Tomcat 4 Could a

Re: Single Login

2004-10-06 Thread QM
On Wed, Oct 06, 2004 at 05:24:45PM -0600, Scott Smith wrote: : We have a Tomcat 4.1.x application using a JDBCRealm to do : authentication. Is there a way to prevent the same login from being : logged in multiple times simultaneously? Just off the top of my head: You could mix a Filter with a

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Ben Souther
Could a filter do the job? Yes, it most certainly could. If your interested, I wrote one and packaged into a war file. http://ben.souther.us/capture.war It should be enough to get you started. On Wed, 2004-10-06 at 19:23, Mike Curwen wrote: Could a filter do the job? response wrapping

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Ben Souther
Could a filter do the job? Yes, it most certainly could. If your interested, I wrote one and packaged into a war file. It prints all the servlet output of the index.jsp page from the ROOT application that ships with tomcat to standard out. http://ben.souther.us/capture.war It should be enough

Re: connection pooling

2004-10-06 Thread Eric Wulff
Context name? I assume your referring to the ResourceParams name attribute, jdbc/test_connect in this case, from the Context declaration in my server.xml. So, I'd be looking for a test_connect.xml. There are NO .xml files in the TOMCAT_HOME/conf/Catalina/localhost with this name or any name

Re: Capturing HTML using Tomcat 4

2004-10-06 Thread Luke (Terry) Vanderfluit
Hi, I'm not sure if this is what you mean. You could simply run the following code to capture the output of the jsp. ~~ String htmlText; URL u = new URL(http://www.server.com:8080/application/some.jsp;); BufferedReader htmlPage = new

  1   2   >