Re: tomcat 6 session replication issues

2009-04-06 Thread Filip Hanik - Dev Lists
Apr 1, 2009 3:28:42 AM org.apache.catalina.tribes.transport.nio.NioReceiver socketTimeouts WARNING: Channel key is registered, but has had no interest ops for the last 3000 ms. this is a sign of a thread being stuck, and its confirmed by the session transfer timing out. Do a thread dump on

Re: Session Replication in Cluster

2009-04-06 Thread Filip Hanik - Dev Lists
what you're seeing is correct. the server did fail over, and by changing the session id, it ensures that it does not do fail back Filip Roy McMorran wrote: Hello all, I've built a very simple 2-member Tomcat cluster for testing, but I am unable to get the session replication quite right.

Re: Catalina.log - repeating errors

2009-04-06 Thread Filip Hanik - Dev Lists
This would happen if the application has been shutdown and a new request happens concurrently. Are you hot redeploying the application? most likely you are, since the other scenario would be restarting tomcat. Filip Don Millhofer wrote: Hi, we have an application that was developed using

Re: apache-tomcat-jdbc-1.0.20-beta Abandoned Issue

2009-04-06 Thread Filip Hanik - Dev Lists
hi Roger, DBCP works the abandonment slightly different. It doesn't 'abandon' connections unless all connections are in use. This means you wont get notified of abandoned connections until you are actually using all, or all are abandoned. So if you used DBCP, you still might experience the

Re: Replicated context is failing...or not ?

2009-03-30 Thread Filip Hanik - Dev Lists
János Löbb wrote: On Mar 29, 2009, at 8:58 PM, Caldarale, Charles R wrote: From: János Löbb [mailto:janos.l...@yale.edu] Subject: Replicated context is failing...or not ? Mar 29, 2009 11:59:47 AM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase

Re: Replicated context is failing...or not ?

2009-03-30 Thread Filip Hanik - Dev Lists
remove the 'docBase' attribute from context.xml Filip János Löbb wrote: Hi, 3 machines, - pathsrv1, raid2b, reptile - Macs with OSX 10.5.6. Apache 2.2.9 mod_jk 1.2.26 and Tomcat 6.0.18. Every machine has one Tomcat instance and they form a cluster. Pathsrv1 act as a reverse proxy, so

Re: Training classes for Apache web server and Tomcat

2009-03-26 Thread Filip Hanik - Dev Lists
there are several companies offering training, including mine, www.springsource.com unique about springsource training classes is that they are taught by committers on the project Filip Jhary wrote: I am looking for good comprehensive training courses for installing, configuring and

Re: Setting Tomcat System Properies **without** -D on Command Line

2009-03-26 Thread Filip Hanik - Dev Lists
this is doable, just enter all your properties in catalina.properties first thing tomcat does is ... System.setProperties( - read catalina.properties - ) ; so you don't need them on the command line Mike Reidy wrote: Hello, I would like to be able to configure system properties at Tomcat

Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-24 Thread Filip Hanik - Dev Lists
you sure can, you can also use org.apache.tomcat.jdbc.pool.DataSource http://tomcat.apache.org/dev/dist/jdbc-pool/1.0-beta/ Filip Edoardo Panfili wrote: Hy, can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource in place of org.apache.commons.dbcp.BasicDataSource? If yes I can avoid to put

Re: Tomcat and Database Problem

2009-03-23 Thread Filip Hanik - Dev Lists
use the validationQuery attribute for your connection pool. the validationQuery executes a query against the database before the connection is returned to the application, and validates that the connection actually works Filip CutKiller wrote: Hi all I have this scenario: |Tomcat| -

Re: tracing port to port

2009-03-17 Thread Filip Hanik - Dev Lists
wireshark.org André Warnier wrote: Hi. I know this is only tenuously Tomcat-related, and apologise in advance. I'll be content with one-liners. I have to trace the byte data that circulates back and forth between a Tomcat servlet (the tenuous connection) and a separate Java daemon to

