Re: Tomcat Threads handling user Requests problem

2007-07-03 Thread Mirek Kopriva
Hi Guys, Thanks a lot for the prompt feedback. Unfortunately it won't be acceptable to have users going to the registry to improve the performance of the application, so I will have to find out something else. As custom multi-threading in an j2ee application is not recommended, I will have to solv

Tomcat Threads handling user Requests problem

2007-07-02 Thread Mirek Kopriva
Dear All, I have a problem when too few (only 2) Tomcat's threads is handling my requests. First a little background on what I'm trying to do: I have an web application, which loads a page. On loading the page there are Ajax script calls (DWR framework), requesting more data from the tomcat to be

Re: AW: AW: logging log4j of my application

2007-05-25 Thread Mirek Kopriva
pp\WEB-INF\lib After replacing it with commons-logging-api-1.1.jar (renamed because tomcat has this name hard coded somewhere) and putting commons-logging-adapters-1.1.jar into webapp\WEB-INF\lib, it's all good. Mirek On 5/25/07, Mirek Kopriva <[EMAIL PROTECTED]> wrote: Marc, What jar are

Re: AW: AW: logging log4j of my application

2007-05-25 Thread Mirek Kopriva
Marc, What jar are you talking about? I have a similar problem. Got log4j working with my application based on spring running on tomcat 5.5.17 but have troubles to set up logging for Spring/Whatever is using commons logging in my log4j xml. Searching on the net reveals that this might be tomcat/

Re: Critical problem with Tomcat worker threads

2005-12-19 Thread Mirek Kopriva
Hi Thomas, Were you able to resolve you problem yet. Could you post the solution if yes, please? thanks a lot, Mirek On 12/7/05, Mirek Kopriva <[EMAIL PROTECTED]> wrote: > > Well, > We were using our own connection pool and first thing, which came into > my mind was exactly this

Re: Communication between Apache an Tomcat

