Manager configuration when using load balancer and clustering

2008-08-04 Thread Pavan Singaraju
Hi all, I have successfully configured the load balancer using Apache and clustering in Tomcat. I have a question here for managing the container of Tomcat using Tomcat Manager. If i want to do the management of the container, how can i specify the specific web container of Tomcat 1. This

Session replication problem in tomcat 6.0.14 (loadbalancing with Apache)

2008-07-30 Thread Pavan Singaraju
Hello all, I am trying to do session replication in two tomcats (using Apache to do the loadbalancing). Ran the examples application and put a value in to the session. Now stopped the tomcat where the session is set. Submitted the URL again. Web page showed no value in the session. I think the

Re: Session replication problem in tomcat 6.0.14 (loadbalancing with Apache)

2008-07-30 Thread Pavan Singaraju
your config look like? Filip Pavan Singaraju wrote: Hello all, I am trying to do session replication in two tomcats (using Apache to do the loadbalancing). Ran the examples application and put a value in to the session. Now stopped the tomcat where the session is set. Submitted

Re: HttpSessionListener session listener in tomcat cluster

2008-07-30 Thread Pavan Singaraju
If we set the notifyListenersOnReplication to false, will it not cause problem if there is a load balancer at work? -- Pavan Kumar Singaraju On Wed, Jul 30, 2008 at 6:59 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Madonesa sanjaya wrote: Hi, I have deployed my application on a

ReplicationListener in Tomcat 6.0

2008-07-17 Thread Pavan Singaraju
Hi all, Is the class org.apache.catalina.cluster.tcp.ReplicationListener present in Tomcat 6.0. When i used it, the server is throwing 'ClassNotFoundException. The documentation java doc also is not displaying it. Please help me Thank you

Re: ReplicationListener in Tomcat 6.0

2008-07-17 Thread Pavan Singaraju
PROTECTED] wrote: Pavan Singaraju wrote: Hi all, Is the class org.apache.catalina.cluster.tcp.ReplicationListener present in Tomcat 6.0. When i used it, the server is throwing 'ClassNotFoundException. The documentation java doc also is not displaying it. Please help me I don't see

Re: load balancing and sticky sessions

2008-07-17 Thread Pavan Singaraju
Set your session stickiness attribute to false. e.g.: worker.loadbalancer defined.sticky_session=false On Thu, Jul 17, 2008 at 4:24 PM, nch [EMAIL PROTECTED] wrote: Hi, there. I'm reading http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html It says Make sure that your loadbalancer is

Session values transfer when load balancing and clustering Tomcat 6.0 on Apache 2.x

2008-07-16 Thread Pavan Singaraju
Hello all, What exactly i need is the transfer of the session values held in the tomcat1's session to tomcat2, in the event of the tomact1's crash or shutdown. The object that is retrieving values from session is 'Serialized' as specified in the tomcat documentation for clustering The

Java file name is displayed when the JSP file is accessed.

2007-11-26 Thread Pavan Singaraju
Hi All, i have a web application which is deployed on Tomcat 5.0.18. Sometimes when i am navigating to a page using menu of my application, it is displaying a java file name with full package name. The java file is a business logic processing location on the application. Why is that happening.

Re: My own web page as tomcat default web page

2007-10-08 Thread Pavan Singaraju
to change? -- Pavan S. Kumar On 10/5/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Pavan Singaraju [mailto:[EMAIL PROTECTED] Subject: Re: My own web page as tomcat default web page On 10/5/07, Nathan Bahr [EMAIL PROTECTED] wrote: Try renaming MyApp(.jar) to ROOT(.jar

Re: My own web page as tomcat default web page

2007-10-08 Thread Pavan Singaraju
I forgot to remove the ROOT directory from the TOMCAT. Its working now. Thanks guys. -- Pavan S. Kumar On 10/8/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Pavan Singaraju [mailto:[EMAIL PROTECTED] Subject: Re: My own web page as tomcat default web page Its actually not going

My own web page as tomcat default web page

2007-10-05 Thread Pavan Singaraju
Hi, how to set your own application page as default tomcat page? I have my application and i am configuring my server. By default when you give the URL it will be going to TOMCAT manager page. for e.g., ' http://locahost' will take you to 'http://localhost/manager/html' which is tomcat's

Re: My own web page as tomcat default web page

2007-10-05 Thread Pavan Singaraju
Is there any other way of doing the configuration? I should not rename my application. On 10/5/07, Nathan Bahr [EMAIL PROTECTED] wrote: Try renaming MyApp(.jar) to ROOT(.jar) in the webapps directory. [EMAIL PROTECTED] 10/05/07 12:43 PM Hi, how to set your own application page as

Simultaneous Requests to servlet

2007-09-27 Thread Pavan Singaraju
Hi, I have a basic question about servlets in Tomcat 5.0.18. In theory, when there are simultaneous requests come for a servlet, it will either queue the requests and serve one by one or create multiple threads of the servlet and serve the request. My question is, what / how tomcat handles

creation of a common session variable.

2007-09-20 Thread Pavan Singaraju
Hi, i have a design related question. I have to maintain some data common to all sessions. If one session updates the value in the data structure, then it should either updated in all the sessions / in the common data structure. Is there an approach i can go with? -- Pavan S. Kumar

Re: creation of a common session variable.

2007-09-20 Thread Pavan Singaraju
just used on one webapp. --David Dale Nesbitt wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I believe you can load any JavaBean using JNDI, and the bean will be shared between all sessions in the context. Pavan Singaraju wrote: Hi, i have a design related question. I have