Re: Jre upgrade Issue with Tomcat 5.5 :java.util.zip.ZipException: error in opening zip file

2009-10-29 Thread selvakumar.V
Actually the permission was changed by myself only. Since we didnt get clues,finally we gave full permission for the lib directory. And I guess,is the ulimit in solaris playing any role here? As I saw in the internet,it may affect the overall file descriptors since we have lot of jars. I

Enabling cipher siutes

2009-10-29 Thread Rozhkevitch Alexandr
Hi, I have a question about configuring a ssl connector. By default tomcat use Cipher Suite: TLS_DHE_RSA_WITH_AES_128_CBC_SHA when I use my opera browser. I'd like to set ssl connector to use cipher suite with key size more than 128. How should I configure connector? I see ciphers attribute of

Servlet 3.0...

2009-10-29 Thread Rex Wang
hi, Dear Tomcat Developers, We adopt tomcat as an embeded servlet container in our system. Could you guys share with us any plan to implement the servlet 3.0 specification, or can I have a preview in current trunk(7.0) snapshot? Thanks for any comments! -Rex

FW: Apache Close-Wait issue

2009-10-29 Thread Darren Kukulka
No one willing to touch this one? I thought I'd get at least a passing comment...:-( -Original Message- From: Darren Kukulka [mailto:darren.kuku...@connaught.plc.uk] Sent: 27 October 2009 12:14 To: users@tomcat.apache.org Subject: Apache Close-Wait issue Hi All Got an interesting

Re: FW: Apache Close-Wait issue

2009-10-29 Thread André Warnier
Darren Kukulka wrote: No one willing to touch this one? I thought I'd get at least a passing comment...:-( Passing comment : maybe the fact that this is the Tomcat help forum, and that your problem seems to be more linked to the Apache httpd webserver and network appliance side of things, is

[OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/28 Christopher Schultz ch...@christopherschultz.net: Everybody ought to learn a little C at some point. It will make you really appreciate a relatively clean language like Java. ICL PLAN3 asembler, anyone? :-) More seriously, I agree with you and would add a second reason: doing a

RE: FW: Apache Close-Wait issue

2009-10-29 Thread Darren Kukulka
Fair point Andre...will submit this to httpd forum...thanks for the reply -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 29 October 2009 07:59 To: Tomcat Users List Subject: Re: FW: Apache Close-Wait issue Darren Kukulka wrote: No one willing to touch this one?

Re: [OT] Re: So many timeout values

2009-10-29 Thread André Warnier
Peter Crowther wrote: 2009/10/28 Christopher Schultz ch...@christopherschultz.net: Everybody ought to learn a little C at some point. It will make you really appreciate a relatively clean language like Java. ICL PLAN3 asembler, anyone? :-) More seriously, I agree with you and would add a

A question about log-rotation on catalina.out

2009-10-29 Thread thomas2004
Hi all, I have now a problem/question: I've installed Tomcat 5.5.27 on Linux. Though the catalina.out will be rotated everyday, i.g. catalina.-mm-dd.log. But the catalina.out-self doesn't begin from the new day but still contains the old log messages. I've heard this is default setting. Is

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Harald Dunkel
thomas2004 wrote: Hi all, I have now a problem/question: I've installed Tomcat 5.5.27 on Linux. Though the catalina.out will be rotated everyday, i.g. catalina.-mm-dd.log. But the catalina.out-self doesn't begin from the new day but still contains the old log messages. I've heard

Re: [OT] Re: So many timeout values

2009-10-29 Thread warren . pace
I was the happiest man in the world when they delivered our shiny new System/34. No more punch cards! --Original Message-- From: André Warnier To: Tomcat Users List ReplyTo: Tomcat Users List ReplyTo: Tomcat Users List Subject: Re: [OT] Re: So many timeout values Sent: Oct 29, 2009 5:08

Re: A question about log-rotation on catalina.out

