Re: Re: A question about The Relationship between Http Session and WebSocket Session

2018-01-23 Thread tong__...@163.com
OK Thanks Mark! tong__...@163.com From: Mark Thomas Date: 2018-01-23 20:02 To: users Subject: Re: A question about The Relationship between Http Session and WebSocket Session On 23/01/18 10:35, tong__hui wrote: > Hello, > I'm a J2EE Programmer use Tomcat deploy my webapplication.

Re: A question about The Relationship between Http Session and WebSocket Session

2018-01-23 Thread Mark Thomas
On 23/01/18 10:35, tong__hui wrote: > Hello,  > I'm a J2EE Programmer use Tomcat deploy my webapplication. > I have a question about the relationship between Http Session and WebSocket  > Session in tomcat. > Is  Http Session contains WebSocket Session? or they are seperate. They are completely se

Re: a question about tomcat thread

2017-08-24 Thread Mark Thomas
On 24/08/17 21:39, Christopher Schultz wrote: > Mark, > On 8/23/17 4:26 PM, Mark Thomas wrote: >> On 23/08/17 21:17, Christopher Schultz wrote: >>> Max threads >= current thread count Current thread count >= >>> current thread busy Current thread count >= Keeped alive sockets >>> count > >> Tha

Re: a question about tomcat thread

2017-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/23/17 4:26 PM, Mark Thomas wrote: > On 23/08/17 21:17, Christopher Schultz wrote: >> To whom it may concern, >> >> On 8/22/17 10:28 PM, ophusky wrote: >>> Server version: Apache Tomcat/8.0.35 Server built: May 11 >>> 2016 21:57:08 UTC

Re: a question about tomcat thread

2017-08-23 Thread Mark Thomas
On 23/08/17 21:17, Christopher Schultz wrote: > To whom it may concern, > > On 8/22/17 10:28 PM, ophusky wrote: >> Server version: Apache Tomcat/8.0.35 Server built: May 11 2016 >> 21:57:08 UTC Server number: 8.0.35.0 OS Name:Linux OS >> Version: 3.2.35 Architecture: amd64 JVM Ver

Re: a question about tomcat thread

2017-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 8/22/17 10:28 PM, ophusky wrote: > Server version: Apache Tomcat/8.0.35 Server built: May 11 2016 > 21:57:08 UTC Server number: 8.0.35.0 OS Name:Linux OS > Version: 3.2.35 Architecture: amd64 JVM Version:

Re: A question about websocket API-- Annotation ServerEndpoint

2017-06-08 Thread kmaxwilliams43
Fifgfdyfyi Envoyé de mon smartphone BlackBerry 10.   Message d'origine   De: 王琳 Envoyé: vendredi 9 juin 2017 01:37 À: users@tomcat.apache.org Répondre à: Tomcat Users List Objet: Re: A question about websocket API-- Annotation ServerEndpoint Thank you -- View this message in context:

Re: A question about websocket API-- Annotation ServerEndpoint

2017-06-08 Thread kmaxwilliams43
Fictdyhcu Envoyé de mon smartphone BlackBerry 10.   Message d'origine   De: 王琳 Envoyé: vendredi 9 juin 2017 01:37 À: users@tomcat.apache.org Répondre à: Tomcat Users List Objet: Re: A question about websocket API-- Annotation ServerEndpoint Thank you -- View this message in context:

Re: A question about websocket API-- Annotation ServerEndpoint

2017-06-08 Thread 王琳
Thank you -- View this message in context: http://tomcat.10.x6.nabble.com/A-question-about-websocket-API-Annotation-ServerEndpoint-tp5064163p5064200.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To uns

Re: A question about websocket API-- Annotation ServerEndpoint

2017-06-08 Thread Mark Thomas
On 08/06/17 02:06, 王琳 wrote: > Hi friend: > i have a question. use Tomcat 8.5.15 > @ServerEndpoint API has 'value' summary. This value mapping url.When the url > has parameter,use {}. > for example: > @ServerEndpoint(value = > "/websocket/fmsWebsocket/{userId}/{companyId}/{groupId}") > > js:var

Re: a question about Realm config

