Re: Tomcat 5.5.23 Cluster Problem - (memberDisappeared)

2008-11-12 Thread Filip Hanik - Dev Lists
increase mcastDropTime=3000 to mcastDropTime=3 Gustavo Araujo wrote: Hello! I'm trying to finish my configuration of the cluster. But i get the message of 'memberDisappeared' in both nodes: Node1: users@tomcat.apache.org12-Nov-08 5:30:36 PM

Re: clustering

2008-11-11 Thread Filip Hanik - Dev Lists
you're missing the membership elelemnt Membership className=org.apache.catalina.cluster.mcast.McastService mcastAddr=228.0.0.4 mcastBindAddress=127.0.0.1

Re: Tomcat threads

2008-11-11 Thread Filip Hanik - Dev Lists
For tomcat 6, when setting Connector maxThread=50../ if it reaches 50, it will not shrink. but if you do Executor name=threadpool maxThreads=50 |minSpareThreads=25/ Connector executor=threadpool .../ then it will shrink down to 25 if the threads are idle Filip | André Warnier wrote: Hi.

Re: Tomcat threads

2008-11-11 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads If you really want tight control over the thread management, you should probably use an executor The last I heard from Remy M was that the Executor performance was disappointing

Re: Apache - Tomcat Connector for NIO AJP

2008-11-06 Thread Filip Hanik - Dev Lists
that wont work, you have to use a HTTP connector for Comet functionality, and in that case use mod_proxy_http Filip Burak Oguz wrote: Hi everybody, I am using Tomcat 6.0.18 and Apache2. Anyone knows how to connect tomcat with apache over AJP/NIO. I developed a Comet application but I should

Re: tomcat 6.0.18 static cluster confugation

2008-11-06 Thread Filip Hanik - Dev Lists
inline killbulle wrote: Hi filip, herre is a more detailled post(sorry for the first one) i have few problem in fact i cannot see the jmx cluster Mbean but the valve replication valve is here , there is no formal jmx mbean for the cluster yet is this normal ? the FarmDeployer doesn't

Re: tomcat 6.0.18 static cluster confugation

2008-11-05 Thread Filip Hanik - Dev Lists
what do your logs say? Filip killbulle wrote: Hi , i'am tring to configurer a static member ship tomcat 6 cluster(i can't use multicat) but i'am not confident in the configuration here is may configuration for the cluster Tomcat start but i cannot see JMX cluster bean does sombedody have a

Re: TCP RST on rapid data in NIO Connector

2008-11-03 Thread Filip Hanik - Dev Lists
Hi Burak, I will take a look at the trace and see if I can find anything Filip Burak Oguz wrote: Hi, I am using Tomcat 6.0.18 with NIO Connector with Comet. And I have crashed into a real problem. I want to use Comet to transfer data on high rate over http but Tomcat gives such an error when

Re: Tomcat 6.0.18 clustering

2008-10-31 Thread Filip Hanik - Dev Lists
for session storage with JDBC, you don't use the Cluster element, you use the Manager element only to configure the PersistenceManager, the doc still marks this codebase as experimental Filip firefinger wrote: Hello, I would like to create a Tomcat 6.0.18. cluster with session replication

Re: Clustering in tomcat

2008-10-30 Thread Filip Hanik - Dev Lists
/balanceandpaymentshistory.htm i ll be thankful to you if u can tell me that is it configuration issue or development issue? and wt to do to fix iit. Filip Hanik - Dev Lists wrote: looks like your computer is not configured to allow multicast Caused by: java.io.IOException: Operation not permitted

Re: NullPointerExceptions on startup with NIO connector

2008-10-29 Thread Filip Hanik - Dev Lists
thanks for the report, looks it was fixed in trunk http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?view=diffr1=618058r2=618059 I just forgot to backport it Filip Alex Talis wrote: Hi, My Tomcat 6.0.18 throws NPEs if there are incoming connections

Re: NullPointerExceptions on startup with NIO connector

2008-10-29 Thread Filip Hanik - Dev Lists
yes, that is correct Alex Talis wrote: Filip, does this mean that this fix will be in 6.0.19 production release? Thanks - Original Message From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, October 29, 2008 7:15:01 AM

Re: executor does not work with AJP connector