2009-10-29 Thread thomas2004
What do you mean send stdout and stderr to logger(1) instead? How to do it? Harald Dunkel-3 wrote: thomas2004 wrote: Hi all, I have now a problem/question: I've installed Tomcat 5.5.27 on Linux. Though the catalina.out will be rotated everyday, i.g. catalina.-mm-dd.log. But

Re: Configure ssl

2009-10-29 Thread Mark Thomas
Nilesh Patil wrote: thanks for replay.. but already did taht steps... and i think u didtn read my message... Nope - you didn't read the Google results. The first link teels you everything you need to know. Mark Dear I am getting warnig messge after hiting the url in the browser so i

Re: Enabling cipher siutes

2009-10-29 Thread Mark Thomas
Rozhkevitch Alexandr wrote: Hi, I have a question about configuring a ssl connector. By default tomcat use Cipher Suite: TLS_DHE_RSA_WITH_AES_128_CBC_SHA when I use my opera browser. Please don't hijack threads. mark

Re: Servlet 3.0...

2009-10-29 Thread Mark Thomas
Rex Wang wrote: hi, Dear Tomcat Developers, We adopt tomcat as an embeded servlet container in our system. Could you guys share with us any plan to implement the servlet 3.0 specification, Look in the dev archives. or can I have a preview in current trunk(7.0) snapshot? You'll need to

Authencation in apache tomcat

2009-10-29 Thread daulat khan
Hi, I have an java servlet application which is running fine in Apache-Jrun setup. recently, i have migrated it from jrun to tomcat. i have launced the application in apache-tomcat setup. The problem i faced was i am using basic authentication in apache side and passing

Re: Authencation in apache tomcat

2009-10-29 Thread Peter Crowther
httpd version? jk version? Tomcat version? Stack trace of NPE? - Peter 2009/10/29 daulat khan daulat@gmail.com: Hi,                I have an java servlet application which is running fine in Apache-Jrun setup. recently, i have migrated it from jrun to tomcat. i have launced the

RE: [OT] Re: So many timeout values

2009-10-29 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Re: So many timeout values As long as we're on the [OT] subject, how about learning about the judicious and parcimonious usage of sorted data structures, on a computer with 16 Kb of RAM and punched paper cards as its only

Re: [OT] Re: So many timeout values

