Need a sample server.xml file for the session replication using backup manager

2012-03-19 Thread Dhaval Jaiswal
Hi List, I am planning to implement the session replication using backup manager mode. We have 10 tomcats. we need in place where one node can work as a backup manager; on which we want to send all jsessions information from rest of the tomcats.

Re: Need a sample server.xml file for the session replication using backup manager

2012-03-21 Thread Dhaval Jaiswal
e tomcat site, change DeltaManager to BackupManager > > > -Original Message- > > From: Dhaval Jaiswal [mailto:dhaval.jais...@via.com] > > Sent: Monday, March 19, 2012 4:32 AM > > To: users@tomcat.apache.org > > Cc: Shrinivas Devarkonda > > Subject: Need a samp

Operation has timed out(3000 ms.).;

2012-03-21 Thread Dhaval Jaiswal
lCoordinator.sendMessage(ChannelCoordinator.java:78) at org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75) at org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.sendMessage(TcpFailureDetector.java:87) -- * Dhaval Jaiswal Database

Re: Operation has timed out(3000 ms.).;

2012-03-23 Thread Dhaval Jaiswal
mcat.apache.org/tomcat-6.0-doc/config/cluster-sender.html > > > > - Original Message - > > From: "Dhaval Jaiswal" > > To: "Tomcat Users List" > > Sent: Wednesday, March 21, 2012 10:35:14 PM > > Subject: Operation has timed out(3000 ms

org.apache.catalina.tribes.ChannelException: Operation has timed out(3000 ms.).; Faulty members:tcp://{-64, -88, 3, 16}:4000;

2012-03-26 Thread Dhaval Jaiswal
Hi List, Below is my server.xml configuration for session replication. We are continuously getting following logging in our cata

SEVERE: Unable to start cluster.

2012-04-04 Thread Dhaval Jaiswal
Hi List, Below is the error we are facing while starting tomcats. SEVERE: Unable to start cluster. org.apache.catalina.tribes.ChannelException: java.net.SocketException: Not a multicast address; No faulty members identified. Our cluster setting is as below in server.xml

Re: SEVERE: Unable to start cluster.

2012-04-04 Thread Dhaval Jaiswal
- > Von: Dhaval Jaiswal > Gesendet: Mi 04.04.2012 16:41 > Betreff:SEVERE: Unable to start cluster. > An: Tomcat Users List ; > CC: Shrinivas Devarkonda ; > > Hi List, > > > > Below is the error we are facing while starting tomcats.

Re: Need a sample server.xml file for the session replication using backup manager

2012-04-05 Thread Dhaval Jaiswal
:15, Dhaval Jaiswal wrote: > > We have already server.xml(changed as per tomcat site instructions) > > in place, but it is not working properly. I will give you detail idea > > about our environment. > > > > We have 10 tomcats starting from 192.168.3.1 to 192.168.3.10. I &

Re: SEVERE: Unable to start cluster.

2012-04-05 Thread Dhaval Jaiswal
. On Thu, Apr 5, 2012 at 2:25 AM, Mark Eggers wrote: > Comments inline and surrounded by === COMMENT = > > - Original Message - > > > From: Dhaval Jaiswal > > To: Tomcat Users List > > Cc: > &g

Re: SEVERE: Unable to start cluster.

2012-04-05 Thread Dhaval Jaiswal
pfa server.xml The same i am using for all the 10 tomcats. On Thu, Apr 5, 2012 at 9:55 PM, Pid wrote: > On 05/04/2012 15:13, Dhaval Jaiswal wrote: > > I have tested the below cluster manager; as per the instruction i have > > changed. However, when we try to deploy the apps o

Re: SEVERE: Unable to start cluster.

2012-04-06 Thread Dhaval Jaiswal
exists:{}[org.apache.catalina.tribes.tipis.LazyReplicatedMap] On Fri, Apr 6, 2012 at 2:31 AM, Mark Eggers wrote: > Response at the bottom: > > /mde/ > > >____ > > From: Dhaval Jaiswal > >To: Tomcat Users List > >Se

Website is getting logged out frequently.

2012-07-12 Thread Dhaval Jaiswal
Website is getting logged out frequently. What could be the cause. Is it from httpd, AJP or tomcat site. We have session time out of 1 hour. Thanks & Regards, Dhaval jaiswal 80953-97843.

redirection of www.xyz.com/xyz to https://xyz.com/xyz.html is not happening in httpd.conf

2012-12-27 Thread Dhaval Jaiswal
i have tried through Redirect option to redirect specific page to one *.html it is not redirecting. Still it is redirecting to old values only. Even i have tried through Rewriterule. Any other efficient way will be helpful to me. --

Session Replication

2013-02-22 Thread Dhaval Jaiswal
I am creating cluster of 3 tomcats (Version 6) for session replication with the following changes in server.xml Opening the multica

suddenly created many connections

2013-03-05 Thread Dhaval Jaiswal
I have seen suddenly so many established connections like below on my system. There is http & tomcat both are running on the same machine. Previously it was not there. only last 3 days i am observing it. moreover since then i have installed nagios on the same server to measure the activity of the

suddenly created many connections

2013-03-05 Thread Dhaval Jaiswal
I have seen suddenly so many established connections like below on my system. There is http & tomcat both are running on the same machine. Previously it was not there. only last 3 days i am observing it. moreover since then i have installed nagios on the same server to measure the activity of the

Re: suddenly created many connections

2013-03-05 Thread Dhaval Jaiswal
Yes, i have observed this behavior after installing nagios. As of now on the same server httpd apache web server & tomcat is running. On Tue, Mar 5, 2013 at 11:09 PM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > Dhaval, > > I have seen suddenly so many established connections like

errors occurred in catalina.out

2013-03-08 Thread Dhaval Jaiswal
Set up the cluster of the session replication and it was working fine. However showing following error in the catalina.out. Sometime occurring weird behavior. Tomcat version: Apache Tomcat/6.0.16 (1) WARNING: IOException in replication worker, unable to drain channel. Probable cause: Keep alive

Tomcat response

2013-03-26 Thread Dhaval Jaiswal
Sometime i am facing an issue with the tomcat response. Tomcat not responding to the httpd web server. Is there any tool or way wherein i can check the response of the tomcat through sessionid or some other method.

Re: catalina.out growing very fast

2014-02-09 Thread Dhaval Jaiswal
Thank you for reading my post. > > Cheers! > -- Thanks and Regards, Dhaval Jaiswal| Manager Infrastructure

Re: catalina.out growing very fast

2014-02-09 Thread Dhaval Jaiswal
NFO mode, and I can't afford to have ERROR. But why > are these messages landing in my catalina.out file in the first place? > > > On Sun, Feb 9, 2014 at 9:09 PM, Dhaval Jaiswal >wrote: > > > Seems to me you have kept Debug/Info mode on instead of Error. > > >

Re: GZIP support in Tomcat 7

2014-02-18 Thread Dhaval Jaiswal
Can you add below entry and check. text/css. Just give a try for the below too and revert with result. application/js, text/js You can add compressionMinSize if you want. On Wed, Feb 19, 2014 at 6:15 AM, Akash Jain wrote: > I have following configuration in my server.xml : > >

Best practice to load object in memory.

2014-05-12 Thread Dhaval Jaiswal
At the time of initializing tomcat apps server, some object/data loading in memory, which is consuming lot of memory of the server. What is the best practice to handle it. Loading of object/data is mandatory in my case. --

Re: Tomcat and PostgreeSQL

2013-06-06 Thread Dhaval Jaiswal
Adding to it.. as usual In server.xml, resource need to mentioned the type, driverClassName, url and connectivity parameter of PostgreSql db. as usual In a context.xml, ResourceLink name, global, type and allow the IP of tomcat at db end in pg_hba.conf file to connect the db. On Fri, Jun

session replication issue

2013-12-09 Thread Dhaval Jaiswal
setting of session replication worked well. However, we do have threading in some products. Like we are hitting the target API and getting response from there servers. If will not get the response will hit them after some time and in this case threading not handled by session replication because of

need to keep the connection alive

2014-07-30 Thread Dhaval Jaiswal
I want to make the connection alive from tomcat to the db server. As of now connection is getting closed / terminating might be due to network or idle connection. Following is my configuration. I want to ensure that my connection should be alive and henceforth, I have added following par

Increasing incoming connection request in a queue

2014-08-03 Thread Dhaval Jaiswal
acceptCount variable: Following is the current configuration in server.xml I am using version. 6. Connector port="8080" protocol="HTTP/1.1" connectionTimeout="2" redirectPort="8443" Resource name="jdbc/DB_NAME" auth="Container" type="javax.sql.DataSource"

Re: Increasing incoming connection request in a queue

2014-08-04 Thread Dhaval Jaiswal
y to get the connection from web server (haporxy) to tomcat and then to database. On Mon, Aug 4, 2014 at 2:58 AM, André Warnier wrote: > Hi. > > There are a number of problems with your post, which make it difficult to > understand exactly what you want to know. > > > Dhava

Re: Increasing incoming connection request in a queue

2014-08-05 Thread Dhaval Jaiswal
6 > > Dhaval, > > On 8/4/14, 1:56 PM, Dhaval Jaiswal wrote: > > > connectionTimeout="2" redirectPort="8443" /> > > You need to check the Tomcat configuration guide for the default > settings that you are getting. It is also pretty clear which

Re: Increasing incoming connection request in a queue

2014-08-05 Thread Dhaval Jaiswal
David, Resources are enough. what happened in current configurations, When I will receive more than 200 connections. Will it keep on hold or it will give the blank page. On Tue, Aug 5, 2014 at 6:30 PM, David kerber wrote: > On 8/5/2014 8:49 AM, Dhaval Jaiswal wrote: > >> Aft

Re: Increasing incoming connection request in a queue

2014-08-06 Thread Dhaval Jaiswal
Noted. I was uncertain henceforth raised it again. On Wed, Aug 6, 2014 at 8:06 PM, André Warnier wrote: > Dhaval Jaiswal wrote: > >> David, >> >> Resources are enough. >> >> what happened in current configurations, When I will receive more than 200 >&g

Thread stucked at (java.net.SocketInputStream.socketRead0(Native Method))

2014-11-21 Thread Dhaval Jaiswal
Below thread stucked and increased the load. java.net.SocketInputStream.read(SocketInputStream.java:129) org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:145) org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:114