2017-06-01 Thread Christopher Schultz
validateUri="false"/> > > Everything is all right,thanks again! I'd highly recommend removing the URL rewriting if possible. Either remove the leading /tomcat from your URI space on the proxy or re-name your application's WAR (or exploded WAR directory) to tomcat#sa

Re: Re: a question about Realm config

2017-06-01 Thread ophusky
发送时间:2017-06-01 15:50 主题:Re: a question about Realm config 收件人:"Tomcat Users List" 抄送: This time to the list... On 01/06/17 08:02, ophusky wrote: > Tomcat version:8.0.43.0 > Nginx version:openresty/1.11.2.2 > OS:CentOS Linux release 7.3.1611 (Core) > > I have al

Re: a question about Realm config

2017-06-01 Thread Mark Thomas
This time to the list... On 01/06/17 08:02, ophusky wrote: > Tomcat version:8.0.43.0 > Nginx version:openresty/1.11.2.2 > OS:CentOS Linux release 7.3.1611 (Core) > > I have already configure tomcat to use the DIGEST certification, > When I have direct access to Tomcat all normal, > http://192.1

Re: A question regarding websocket implementation of Apache Tomcat 8.0.33

2016-05-12 Thread Tejas Nandanikar
Isn't there any workaround to this situation? In my application, a database update operation depends on whether the message was delivered to the client or not, so in that scenario, I would never know if the message was delivered. And even if onError() is called later, I can never know which message

Re: A question regarding websocket implementation of Apache Tomcat 8.0.33

2016-05-12 Thread Mark Thomas
On 12/05/2016 08:24, Tejas Nandanikar wrote: > Thank you for your quick reply. > So consider a case where client abruptly loses internet connection. > In that scenario, the sendText() would return normally as the server > hasn't received 'close' packet from the client, did I get it right? Assuming

Re: A question regarding websocket implementation of Apache Tomcat 8.0.33

2016-05-12 Thread Tejas Nandanikar
Thank you for your quick reply. So consider a case where client abruptly loses internet connection. In that scenario, the sendText() would return normally as the server hasn't received 'close' packet from the client, did I get it right? On Thu, May 12, 2016 at 12:43 PM, Mark Thomas wrote: > On 12

Re: A question regarding websocket implementation of Apache Tomcat 8.0.33

2016-05-12 Thread Mark Thomas
On 12/05/2016 06:16, Tejas Nandanikar wrote: > I am using Apache Tomcat 8.0.33. > I was going through Java documentation about RemoteEndpoint.Basic > which says that sendText(String text) blocks until all of the message > has been transmitted. > But I noticed that when the client loses internet con

Re: A question about the lifecycle of Tomcat

2012-09-08 Thread Konstantin Kolinko
2012/9/7 Mark Thomas : > >> How about Apache Tomcat 6.x.x? When is the end for the support? > > No plans at the current time. Best guess is that it is at least two years > away. There will be at least 12 months notice of eol. > > The biggest driver is the J2EE specification process. A new specific

Re: A question about the lifecycle of Tomcat

2012-09-07 Thread Mark Thomas
Wei Chen wrote: >Hi all, > >Recently I read from http://tomcat.apache.org/tomcat-55-eol.html that >Apache Tomcat team will end their support for Apache Tomcat 5.5.x will >end on 30 September 2012. I wonder if there any timeline for the >lifecycle for Apache Tomcat? No. > How about Apache Tomcat

Re: a question on tomcat failover

2012-03-17 Thread Mark Thomas
charles didonato wrote: >I have 2 instances of Tomcat 7.0 on the same host with two manager apps >(different ports) and two AJP connectors On different ports. Apache 2.4 is >providing the load balancing and >when I stop one instance of Tomcat, it fails over To the other instance. My >questi

Re: A question about thread dump!

2011-05-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/11/2011 3:11 AM, chateau Xiao wrote: > for the necessary of debug. I need the thread dump information like below to > show me the threads running status. > > [snip] > > I usually use kill -3 or jstack to satisify my requirement. when > things

Re: A question about mod_jk 1.2.28 configuration