2008-10-28 Thread Filip Hanik - Dev Lists
on 6.0.16... anybody know if there was a fix or if it's just an intermittent issue? 3) Should the Executor work with AJP? I saw a post from earlier last year that said Executors don't support AJP. Thanks all! Joe On Wed, Feb 27, 2008 at 10:23 AM, Filip Hanik - Dev Lists [EMAIL PROTECTED

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
It means that the application that it is trying to request data from is not deployed on the server. for example, if you have applicate /test installed on server A, then it will have to be installed on server B as well, if it isn't, you'll get a message like the one below Filip Andrew Hole

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
applications in same machine (each in different Tomcat instance). Is it possible? On Mon, Oct 27, 2008 at 5:39 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: It means that the application that it is trying to request data from is not deployed on the server. for example, if you

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
applications have been developed by me and I want to share an object between applications. If the object have been created in application A, I would like to replicate information to application B. Thanks On Mon, Oct 27, 2008 at 6:18 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
on another tomcat instance Filip Andrew Hole wrote: Well, I would like in the future to have application A and B in different machines, and for that i need to use some way to share session data. Thanks On Mon, Oct 27, 2008 at 8:19 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote

Re: tomcat 6.0 support

2008-10-23 Thread Filip Hanik - Dev Lists
one correction you can buy commercial support, just google tomcat support and you'll find several companies offering commercial support with warranty and resolution guarantees Filip André Warnier wrote: rajesh202023 wrote: Hi All, Can anyone please tell me whether Tomcat 6.0 is supported

Re: RequestDispatcher and sendfile()/java.nio

2008-10-23 Thread Filip Hanik - Dev Lists
Ronald Klop wrote: Hi, Does Tomcat 5.5 or maybe 6.0 use java.nio/sendfile() to send static content? So is it more prefered to use RequestDispatcher.forward(myfile) than copy a FileInputStream to ServletOutputStream by hand? I already have the copying part, but would like to know if it is

Re: Clustering in tomcat

2008-10-22 Thread Filip Hanik - Dev Lists
this clustering in tomcat. thanks Filip Hanik - Dev Lists wrote: if you paste in the whole error, we can tell you. we are missing the root cause of the error, the IO exception that happened during startup Filip kashif_tomcat wrote: can anyone help me for clustering in tomcat. here

Re: Disable Tomcat from caching

2008-10-22 Thread Filip Hanik - Dev Lists
-- WatchedResourceWEB-INF/web.xml/WatchedResource /Context and add it in my application_folder/META-INF/context.xml Context path=/syo cachingAllowed=false / Is there any mistake in my configuration or are there other way to resolve the problem Thanks Regards, Steve Filip Hanik - Dev Lists

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Filip Hanik - Dev Lists
you could also create a response wrapper in a filter, capture the status/output, so if the servlet sets 404, you can react to it appropriately Filip Antonio wrote: 2008/10/22 Tim Funk [EMAIL PROTECTED]: if (null==servletContext.getResource(request.getServletPath())) { Are you sure

Re: Clustering in tomcat

2008-10-21 Thread Filip Hanik - Dev Lists
if you paste in the whole error, we can tell you. we are missing the root cause of the error, the IO exception that happened during startup Filip kashif_tomcat wrote: can anyone help me for clustering in tomcat. here is scenario: two tomcat servers running on same linux machine on different

Re: Logging

2008-10-21 Thread Filip Hanik - Dev Lists
for log4j you have to build the extras package svn co http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk cd trunk ant download ant ant -f extras this gives you a) tomcat-juli.jar - replaces the one in tomcat (bin directory) b) tomcat-juli-adapters.jar - put in the lib directory then add

Re: Disable Tomcat from caching

2008-10-21 Thread Filip Hanik - Dev Lists
look for |cachingAllowed in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html you can put this in TC_HOME/conf/context.xml Filip | steve sim wrote: Hi everyone, I would appreciate if someone could help me in this problem. Disable Tomcat from caching my xml file. I have a

Re: Another session replication question

2008-10-20 Thread Filip Hanik - Dev Lists
hi Jess, you're example is correct, replication doesn't happen until the request is complete and is done by the ReplicationValve. Filip Jess Holle wrote: I somehow missed Filip Hanik's helpful response to my previous session replication question. I have one other: With DeltaManager

Re: Another session replication question