Re: Thread stucked at (java.net.SocketInputStream.socketRead0(Native Method))

2014-11-21 Thread Dhaval Jaiswal
:880) at com.eos.accounts.util.AccountsDatabaseManager.getConnection(Unknown Source) at com.eos.accounts.util.AccountsDatabaseManager.getConnection(Unknown Source) at com.eos.gds.util.GenericSearchQuery.executeQuery(GenericSearchQuery.java:191) On Sat, Nov 22, 2014 at 12:26 AM, Dhaval Jaiswal wrote: > Below

Re: Thread stucked at (java.net.SocketInputStream.socketRead0(Native Method))

2014-11-21 Thread Dhaval Jaiswal
alidation query, for now? Ideally it > should be a very simple query, returning just one row and column. > > Regards, > Ameer Mawia > > On Sat, Nov 22, 2014 at 12:30 AM, Dhaval Jaiswal > wrote: > > > Following thread stuck and increased the load. > > > &g

Re: Thread stucked at (java.net.SocketInputStream.socketRead0(Native Method))

2014-11-22 Thread Dhaval Jaiswal
using netstat. > > Regards, > Ameer Mawia > > > On Sat, Nov 22, 2014 at 10:44 AM, Dhaval Jaiswal > wrote: > > > yes. the thread is stucked and started increasing load of the server. > > > > My configuration is as below. Query is fetching one ro

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Dhaval Jaiswal
You can change the DB log parameter "log_statement" setting to ALL for the time being and ensure the query execution. On Mon, Jun 15, 2015 at 2:12 PM, Jose María Zaragoza wrote: > Hello: > > > I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 > > The context.xml settings are >