2009-10-29 Thread Warren Pace
On Thu, Oct 29, 2009 at 9:14 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Re: So many timeout values As long as we're on the [OT] subject, how about learning about the judicious and parcimonious usage of sorted data

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R chuck.caldar...@unisys.com: Univac 1004: 961 *6-bit* bytes of core memory, programmed via squids on a plugboard.  Handled punch cards, paper tape, and printing; tape drive optional (we didn't have one).  Had a tendency to throw cards all over the room if not

Re: Authencation in apache tomcat

2009-10-29 Thread daulat khan
Hi Peter, Please find the details as follows : httpd version : httpd-2.2.11 Tomcat Version : jakarta-tomcat-4.1.18 Mod_JK version : jakarta-tomcat-connectors-1.2.15-src Stack trace : java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at

Re: Authencation in apache tomcat

2009-10-29 Thread daulat khan
And one more query peter. When i deployed the Application into apache-tomcat, the speed of loading the servlet is very low. compated to apache-jrun setup. May i know what is the reason behind this ? Thanks, Daulatkhan On Thu, Oct 29, 2009 at 6:56 PM, daulat khan daulat@gmail.com wrote: Hi

RE: [OT] Re: So many timeout values

2009-10-29 Thread Caldarale, Charles R
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: [OT] Re: So many timeout values That's not even a modern stored-program computer! Just because it used relays as the logic elements? It was a stored-program computer,

RE: Authencation in apache tomcat

2009-10-29 Thread Caldarale, Charles R
From: daulat khan [mailto:daulat@gmail.com] Subject: Re: Authencation in apache tomcat And one more query peter. When i deployed the Application into apache-tomcat, the speed of loading the servlet is very low. compated to apache-jrun setup. May i know what is the reason behind this ?

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R chuck.caldar...@unisys.com: From: peter.crowth...@googlemail.com That's not even a modern stored-program computer! Just because it used relays as the logic elements? Hmm. I started writing a response here along the lines of because it didn't keep the code in

Re: Authencation in apache tomcat

2009-10-29 Thread Peter Crowther
2009/10/29 daulat khan daulat@gmail.com: httpd version : httpd-2.2.11 Reasonably recent. Tomcat Version : jakarta-tomcat-4.1.18 Ancient. I'd strongly recommend upgrading. Mod_JK version : jakarta-tomcat-connectors-1.2.15-src Ancient. I'd strongly recommend upgrading. Stack trace :

Re: [OT] Re: So many timeout values

2009-10-29 Thread André Warnier
Warren Pace wrote: On Thu, Oct 29, 2009 at 9:14 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Re: So many timeout values As long as we're on the [OT] subject, how about learning about the judicious and parcimonious

loading a CharsetProvider via WebappClassLoader

2009-10-29 Thread Ronald Klop
Hi, I have this jar (jutf7.jar) which should register itself with the CharsetProvider of Java. If I put it in the WEB-INF/lib directory it is ignored by Java. I understand that this is because of order in which the WebappClassLoader asks all other classloaders for a class. How can this be

Re: [OT] Re: So many timeout values

2009-10-29 Thread Warren Pace
On Thu, Oct 29, 2009 at 10:30 AM, André Warnier a...@ice-sa.com wrote: Warren Pace wrote: On Thu, Oct 29, 2009 at 9:14 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Re: So many timeout values As long as we're on

302 Error with XMLRPC app

2009-10-29 Thread Mike Baranski
Here is my web.xml: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameSecurity Managment Consulting/display-name servlet

Re: loading a CharsetProvider via WebappClassLoader

2009-10-29 Thread Kris Schneider
While the Javadoc for CharsetProvider claims that providers are looked up via the current thread's context class loader, the code for Charset seems to clearly be using ClassLoader.getSystemClassLoader()... On Thu, Oct 29, 2009 at 10:51 AM, Ronald Klop ronald-mailingl...@base.nl wrote: Hi, I

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Christopher Schultz
binuQvzTFsbws.bin Description: PGP/MIME version identification

RE: 302 Error with XMLRPC app

2009-10-29 Thread Caldarale, Charles R
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: 302 Error with XMLRPC app p = xmlrpclib.ServerProxy(http://192.168.1.15:8080/xmlrpc-status;) Any idea why I get the 302 error? My XML-RPC appears to be correct. As I recall, the 302 is required by the spec, since the

Re: loading a CharsetProvider via WebappClassLoader

2009-10-29 Thread Kris Schneider
I guess this bug will be of interest since it mentions both jutf7 and webapps ;-) http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4619777 On Thu, Oct 29, 2009 at 11:42 AM, Kris Schneider kschnei...@gmail.com wrote: While the Javadoc for CharsetProvider claims that providers are looked up

Re: [OT] Re: So many timeout values

2009-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 10/29/2009 4:16 AM, Peter Crowther wrote: More seriously, I agree with you and would add a second reason: doing a little work in a language that is reasonably close to the metal gives an insight into how the machine actually works, which

RE: 302 Error with XMLRPC app

2009-10-29 Thread Mike Baranski
Thanks Chuck, tried that, here's my python output: Server created connect: (sirrus, 8080) send: 'POST /xmlrpc-status/ HTTP/1.0\r\nHost: sirrus:8080\r\nUser-Agent: xmlrpclib.py/1.0.1 (by www.pythonware.com)\r\nContent-Type: text/xml\r\nContent-Length: 111\r\n\r\n' send: ?xml

RE: 302 Error with XMLRPC app

2009-10-29 Thread Caldarale, Charles R
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: RE: 302 Error with XMLRPC app reply: 'HTTP/1.1 404 Not Found\r\n' Now we need more information about how you have Tomcat and your webapp set up. Tomcat version? How and where is the webapp deployed? You may want to post

RE: 302 Error with XMLRPC app

2009-10-29 Thread Mike Baranski
Tomcat 5.5.27 Webapp is in /var/www/apache-tomcat-5.5.27/webapps/xmlrpc-status.war Deployed and running as 'root' on FC 5 Server.xml is attached. Thanks for the help, Chuck. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, October 29,

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, (Looks like my first attempt got botched. Here it is, again.) On 10/29/2009 5:17 AM, thomas2004 wrote: I've installed Tomcat 5.5.27 on Linux. Though the catalina.out will be rotated

RE: 302 Error with XMLRPC app

2009-10-29 Thread Caldarale, Charles R
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: RE: 302 Error with XMLRPC app Webapp is in /var/www/apache-tomcat-5.5.27/webapps/xmlrpc-status.war Change the servlet mapping in your WEB-INF/web.xml to: servlet-mapping servlet-nameXmlRpcServlet/servlet-name

RE: 302 Error with XMLRPC app

2009-10-29 Thread Mike Baranski
Worked like a champ! Thanks, I was struggling. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, October 29, 2009 1:12 PM To: Tomcat Users List Subject: RE: 302 Error with XMLRPC app From: Mike Baranski

Re: A question about log-rotation on catalina.out

2009-10-29 Thread André Warnier
Christopher Schultz wrote: [Cue Andre's rant about logging configuration in Tomcat 5+] Yes, I want a new Valve className=org.apache.catalina.valves.VacuumCleanerLogValve logpath=mychoice prefix=mychoicetoo suffix=mychoicealso rotate=mychoiceagain / that will suck in all the logs that these

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/29/2009 2:38 PM, André Warnier wrote: Christopher Schultz wrote: [Cue Andre's rant about logging configuration in Tomcat 5+] Yes, I want a new Valve className=org.apache.catalina.valves.VacuumCleanerLogValve logpath=mychoice

Re: A question about log-rotation on catalina.out

2009-10-29 Thread André Warnier
Christopher, 1) :-) 2) I'll definitely try it. It looks like it's worth the effort (and as a reward for yours). 3) I have a question in the text below 4) If it works, this has got to go on the WiKi Christopher Schultz wrote: I think you can get this effect by: 1. Setting Context

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Peter Crowther
2009/10/29 André Warnier a...@ice-sa.com: (*) Actually, it's not the Java language itself, which is quite simple and elegant.  But it's that in order to do anything at all in that language, you first need to become familiar with dozens of class hierarchies. ... you've not played with

