Hi to all,
I rebuild the mod_jk 1.2.28 on our i5/OS and Apache instance failed.
Here is the stack trace :
0009:259448 Stack: Library/ Program Module Stmt
Procedure
0009:259488 Stack: QSYS / QCMD455 :
0009:259520 Stack: QHTTPSVR /
FYI.
If I comment the apr_pool_clear() call, I didn't get the initialisation error
2009/5/12 Henri Gomez henri.go...@gmail.com:
Hi to all,
I rebuild the mod_jk 1.2.28 on our i5/OS and Apache instance failed.
Here is the stack trace :
0009:259448 Stack: Library / Program Module
Hi Henri,
can you try the below patch? It replaces the global pool by a function
local one, which is OK, because the resolver calls are not in the
performance critical path (mostly startup initialization and
reconfiguration).
Why do you think, is it possible, that multiple threads will enter
Author: markt
Date: Tue May 12 13:25:55 2009
New Revision: 773883
URL: http://svn.apache.org/viewvc?rev=773883view=rev
Log:
Slightly better approch
Modified:
tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java
Modified:
Author: markt
Date: Tue May 12 13:28:29 2009
New Revision: 773886
URL: http://svn.apache.org/viewvc?rev=773886view=rev
Log:
Fix the other getServer() - sorry for the noise
Modified:
tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java
Modified:
Konstantin Kolinko wrote:
2009/5/6 Mark Thomas ma...@apache.org:
Remy Maucherat wrote:
On Wed, 2009-05-06 at 10:49 +, ma...@apache.org wrote:
// Acquire global JNDI resources if available
-Server server = ServerFactory.getServer();
+Server server =
+
I see you take a similar approach :)
Could you attach the patch file ?
2009/5/12 Rainer Jung rainer.j...@kippdata.de:
Hi Henri,
can you try the below patch? It replaces the global pool by a function
local one, which is OK, because the resolver calls are not in the
performance critical path
On 12.05.2009 15:31, Henri Gomez wrote:
I see you take a similar approach :)
Yes, but based on your analysis.
Could you attach the patch file ?
Attached.
2009/5/12 Rainer Jung rainer.j...@kippdata.de:
Hi Henri,
can you try the below patch? It replaces the global pool by a function
local
A web application (java1.3+JSP 1.1+Servlet 2.1+BC4J) is running on Netscape
Web Server 4.1. Now my task is to run the same application as it is with
Tomcat 5.5 or 6. Any suggestions or idea.
Regards
inti
--
View this message in context:
Why do you think, is it possible, that multiple threads will enter
jk_resolve() in parallel?
It seems to be the case at least on the i5/OS implementation.
These one is heavily multi-threaded
-
To unsubscribe, e-mail:
On 12.05.2009 15:31, Henri Gomez wrote:
I see you take a similar approach :)
Yes, but based on your analysis.
I works :)
If nobody object, you should commit it, static variable, apr_pool on a
multi-threaded application, it's evil ;-(
On 12.05.2009 15:57, Henri Gomez wrote:
On 12.05.2009 15:31, Henri Gomez wrote:
I see you take a similar approach :)
Yes, but based on your analysis.
I works :)
If nobody object, you should commit it, static variable, apr_pool on a
multi-threaded application, it's evil ;-(
I will. But
Under i5/OS, the IBM HTTP server use Apache but with a different strategy.
From the IBM documentation (SG246716)
The HTTP Server (powered by Apache) has its own multi-process model.
Each HTTP server
starts two (or three) processes under the QHTTPSVR subsystem:
The manager process
The primary
http://svn.eu.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_connect.c?r1=706039r2=745136diff_format=h
Don't know exactly, what was Mladens motivation for it, but the locally
created and destroyed pool will release resources as well.
Thanks for reporting and breaking it down
https://issues.apache.org/bugzilla/show_bug.cgi?id=44041
--- Comment #9 from Richard George rcgeorg...@gmail.com 2009-05-12 08:58:56
PST ---
(In reply to comment #8)
Hi,
We also experienced this issue while using the Sysdeo plugin with DevLoader. It
was resolved (for us) by synchronizing
https://issues.apache.org/bugzilla/show_bug.cgi?id=44041
--- Comment #10 from Richard George rcgeorg...@gmail.com 2009-05-12 09:07:56
PST ---
Just to add to that, we are using Tomcat 6.0.18, with Sysdeo 3.2.1. I realise
there it may be a little heavy-handed synchronizing the whole method,
Before committing I gave it a second thought. My theory is motivated by
the crash around main_log we fixed in 2007. There we learned, that on i5
the two initialization passes of httpd are done in the same process. We
also saw, that the pool pconf got invalidated after the first pass. That
was a
Here's the patch keeping the original structure but using a cleanup to
destroy the pool reference. If it works, I would like that better.
Regards,
Rainer
Index: jk_connect.c
===
--- jk_connect.c(revision 763986)
+++
I'll try it tomorrow !
2009/5/12 Rainer Jung rainer.j...@kippdata.de:
Here's the patch keeping the original structure but using a cleanup to
destroy the pool reference. If it works, I would like that better.
Regards,
Rainer
2009/5/12 inti intikhab.k...@ca.fujitsu.com:
A web application (...) Any suggestions or idea.
Your question is off-topic here at d...@.
http://tomcat.apache.org/lists.html
You can find documentation, FAQ, mailing list archives, etc. etc. at that
very site.
Ask at users@ if you cannot find
2009/5/12 Mark Thomas ma...@apache.org:
Given I can get engine from host - I went with that. Slightly cleaner and I
don't think remembering the engine is worth it. If we were going to remember
anything extra, we should remember the server but I'm not sure it is worth it.
OK with that. It is
21 matches
Mail list logo