2008-10-20 Thread Filip Hanik - Dev Lists
really can and should start replicating a large application grown over the last decade -- given the limitations of setAttribute/removeAttribute()-based change detection, last-request-wins session update, etc... -- Jess Holle Filip Hanik - Dev Lists wrote: hi Jess, you're example is correct

Re: NIO 100% CPU usage

2008-10-16 Thread Filip Hanik - Dev Lists
oktober 2008 om 20:22 uur schreef Tomcat Users List users@tomcat.apache.org: Subject: Re: NIO 100% CPU usage Date: Wed Oct 15 20:22:43 CEST 2008 From: Filip Hanik - Dev Lists [EMAIL PROTECTED] ok, when you reproduce it, you don't really need a profiler, you can do a top

Re: Session Replication question

2008-10-15 Thread Filip Hanik - Dev Lists
useDirtyFlag is supposed to be the SimpleTcpManager, DeltaManager always only replicates deltas. so does the backup manager. The two managers that work best are DeltaManager and BackupManager, both of them replicate upon setAttribute/removeAttribute actions. DeltaManager replicates to all other

Re: NIO 100% CPU usage

2008-10-15 Thread Filip Hanik - Dev Lists
that the bug is fixed. Thanks, Matías -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: martes, 14 de octubre de 2008 08:16 p.m. To: Tomcat Users List Subject: Re: NIO 100% CPU usage hi Matías, I have not yet found a way to reproduce it to put in a work

Re: NIO 100% CPU usage

2008-10-15 Thread Filip Hanik - Dev Lists
at apache dot org Filip Matías Rojas wrote: It's 6.0.18 -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: miércoles, 15 de octubre de 2008 07:25 p.m. To: Tomcat Users List Subject: Re: NIO 100% CPU usage what version of tomcat are you using? Filip Matías

Re: Programmatic instruct Tomcat to shutdown

2008-10-15 Thread Filip Hanik - Dev Lists
you mean like java.lang.System.exit(1); Filip Maxim Veksler wrote: Hello, I would like to forcefully cause my application server to fail once I discover a situation I can't recover from. We have HA that should handle the situation from there. The best way I can see this happening is by

Tomcat Training at ApacheCon

2008-10-15 Thread Filip Hanik - Dev Lists
Ladies and gentlemen, I am teaching a Tomcat class at ApacheCon, New Orleans and there are still spots left. It's a two day training, going from novice to very experienced in a gradual way over the two days. http://us.apachecon.com/c/acus2008/sessions/13 Filip

Re: Data Truncated when proxied from Apache

2008-10-15 Thread Filip Hanik - Dev Lists
use mod_proxy_http or mod_jk, Filip Stephen Nelson-Smith wrote: Hi, I have an application which parses XML. It sits behind an Apache Httpd 2.2 server using mod_proxy_ajp. I am finding that if I POST more than about 1600 chars, the POST gets truncated, and I get an XML parse error. Httpd

Re: NIO 100% CPU usage

2008-10-14 Thread Filip Hanik - Dev Lists
hi Matías, I have not yet found a way to reproduce it to put in a work around so even though its not fixed in 1.5 and 1.6, we can make it work. If you want to work with me, we can make that happen, assuming you have a way to reproduce this Filip Matías Rojas wrote: Hello, I'm experiencing

Re: Basic Tribes Questions

2008-10-08 Thread Filip Hanik - Dev Lists
repository I could get the fix from and build myself? Thanks Mike -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: October 7, 2008 5:13 PM To: Tomcat Users List Subject: Re: Basic Tribes Questions hi Mike, that's great. yes, the TCP failure detector could give

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-08 Thread Filip Hanik - Dev Lists
Peter Rossbach wrote: Hi, I don't have this problem at tomcat 6.0.18 Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=150 minSpareThreads=4/ Connector port=9080 executor=tomcatThreadPool protocol=HTTP/1.1 connectionTimeout=6

Re: Basic Tribes Questions

2008-10-08 Thread Filip Hanik - Dev Lists
the TCPFailureDetector I would have to wait until a new version of tomcat is published before getting the fix? There is no repository I could get it from and build myself? Mike -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: October 8, 2008 3:09 PM

Re: Basic Tribes Questions