2009-11-20 Thread thomas2004
>Thanks for the info. I though you opened a buzilla issue? Would you mind pasting this into the issue as a new comment? Once we agree, that something looks like a bug and an issue is opened, it's best to collct further info there. Yes, I opened a buzilla issue. It's called "Problem with mod_jk 1

Re: A question about mod_jk 1.2.28 configuration

2009-11-20 Thread Rainer Jung
On 20.11.2009 09:03, thomas2004 wrote: > >> Scroll back to Rainer's message dated 17/11/2009. > There is a question there. The answer to that question is what Rainer > is waiting for. > > > Ok, here again Rainer's question: > > >> I know, that you have seen a problem, the errno=11 thing. I n

Re: A question about mod_jk 1.2.28 configuration

2009-11-20 Thread thomas2004
>Scroll back to Rainer's message dated 17/11/2009. There is a question there. The answer to that question is what Rainer is waiting for. Ok, here again Rainer's question: > I know, that you have seen a problem, the errno=11 thing. I need to > know, whether *this* problem (errno=11, which is

Re: A question about mod_jk 1.2.28 configuration

2009-11-19 Thread André Warnier
thomas2004 wrote: Rainer is asking you a question, here. If you can work with him, I'm sure he'll be able to diagnose and possibly solve your problem. Sorry for my misunderstanding Rainer's question. I can surely work with him. Just tell me how and in which way. I will try my best. Scroll b

Re: A question about mod_jk 1.2.28 configuration

2009-11-19 Thread thomas2004
>Rainer is asking you a question, here. If you can work with him, I'm sure he'll be able to diagnose and possibly solve your problem. Sorry for my misunderstanding Rainer's question. I can surely work with him. Just tell me how and in which way. I will try my best. -- View this message in co

Re: A question about mod_jk 1.2.28 configuration

2009-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/18/2009 2:26 AM, thomas2004 wrote: >> I know, that you have seen a problem, the errno=11 thing. I need to >> know, whether *this* problem (errno=11, which is your original PDF >> generation problem) also happens, when no socket-timeout a

Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread thomas2004
>I know, that you have seen a problem, the errno=11 thing. I need to know, whether *this* problem (errno=11, which is your original PDF generation problem) also happens, when no socket-timeout and no reply_timeout is set. Your reproduction attempt using a simple html snippet did *not* show a mod_

Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread Rainer Jung
Hello Thomas, On 17.11.2009 11:05, thomas2004 wrote: > >> I think the reproduction with html is not working because of some other > reasons likely not related with mod_jk. In the original message he has a > jk error message referring to errno 11=EAGAIN. There is a change between > 1.2.26 and 1.2.

Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread thomas2004
>I think the reproduction with html is not working because of some other reasons likely not related with mod_jk. In the original message he has a jk error message referring to errno 11=EAGAIN. There is a change between 1.2.26 and 1.2.28 related to how EAGAIN gets handled while waiting for data. So

Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread thomas2004
Sorry for the late reply. I was not in office yesterday. >Are you saying that the web browser does not show anything? I'd be interested in seeing what the browser is receiving, because that HTML is pretty ugly (i.e. not well-formed). What I mean is: The browser is waiting for the returned page w

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread Rainer Jung
On 13.11.2009 15:49, Christopher Schultz wrote: > Thomas, > > On 11/13/2009 2:55 AM, thomas2004 wrote: >> Sorry, the return page this time should just contains simply text, somewhat >> like "Generated in 0 msec[query time: 22186 msec, processing time: 20 >> msec] for 36 contracts. ", not a PDF

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/13/2009 2:55 AM, thomas2004 wrote: > Sorry, the return page this time should just contains simply text, somewhat > like "Generated in 0 msec[query time: 22186 msec, processing time: 20 > msec] for 36 contracts. ", not a PDF-stream si

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread thomas2004
> So now, maybe you want to state your real problem again, and please send us some information that is really related to that problem. And, so far, and judging by the log that you did send, but where you also mention that nothing shows up in the browser, it does not look like either a tomcat o

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread André Warnier
thomas2004 wrote: I cannot tell you what's wrong, but I can tell you that the log you show below, shows that the JBoss response is a HTML document, not a PDF. So maybe you have to revise some of your assumptions. Sorry, you are right. This time I haven't test the PDF generation since I just w

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread thomas2004
>I cannot tell you what's wrong, but I can tell you that the log you show below, shows that the JBoss response is a HTML document, not a PDF. So maybe you have to revise some of your assumptions. Sorry, you are right. This time I haven't test the PDF generation since I just want to test the sim

Re: A question about mod_jk 1.2.28 configuration

2009-11-12 Thread thomas2004
>The Content-Type is text/html. What does the content actually look like? Is it an error message or something? If the browser is showing nothing, you may want to use an HTTP protocol sniffer to see what the content is (although mod_jk appears to be dumping the full data into the log file, so you

Re: A question about mod_jk 1.2.28 configuration

2009-11-12 Thread André Warnier
thomas2004 wrote: log-message in mod_jk.log Continue: But it's still a HTML response, not a PDF. [code] [Thu Nov 12 16:08:15 2009] [9280:2537062720] [debug] wc_maintain::jk_worker.c (339): Maintaining worker worker_portfolio_son1 [Thu Nov 12 16:08:15 2009] [9280:2537062720] [debug] ajp_reset

Re: A question about mod_jk 1.2.28 configuration

2009-11-12 Thread André Warnier
thomas2004 wrote: ... I cannot tell you what's wrong, but I can tell you that the log you show below, shows that the JBoss response is a HTML document, not a PDF. So maybe you have to revise some of your assumptions. ... 00 00 FF 00 00 00 00 00 00 00 00 00 - 0... [Thu Nov 12 15:50

Re: A question about mod_jk 1.2.28 configuration

2009-11-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/12/2009 10:12 AM, thomas2004 wrote: > I issue a request from the client (browser) to the to generate the report. > On Jboss-log I can watch as follow: > > 2009-11-12 15:50:24,094 INFO [STDOUT] - 1. Get data - > 2009-11-12 15:56

RE: A question about mod_jk 1.2.28 configuration

2009-11-12 Thread thomas2004
log-message in mod_jk.log Continue: [code] [Thu Nov 12 16:08:15 2009] [9280:2537062720] [debug] wc_maintain::jk_worker.c (339): Maintaining worker worker_portfolio_son1 [Thu Nov 12 16:08:15 2009] [9280:2537062720] [debug] ajp_reset_endpoint::jk_ajp_common.c (743): (worker_portfolio_son1) resettin

RE: A question about mod_jk 1.2.28 configuration

2009-11-12 Thread thomas2004
I change the workers.properties now as follow to make the things simple: worker.worker_portfolio_son1.connection_pool_timeout=600 worker.worker_portfolio_son1.socket_keepalive=True worker.worker_portfolio_son1.lbfactor=1 worker.worker_portfolio_son1.type=ajp13 worker.worker_portfolio_son1.port=80

RE: A question about mod_jk 1.2.28 configuration

2009-11-12 Thread Caldarale, Charles R
> From: thomas2004 [mailto:thomas200...@yahoo.de] > Subject: Re: A question about mod_jk 1.2.28 configuration > > Where is 'Bugzilla'? Try the link from the Tomcat home page, cleverly hidden under the name "Bug Database". - Chuck THIS COMMUNICATION MAY CONTA

Re: A question about mod_jk 1.2.28 configuration

2009-11-12 Thread thomas2004
> Thomas can open an issue in Bugzilla, which helps us not forgetting it. > Topic: "Socker read returns EAGAIN during long wait". > > Regards, > > Rainer > > Where is 'Bugzilla'? -- View this message in context: http://old.nabble.com/A-question-about-mod_jk-1.2.28-configuration-tp2626406

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread Rainer Jung
On 11.11.2009 22:53, Christopher Schultz wrote: > Thomas, > > On 11/11/2009 9:45 AM, thomas2004 wrote: > >>> 20-40 minutes is an unreasonable amount of time to wait for an HTTP request >> to complete. I recommend changing your architecture so that HTTP requests >> don't have to take so long. > >

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/11/2009 9:45 AM, thomas2004 wrote: > >> 20-40 minutes is an unreasonable amount of time to wait for an HTTP request > to complete. I recommend changing your architecture so that HTTP requests > don't have to take so long. > > Surely is

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread thomas2004
> Without socket_timeout the log message looks as follow: [code] [Wed Nov 11 14:25:13 2009] [1976:2537062720] [info] ajp_handle_cping_cpong::jk_ajp_common.c Please ignog my post. The log message is wrong. -- View this message in context: http://old.nabble.com/A-question-about-mod_jk-1.2.28-c

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread thomas2004
>20-40 minutes is an unreasonable amount of time to wait for an HTTP request to complete. I recommend changing your architecture so that HTTP requests don't have to take so long. Surely is a good idea. But the situation is we just host the application for our customer who will do not want to chan

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread thomas2004
> Is the log message the same when running without socket_timeout? Without socket_timeout the log message looks as follow: [code] [Wed Nov 11 14:25:13 2009] [1976:2537062720] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong [Wed Nov 11 14:25:15 2009] [1976:2537062720]

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 11/10/2009 11:26 AM, Rainer Jung wrote: > It's possible, that this would work as a workaround. The usual "let some > bits dripple to keep the connection active" strategy. Ugh. Why not have the request fire-off a report-generation thread th

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/10/2009 2:53 AM, thomas2004 wrote: >> Just to confirm: you have a single request that takes 20-40 minutes to >> fulfill? Or do you issue a request to generate the report and then, >> later, issue a request to retrieve the (already-genera

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 10.11.2009 17:12, André Warnier wrote: > Rainer Jung wrote: >> On 10.11.2009 14:26, thomas2004 wrote: Remove the socket_timeout. Please let us know, whether that helped. >>> I've moved the socket_timeout and the reply_timeout two days ago but it >>> doesn't help. >> > ... > Hi. > Just my To

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread André Warnier
Rainer Jung wrote: On 10.11.2009 14:26, thomas2004 wrote: Remove the socket_timeout. Please let us know, whether that helped. I've moved the socket_timeout and the reply_timeout two days ago but it doesn't help. ... Hi. Just my Tomcat- and Java-dummy look on this. As I understand the basic i

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 10.11.2009 14:26, thomas2004 wrote: > >> Remove the socket_timeout. Please let us know, whether that helped. > > I've moved the socket_timeout and the reply_timeout two days ago but it > doesn't help. > My workersproperties looks now as follow: > > [code] > worker.worker_portfolio_son1.conne

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread thomas2004
>Remove the socket_timeout. Please let us know, whether that helped. I've moved the socket_timeout and the reply_timeout two days ago but it doesn't help. My workersproperties looks now as follow: [code] worker.worker_portfolio_son1.connection_pool_timeout=600 worker.worker_portfolio_son1.socke

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 09.11.2009 11:27, thomas2004 wrote: > > I newly installed the mod_jk 1.2.28 and since then got problem (see below). > > ** > We have a web application deployed on Jboss (RH Linux OS). The access to the > web application is via a Apache Httpd Web Server. One of the function

Re: A question about mod_jk 1.2.28 configuration

2009-11-09 Thread thomas2004
Hi, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >Just to confirm: you have a single request that takes 20-40 minutes to >fulfill? Or do you issue a request to generate the report and then, >later, issue a request to retrieve the (already-generated) report? I issue a request to generate the

Re: A question about mod_jk 1.2.28 configuration

2009-11-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/9/2009 5:27 AM, thomas2004 wrote: > We have a web application deployed on Jboss (RH Linux OS). The access to the > web application is via a Apache Httpd Web Server. One of the function of > this web application is one can online generate

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-11-09 Thread Rainer Jung
I suspect some conspiracy is going on: just bought a book during ApacheCon US and on the flyleaf with citations it contains: "To a man with a hammer, everything looks like a nail" (Mark Twain) ... - To unsubscribe, e-mail: users

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-11-02 Thread André Warnier
Elli Albek wrote: How did this make it into the tomcat users list? :) CPAN: Driven by users. Java (JCP) Driven by vendors. Tomcat logging: driven by Java Hammer (tm) manufacturers. - To unsubscribe, e-mail: users-unsubscr...

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-11-02 Thread Elli Albek
How did this make it into the tomcat users list? :) CPAN: Driven by users. Java (JCP) Driven by vendors.

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/31/2009 9:53 AM, André Warnier wrote: > Fortunately, this is not about to happen to java programmers. Zing! - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozd

Re: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/31/2009 4:59 AM, André Warnier wrote: > I know, someone is going to say that one shouldn't > mess around in a nuclear power plant if one hasn't read the manual. Oddly enough, Sun's Java source (that is, the source code to the .java files

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-31 Thread André Warnier
Leon Rosenberg wrote: On Sat, Oct 31, 2009 at 10:59 AM, André Warnier wrote: Leon Rosenberg wrote: They are saying: In the time java developers picks the gun, the php developer runs away with the prey. And the c developer seems to be thinking about best fitting boots. The perl developer in t

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-31 Thread Leon Rosenberg
On Sat, Oct 31, 2009 at 10:59 AM, André Warnier wrote: > Leon Rosenberg wrote: >> >> They are saying: In the time java developers picks the gun, the php >> developer runs away with the prey. And the c developer seems to be >> thinking about best fitting boots. >> > The perl developer in the meanti

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-31 Thread André Warnier
Leon Rosenberg wrote: They are saying: In the time java developers picks the gun, the php developer runs away with the prey. And the c developer seems to be thinking about best fitting boots. The perl developer in the meantime created a module which will allow him to catch the rest of the spec

Re: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-31 Thread André Warnier
David kerber wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/30/2009 1:17 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] Hammers and nails (was Re: A question about log- rotationon

RE: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread George Sexton
> -Original Message- > From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Sent: Friday, October 30, 2009 1:53 PM > To: Tomcat Users List > Subject: Re: [OT] Hammers and nails (was Re: A question about log- > rotation on "catalina.out") > &g

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Leon Rosenberg
On Fri, Oct 30, 2009 at 4:56 PM, Christopher Schultz wrote: >> Java is for big boys only, isn't it? > > I've heard that recent (even several years old, now) versions of Java > VMs can "match" the speed of compiled C++ for many non-trivial uses. > But, can the Java compiler use its generics feature

Re: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/30/2009 1:17 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] Hammers and nails (was Re: A question about log- rotationon "catalin

Re: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/30/2009 1:17 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] Hammers and nails (was Re: A question about log- >> rotationon "catalina.out&

RE: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread Caldarale, Charles R
> From: Robert Koberg [mailto:r...@koberg.com] > Subject: Re: [OT] Hammers and nails (was Re: A question about log- > rotationon "catalina.out") > > I have been trying to pound in a nail with java. I have tried > everything and the damn nail just won't go in.

Re: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread Robert Koberg
On Oct 30, 2009, at 10:17 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] Hammers and nails (was Re: A question about log- rotationon "catalina.out") Here's one Java can't do (without significant help):