Re: tomcat database connection pool

2009-03-13 Thread Filip Hanik - Dev Lists
don't forget the best mail archive browser that I have encountered *http://tinyurl.com/blhhks* Real URL:

Re: Tomcat Clustering trouble when starting up under high load

2009-03-11 Thread Filip Hanik - Dev Lists
hi Mikel, when setting a property on the Manager you omit the manager. prefix, just as you stated. To do thread dumps with JDK 1.5 under windows, you can use the tanuki service wrapper http://people.apache.org/~fhanik/wrapper.html The tomcat team might have added that feature to the Tomcat

Re: Need Hellp With Tomcat 6 / Apache 2.2 Cluster Problem

2009-03-11 Thread Filip Hanik - Dev Lists
a great day. From: Filip Hanik - Dev Lists [devli...@hanik.com] Sent: Tuesday, March 10, 2009 1:22 PM To: Tomcat Users List Subject: Re: Need Hellp With Tomcat 6 / Apache 2.2 Cluster Problem Alston, Brian (US SSA) wrote: Filip Thank you for your

Re: Regarding Tomcat 5.5 clustering

2009-03-11 Thread Filip Hanik - Dev Lists
to test failover setup a simple load balancer, like 'pen' or more advanced like the apache web server 'httpd' and hit the load balancer with requests Filip welcome.partha wrote: Hi Everyone, Now i am trying to creating the clustering in tomcat5.5.17. I have downloaded

Re: Need Hellp With Tomcat 6 / Apache 2.2 Cluster Problem

2009-03-10 Thread Filip Hanik - Dev Lists
what does the cluster section of your httpd look like? Alston, Brian (US SSA) wrote: I have one Apache http server version 2.2.3 (on Red Hat Enterprise Linux 5) and three Tomcat 6 version 6.0.18 servers (on Windows Server 2003) running in my cluster. Everything appears to be working well. It

Re: Need Hellp With Tomcat 6 / Apache 2.2 Cluster Problem

2009-03-10 Thread Filip Hanik - Dev Lists
Deny,Allow Allow from all /Location /IfModule From: Filip Hanik - Dev Lists [devli...@hanik.com] Sent: Tuesday, March 10, 2009 11:29 AM To: Tomcat Users List Subject: Re: Need Hellp With Tomcat 6 / Apache 2.2 Cluster Problem what does the cluster section

Re: Need Hellp With Tomcat 6 / Apache 2.2 Cluster Problem

2009-03-10 Thread Filip Hanik - Dev Lists
. From: Filip Hanik - Dev Lists [devli...@hanik.com] Sent: Tuesday, March 10, 2009 12:42 PM To: Tomcat Users List Subject: Re: Need Hellp With Tomcat 6 / Apache 2.2 Cluster Problem hi Brian, your stickysession attribute is wrong, it should look like |stickysession=JSESSIONID

Re: making compression work using GzipInterceptor in tomcat cluster

