64-bit Apache with 32-bit Tomcat

2007-03-14 Thread Sharma, Siddharth
Is it possible to use a 64-bit Apache (consequently 64-bit mod-jk) with 32-bit Tomcat instances? Some Tomcats will be co-located with the Apache on the same box and some will be remote. But all the Tomcats will run on 64-bit Linux kernel?

DST2007 - 3 Character Time Zone Problems with Java Patch

2007-03-13 Thread Sharma, Siddharth
Hi Does anyone know if Tomcat is affected by this? I have Tomcat 5.5.16 with Sun JRE 1.5 patched with TZupdater on RHEL. Thanks Sid Explanation of scope of the 3-character time zone problems with Java Applications (DST2007 - Java Patch) Abstract Two types of 3-character time zone inc

Failover not working

2006-11-28 Thread Sharma, Siddharth
RedHat Linux Tomcat 5.5 Mod-jk 1.2.15 Apache web server We have a number of Linux boxes each running 4 instances of Tomcat. Each Linux box has an Apache that load balances (mod-jk) over all the Tomcats on all boxes. Sticky sessions are enabled. Tomcat clustering is not being used. While doing fai

RE: Load balancing mark down question

2006-11-08 Thread Sharma, Siddharth
Hey Rainer I currently have 1.2.15. Do I need to install all the interim releases or 1.2.19 is all encompassing? Thanks Sidd Ref: http://www.nabble.com/Load-balancing-mark-down-question-t2590766.html -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Wednesday, Novemb

RE: mod_jk affinity for a lamed tomcat instance

2006-11-07 Thread Sharma, Siddharth
To enable/disable via the status worker: Start /?cmd=update&w=&id=&lb=0&wf=1 &wr=&wc= Stop /?cmd=update&w=&id=&lb=0&wf=1 &wr=&wc=&ws=on -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 5:04 PM To: Tomcat Users List Subject: Re: mod_jk a

RE: Load balancing mark down question

2006-11-07 Thread Sharma, Siddharth
s for me because my coding will not be straightforward and I will have to maintain the mapping of worker name and id. -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 3:58 PM To: Tomcat Users List Subject: Re: Load balancing mark down q

Load balancing mark down question

2006-11-07 Thread Sharma, Siddharth
Hi We have a cluster of Linux (RedHat) machines each housing an apache, 4 tomcat instances and 4 other jvms that run our custom servers. Each tomcat has a corresponding custom server that it delegates requests to. In other words, there is one to one correspondence between a tomcat instance and a c

JK 1.2.18

2006-08-21 Thread Sharma, Siddharth
I am using mod_jk 1.2.15 on RedHat Linux with Tomcat 5.5 and Apache 2.0.x. I noticed the current stable release of jk is 1.2.18. Where can I find information on the differences between the two releases to see if I should be thinking of upgrading at all? Thanks Sidd --

RE: solution to this scenario

2006-08-10 Thread Sharma, Siddharth
ftp? You mean telnet or rsh or ssh or something right? Anyhow, create a different instance of tomcat for each user: Recursively copy the following directories from CATALINA_HOME to a new location (say /usr/tomcat/instance_n) to create a new instance: webapps temp shared conf logs Then change the

RE: Connector Problems -

2006-08-08 Thread Sharma, Siddharth
id M. Goodell wrote: >I used the .so file from the following link: > > http://apache.seekmeup.com/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2 .18/ > > where there are no .DLL files only .so files. Also, there are several .so files in my apache/modules directory. &

RE: Connector Problems -

2006-08-08 Thread Sharma, Siddharth
> LoadModule jk_module "C:/Program Files/Apache > Group/Apache2/modules/mod_jk.so" Since you have windows, shouldn't the mod_jk load library be a dll rather than so? I believe you have referenced the incorrect mod_jk. -Original Message- From: M. Goodell [mailto:[EMAIL PROTECTED] Sen

Load balancing question

