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: 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 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-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 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: 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 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: 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

[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: 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

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: 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: 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-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-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: 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: 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-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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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: Session replication for JPetStore application in tomcat 6

2008-11-12 Thread Filip Hanik - Dev Lists
looks like its working, what is it that you don't think is working or would like help with? 6 nov. 2008 17:08:30 org.apache.catalina.ha.session.DeltaManager getAllClusterSessions ATTENTION: Manager [localhost#/jpetstore], requesting session state from

Re: Session replication for JPetStore application in tomcat 6

2008-11-12 Thread Filip Hanik - Dev Lists
on each of nodes clustered for session replication to happen ? I wish to do some load testing too with jmeter to see how the load is distributed between workers. Any help will be greatefully appreciated ! Best Regards, Anupam Filip Hanik - Dev Lists wrote: looks like its working, what

[ANNOUNCE] Beta candidate for Tomcat connection pool

2008-11-12 Thread Filip Hanik - Dev Lists
The Apache Tomcat team announces the immediate availability of Apache Tomcat JDBC Connection Pool Apache Tomcat Connectors version 1.0.1-beta is a new module within the Tomcat development realm, aimed to provide a high performance, concurrent and extensible connection pool to the Tomcat

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: Tomcat 5.5.23 Cluster Problem - (memberDisappeared)

2008-11-13 Thread Filip Hanik - Dev Lists
/ deployDir=/tmp/war-deploy/ watchDir=/tmp/war-listen/ watchEnabled=false/ ClusterListener className=org.apache.catalina.cluster.session.ClusterSessionListener/ /Cluster /Host /Engine /Service /Server 2008/11/13 Filip Hanik - Dev

Re: Encrypting database resouce password

2008-11-13 Thread Filip Hanik - Dev Lists
if you digest the password to the database, how is tomcat supposed to pass it to the database? Filip Kevin Nash wrote: Hello, I'm using apache-tomcat-5.5.26, Oracle 10.2.0.3, java version 1.5.0_14 I have a data resource defined in the server.xml and I wish to create a digest of the

Re: Tomcat 6.0.18 - cluster problems!

2008-11-13 Thread Filip Hanik - Dev Lists
this is your problem SEVERE: Parse Fatal Error at line 19 column 2: The markup in the document following the root element must be well-formed. org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed. at

Re: Tomcat 6.0.18 - cluster problems!

2008-11-13 Thread Filip Hanik - Dev Lists
org.apache.catalina.startup.Catalina start INFO: Server startup in 2588 ms Thanks again! 2008/11/13 Filip Hanik - Dev Lists [EMAIL PROTECTED] this is your problem SEVERE: Parse Fatal Error at line 19 column 2: The markup in the document following the root element must be well-formed

Re: Tomcat 6.0.18 - cluster problems!

2008-11-13 Thread Filip Hanik - Dev Lists
I also see you have the Cluster element under Host, put it under Engine instead Filip Filip Hanik - Dev Lists wrote: node one log says INFO: Receiver Server Socket bound to:/127.0.0.1:4000 Nov 13, 2008 7:56:42 PM node two log says INFO: Receiver Server Socket bound to:/127.0.0.1:4000 Nov 13

Re: Problem with Beta candidate for Tomcat connection pool

2008-11-14 Thread Filip Hanik - Dev Lists
Thanks Mark for the report, no not at all. I will push out a fix today. Filip Mark Shifman wrote: I installed the new Tomcat connection pool and it worked ok yesterday. First thing this morning it threw this exception below. (I snipped out a bunch of stuff but can send the whole thing if it

Re: Problem with Beta candidate for Tomcat connection pool

2008-11-14 Thread Filip Hanik - Dev Lists
Mark, this was fixed in 1.0.3-beta, thanks for helping us out! http://tomcat.apache.org/dev/dist/jdbc-pool/1.0-beta/ Filip Mark Shifman wrote: I installed the new Tomcat connection pool and it worked ok yesterday. First thing this morning it threw this exception below. (I snipped out a

Re: [ANNOUNCE] Beta candidate for Tomcat connection pool

2008-11-14 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat JDBC Connection Pool The download page for this component says Tomcat 6. Is this component

Re: Tomcat 6 clustering problem...rltd to context path

2008-11-14 Thread Filip Hanik - Dev Lists
you need to deploy the app on node 2 as well, it says the app is not installed there Filip rohit aman wrote: *I have two tomcats (tomcat 6)** setup on two separate machines. I have a hardware load balancer with scheduling method configured to round robin.* ** *each tomcat recognizes the other

Re: CometProcessor questions

2008-11-17 Thread Filip Hanik - Dev Lists
hi Franck, are you using this Bayeux impl? http://svn.apache.org/viewvc/tomcat/trunk/modules/bayeux/ or do you have your own? Filip Franck Wolff wrote: Hi, I'm developing Tomcat/Comet support for Granite Data Service http://www.graniteds.org (Flex clients) and I've got few questions about

Re: Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Filip Hanik - Dev Lists
inline: Manu_SF wrote: Hi, After some digging through and still not able to get it work, I thought of posting it here... Here's what I am trying to accomplish: * Have Apache as a Loadbalancer for 2 Tomcat 6 instances - All running on the same Linux box * Implement the session persistence

Re: Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Filip Hanik - Dev Lists
Manu_SF wrote: Thanks a ton, Filip. Here are the details about the 3 questions you asked. Please tell me what am I missing here? 1. distributable tag: There's no Context attribute in either web.xml or server.xml, but however context.xml in the same conf directory had Context tag, for which I

Re: problem with Connection pooling in tomcat 5.5

2008-11-18 Thread Filip Hanik - Dev Lists
the factory factory=oracle.jdbc.driver.OracleDriver should not be a driver, but a factory object for a javax.sql.DataSource Filip Felix Schumacher wrote: Am Dienstag, den 18.11.2008, 23:37 +0530 schrieb Sridhar n: Hello friends, I am doing small web application ,in that I am doing

Re: CometProcessor questions

2008-11-18 Thread Filip Hanik - Dev Lists
it only does POST, no GET messages, there is a patch pending (and one already applied) for 6.0 when it comes to comet, so testing with trunk would be best Filpi Franck Wolff wrote: Hi again, I just checked the Bayeux in Tomcat and it cannot work for me: it seems to only support GET

Re: CometProcessor questions

2008-11-19 Thread Filip Hanik - Dev Lists
hi Franck, Franck Wolff wrote: Hi Filip, Ok, my (partly) mistake. I've missread this comment: ///GET method or application/x-www-form-urlencoded/ in BayeuxServlet.checkBayeux... Anyway, I can't change everything now and I need to read the request input stream (I'm getting AMF3 binary

Re: cluster configuration

2008-11-19 Thread Filip Hanik - Dev Lists
just to make sure 1. you are using 6.0.18 and 2. the IP you are trying to bind to is valid and 3. could you be using linux? this is the code that is telling you about the failure 186 : fhanik 586228 if (mcastBindAddress != null) { 187 : try { 188 :

Re: SSL setup question

2008-11-20 Thread Filip Hanik - Dev Lists
the infinite loop is fixed in 6.0.18, the system will still not start, since the JVM you're running with doesn't support the type of cipher that you're keystore is trying to use search http://tomcat.markmail.org for the same error, it's been answered before Filip Neil B. Cohen wrote: I'm

Re: CometProcessor questions

2008-11-20 Thread Filip Hanik - Dev Lists
Franck Wolff wrote: Hi Filip, Hum... I need a CometProcessor (long-polling) for data push, even if requests/responses are encoded in AMF3. you can do this, that's ok. Not as efficent as using send file, which you could write your own long poll servlet to do (see DefaultServlet.java how to

Re: CometProcessor questions

2008-11-20 Thread Filip Hanik - Dev Lists
for very small responses you don't need send file, and can just write the response out to the servlet output stream on an async thread while the request thread is used to do other stuff in the contains Filip Franck Wolff wrote: I'm not doing file streaming... A typical usage of my

Re: tomcat 6 clustering issue

2008-11-20 Thread Filip Hanik - Dev Lists
this message 2008-11-20 17:08:29.999 [main] [INFO] org.apache.coyote.http11.Http11Protocol - Stopping Coyote HTTP/1.1 on http-8080 tells us that you stopped the tomcat instance Filip rohit aman wrote: Hi, I have a tomcat cluster ( with tomcat 1 and tomcat 2 ) with a hardware load

Re: Connectors and apache with mpm worker

2008-11-21 Thread Filip Hanik - Dev Lists
remove this worker.maintain=30 worker.worker1.connection_pool_size=1 for now, and just accept the defaults Filip Martin Spinassi wrote: Hi everyone! I'm doing some performance tests under apache and tomcat using jakarta connectors. Searching around, I've read about apache-worker (not

Re: cluster configuration

2008-11-21 Thread Filip Hanik - Dev Lists
, exception handling? } } } -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: November 19, 2008 5:01 PM To: Tomcat Users List Subject: Re: cluster configuration just to make sure 1. you are using 6.0.18 and 2. the IP you are trying to bind

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-11-24 Thread Filip Hanik - Dev Lists
post a sample app, and we can test it out Filip rohit aman wrote: Hi, I had setup a tomcat cluster with two nodes. followed the instructions from tomcat 6 clustering how to document. I created a sample application to test out my cluster. This application has a cart where u can add items.

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-11-25 Thread Filip Hanik - Dev Lists
, Filip Hanik - Dev Lists [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: post a sample app, and we can test it out Filip rohit aman wrote: Hi, I had setup a tomcat cluster with two nodes. followed the instructions from tomcat 6 clustering how

Re: Threadpool doesn't contain any threads

2008-11-26 Thread Filip Hanik - Dev Lists
could just be flaky jmx code, meaning we don't publish completely accurate numbers Filip Kees Jan Koster wrote: Dear Praveen, Everyday we are noticing the tomcat not responding on a port. On further inspection we noticed that the thread pool that is serving this port has no threads. Right

Re: Tribes and IPv6 Support

2008-12-02 Thread Filip Hanik - Dev Lists
Thanks Mike, This would really be a JVM issue, and it doesn't look that promising http://x86.sun.com/thread.jspa?messageID=10274291 http://forums.java.net/jive/thread.jspa?messageID=247308 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4640544 Filip Mike Wannamaker wrote: I'm having an

Re: Unable to stop SimpleTcpReplicationManager

2008-12-04 Thread Filip Hanik - Dev Lists
If you are using Tomcat 6, you can also use BackupManager Filip Pieter Temmerman wrote: This problem is solved. I replaced the SimpleTcpReplicationManager by the DeltaManager and everything works as expected. On Wed, 2008-12-03 at 23:48 +0100, Pieter Temmerman wrote: Hi all, I'm having

Re: Rogue https threads

2008-12-04 Thread Filip Hanik - Dev Lists
a simple upgrade to 6.0.18 would most likely solve your problem Filip Robert J Morman wrote: Good afternoon. We have a problem with our production tomcat server in that the CPU will climb after a restart from 1-2% to 100%. The rate of climb corresponds to the amount of traffic we receive

Re: tomcat gets stuck after a load for streams writing

2008-12-08 Thread Filip Hanik - Dev Lists
6.0.18 tons of bug fixes (and security) Filip Michal Singer wrote: * I see that the requests processors increase but it does not stop the stuck * The data base is slow on get connection but i checked the connections and i still have many left that can be used * i see that the active threads

Re: Saved state has incompatible save version

2008-12-09 Thread Filip Hanik - Dev Lists
I don't think that is a Tomcat error, more likely to come from the application running inside tomcat Filip [EMAIL PROTECTED] wrote: Dear all, i got this error message in catalina.out: FATAL ERROR: Saved state has incompatible save version Does anybody know what this means and what causes

Re: tomcat 6.0.18 clustering.. session getting replicated partially

2008-12-10 Thread Filip Hanik - Dev Lists
item to the first 6 items and the 3 items we added later can not be seen) Thanks for the help rohit On Tue, Nov 25, 2008 at 10:20 AM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: you're attachment didn't go through, just post a complete example somewhere on the web. for free support, you

Re: A few clustering related doubts

2008-12-15 Thread Filip Hanik - Dev Lists
Pieter Temmerman wrote: Hi I got a Tomcat cluster set up, which is working for most applications. However, since I am experiencing some problems (See another thread of mine Deltamanager + Session beans: Do they like eachother?), I reread the Tomcat clustering documentation. The following are a

Re: DeltaManager + Session beans: Do they like eachother?

2008-12-15 Thread Filip Hanik - Dev Lists
the DeltaManager (and BackupManager 6.0) only triggers on setAttribute/removeAttribute so this wont work Cart cart = (Cart)session.getAttribute(cart); cart.addItem(cucumber); the simple tcp replication manager replicates the entire session and is able to capture this scenario but that is not

Re: tomcat 6 delta manager dirtyFlag

2008-12-16 Thread Filip Hanik - Dev Lists
rohit aman wrote: Hi, I have tomcat cluster setup and it's working fine. All I need to do now is to replicate the session after every request. For

Re: TOMCAT Win Server 2003

2008-12-16 Thread Filip Hanik - Dev Lists
you probably compiled your .class using JDK 1.6, and then you run Tomcat using JDK 1.5 Filip gen wrote: Hi, All Thanks in advance, I need helps on the follows. I have the following problems/questions. 1. Is TOMCAT6 running at the platform of Win server 2003? 2. I faied to install

Re: How do you determine the amount of Tomcat threads in use?

2008-12-16 Thread Filip Hanik - Dev Lists
I'd say this is the best way to do it, since it gives you an accurate count. Filip Mark Stevens wrote: Hi all, Just a quick question on how to see threads in use, I have been using prstat -L -p tomcat java process, however I suspect this is not the correct way to do it. Thanks, Mark.

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread Filip Hanik - Dev Lists
here is the name you specify res-ref-namejdbc/my_jdbc_name/res-ref-name and here is your error Could not find datasource:jdbc/workout_logger as you can see, somewhere you have configured the string workout_logger, and that one doesn't exist Filip arturoguedez wrote: Hi! I have been

Re: Using precompiled JSPs

2008-12-22 Thread Filip Hanik - Dev Lists
http://people.apache.org/~fhanik/precompile.html Filip motit wrote: 1. see my ant script below 2. I didn’t change the jasper’s package name hierarchy (e.g org.apache.jsp) 3. I did update my war’s web.xml with the jspservet mapping with *.jsp 4. I have assisted by

Re: Tomcat 6 does not start in a cluster. It simply hangs... Any Idea..

2008-12-22 Thread Filip Hanik - Dev Lists
When this happens, simply take a thread dump, and we can see why it is hanging Unix: kill -3 pid jstack -l pid Windows Ctrl+Break in the console jstack -l pid Filip jsandhu2204 wrote: Problem1 : While starting tomcat6, sometimes it starts other times it simply hangs on the following

Re: problem in getting large object in pooled database

2008-12-22 Thread Filip Hanik - Dev Lists
accessToUnderlyingConnectionAllowed=true see exact steps here http://commons.apache.org/dbcp/configuration.html Filip ahmet temiz wrote: hello I try to develop jsf application with pooled postgresql and tomcat 6. when I try to retrieve large object, I get exception. here is the code that

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread Filip Hanik - Dev Lists
strings for my_jdbc_name for the posting. I guess I forgot to rename the in the error. other than that, do you see anything else wrong? Filip Hanik - Dev Lists wrote: here is the name you specify res-ref-namejdbc/my_jdbc_name/res-ref-name and here is your error Could not find datasource:jdbc

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread Filip Hanik - Dev Lists
a library or something in the classpath of tomcat? I already have the mysql connector library ( I had my DB connections working fine without datasources before, but I am trying to switch to using datasources). Thanks again Arturo Filip Hanik - Dev Lists wrote: put this Resource name=jdbc

  1   2   3   4   5   6   7   8   9   10   >