RE: A question about log-rotation on catalina.out

2009-10-29 Thread Caldarale, Charles R
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: A question about log-rotation on catalina.out ... you've not played with Smalltalk, have you? :-) Arithmetic isn't built into the language, it's part of the class library.

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Rainer Jung
On 30.10.2009 01:35, Caldarale, Charles R wrote: From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: A question about log-rotation on catalina.out ... you've not played with Smalltalk, have you? :-) Arithmetic isn't built into

ConnectionPool question

2009-10-29 Thread Josh Gooding
I wrote some code on top of the Tomcat's ConnectionPool class. In regular Java based programming if I close a ResultSet with connection.close(), this frees up both the statement and resultset's memory associated with the connection if it was still open. If I close a connection with Tomcat's

RE: A question about log-rotation on catalina.out

2009-10-29 Thread Caldarale, Charles R
From: Rainer Jung [mailto:rainer.j...@kippdata.de] Subject: Re: A question about log-rotation on catalina.out Two times in one day: http://mail-archives.apache.org/mod_mbox/httpd- docs/200910.mbox/raw/%3c20091029112545.gz5...@cr%3e/ contains: When you've got a hammer, everything

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/29/2009 6:47 PM, André Warnier wrote: 4) If it works, this has got to go on the WiKi I apologize for possibly sounding like a jerk, but my suggestion seemed somewhat self-evident given the various configuration options. shrug

Re: ConnectionPool question

2009-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 10/29/2009 9:17 PM, Josh Gooding wrote: I wrote some code on top of the Tomcat's ConnectionPool class. In regular Java based programming if I close a ResultSet with connection.close(), this frees up both the statement and resultset's