2005-12-09 Thread Mirek Kopriva
What if you do JkMount /* ajp13 This way you should be able to access everything. Mirek On 12/8/05, Mladen Turk <[EMAIL PROTECTED]> wrote: > > marju jalloh wrote: > > > > JkMount /servlet/* ajp13 > > > > This might help: > JkMount /*/servlet/* ajp13 > > Regards, > Mladen. > > -

Re: Tomcat 4.1 hang - maybe in JK connector

2005-12-09 Thread Mirek Kopriva
Hi, We are solving similar problem right now. Setting the removeAbandoned increased the period between the stucking to 7 hours) What is your network configuration? Is there a firewall or something between tomcat and apache? We are getting stucked in communication between the jdbc driver in the tom

Re: Communication between Apache an Tomcat

2005-12-08 Thread Mirek Kopriva
Hi, Looks like it's the configuration of mod_jk in apache. Not sure what is wrong (If you'd atach the configuration files it would be easier to help you). But my guess is the problem is setting of JkMount directive. looks like you have: 'JkMount /*.jsp worker' only while you should have: JkMount /y

Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Mirek Kopriva
You could send your tomcat init script, it would give me more info about what could be wrong. It looks like something is missing on the classpath. One thing you could try. Don't copy jsvc and use it directly from where it was build. We had errors when running it by using a symlink to the original

Re: Start Tomcat as a Linux daemon

2005-12-07 Thread Mirek Kopriva
Hi, It's in $CATALINA_HOME/bin/jsvc-src.tar.gz you need to unpack it and compile it yourself. See the tomcat/startup documentation for more details. Regards, Mirek On 12/7/05, Mário Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to start Tomcat as a linux daemon at server boot, but i don't

Re: Questions for mod_jk quys - are my RedHat compilation instructions correct

2005-12-07 Thread Mirek Kopriva
Hey, I did exactly the same. Looks good, nothing to add. Mirek On 12/7/05, Edmon Begoli <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I recently walked few people through the process of compiling the most > recent mod_jk on RedHat 4. Process required few steps that required some > digging, > so I do

Re: Critical problem with Tomcat worker threads

2005-12-07 Thread Mirek Kopriva
we are using a connection pool which has been made from us > long time ago which uses the jdbc-thin connections to the database. We > are think about to change to the Oracle connection pool or to the Tomcat > connection pool. > > > Kind Regards > Thomas Konrath > > > >

To Ing. Pavel PaJaSoft Janoušek tomcat 5.5.9/5.5.12

2005-12-06 Thread Mirek Kopriva
Ahoj, Tomcat user mailing list me zacal odmitat jako spam, a primo vam na mail taky nemuzu napsat. Takze jsem si zalozil novou adresu. Zkuste mi napsat sem. S pozdravem, Mira

restarting tomcat resets the axis webservices deployments

2005-12-06 Thread Mirek Kopriva
Hi, I'm experiencing a weird behaviour. When I restart tomcat the webservices deployed on axist(web application) dissapears. (generated wsdd file in WEB-INF/) This started to happen when started using context.xml in META-INF (needed because of using DataSources form JNDI). I believe this should b

Re: Critical problem with Tomcat worker threads

2005-12-06 Thread Mirek Kopriva
Hi, We are experiencing similar problem. Just the Thread gets stuck for random period time (between 1 and 15 minutes) after also random period of time. For some reason its always in jdbc driver. Typicaly on the pre-production environment, never on test, developement machines. We are using mod_jk, t

tomcat restart resets webservices on axis

2005-12-06 Thread Mirek Kopriva
Hi, I have problems with webservices deployment on axis when restarting tomcat. The server-config.wsdd simply dissapears from WEB-INF. This started to happen when started using context.xml in META-INF (needed because of using DataSources form JNDI). I believe this should be set by some attributes

restarting tomcat resets web services/axis deployments

2005-12-05 Thread Mirek Kopriva
Hi, I'm experiencing a weird behaviour. When I restart tomcat the web services deployed on axis dissapear. (it's actually generated wsdd file in WEB-INF/) This started to happen when started using context.xml in META-INF (needed because of using DataSources form JNDI). I believe this should be se

restarting tomcat resets web services/axis deployments

2005-12-05 Thread Mirek Kopriva
Hi, I'm experiencing a weird behaviour. When I restart tomcat the web services deployed on axis dissapear. (it's actually generated wsdd file in WEB-INF/) This started to happen when started using context.xml in META-INF (needed because of using DataSources form JNDI). I believe this should be se

tomcat restarting resets the axis deployments

2005-12-05 Thread Mirek Kopriva
Hi, I'm experiencing a weird behaviour. When I restart tomcat the axist deployment dissapears. (generated wsdd file in WEB-INF/) This started to happen when started using context.xml in META-INF (needed because of using DataSources form JNDI). I believe this should be set by some attributes in co

restarting tomcat resets the axis deployments

2005-12-05 Thread Mirek Kopriva
Hi, I'm experiencing a weird behaviour. When I restart tomcat the axist deployment dissapears. (generated wsdd file in WEB-INF/) This started to happen when started using context.xml in META-INF (needed because of using DataSources form JNDI). I believe this should be set by some attributes in co

Re: apache + mod_jk + tomcat. Manager application problem

2005-12-05 Thread Mirek Kopriva
alone instead of Catalina), so all I needed to do was to copy the manager's context xml files from Catalina/localhost to Standalone/localhost and everything was fine. Anyway, thanks a lot for replying, Cheers, mk On 11/30/05, Markus Schönhaber <[EMAIL PROTECTED]> wrote: > > Mirek Kopriva

apache + mod_jk + tomcat. Manager application problem

2005-11-30 Thread Mirek Kopriva
Hi I have a strange problem. When I install tomcat + apache + mod_jk. Everything seems to work fine (our application, examples...) except the tomcat's Manager application. Anybody has an idea why? I'm using apache 2.0.52 mod_jk 1.2.15 rtomcat 5.5.12 Thanks a lot for any help.

mod_jk loadbalancing problem - very weird

2005-11-30 Thread Mirek Kopriva
Hello, We are experiencing some weird problems with linux + tomcat + apache + mod_jk + ssl. We have a loadbalancing solution which is working for a couple of hours (about 5) and than it just stops responding. After playing with the workers properties a bit (adding socket_timeout, cache_timeout, rec

Re: Load balancing with apache + mod_jk

2005-11-17 Thread Mirek Kopriva
Ok, so i got the solution. There was some config missing in tomcat's server.xml The Engine needs to have jvmRoute set to the name of the worker and the default one needs to be commented out. Anyway, thanks to everybody for help. Mirek On 11/16/05, Mirek Kopriva <[EMAIL PROTECTED

Load balancing with apache + mod_jk

2005-11-15 Thread Mirek Kopriva
Hi, Not sure if I'm sending this question to the right forum, but anyway I will try as anybody might have experienced this already. I'm trying to loadbalance (no clustering, session replication...) our web application by using tomcat (2 instances) + httpd + mod_jk module and have run into the folo