2008-10-07 Thread Filip Hanik - Dev Lists
I take it I get the 2 DISAPPEARED messages because I have another interceptor, but is this the correct behaviour? TIA Mike -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: October 6, 2008 11:28 AM To: Tomcat Users List Subject: Re: Basic Tribes

Re: Basic Tribes Questions

2008-10-06 Thread Filip Hanik - Dev Lists
to solve this, bump the heartbeat timeout? TIA Mike -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: October 3, 2008 2:51 PM To: Tomcat Users List Subject: Re: Basic Tribes Questions answers inline Mike Wannamaker wrote: Hi, I am currently trying

Re: Using tomcat to hold many open connections.

2008-10-06 Thread Filip Hanik - Dev Lists
tomcat has one too, it's called the CometProcessor Filip Clemens Eisserer wrote: Jetty has a special api to allow exactly this kind of request efficiently. The thread is not kept assignd to the sleeping connection, but is re-used. lg Clemens 2008/10/6 Kees Jan Koster [EMAIL PROTECTED]:

Re: Basic Tribes Questions

2008-10-03 Thread Filip Hanik - Dev Lists
answers inline Mike Wannamaker wrote: Hi, I am currently trying to use Tribes as the clustering layer on our server. My startup code looks like this. if(_tribesChannel == null) { // nothing to do if already running try { _tribesChannel =

Re: Cannot see cluster MBean

2008-09-22 Thread Filip Hanik - Dev Lists
this is work in progress Filip Landry Stephane Zeng Eyindanga wrote: Hi all, Here I come again. Can anyone help me please ? I am working on an application that uses tomcat clusters (tomcat 6). I follow all the steps on clustering guide

Re: session replication / cluster groups

2008-09-17 Thread Filip Hanik - Dev Lists
you could use the BackupManager this only replicates data to one backup node http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-manager.html and you can fail over to any node, it will fetch the backup from the backup node Filip Kevin Phillips wrote: Hi, I have tomcat clustering working

[ANN] Apache Tomcat 5.5.27 released

2008-09-08 Thread Filip Hanik - Dev Lists
The Apache Tomcat team announces the immediate availability of Apache Tomcat 5.5.27 stable. Apache Tomcat 5.5.27 incorporates numerous security updates and bug fixes. Please refer to the change log for the list of changes: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html Downloads:

Re: Tomcat connector attributes

2008-09-05 Thread Filip Hanik - Dev Lists
your observation is correct, the clientAuth attribute only exists on protocol=org.apache.coyote.http11.Http11NioProtocol and protocol=org.apache.coyote.http11.Http11Protocol Filip [EMAIL PROTECTED] wrote: Hi! I have tomcat 6.0.18 with tomcat-native enabled with APR 1.3.2 and with connector

Re: Tomcat 6 and images

2008-09-02 Thread Filip Hanik - Dev Lists
sure there is, you can deploy it by using a context Context docBase=/path/to/static-resources path=/images/ Filip Mathias P.W Nilsson wrote: Hi! I'm using tomcat with wicket framework for my webapplication. My images, css, flashes resides outside the container and therefor I'm using a

Re: APR SSL not working

2008-09-02 Thread Filip Hanik - Dev Lists
SSLEngine=on should be SSLEnabled=true Gregor Schneider wrote: Hi there, I'm about to give it up. One final question though: Anybody out there who has the following combination up running: - Linux (Debian preferred, other distributions also welcome) - Tomcat 5.5 - APR - SSL ? I'm

Re: From which stable version Tomcat uses java NIO

2008-08-27 Thread Filip Hanik - Dev Lists
NIO wasn't introduced to Tomcat until sometime in the 6.0 release. The most stable is the current, 6.0.18 Filip Diego Bolanos wrote: From which stable version Tomcat uses java NIO I spend 30 minutes on google looking for the first stable version of Tomcat that make use of Java NIO package.

Re: Tomcat Clustering (Synchronous configuration)

2008-08-26 Thread Filip Hanik - Dev Lists
hi Nuno, that would be value 0 (or 2 if you want acks involved) take a look at the channelSendOptions description in http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html Filip Nuno Manuel Martins wrote: Hello, I was reading the Cluster HOWTO at

Re: Clustering failing over with Tomcat 6.0.16

2008-08-13 Thread Filip Hanik - Dev Lists
: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2008 11:07 PM To: Tomcat Users List Subject: Re: Clustering failing over with Tomcat 6.0.16 nope, it should work both ways Gupta, Sharad wrote: Hi, I have a cluster of Tomcat 6.0.16 using DeltaManager. Session

Re: Session values don't replicate under certain circumstances

2008-08-13 Thread Filip Hanik - Dev Lists
that's correct. there are a number of frameworks that detect these kind of changes, Tomcat doesn't, everything is triggered by setAttribute/removeAttribute Filip Adrian Gligor wrote: Hello, i have a working Tomcat 6.0.18 cluster with session replication using DeltaManager and load balancing

Re: Tomcat 6 Cluster Woes

2008-08-12 Thread Filip Hanik - Dev Lists
for any insight into this. --Zac Filip Hanik - Dev Lists wrote: have you by any chance deployed your apps in Host elements with a different name? Filip Zachariah Zachariah wrote: Hi, I am trying to set up a cluster of tomcat servers to serve up my dynamic content with session replication

Re: Clustering failing over with Tomcat 6.0.16

2008-08-11 Thread Filip Hanik - Dev Lists
nope, it should work both ways Gupta, Sharad wrote: Hi, I have a cluster of Tomcat 6.0.16 using DeltaManager. Session replication works fine, failover works fine for the first time. That is, the first time I failover from, lets say, nodeA to nodeB, my session is carried over the user

Re: Tomcat cluster (NullPointer when replicating session)

2008-08-07 Thread Filip Hanik - Dev Lists
In Tomcat 6, use DeltaManager or BackupManager Filip Lia wrote: Hi everybody, ... ... I am using - Tomcat 6.0.18 ( but I’ve also tested the same scenario with Tomcat 6.0.16 and Tomcat 6.0.14 and I got the same problem); - in cluster ( two machines); - on Debian x64, 4.0. When using

Re: Tomcat 6 Cluster Woes

2008-08-05 Thread Filip Hanik - Dev Lists
have you by any chance deployed your apps in Host elements with a different name? Filip Zachariah Zachariah wrote: Hi, I am trying to set up a cluster of tomcat servers to serve up my dynamic content with session replication. Although failover seems to be working with each node aware of

Re: HttpSessionListener session listener in tomcat cluster

2008-07-31 Thread Filip Hanik - Dev Lists
, 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 clustered environment and used session created

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

2008-07-31 Thread Filip Hanik - Dev Lists
in case if we want to avoid this exception, is there a way or should the exception be ignored?? -- Pavan Kumar Singaraju On Wed, Jul 30, 2008 at 7:00 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: this Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster

Re: Setting up Comet on Tomcat 6

2008-07-31 Thread Filip Hanik - Dev Lists
(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, You must be using the APR or NIO connector to get the event method called.); } } -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 1:28 PM To: Tomcat Users List Subject: Re: Setting up Comet