2009-02-27 Thread Filip Hanik - Dev Lists
hi Amit, I will take a look Filip Amit Chandel wrote: I have been able to set up a working tomcat cluster with 2 physically separate tomcat instances (IP: 172.17.1.102 and 172.17.1.103) with tomcat version 6.0.10, using following config (showing just one here, the other one is similar instead

Re: Tribes

2009-02-19 Thread Filip Hanik - Dev Lists
that is cause *one* of my flaws as a developer is that I'm not very good at writing and maintaining docs there is a bit more here http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-channel.html the rest is in the code of the library, which isn't that big. if you have any specific questions

Re: Clustering probleme

2009-02-19 Thread Filip Hanik - Dev Lists
It's a serialization error. One of the attributes in your session that was serialized on serverA, failed to deserialize on serverB Are you possible running different versions of the same class on the two servers? Filip Stephane DUCAS wrote: Hello I've tryed vertical clustered tomcat

Re: nio connector configuration

2009-02-19 Thread Filip Hanik - Dev Lists
peter, if you post your test code packaged in such a way that who ever helps you doesn't have to reverse engineer your app to setup the test case and test it locally, then you most likely wont have to pay anyone to help you. The more effort you provide in providing information to the list,

Re: Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Filip Hanik - Dev Lists
search the sun database, some results there http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6521677 supposedly fixed in Java 7 :( Filip Taylan Develioglu wrote: Hi Guys, Our application is a servlet running in a container in Tomcat standalone. It uses the following NIO connector

Re: Trouble with cluster and JMX

2009-02-12 Thread Filip Hanik - Dev Lists
Eric B. wrote: Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:49937f4b.9050...@hanik.com... sure turn on org.apache.catalina.ha.level = FINE org.apache.catalina.tribes.level = FINE in logging.properties however, regular membership discovery over multicast show up even

Re: Simple Tomcat 6, servlet tutorial. First draft for comment

2009-02-11 Thread Filip Hanik - Dev Lists
seconds and then issue a kill -9 if the process is still running Filip Dave Pawson wrote: 2009/2/10 Filip Hanik - Dev Lists devli...@hanik.com: What benefit do you get from running it with JSVC, vs just writing a simple script into /etc/init.d/ to manage it yourself? It was offered

Re: Trouble with cluster and JMX

2009-02-11 Thread Filip Hanik - Dev Lists
sure turn on org.apache.catalina.ha.level = FINE org.apache.catalina.tribes.level = FINE in logging.properties however, regular membership discovery over multicast show up even without these entries did you mark your webapp distributable/ Filip Eric B. wrote: Filip Hanik - Dev Lists devli

Re: comet end vs. client_disconnect

2009-02-11 Thread Filip Hanik - Dev Lists
Peter Warren wrote: How do I distinguish between a comet END event generated due to a client disconnect and an end event generated for some other reason? I'm using tomcat 6.0.18 with the nio connector. On both windows xp sp3 and ubuntu 8.10, I'm seeing END events generated when a client

Re: Session replication problem

2009-02-10 Thread Filip Hanik - Dev Lists
.tomcat8081 to replicate their sessions What I see in the log is all see all sessions e.g. server1.tomcat8080, server2.tomcat8080, server1.tomcat8081 server2.tomcat8081 replicate the sessions all together Thanks a lot, Mohamedin - Original Message - From: Filip Hanik - Dev Lists

Re: Clustering: Session replication

2009-02-10 Thread Filip Hanik - Dev Lists
For each Tomcat set Receiver address=your-ip-goes-here ... / http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-receiver.html that way you broad cast your-ip-goes-here instead. alternatively, setup your hostname properly, and make sure the hostname resolves to the IP address, and not

Re: Trouble with cluster and JMX

2009-02-10 Thread Filip Hanik - Dev Lists
log looks good, the warning could be that you are using an old configuration option take a look at http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html also, what could mean that it doesn't work, would be that multicast is not working for you, and you need to enable multicast. you can

Re: Simple Tomcat 6, servlet tutorial. First draft for comment

2009-02-09 Thread Filip Hanik - Dev Lists
What benefit do you get from running it with JSVC, vs just writing a simple script into /etc/init.d/ to manage it yourself? Filip Dave Pawson wrote: http://www.dpawson.co.uk/tomcat Any feedback/improvements appreciated. Particularly any errors. Meant as a simple example of getting a first

Re: comet loop after webapp re-start

2009-02-09 Thread Filip Hanik - Dev Lists
are you not getting the END event at all, even after the app is reloaded? Filip Peter Warren wrote: I'm running tomcat 6.0.18 on Ubuntu 8.10. I have a comet application that maintains an open connection with tomcat. If I re-start my webapp and then close the client connection, tomcat goes

Re: Session replication problem

2009-02-09 Thread Filip Hanik - Dev Lists
Mohamedin wrote: I have a problem with Session replication. I am running multible tomcat instance on the same server. And I have 4 servers of the same configuration (Multible tomcat instances). I have enabled the session replication on these 4 servers (In each instance with different port).

Re: help Comet Tomcat

2009-02-02 Thread Filip Hanik - Dev Lists
If you simply are looking for an example to use the CometProcessor interface, there is a module that is built around it https://svn.apache.org/repos/asf/tomcat/trunk/modules/bayeux/ Filip sam wrote: I am new to COMET in Tomcat, someone could show me one example on using COMET in Tomcat

Re: AJP vs HTTP connectors?

2009-02-02 Thread Filip Hanik - Dev Lists
first and foremost, always apply ol' grandpa's logic The famous quote is if it ain't broke, don't fix it So if you are using something that is working, don't even consider switching just cause some dude on a webinar told you so. That should take you 90% of the way. The rest is understanding

Re: Transfer all HttpSessions from one cluster node to another

2009-01-30 Thread Filip Hanik - Dev Lists
Filip nlif wrote: Filip, Thanks. If you could elaborate some more, then maybe I can go ahead and implement this, and I'd be happy to send you the result, so you can use it and save yourself some of the work. Naaman Filip Hanik - Dev Lists wrote: nlif wrote: Hi all, We intend to run

Re: Tomcat Clustering trouble when starting up under high load

2009-01-30 Thread Filip Hanik - Dev Lists
state transfer timeout -1 is not a good setting. one should prefer to timeout rather than getting stuck, even if the timeout means we didn't get everything you may also try the backup manager, which does the state transfer in a bit smarter manner. when your system is stuck, then thread

Re: Slightly OT: ApacheCon Europe 2009

2009-01-30 Thread Filip Hanik - Dev Lists
Gregor Schneider wrote: Hi Mark, knowing those conferences, I know how hard it is to get hands on the speaker ;) I've registered for the 3 conference days only plus tuesday hackaton. I've got actually no idea how the hackaton works, but I'm curious to meet some of you guys. So if you have

Re: Question abut CometProcessor EventSubType.TIMEOUT semantics

2009-01-26 Thread Filip Hanik - Dev Lists
David Boreham wrote: Filip Hanik - Dev Lists wrote: are you able to submit a simple example, and we shall get it taken care of Yes...but only in the parallel universe where I have loads of spare time ;) 0.18 like the people helping you for free on the mailing lists? :) Realistically it'd