Re: JSP compilation 65535 bytes limit

2017-05-12 Thread Dhaval Jaiswal
Have you restarted service post adding parameter ? On Fri, May 12, 2017 at 12:28 PM, Vidyadhar wrote: > Hello Sagar, > > On Fri, 12 May 2017 at 12:26 PM, sagar kohli > wrote: > > > Try adding following init parameter in /conf/web.xml > > > > > > mappedfile > > false > > > > > We a

server.xml password encryption instead of plain text

2017-05-25 Thread Dhaval Jaiswal
How can we avoid defining plain text password in server.xml​ or is there a way i can encrypt the password in server.xml. ​

Re: server.xml password encryption instead of plain text

2017-05-26 Thread Dhaval Jaiswal
net.ssl.trustStoreProvider=SunMSCAPI > -Djavax.net.ssl.trustStoreType=Windows-ROOT > -Djavax.net.ssl.trustStore=NONE > -Djavax.net.ssl.keyStoreProvider=SunMSCAPI > -Djavax.net.ssl.keyStoreType=Windows-MY > -Djavax.net.ssl.keyStore=NONE > > .. and this may not work at all.. &

insufficient memory for the Java Runtime Environment to continue

2018-12-22 Thread Dhaval Jaiswal
I am facing issue of crashing JAVA process and log files attached for the same. Server total RAM is 16 GB. catalina.sh having following setting. export JAVA_MEM_OPTS="-Xms1g -Xmx15g -XX:MaxPermSize=1536m" Can some one help where could be the problem? Which threads are consuming memory. How can i

Re: insufficient memory for the Java Runtime Environment to continue

2018-12-22 Thread Dhaval Jaiswal
nly applies to versions of java below 1.8, > because there is no permspace in modern jvms anymore (called metaspace now) > and in this case this setting doesn't do anything. Still, you should reduce > Xmx to 13 or less. > Leon > > On Sat, Dec 22, 2018 at 1:35 PM Dhaval Jaiswal

Re: insufficient memory for the Java Runtime Environment to continue

2018-12-22 Thread Dhaval Jaiswal
System has allocated all mentioned RAM. I assume 13 would be fine. On Sat 22 Dec, 2018, 11:44 PM John Dale I agree with this tactic .. I do the same thing. > > Cheers. > > On 12/22/18, Olaf Kock wrote: > > > > On 22.12.18 13:35, Dhaval Jaiswal wrote: > >> I

Re: insufficient memory for the Java Runtime Environment to continue

2018-12-22 Thread Dhaval Jaiswal
emory consumption as well. On Sun 23 Dec, 2018, 2:23 AM Olaf Kock > On 22.12.18 20:17, Dhaval Jaiswal wrote: > > System has allocated all mentioned RAM. > > > > I assume 13 would be fine. > > Adding to John's question, what I forgot earlier: Another rule o

Re: 502 errors in Google Clod Platform Load Balancing with Tomcat Servers

2019-01-27 Thread Dhaval Jaiswal
When load balancer see Instance in healthy state it would start sending request to the application. Does your deployed application on the Instance is ready as well to serve the request? Do you check application is ready alongwith Instance health. On Fri, Jan 25, 2019 at 6:41 PM Abin Joseph wrote