2009/5/12 Mark Thomas :
> 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 reasonable.
B
2009/5/12 inti :
>
> 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 what you need.
Best regar
I'll try it tomorrow !
2009/5/12 Rainer Jung :
> 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
>
>
> -
> To unsu
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)
+++ jk_connec
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 pro
https://issues.apache.org/bugzilla/show_bug.cgi?id=44041
--- Comment #10 from Richard George 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, but since
this is only
https://issues.apache.org/bugzilla/show_bug.cgi?id=44041
--- Comment #9 from Richard George 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 WebappClassLoader.loa
> http://svn.eu.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_connect.c?r1=706039&r2=745136&diff_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
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 pr
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 ;-(
> 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 ;-(
---
>>>
>>> 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:
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:
http://www.nabble.com/How-I-can-move-a-Web-App-from-Nets
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 :
>> Hi Henri,
>>
>> can you try the below patch? It replaces the global pool by a function
>> local one, which i
I see you take a similar approach :)
Could you attach the patch file ?
2009/5/12 Rainer Jung :
> 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 ini
Konstantin Kolinko wrote:
> 2009/5/6 Mark Thomas :
>> 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 =
+
Author: markt
Date: Tue May 12 13:28:29 2009
New Revision: 773886
URL: http://svn.apache.org/viewvc?rev=773886&view=rev
Log:
Fix the other getServer() - sorry for the noise
Modified:
tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java
Modified: tomcat/trunk/java/org/apache/cata
Author: markt
Date: Tue May 12 13:25:55 2009
New Revision: 773883
URL: http://svn.apache.org/viewvc?rev=773883&view=rev
Log:
Slightly better approch
Modified:
tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java
Modified: tomcat/trunk/java/org/apache/catalina/manager/ManagerServ
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
jk_r
I modified the current jk_connect to avoid problem with the static
jk_apr_pool variable and sus avoid concurrency problems.
Study
2009/5/12 Henri Gomez :
> FYI.
>
> If I comment the apr_pool_clear() call, I didn't get the initialisation error
>
> 2009/5/12 Henri Gomez :
>> Hi to all,
>>
>> I rebu
FYI.
If I comment the apr_pool_clear() call, I didn't get the initialisation error
2009/5/12 Henri Gomez :
> 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
> Pr
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 / QZHBMAIN
22 matches
Mail list logo