RE: [OT] Hammers and nails (was Re: A question about log-rotationon "catalina.out")

2009-10-30 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] Hammers and nails (was Re: A question about log- > rotationon "catalina.out") > > Here's one Java can't do (without significant help): > > Write a command-line (no GUI)

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pierre, On 10/30/2009 9:21 AM, Pierre Goupil wrote: > I'm a true Java developper (tm). If a problem can't be solved with Java, > that's not a real problem. Here's one Java can't do (without significant help): Write a command-line (no GUI) app that p

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Pierre Goupil
I'm a true Java developper (tm). If a problem can't be solved with Java, that's not a real problem. Java is for big boys only, isn't it? On Fri, Oct 30, 2009 at 2:12 PM, André Warnier wrote: > Peter Crowther wrote: > >> >> At the other end of the language-complexity scale, I can't remember >> t

Re: [OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread André Warnier
Peter Crowther wrote: At the other end of the language-complexity scale, I can't remember the source of the quote but I do appreciate "When C++ is your hammer, everything looks like a screw." I don't know what you people are all talking about. We Perl programmers don't have such issues. It do

[OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Peter Crowther
2009/10/30 Caldarale, Charles R : > Smalltalk is a classic example of the philosophy: "I have a hammer, therefore > everything is a nail." I used to teach Smalltalk*. Of a 3-day course, 1/4 day was on the language, 1/2 day was on the environment and the rest was on the class library. It's an in

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. > Christopher

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/ > > con

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 w

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 int

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

2009-10-29 Thread Peter Crowther
2009/10/29 André Warnier : > (*) 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 Smalltalk, have you? :

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 Q : are the abov

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 >logpath="mychoice" prefix="mychoicetoo" suffix="mychoicealso" > rotate="mycho

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 logpath="mychoice" prefix="mychoicetoo" suffix="mychoicealso" rotate="mychoiceagain" /> that will suck in all the logs that these undisciplined application developers dream up and direc

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 e

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

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

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.

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

Re: A question about redirecton from users.mydomain.com to mydomain.com/users

2009-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anand, On 3/3/2009 6:59 AM, Anand HS wrote: > However, I understand that the URL rewrite mechanism ends up losing any > parameters when a HTTP POST request is sent to my domain resource. If you're issuing a /redirect/, you'll need to use the 307 resp

Re: A question about redirecton from users.mydomain.com to mydomain.com/users

2009-03-03 Thread Pid
Tim Funk wrote: > I have not used it before. > > I can't imagine why it would not preserve POST requests. OP's probably confusing redirect with forward. Gotcha to look out for: you'll need to set the Host you're using to be the default Host in the Engine, or *.domain.com requests will go to the

Re: A question about redirecton from users.mydomain.com to mydomain.com/users

2009-03-03 Thread Tim Funk
I have not used it before. I can't imagine why it would not preserve POST requests. -Tim Anand HS wrote: Thanks Andre and Tim for the quick response. I do not have an apache server right now. So URL Rewrite tool seems like a good solution. However, I understand that the URL rewrite mechanism e

Re: A question about redirecton from users.mydomain.com to mydomain.com/users

2009-03-03 Thread Anand HS
Thanks Andre and Tim for the quick response. I do not have an apache server right now. So URL Rewrite tool seems like a good solution. However, I understand that the URL rewrite mechanism ends up losing any parameters when a HTTP POST request is sent to my domain resource. While I am right now down

Re: A question about redirecton from users.mydomain.com to mydomain.com/users

2009-03-03 Thread André Warnier
Tim Funk wrote: Doable : Yes Out of the Box: No You can write a Servlet filter to examine the incoming hostname and forward the request with the username prefix. In fact - you might need to write it : UrlRewriteFilter - http://tuckey.org/urlrewrite/ might do it for you. +1 In Tomcat and

Re: A question about redirecton from users.mydomain.com to mydomain.com/users

2009-03-03 Thread Tim Funk
Doable : Yes Out of the Box: No You can write a Servlet filter to examine the incoming hostname and forward the request with the username prefix. In fact - you might need to write it : UrlRewriteFilter - http://tuckey.org/urlrewrite/ might do it for you. -Tim Anand HS wrote: Hi, I have a

Re: A question about excluding URL patterns from filters

2009-02-05 Thread Anand HS
I think I was doing a mistake in the url-pattern. giving the correct URL pattern did the trick. Thanks for the tip on transport-guarantee Chuck. Thanks, Anand On Fri, Feb 6, 2009 at 12:11 PM, Anand HS wrote: > Hi, Thanks for the info about the transport-guarantee. > I did try to use it. Here i

Re: A question about excluding URL patterns from filters

2009-02-05 Thread Anand HS
Hi, Thanks for the info about the transport-guarantee. I did try to use it. Here is the config to exclude xsl files and allow all others through to HTTPS. Notify page, accessed internally by application *.xsl NONE Entire Site /* CONFIDENTIAL I would expect with this configuration th

RE: A question about excluding URL patterns from filters

2009-02-05 Thread Caldarale, Charles R
> From: Anand HS [mailto:anan...@gmail.com] > Subject: A question about excluding URL patterns from filters > > I have a filter that takes all requests that try to hit http and > redirects them through https. Why are you using a filter? Why not the mechanism defined in the servlet spec? - Chu

Re: A question about excluding URL patterns from filters

2009-02-05 Thread Robert Koberg
On Feb 6, 2009, at 12:24 AM, Anand HS wrote: However, I believe there must be a more 'elegant' way to exclude a url pattern through configuration than adding/modifying more code. :) Could you shed more ideas on this. ? Move it? ---

  1   2   >