Re: JSTL

2005-11-28 Thread Lists
Try this. download : http://cvs.apache.org/builds/jakarta-taglibs/nightly/ In unix gzip -c ~/dls/jakarta-taglibs-20051122.tar.gz | tar xvf - mv jstl.jar and standard.jar (from jakarta-taglibs/standard/lib/) to $CATALINA_HOME/shared/lib Now its available to all your webapps.. This would

Re: JDBC/MySQL user login goes stale

2005-11-29 Thread Lists
This is an interesting problem. But first try setting autoReconnect=true in your connections string. If you continue to experience a timeout.. Check the logs, and see what specifically is happening. You may be experiencing an exhaustion of connections not being released properly. If

Re: JSP on apache

2005-11-29 Thread Lists
Mukesh, I would use tomcat with Apache to accomplish this... Or jetty. the links are below: To integrate the Tomcat server processes with the Apache HTTP server we need the mod_jk module, which implements the interface between Tomcat and Apache, combined with some small steps to

Tomcat - threads / throughput limits?

2007-11-08 Thread lists
Hi, We have an architecture where we have many tomcat app servers load balanced by apache at the front. In resolving our current bottleneck i used JProfiler to see what the tomcat applications were doing and when under high load there are a lot of threads which are blocked on this:

Re: Tomcat - threads / throughput limits?

2007-11-08 Thread lists
Have you tried running your profiler against a tomcat not doing ANY requests? I agree with Jim on this one - These are threads WAITING on a connection... and not doing anything. Have a look in tomcat manager, and then you can see how many 'free' connections you have. We only see the

CPU usage quirk with multiple tomcat instances

2008-05-02 Thread Lists
Hi, We have a Tomcat app that is loadbalanced by hardware. I have 4 boxes available in our test env, all of which vary slightly but not massively in spec. Anyway I moved from 2 tomcat instances on each machine ( listening on different ports ) down to 1 and I noticed for the same load the cpu

Re: CPU usage quirk with multiple tomcat instances

2008-05-02 Thread Lists
My guess (and that's all it is) is that you have eliminated much of the context-switching overhead that two instances would have compared to one. Ah I see. I guess i can look at that with mpstat and look at things like thread migrations etc. Important because if we install more CPU's i guess

Re: CPU usage quirk with multiple tomcat instances

2008-05-06 Thread Lists
Message From: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: CPU usage quirk with multiple tomcat instances Date: 04/05/08 12:49 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Da, Lists wrote: |gt; My guess (and that's all

Re: CPU usage quirk with multiple tomcat instances

2008-05-08 Thread Lists
we use sar and look at cpu utilisation.. - Original Message From: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: CPU usage quirk with multiple tomcat instances Date: 07/05/08 08:13 btw, how do you measure it? vmstats? top?

Re: CPU usage quirk with multiple tomcat instances

2008-05-12 Thread Lists
no; We run sar and capture data every 5 seconds. - Original Message From: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org, Lists [EMAIL PROTECTED] Subject: Re: CPU usage quirk with multiple tomcat instances Date: 08/05/08 10:21 but sar

RE: Coyote connector and documentation..

2008-07-29 Thread Lists
Ok thats great, I think i came across the 4.1 connector docs by googling and wasnt able to navigate to that page easily! Thanks. Dan - Original Message From: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: RE: Coyote connector and

Does the http connector have any kind of debug logging?

2008-08-01 Thread lists
Hi, I've been trying to enable debug logging on my http connector, but it never seems to go anywhere. ( Tomcat 5.5 ) I tried debug=4 in the connector but that didnt seem to generate something. Is there a full class name for the connector i can use, and set that to DEBUG in the log4j perhaps?

Re: Configuring second tomcat instance on same box

2009-09-17 Thread lists
before yo go lambasting about the inner workings of email, read the RFC. Now we've all made the mistake of changing subject lines. So can we please move on now Thanx Sent via BlackBerry from T-Mobile - To unsubscribe, e-mail:

Re: Tomcat hangs on Startup

2009-09-23 Thread lists
Path perhaps ? What's defined for java_home ? Sent via BlackBerry from T-Mobile - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Keepalives with tomcat 5.5 http connector?

2010-06-09 Thread lists
Hi, Having done some packet tracing with tomcat6 vs tomcat5.5 it seems that the 5.5 http connector doesnt support keepalives. Is that right? The doco is unclear, however i did read somewhere, that the connectionTimeout in tomcat5.5 is used for the keepalive timeout? However I cant get this to

RE: Keepalives with tomcat 5.5 http connector?

2010-06-09 Thread lists
Sure: java version 1.5.0_08 Solaris 10 x86 Servlet Engine: Apache Tomcat/5.5.17 The connector is setup like so: Connector port=8090 maxHttpHeaderSize=8192 maxThreads=400 minSpareThreads=150 maxSpareThreads=300 enableLookups=false connectionTimeout=5

Re: HTTP error response payload

2020-02-08 Thread tomcat-lists
Hi Saurav, On 08.02.20 07:47, Saurav Sarkar wrote: > Through tomcat access valve i can view the HTTP request url ,response code > etc. > > But i can not view the error response being sent in the form of JSON > payload. > > Is their any valve/filter/ any other setting on tomcat level which can >

Re: Archive or package install

2021-06-18 Thread tomcat-lists
Hi Onno, On 18.06.21 07:07, Sugar Moose wrote: > I am using Ansible role robertdebock.tomcat to install Tomcat. This role uses > archives from the Tomcat site to install Tomcat. I have always thought that > this is a fine approach but the customer has pointed out that a package > install is

Re: Archive or package install

2021-06-18 Thread tomcat-lists
Hi Christopher, On 18.06.21 20:54, Christopher Schultz wrote: >> I would only stick to the distro-provided packages, if it is a small >> (in other words not that important) application running in Tomcat. Just >> for reference: With Ubuntu 18.04, you would end up >> with 9.0.16 vs. 9.0.48 (Tomcat

Re: tomcat logging

2022-06-09 Thread tomcat-lists
Hi Alan, On 09.06.22 12:56, Alan F wrote: > Tomcat logging > > I would like to add a delimiter or characters " " around {user-agent} for > logging, I wanted it in double quotes for example "Mozilla 5.0.." but can't > seem to make it work. Or even adding a # symbol before would help any

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
file.. Sep 5, 2008 8:51:30 PM org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'clientAuth' to 'true' did not find a matching property. The SSL attributes for the Connector lists clientAuth as a valid attribute

[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
Lists [EMAIL PROTECTED] 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: 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

  1   2   3   4   5   6   7   8   9   10   >