Re: Setting up Comet on Tomcat 6

2008-07-30 Thread Filip Hanik - Dev Lists
does your servlet iimplement the CometProcessor interface? Filip Talal Rabaa wrote: Hello! I apologize if this question has been asked many times before. I've searched quite a bit for concrete answers on how to setup Comet but I'm having no luck. From what I understand, all that is needed

Re: HttpSessionListener session listener in tomcat cluster

2008-07-30 Thread Filip Hanik - Dev Lists
Madonesa sanjaya wrote: Hi, I have deployed my application on a clustered environment and used session created event to monitor the number of users login to each machine (Using SNMP MIB counters). But once a user is login to one machine counter gets updated in every machine. I believe this is

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

2008-07-30 Thread Filip Hanik - Dev Lists
this Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002, alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83

Re: Setting up Comet on Tomcat 6

2008-07-30 Thread Filip Hanik - Dev Lists
properly before I attempt to put any meat into this class. Anthony On 30/07/08 9:27 AM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: does your servlet iimplement the CometProcessor interface? Filip Talal Rabaa wrote: Hello! I apologize if this question has been asked many

Re: clustering: session replication

2008-07-22 Thread Filip Hanik - Dev Lists
in tomcat 6, you configure it using logging.properties for example org.apache.catalina.ha.level=FINE org.apache.catalina.tribes.level=FINE Filip nch wrote: Sorry, I'm running 6.0.13. Does it work the same? - Original Message From: Peter Rossbach [EMAIL PROTECTED] To: Tomcat