Re: Question abut CometProcessor EventSubType.TIMEOUT semantics

2009-01-25 Thread Filip Hanik - Dev Lists
are you able to submit a simple example, and we shall get it taken care of Filip David Boreham wrote: David Boreham wrote: Filip Hanik - Dev Lists wrote: are you calling response.flushBuffer() to flush your data? No, I was calling response.getOutputStream().flush(). I'll try your suggestion

Re: Transfer all HttpSessions from one cluster node to another

2009-01-25 Thread Filip Hanik - Dev Lists
nlif wrote: Hi all, We intend to run in a cluster, with stickiness enabled, and without replication. This of course does not give us failover capabilities, in case of a server crash, but it is sufficient for our needs. However, we would like to be able to transfer all sessions currently on

Re: Question abut CometProcessor EventSubType.TIMEOUT semantics

2009-01-24 Thread Filip Hanik - Dev Lists
are you calling response.flushBuffer() to flush your data? that is probably what you are missing David Boreham wrote: I'm re-writing an application to use the CometProcessor interface. Generally things are working but despite several late evenings single-stepping through the connector code,

Re: Help: Connecting Tomcat to CA-IDMS using JDBC Type 4 Drivers (JNDI / IDMSDataSource)

2009-01-14 Thread Filip Hanik - Dev Lists
you are calling this method public Connection getConnection(String username, String password) throws SQLException { throw new UnsupportedOperationException(Not supported by BasicDataSource); } try calling DataSource.getConnection() without a username and password Filip

Re: Clustering Dies with error.

