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

A question about mod_jk 1.2.28 configuration

2009-11-09 Thread thomas2004
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 of this web application is one can online generate

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

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

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:

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:

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

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)

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

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

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

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

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

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

LifecycleException: No UserDatabase component found under key UserDatabase by Tomcat 6

2009-02-16 Thread thomas2004
Hi all, I used to set the global data resource in GlobalNamingResources/ in Tomcat 5 as follow: Resource auth=Container driverClassName=oracle.jdbc.OracleDriver maxActive=20 maxIdle=10 maxWait=-1 name=jdbc/MyDataSource

RE: LifecycleException: No UserDatabase component found under keyUserDatabase by Tomcat 6

2009-02-16 Thread thomas2004
Hi all, I solve the problem now. Caldarale, Charles R wrote: From: thomas2004 [mailto:thomas200...@yahoo.de] Subject: LifecycleException: No UserDatabase component found under keyUserDatabase by Tomcat 6 but it doesn't help and I got excpetion LifecycleException: No UserDatabase