[Fwd: Re: Tomcat throws UnsupportedOperationException when is starting]

2008-07-22 Thread Filip Hanik - Dev Lists
sending to tomcat-user list, Original Message Subject:Re: Tomcat throws UnsupportedOperationException when is starting Date: Tue, 22 Jul 2008 11:14:13 -0600 From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: [EMAIL PROTECTED] References: [EMAIL PROTECTED

Re: clustering: session replication

2008-07-22 Thread Filip Hanik - Dev Lists
also, post your configuration, to make sure you have it right (server.xml and context.xml) Filip nch wrote: Hello, again. Well, I'm asking about how to enable cluster logging because I'm running an apache/mod_jk balanced two node cluster (without sticky session). Whenever a request is being

Re: in need of concepts

2008-07-20 Thread Filip Hanik - Dev Lists
start out by taking some servlet tutorials, if you understand servlets and web application archives (WAR) then tomcat wont be confusing anymore. Filip Deepak Mishra wrote: hi, i am pretty new to tomcat. currently i have tomcat6 on ubuntu-linux. i have pursued some books on tomcat , but they

Re: CometProcessor and DWR

2008-07-17 Thread Filip Hanik - Dev Lists
event.close() when we're done. Everything appears to be working OK now. Many thanks, Joe. On Thu, Jul 17, 2008 at 2:34 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: what does your HTTP request look like, it would need to have a body for the READ event to be called. currently READ doesn't

Re: Closing a CometEvent in Tomcat 6.0.16

2008-07-16 Thread Filip Hanik - Dev Lists
the error 'Connection reset by peer' can happen to a regular servlet as well, and is not specific to Comet. you will need to handle any errors where clients disconnect (as they are allowed to) in your application, regardless if you write comet or regular servlets. for the error

Re: CometProcessor and DWR

2008-07-16 Thread Filip Hanik - Dev Lists
for your connector element you must have protocol=org.apache.coyote.http11.Http11NioProtocol or protocol=org.apache.coyote.http11.Http11AprProtocol (and the APR and tcnative libraries in your PATH/LD_LIBRARY_PATH) Filip Joe Walker wrote: Hi, It looks like servlet spec 3 is wy off. So

Re: Version 6 Clustering problem

2008-07-14 Thread Filip Hanik - Dev Lists
={27 24 -73 72 48 -6 70 32 -90 57 51 106 -94 -54 126 -52 }, payload={}, command={}, domain={}, ] Similarly on the other two nodes. What am I missing ?? Should I add the Context distributed=True / to the server.xml files ? Thanks ahead, János On Jul 10, 2008, at 6:03 PM, Filip Hanik - Dev

Re: Cluster session replication problems

2008-07-14 Thread Filip Hanik - Dev Lists
hi Georgiu, I just tested your configuration on tomcat 6.0.17 with JDK 1.5 with no problem. can you send the stack trace of the error you are seeing, thanks Filip georgiu marius wrote: Hi ! I'm working with a cluster application using Tomcat-6.0.14 and I want to make session replication

Re: Version 6 Clustering problem

2008-07-14 Thread Filip Hanik - Dev Lists
, Filip Hanik - Dev Lists wrote: write your own webapp, to make sure you actually replicate serializable data Filip János wrote: Hi Filip, I added it in the catalina.sh file on all three nodes and I am not seeing the error. I also disabled IP6 in Network Preferences. I added the distrubuted

Re: CacheEventQueue.QProcessor Thread --Problem with JCS

2008-07-10 Thread Filip Hanik - Dev Lists
you might have more luck if you post to the JCS mailing list :) Filip Raghavendra Kumar Naik wrote: Hi Myself Raghu, is implementing the JCS for one of my projects.Here I use the concept of RemoteCacheServer and RemoteCacheClient. When I populate some 1 lakh objects from the client it

Re: tomcat 5.5.20 with jsvc crash

2008-07-10 Thread Filip Hanik - Dev Lists
are you seeing any errors reported in the tomcat log files? also make sure you didn't run into the linux oom-killer process, might have terminated your process to, this one would log into syslog Filip Umesh Kudtarkar wrote: Hi All, We are running Tomcat 5.5.20 on RHEL 4 with jsvc. After

Re: Version 6 Clustering problem