2009-01-13 Thread Filip Hanik - Dev Lists
hi Nick, the issue in the email was caused by a dead lock in 6.0.14 and was later resolved. Upgrading to 6.0.18 should take care of the problem Filip Nick Ascione wrote: Filip, I am having the exact issue that is referred to in the link below. I have tried the recommended workarounds but I

Re: Help: Connecting Tomcat to CA-IDMS using JDBC Type 4 Drivers (JNDI / IDMSDataSource)

2009-01-13 Thread Filip Hanik - Dev Lists
If your JDBC driver has a DataSource, then check to see if it has a javax.naming.spi.ObjectFactory implementation, this is the one you would specify in the factory=some.impl.DataSourceFactory attribute, for example. Some drivers don't have factories, and then you simply use Tomcat's own

Re: How to handle Expect: 100-continue

2009-01-13 Thread Filip Hanik - Dev Lists
handling half of the POST, while it is up to to servlet to read and parse the other half. Is that the expected process when dealing with 100-continue? Filip Hanik - Dev Lists wrote: if you use wireshark, you should see that Tomcat already does it automatically. if you look at the code

Re: How to handle Expect: 100-continue

2009-01-13 Thread Filip Hanik - Dev Lists
Nathan Ashworth wrote: Thanks, Filip. Upon further investigation, we've discovered that our POSTs were bigger than the default maxPostSize value (2MB). The call to getParameter(foo) was returning null and doing a trace showed that the client was not sending the body. good catch It appears

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

2009-01-12 Thread Filip Hanik - Dev Lists
-dump-three-times.txt Thread-dump-three-times.txt Filip Hanik - Dev Lists wrote: Could you take more than one thread dump, take 3, wait 5 seconds between each. As you can see, the startup thread is still executing your application code com.valleyoak.util.IVosTableInfo, this is the thread

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

2009-01-08 Thread Filip Hanik - Dev Lists
/file/p21347289/CheatSheet-Tomcat6-hangs-if-put-distributeable-tag.rtf CheatSheet-Tomcat6-hangs-if-put-distributeable-tag.rtf Filip Hanik - Dev Lists wrote: 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

Re: Tomcat 6; getting logging to work

2009-01-07 Thread Filip Hanik - Dev Lists
have you defined 6mmi.org.apache.juli.FileHandler I don't see that in your addition Filip juan.velez wrote: I followed the directions in that link (http://tomcat.apache.org/tomcat-6.0-doc/logging.html) and my logging messages still do not show up. I mean, I see the INFO messages generated by

Re: Tribes Startup Help

2009-01-07 Thread Filip Hanik - Dev Lists
hi Mike, it all looks good. There is one side effect you may not be aware of. by default the 'receiver' autobind is enabled. that means if receiver.setPort(port) is not available, it will increment the port number and try again. so the actual port might be different from what you think you

Re: Tomcat 6; getting logging to work

2009-01-07 Thread Filip Hanik - Dev Lists
, \ 3manager.org.apache.juli.FileHandler, 4admin.org.apache.juli.FileHandler, \ 5host-manager.org.apache.juli.FileHandler, 6mmi.org.apache.juli.FileHandler, \ java.util.logging.ConsoleHandler Filip Hanik - Dev Lists wrote: have you defined 6mmi.org.apache.juli.FileHandler I don't see

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

Re: NullPointerExceptions on startup with NIO connector

2008-12-23 Thread Filip Hanik - Dev Lists
the issue :) Filip Hanik - Dev Lists wrote: 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 devli...@hanik.com To: Tomcat Users List users

Re: NullPointerExceptions on startup with NIO connector

2008-12-23 Thread Filip Hanik - Dev Lists
, Dec 24, 2008 at 11:01 AM, Filip Hanik - Dev Lists devli...@hanik.com wrote: already there http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?r1=719262r2=719267 Filip ssenecal wrote: Is there any chance of getting this backported

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread Filip Hanik - Dev Lists
) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) Filip Hanik - Dev Lists wrote: post the actual error you see with the new config arturoguedez wrote

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

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