Re: change in versions?

2006-10-05 Thread Pid
Dan Adams wrote: I had a tomcat 5.5.17 install with a bunch of webapps that was running great. Then I had to set up a new tomcat install on another server so I grabbed 5.5.20 and all of a sudden the urlrewritefilter in my apps stopped working completely. So after like a day of frustration and

AXIS: tomcat always do http compression without watch min size

2006-10-05 Thread wakeup
Hi, I have an apache tomcat 5.5.17. In my server.xml file I have put Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true compression=on

Re: AXIS: tomcat always do http compression without watch min size

2006-10-05 Thread Peter Rossbach
Which mime type send axis as responce? Peter Am 05.10.2006 um 09:46 schrieb wakeup: Hi, I have an apache tomcat 5.5.17. In my server.xml file I have put Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread David Smith
Really?! I've been on this list for a while and do not recall such derisive comments. Perhaps a more optimistic approach would help. As to the problem, I don't use the setup you are attempting, so you are going to have to help with some more info. Specifically a code example and logs for

tomcat doesn't reload my classes

2006-10-05 Thread Alessandro Ilardo
Hi there, on a remote tomcat 5.5 webserver we uploaded new .class files, we reloaded at least three times trough the manager but anytime we test it, looks like the old files are still running. The META-INF folder contain the following context.xml configuration file: Context path=

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread Tim Funk
A CGI run from tomcat is just like any other exe. It runs outside the JVM sandbox so it may do as much evil (or good) as it wants. If Tomcat is being run as a service. It could be your PATH and other environment variables may not be configured correctly. (Or at all) -Tim HALSTEAD SGT WARREN

Re: AXIS: tomcat always do http compression without watch min size

2006-10-05 Thread Tim Funk
compressionMinSize only works with fixed file sizes. If axis is NOT setting the ContentLength before serving back results - then compressionMinSize can't be checked to see if compression can be done. And then compression will be done based on the client input headers. -Tim wakeup wrote: Hi,

Re: IIS 6.0 with JK 1.2.19

2006-10-05 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Sorry for the errors on there, and obviously causing you problems. I've fixed the worker(s).properties error. I also fixed the uriworkermap.properties, according to the resolution described below. I blindly assumed that this web page was clean

Re: tomcat doesn't reload my classes

2006-10-05 Thread David Smith
On the outset, looks good to me. Can you confirm the location of your new class files are where they belong inside of WEB-INF/classes of the webapp? Are there any logging messages that might suggest tomcat isn't reading classes from the expected location? This comment has nothing to do with

Re: tomcat doesn't reload my classes

2006-10-05 Thread Alessandro Ilardo
Your suggestion is appreciated, all my webapp implement the driver you've suggested, but regarding the Realm configuration I preferred follow the tomcat docs which says: The fully qualified Java class name of this Realm implementation. You *MUST* specify the value

Re: Response already committed

2006-10-05 Thread Greg Ward
On 03 October 2006, Dan Adams said: Hmm, I don't think that is the culprit. I think all of our stuff is thread safe. We're using a framework (Tapestry) which shields us from threading issues like that and prevents us from storing request stuff in the session. Also, if that were the case would

Re: Response already committed

2006-10-05 Thread David Smith
Another thought to consider: a redirect does not stop processing on the current request. If you call a redirect in a filter and don't return immediately, this condition can occur. --David Greg Ward wrote: On 03 October 2006, Dan Adams said: Hmm, I don't think that is the culprit. I

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread Wade Chandler
--- HALSTEAD SGT WARREN F [EMAIL PROTECTED] wrote: Good Afternoon, I am running Tomcat 5 with CGI enabled. I am attempting to use Net::SMTP to send e-mail, and it works fine from the command line, but not running as a CGI script. I have scoured the internet and found other people

Re: tomcat doesn't reload my classes

2006-10-05 Thread Wade Chandler
--- Alessandro Ilardo [EMAIL PROTECTED] wrote: back to my problem: I discovered that the kindly network administrator had configured two tomcat instances, one working with apache connector for the normal http request and the other on a different port for the ssl. Both instances get the

specify filter in server.xml