2008-07-10 Thread Filip Hanik - Dev Lists
try setting the |-Djava.net.preferIPv4Stack=true option for your tomcat launch Filip | János wrote: Hi, I am trying to establish a 3 member cluster on the same machine. Here is my server.xml copied from a sample I found on this list. ?xml version='1.0' encoding='utf-8'? Server port=8005

Re: Where is org.apache.webapp.balancer.rules.RoundRobinRule ??

2008-07-09 Thread Filip Hanik - Dev Lists
Shepherd, Mathew (IST) wrote: Thankyou! And for your prompt reply. Now to get it working... why would you want to use the tomcat-balancer app? if you are looking for load balancing, this is not really the route to take. take a look at mod_jk or mod_proxy_balancer used with httpd Filip

Re: OutOfMemoryError happening in embedded instance of Tomcat 6 (Apache OFBiz project)

2008-07-07 Thread Filip Hanik - Dev Lists
just use the -XX:+HeapDumpOnOutOfMemoryError and see what is causing the OOME Filip Jacopo Cappellato wrote: Hi all, I am one of the committers and PMC member of the Apache OFBiz project (ofbiz.apache.org). Our project is using an embedded instance of Tomcat to run the web applications

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-02 Thread Filip Hanik - Dev Lists
these method calls finish. It can last 10 minutes before Tomcat is able to serve new requests. When Tomcat starts to respond again, we can clearly see that some http threads returned to their waiting state. Thank you. Christophe. - Original Message - From: Filip Hanik - Dev Lists [EMAIL

Re: Tomcat 6 CometProcessor interface

2008-07-01 Thread Filip Hanik - Dev Lists
Ken Bowen wrote: This is a follow up on using Tomcat 6 and the CometProcessor interface: A. From Kris Zyp's post on [http://cometdaily.com/2007/12/10/comet-gazing-scaling/ ], with the Tomcat CometProcessor, connections and threads are decoupled, so that the number of connections

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-01 Thread Filip Hanik - Dev Lists
if you are using keep alive connections, (Tomcat default config) then once a request is done, the system goes into reading the next request, and that is done by calling parseRequestLine, so this is not a bottleneck, but expected behavior. if you switch to the NIO connector, that doesn't do

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-26 Thread Filip Hanik - Dev Lists
is that if filter parameter is empty for example: Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter= / i don't get any exceptions. In any other case null pointer exceptions occur. Filip Hanik - Dev Lists wrote: it happens on the line ReplicationValve.java 348 : Manager

Re: Enabling APR

2008-06-26 Thread Filip Hanik - Dev Lists
you can also do this by setting -Djava.library.path=/usr/local/apr/lib Filip Philip Wigg wrote: Fixed - Had to add:- export LD_LIBRARY_PATH=/usr/local/apr/lib to my startup.sh. 2008/6/26 Philip Wigg [EMAIL PROTECTED]: Hi, I believe I've enabled APR on my Tomcat installation. I can

Re: java.net.SocketException: Broken pipe?

2008-06-26 Thread Filip Hanik - Dev Lists
this would be the web server shutting down the connection, if you are using mod_jk, look at your mod_jk logs (or post them) together with your workers.properties settings Filip Milan Cvejic wrote: Hello, i am getting weird warning... this is a part from log file... This warning is happening

Re: reading POST body fails on 6.0.16, works on 6.0.14

2008-06-26 Thread Filip Hanik - Dev Lists
yes, its a bug, and will be fixed in 6.0.17, I think its bug 44494 https://issues.apache.org/bugzilla/show_bug.cgi?id=44494 Filip John Cartwright wrote: Hello All, I have a very simple doPost method that reads the body of a POST request. Seems to work fine on 6.0.14 but consistently fails

Re: NIO/Large-scale pushes to browsers/Jetty 6 Continuations

2008-06-26 Thread Filip Hanik - Dev Lists
Ken Bowen wrote: Hi All, I'm working on a project which has developed a need to push data from the server to browsers. In the short term, the numbers of browsers will be moderate, but in the long term, it appears that we will need to scale up to very large numbers, so the 'one thread per

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-25 Thread Filip Hanik - Dev Lists
what version of tomcat 6 are you using? Filip Milan Cvejic wrote: Hello, i am getting null pointer exceptions when i add the following line in server.xml Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter=.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt; /

Re: Tomcat cluster problem - null pointer exeptions - bad members

2008-06-24 Thread Filip Hanik - Dev Lists
you should add the TcpFailureDetector interceptor into the stack, as well as the async interceptor Interceptor className=org.apache.catalina.tribes.group.interceptors.TcpFailureDetector/ Interceptor

Re: Tomcat problems with large number of contexts in webapps

2008-06-13 Thread Filip Hanik - Dev Lists
if you use a more recent JDK, then the OutOfMemoryError should have an additional message, depending on what this message is, you'll need to apply different tuning parameters. so if you share the message with us, we can maybe help you, if your OOME doesn't have a message, upgrade your JDK and

Re: Tomcat to syslog

2008-06-13 Thread Filip Hanik - Dev Lists
you already posted this once Chris Pratt wrote: Hi all, Have a vanilla tomcat coherence instance logging to local files-- CATALINA_BASE/logs and CACHE/logs. I am implementing a central logserver and want to get these into the syslog. I tried: tail -f [file log] | logger -p local#.info but

Re: Any users with centralized logging?

2008-06-13 Thread Filip Hanik - Dev Lists
it would probably be easier to write a custom logger for the tomcat logger, that sends the entire message, as it is to where you want it Filip Chris Pratt wrote: Hi all, Have a vanilla tomcat coherence instance logging to local files-- CATALINA_BASE/logs and CACHE/logs. I am implementing a

Re: allow access without auth to app from several ip ranges , but leave auth from any other hosts

2008-06-13 Thread Filip Hanik - Dev Lists
hi Alex, that is an interesting use case. I don't think there is away to do this without doing some customization to the tomcat code base, such as implementing your own realm Filip Alex Mestiashvili wrote: HI ALL . I have basic authentication for my tomcat application . Now I want , allow

Re: OutOfMemoryError while deploying

2008-06-10 Thread Filip Hanik - Dev Lists
could you be running into http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6280693 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6332094 so an upgrade to the JVM might fix it Filip Reid Swanson wrote: Hi, I have a web app that includes a large amount of data and I am having trouble

Re: Tomcat 6 clustering problem

2008-06-10 Thread Filip Hanik - Dev Lists
worked fine for me, here are my config files and example JSP files http://people.apache.org/~fhanik/replicated-context-example.zip Filip gangadhar p wrote: Hi Guys, The Tomcat 6 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext,

Re: Problem with FarmWarDeployer

2008-06-09 Thread Filip Hanik - Dev Lists
no work has been done on the farm deployer, and I can't say it has been working reliably in 5.5 and 6.0 work and patches are welcome Filip Vicente Tarín Font wrote: Hi guys! I have a little problem with the FarmWarDeployer. Im using Tomcat 6.0.16 (win32), and I have 2 instances on the same

Re: Servlet + Corba Error - Access to the specified resource () has been forbidden.

2008-06-03 Thread Filip Hanik - Dev Lists
its really a corba questions, search in those forums http://java.sun.com/j2se/1.4.2/docs/api/org/omg/CORBA/LocalObject.html Filip Antonio González Artime wrote: Hello everybody: I'm trying to develop a simple application that uses a servlet and calls a Corba function; very similar to this

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
what does your log say? Filip gangadhar p wrote: Hi Guys, The Tomcat 6 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext, right ?) attributes are replicated across cluster members when the below element is added in either

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
managerClassName=org.apache.catalina.cluster.session.DeltaManager ? Or org.apache.catalina.session.PersistentReplicationManager is required to be set? Do you want to see my server.xml files and code? Thank you again. Filip Hanik - Dev Lists wrote: what does your log say? Filip gangadhar p

Re: Is Transfer-Encoding: chunked required for Comet?

2008-06-02 Thread Filip Hanik - Dev Lists
nope its not, if all you want to achieve is a long-poll (meaning you want to send the response async to the client, then you can use a content-length Filip Adam Kaupisch wrote: No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.4/1477 -

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
* attributes are replicated/shared across other cluster members? Context className=org.apache.catalina.ha.context.ReplicatedContext/ Thanks again. On 6/2/08, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: what do your logs say? gangadhar p wrote: Hi Filip, Thanks for your prompt

<    1   2   3   4   5   6   7   8   9   10   >