2006-08-07 Thread Sharma, Siddharth
We have a 12 (tomcat 5.5.16) instance cluster on 4 physical machines running redhat linux. There is an Apache installed on each machine (4 mod_jks). Each mod_jk's worker.properties is configured exactly the same way i.e. each mod-jk load-balances across all 12 tomcat instances. All instances have t

RE: Mod_jk load balacing algorithm

2006-08-07 Thread Sharma, Siddharth
y low, most of the time all workers will have no request in processing. So the busyness counter will always be equal to zero. Then mod_jk will pick on worker after the other, similar to round-robin. As soon as there will be real load, behaviour will differ. Regards, Rainer Sharma, Siddharth

Mod_jk load balacing algorithm

2006-08-07 Thread Sharma, Siddharth
Is it possible to change mod_jk's load-balacing algorithm to random (from round robin)? If yes, how? TIA Sidd - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

RE: clustering problem

2006-08-01 Thread Sharma, Siddharth
t: Tuesday, August 01, 2006 2:22 PM To: 'Tomcat Users List' Subject: RE: clustering problem I have a question of the architecture you created..i am interseting in it. Do you have a document how you did this? thx Maarten -Oorspronkelijk bericht- Van: Sharma, Siddharth [mai

RE: configuring 2 servlets on different ports

2006-08-01 Thread Sharma, Siddharth
All webapps listen on the same http port if deployed within the same tomcat instance. Your option is to deploy each webapp on its own instance of tomcat, each listening on a different port. Creating a new instance of tomcat means a separate JVM with all the additional needs from system resource per

RE: clustering problem

2006-07-31 Thread Sharma, Siddharth
ing, configure jvmRoute on the Tomcats (most likely you already did this) and then send a request like: /my-probe;jsessionid=dummy.my_jvmroute (with no cookie sent) This request will be routed to the worker with name/jvm_route "my_jvmroute". Is that what you were looking for? Regards,

clustering problem

2006-07-31 Thread Sharma, Siddharth
Hi We have a 4 machine configuration. Each machine has: 1. 3 Tomcat instances (so total 12 instances) 2. 1 Apache with mod_jk (so total 4 Apaches) The Apaches/mod_jks are fronted by a hardware load balancer. Each mod_jk load balances across all 12 tomcats. In other words, you could hit any one of

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
Another way could be to deploy a single webapp in a single Tomcat instance so there are no classloading issues. But of course that will create as many VMs as there are webapps. -Original Message- From: Sharma, Siddharth Sent: Friday, July 21, 2006 3:04 PM To: 'Tomcat Users List

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
ce the specific versions in the manifest? But how do you ensure that the jars won't be loaded anyways? Sharma, Siddharth wrote: >No you don't copy. >My suggestion was to have one physical jar(s) referenced in the manifest of >all webapps. > > >-Original Message- >

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
sitting on it's own, and each of the web apps refers to it. The web apps need to have their own JSP and tag file folders, since they are different sites. Tom -Original Message- From: Sharma, Siddharth [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 2:32 PM To: Tomcat Users List

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
Why can't you just put the jars in the WEB-INF/lib of each webapp then? Then you can have a different version of the jar for each webapp. Unless of course, tomcat uses the same classloader to load classes for all webapps. -Original Message- From: Harris, Thomas [mailto:[EMAIL PROTECTED]

RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES!

2006-07-21 Thread Sharma, Siddharth
Jar up the common code into one or more libraries. Put them somewhere (possibly at the enterprise app level) and add each jar in each webapp's MANIFEST file. -Original Message- From: Harris, Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 2:19 PM To: Tomcat Users List Subjec

RE: NEW : Tomcat Performance Monitoring

2006-07-17 Thread Sharma, Siddharth
o on tomcat? or just system usage or webserver usage? "Sharma, Siddharth" <[EMAIL PROTECTED]> 07/17/2006 11:51 AM Please respond to "Tomcat Users List" To: Tomcat Users List cc: Subject:RE: NEW : Tomcat Performance Monitoring

RE: NEW : Tomcat Performance Monitoring

2006-07-17 Thread Sharma, Siddharth
omcat Users List Cc: Tomcat Users List Subject: RE: NEW : Tomcat Performance Monitoring does sar effect the system as in imposing an overload? "Sharma, Siddharth" <[EMAIL PROTECTED]> 07/17/2006 11:30 AM Please respond to "Tomcat Users List" To:

RE: NEW : Tomcat Performance Monitoring

2006-07-17 Thread Sharma, Siddharth
Subject: RE: NEW : Tomcat Performance Monitoring Sid, I know of sar but how do I run it? just by 'sar' command or any other parameters? I can't afford overhead as this is production; as to vmstat: just by command or anything else? Thanks, Ibrahim "Sharma, Siddharth"

RE: NEW : Tomcat Performance Monitoring

2006-07-17 Thread Sharma, Siddharth
You can use sar or vmstat They give you system level health. If you need inside the jvm health you can run the jvm in hprof mode. It adds plenty of overhead so beware. Try checking out http://www.javaperformancetuning.com/resources.shtml#PerfTools -Original Message- From: [EMAIL PROTECT

RE: Apache with Tomcat and session affinity problem

2006-06-16 Thread Sharma, Siddharth
that looks like <%=request.getSession(true).getId()%> and run it, you get nothing? Filip Sharma, Siddharth wrote: > Ok, the httpsession is enabled with the code > request.getSession(true); > > but I still do not see a jsessionid cookie, even if tomcat is hit directly. &

RE: Apache with Tomcat and session affinity problem

2006-06-16 Thread Sharma, Siddharth
-Original Message- From: Sharma, Siddharth Sent: Friday, June 16, 2006 1:28 PM To: Tomcat Users List Subject: RE: Apache with Tomcat and session affinity problem My bad. Did not read documentation. Thanks -Original Message- From: Sanjeev Kumar Bhat, Noida [mailto:[EMAIL PROTECTED

RE: Apache with Tomcat and session affinity problem

2006-06-16 Thread Sharma, Siddharth
. It should be alphanumeric only. Refer to http://tomcat.apache.org/connectors-doc/config/workers.html Sanjeev From: Sharma, Siddharth [mailto:[EMAIL PROTECTED] Sent: Fri 6/16/2006 8:23 PM To: Tomcat Users List Subject: RE: Apache with Tomcat and session affinity

RE: Apache with Tomcat and session affinity problem

2006-06-16 Thread Sharma, Siddharth
cookie to determine server affinity. and if you dont have sessions, you don't need session affinity Filip Sharma, Siddharth wrote: > I have an http packet sniffer and it is reporting that there are no cookies > returned by apache. > > Just to recap what I have done: > 1. IBM

RE: Apache with Tomcat and session affinity problem

2006-06-16 Thread Sharma, Siddharth
e 'standalone' engine and uncomment it and comment out the 'Catalina' engine? Or should I have both uncommented? I will try the permutations but if someone knows, it will save me some time ;) -Original Message- From: Sharma, Siddharth Sent: Friday,

RE: Apache with Tomcat and session affinity problem

2006-06-16 Thread Sharma, Siddharth
you don't have a cookie? I suggest using LiveHttpHeaders (firefox/mozilla) or TCPMonitor Filip Sharma, Siddharth wrote: > Yes I did > jvmRoute is set to the worker name. > still, no jsessionid cookie. > > > > > > -Original Message- > From: Filip Hanik - D

RE: Apache with Tomcat and session affinity problem

2006-06-16 Thread Sharma, Siddharth
jvmRoute in your engine element (server.xml)? this is how mod_jk does session affinity filipp Sharma, Siddharth wrote: > I have IBM HttpServer 2.0 (it is an apache essentially) fronting two > tomcat instances (version 5.5.16) using mod_jk over ajp13. > I have configured a load balanc

Apache with Tomcat and session affinity problem

2006-06-15 Thread Sharma, Siddharth
I have IBM HttpServer 2.0 (it is an apache essentially) fronting two tomcat instances (version 5.5.16) using mod_jk over ajp13. I have configured a load balancer worker to spray load across two workers representing these two tomcat instances. And it works. The problem is I do not see a session