2006-10-05 Thread Magnus Bergman
Hi, I would like to add a filter to server.xml, to have a server-wide-filter, but it doesn't seem to be registered. It works fine if I put it in any-webapp/WEB-INF/web.xml or in $CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in server.xml? Exact where in server.xml should I

Re: specify filter in server.xml

2006-10-05 Thread Mark Thomas
Magnus Bergman wrote: Hi, I would like to add a filter to server.xml, to have a server-wide-filter, but it doesn't seem to be registered. It works fine if I put it in any-webapp/WEB-INF/web.xml or in $CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in server.xml? Exact where in

FW: Question

2006-10-05 Thread Miriam Keating
QUMAS is the only global compliance company offering a complete solution to regulated industries. Recognized as the world leader in Enterprise Compliance Management. 8 Website: www.qumas.com * Address:Cleve Business Park, Monahan Road, Cork, Ireland (Office:+353-21-491 5100 +177 (

Re: specify filter in server.xml

2006-10-05 Thread Tim Funk
You don't, you were right when you put it in $CATALINA_HOME/conf/web.xml -Tim Magnus Bergman wrote: Hi, I would like to add a filter to server.xml, to have a server-wide-filter, but it doesn't seem to be registered. It works fine if I put it in any-webapp/WEB-INF/web.xml or in

RE: Question

2006-10-05 Thread ScottAnders
Hi Miriam, We had the same problem here. Our LDAP authentication was working up to version 5.5.12 but broke on anything above it. I finally got it fixed and I'll show you what we had previously and what we have now. WORKED WITH 5.5.12 AND BELOW: Realm

Re: Problem: Tomcat server hang because CPU goes to 100%

2006-10-05 Thread Minh Tu Thanh Tran
Thank you very much Praveen Balaji. Tu On 10/4/06, Praveen Balaji [EMAIL PROTECTED] wrote: Check how Heinz would do it: http://www.javaspecialists.co.za/archive/newsletter.do?issue=132locale= en_US -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: Problem: Tomcat server hang because CPU goes to 100%

2006-10-05 Thread Minh Tu Thanh Tran
Hi Leon Rosenberg, Do you have the sample code like what you show me? I would be much graceful if you could send me some more code on this matter. Thank you very much Tu On 10/4/06, Leon Rosenberg [EMAIL PROTECTED] wrote: create a thread dump (kill -QUIT pid) and look for the thread that

Re: A question.

2006-10-05 Thread Darek Czarkowski
On Wed, 2006-10-04 at 09:05 -0600, [EMAIL PROTECTED] wrote: Hi, there I've been experiencing some troubles in my apache-tomcat, I have a Open Enterprise Server with IDM from Novell, so I try to install the Net Storage services, but to manage these I have to use the iManager web page, but

Re: A question.

2006-10-05 Thread gustavo . ezquerro
The exact problem is that the logs it's not telling me anything at all, so the iManager web page gives me the 500 error, so I can give any more information. Thank you. Darek Czarkowski [EMAIL PROTECTED] 05/10/2006 11:57 a.m. Por favor, responda a Tomcat Users List users@tomcat.apache.org

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread Martin Gainty
Dave and crew- Its Like anything else ...the solution will be that more expensive .. Your battle plan should include looking into exec/spawn/system call function(s) Long and short is you can probably exec a telnet to WhateverMailServer on Port 25 and issue SMTP commands from the exec'ed shell

Tomcat Filter Not Retro Active

2006-10-05 Thread Threepwood
I am using a filter to set the content type and header to to force downloading of linked files, so that they open with their registered app instead of within IE. I am doing this with the following code: response.setContentType(application/octet-stream);

tomcat not passing resources to my filters

2006-10-05 Thread Dan Adams
Okay, I just set up a new tomcat with the latest version (5.5.20). My webapp is using urlrewritefilter. Whenever I request a url the filter will output what it's doing to the log even if it doesn't end up doing anything with a url. I've got this down to a base test case and what's happening is

How To: Postgresql XA Datasource

2006-10-05 Thread MC Moisei
Hi, I'm trying to create a XA datasource as resource in my context.xml file. Can one of you tell me how can I do that, I don't find any documentation on the matter. I use Postgresql 8.1.4 with the latest production driver. This version supports XA Data Source and they have a class for that

Re: Tomcat Filter Not Retro Active

2006-10-05 Thread Len Popp
Could it be that the old files are already cached by the browser? Try clearing the browser's cache, and put some logging in your filter so you can see if the filter is actually executed when you request a file. -- Len On 10/5/06, Threepwood [EMAIL PROTECTED] wrote: I am using a filter to set

Re: Tomcat Filter Not Retro Active

2006-10-05 Thread Threepwood
Thanks mate, appears that it was a browser caching issue. Joe Len Popp wrote: Could it be that the old files are already cached by the browser? Try clearing the browser's cache, and put some logging in your filter so you can see if the filter is actually executed when you request a file.

Re: tomcat installation issue on AIX

2006-10-05 Thread Christopher Schultz
Abhishek, where will i get the GNU compatible version of TAR Sorry nobody answered this for you, although the answer should be entirely obvious. Googling for gnu tar yields this page as the first link: http://www.gnu.org/software/tar/ I wouldn't recommend downloading the tar'd version of the

Re: HOWTO disable Tomcat from caching dynamic picture

2006-10-05 Thread Christopher Schultz
John, I have a servlet, namely BMPImageViewer, which retrieves a BMP image from database with conversion into PNG format via JAI. The servlet is referenced in XSL-FO for PDF generation. Do you use Cocoon or something similar to do the XSL-FO-PDF conversion? If so, do you have caching turned

Re: extending JDBCRealm

2006-10-05 Thread Christopher Schultz
Magnus, Check out Securityfilter: http://securityfilter.sourceforge.net/ I have submitted patches and sample (check the forums) that include the ability to get access to the IP, etc. My app currently logs successful and failed login attempts. As for logging the user in... that's not really

Re: Tomcat Filter Not Retro Active

2006-10-05 Thread Christopher Schultz
Joe, Thanks mate, appears that it was a browser caching issue. Whoops ;) Also, please note that MSIE is a steaming pile of dung when it comes to content-type headers. http://ppewww.ph.gla.ac.uk/~flavell/www/content-type.html and more importantly:

AW: error while running a webapp

2006-10-05 Thread Oliver Wagner
Thanks for your hint. The PDF can be reached at: http://www.tv-wetzlar-badminton.de/errorMessageTomcat.pdf the code from the Method conOK: public boolean conOK(int pointer) { PreparedStatement pstmt = null; try { pstmt = con[pointer].prepareStatement(SELECT * FROM kostensaetze);

Re: error while running a webapp

2006-10-05 Thread Hassan Schroeder
On 10/5/06, Oliver Wagner [EMAIL PROTECTED] wrote: I think the DB close the connection while the tomcat is running and I don't know (at my Connection-Pool) how to know when that happened. set autoReconnect=true in your driver config, or catch the exception when the timeout occurs and retry

Problem Integrating Tomcat5.x with Apache2.x using mod_jk

2006-10-05 Thread Chezang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi there, I'm trying to integrate Apache2.0.55 with Tomcat5.5 using mod_jk. I did the following but failed to achieve what I want. WinXP Professional SP2 Apache2.0.55 Tomcat5.5.17 My Apache and Tomcat servers are working fine. http://localhost/

apache+ssl with tomcat ..

2006-10-05 Thread Siddesh Prabhu
Hi Gurus... Can any one tell me how to integrate apache+ssl, with tomcat. I have apache Apache/2.0.59 (Win32) mod_ssl/2.0.59 OpenSSL/0.9.8b mod_jk/1.2.19 . http://server_name/jsp-examples is working fine, now i configured apache for ssl, https://server_name is working fine.

Re: Can not expand the .war file

2006-10-05 Thread Farid Hamjavar
Update/Summary: It was a permission issue as we're running Tomcat under a different (non-root) user. The permission/ownership issue was with the 'webapps' directory. Farid On Fri, 29 Sep 2006, Farid Hamjavar wrote: Date: Fri, 29 Sep 2006 17:22:35 -0600 (MDT) From: Farid Hamjavar [EMAIL