Re: Is it possible to have shared JDBC resources in Tomcat 6.0 cluster?

2010-09-18 Thread Peter Rossbach
HI, you can check HA JDBC. http://ha-jdbc.sourceforge.net/doc.html Peter Am 10.09.2010 um 10:59 schrieb Michael Knümann: Hi I'm currently working on migrating single server web application for deployment in a cluster. We have JDBC connection pools to talk with several databases. I'm

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

2008-10-08 Thread Peter Rossbach
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 URIEncoding=UTF-8 / Connector

Re: Basic Tribes Questions

2008-10-08 Thread Peter Rossbach
HI Mike, tribes is part of tomcat. Yoo can find the svn repo links at http://tomcat.apache.org/svn.html Peter Am 08.10.2008 um 17:18 schrieb Mike Wannamaker: Cool, Is there a repository to just get the tribes jar or just the tribes source without having to get all of tomcat to get it?

Re: Managing Tomcat 6 threads : How to make tomcat destroy threads when idle?

2008-10-07 Thread Peter Rossbach
Hi Rohan, at tomcat 6 you must use an external executor thread pool to decrease idle threads: Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=2000 minSpareThreads=20/ Connector executor=tomcatThreadPool port=8080 protocol=HTTP/1.1

Re: clustering: session replication

2008-07-22 Thread Peter Rossbach
Hi, at tomcat 5.5 cluster you can use the cluster logging. Look at tomcat docs http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

Re: Tomcat Cluster - node02 is invalid, removed or not replicated at this node.

2008-02-22 Thread Peter Rossbach
HI Andrew, Your mcastDropTime=1000 is to low. Please set it to 3 and it is true that you must wait 35 sec before you can restart a cluster node. Use the Java Service Wrapper or add this to your start scripts to configure this. Peter Am 22.02.2008 um 11:48 schrieb Andrew Hole:

Re: Tomcat 5.5.26 - JMXAdaptorLifecycleListener issues

2008-02-21 Thread Peter Rossbach
Hi Vishal, I see the problems and think I can fix it. At my test env (Linux, Mac OS x) the Registry and Platform MBeanServer are the same. I can see all Tomcat Mbeans at my jconsole. Many thanks, Peter Am 16.02.2008 um 23:18 schrieb Vishal Goenka: 2. JMXAdaptorLifecycleListener

Re: Cluster Not Syncing After Restart

2008-01-21 Thread Peter Rossbach
Yes, you are right! Feedback welcome :-) Peter Am 18.01.2008 um 22:24 schrieb David Rees: On Jan 18, 2008 1:13 PM, David Rees [EMAIL PROTECTED] wrote: So your testing is with the to-be-released 5.5.26? Where can I get a copy of this and the changes going into 5.5.26? I found the

Re: Cluster Not Syncing After Restart

2008-01-18 Thread Peter Rossbach
17.01.2008 um 09:24 schrieb David Rees: On Jan 17, 2008 12:16 AM, Peter Rossbach [EMAIL PROTECTED] wrote: you can't restart your nodes so quickly. As you shutdown one node you must wait 30-45 sec before next restart. Don't restart both nodes at same time. I am waiting at 4 minutes before

Re: Cluster Not Syncing After Restart

2008-01-17 Thread Peter Rossbach
Hi David, you can't restart your nodes so quickly. As you shutdown one node you must wait 30-45 sec before next restart. Don't restart both nodes at same time. Peter Am 17.01.2008 um 02:25 schrieb David Rees: I'm running a Tomcat 5.5.25 cluster with 2 nodes and the following cluster

Re: Can you call an MBean programatically from the command line?

2008-01-10 Thread Peter Rossbach
HI, use groovy with JMX. http://groovy.codehaus.org/Groovy+and+JMX http://jagger.berlios.de/ Regards Peter Am 10.01.2008 um 16:08 schrieb Dan: Hi, I use JProfiler amongst other tools and this has some useful MBeans which i'd like to activate at a given point from a scheduled job. All

Re: looking for sample MBean code for tomcat 6

2008-01-09 Thread Peter Rossbach
Please read this: http://java.sun.com/developer/technicalArticles/J2SE/jmx.html http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/tutorialTOC.html Peter Am 09.01.2008 um 08:03 schrieb Frank Z: hello, I am looking some sample MBean code for TC 6.0.. I was able to model some code

Re: looking for sample MBean code for tomcat 6

2008-01-09 Thread Peter Rossbach
Message From: Peter Rossbach [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, January 9, 2008 1:20:10 AM Subject: Re: looking for sample MBean code for tomcat 6 Please read this: http://java.sun.com/developer/technicalArticles/J2SE/jmx.html http://java.sun.com

Re: Monitoring Tomcat Clusters

2008-01-08 Thread Peter Rossbach
Hi! A very fine new Eclipse plugin make the monitoring live easier: http://jmxplorer.sourceforge.net/wiki/index.php/Managing_Tomcat and for admin access give the jagger cli/jmx interface a chance: http://jagger.berlios.de/ The lamdaprobe console had also a nice tomcat 5.5 jmx cluster

Re: Tomcat 5.5.20+ behind an F5 Load Balancer doing SSL Connector problem

2008-01-07 Thread Peter Rossbach
Hi, use a quot at AccessLogValve pattern to a muliple value field. quot;%{X-Forwarded-For}iquot; %l %u %t quot;%rquot; %s %b Look the following definition: http://en.wikipedia.org/wiki/X- Forwarded-For First value is the client ip. Peter Am 05.01.2008 um 22:19 schrieb Rainer Jung: Hi

Re: Tagging mod_jk 1.2.26

2007-12-21 Thread Peter Rossbach
Hi Rainer, I have successfully test new mod_jk 1.2.26-dev with MacOS X Tiger 10.4.11 (Intel) and Leopard 10.5.1 PPC64. At all my test cases I see now the uri maps from all vhosts and the new JkMountCopy All also work well. The only mapping that we don't present is the jkstatus mappings! The

Re: mod_jk for OS X PPC

2007-11-01 Thread Peter Rossbach
Hi! thanks for the nice tipp, but the result is: /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc -I/usr/ include/apache2 -arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/ apr-1 -arch ppc -arch ppc64

Re: mod_jk for OS X PPC

2007-11-01 Thread Peter Rossbach
Hi, this is not true. I have build a mod_jk ppc65 only binary and runit successfull at my G5 with standard Leopard apache2.2.6 installation. Peter Am 30.10.2007 um 17:28 schrieb BuildSmart: On Oct 30, 2007, at 10:37:13, Richard Doust wrote: Alex, QuadG5:native jboss$ ./configure

Re: mod_jk for OS X PPC

2007-10-29 Thread Peter Rossbach
Hi, I have build my own mod_jk 1.2.25 module at Leopard: Install current Mac Ports sudo port install autoconf sudo port install apr sudo port install apr-util # use gnu libtool ln -s /opt/local/bin/glibtool /opt/local/bin/libtool ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize

Re: Trouble with mod_jk and passthrough authentication [Virus checked]

2007-06-18 Thread Peter Rossbach
Hi, Which auth method and realm config you use at your webapp? Which auth method you use at your apache config? The AJP protocoll transfer all auth information from apache to tomcat. With ajp connector attribute tomcatAuthentication=true (default) tomcat reauth the request. regards Peter

Re: Session Replication in Tomcat5.5.17

2007-06-18 Thread Peter Rossbach
Look at current tomcat docs http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html http://tomcat.apache.org/connectors-doc/reference/workers.html http://tomcat.apache.org/connectors-doc/generic_howto/workers.html Peter Am 18.06.2007 um 17:45 schrieb shiva sha: Hi I try to implement

Re: problem with tomcat clusters sso with apache load balancer

2007-05-03 Thread Peter Rossbach
Hi, the clusterSSO implementation is not ready: - at normal shutdown from one application or a node all sessions are expired. clusterSSO is a normal session listener and context stop expires all sessions. - The sessionID rewrite from JvmRouteBinderValve are not coordinated with

Re: Comet: problem with request.getParameter() in Comet POST requests

2007-05-02 Thread Peter Rossbach
Hi Am 02.05.2007 um 17:26 schrieb Sebastiaan van Erk: Hi, How about not arguing about everything ? It is your fault when parameters are not processed. Tomcat will process parameters with comet. No, Comet will not process parameters in POST requests if you call getParameter() in the BEGIN

Re: Jconsole and remote monitoring

2007-05-02 Thread Peter Rossbach
Please use CATALINA_OPTS to set jmx options. The catalina.sh stop command use only JAVA_OPTS and not CATALINA_OPTS. Peter Am 02.05.2007 um 18:09 schrieb Rainer Jung: You neded to change your start/stop scripts, so that they use the management parameters only in the starting case and not in

Re: how to close a comet request outside of an event?

2007-04-29 Thread Peter Rossbach
Hmm, good point, but the HTTP/1.1 Spec RFC2616 (chapter 8.1, 14.10) not describe that server must close the connection as header Connection: close is set. This means that tomcat currently wait for socket timeout before connection is close. I have analyse the tomcat 6 trunk and see that we

Re: Tomcat 6.0.x OpenEJB

2007-04-13 Thread Peter Rossbach
, 2007, at 6:44 AM, Peter Rossbach wrote: It is true the tomcat 6 default classloader layout has changed. At the release bundle all class are located at common Classloader. You can easly switch to the old layout. Please edit the file conf/catalina.properties and move some files arround :-) Aha

Re: Tomcat 6.0.x OpenEJB

2007-04-12 Thread Peter Rossbach
It is true the tomcat 6 default classloader layout has changed. At the release bundle all class are located at common Classloader. You can easly switch to the old layout. Please edit the file conf/catalina.properties and move some files arround :-) Regards Peter Am 12.04.2007 um 09:50

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-18 Thread Peter Rossbach
Hmm, use multiple vhost for your three installations or different webapp names (/myapp1, /myapp2, /myapp3). mod_rewrite rewrite the uri before mod_jk handle the request! Regards Peter Am 17.01.2007 um 17:09 schrieb Ortwin Glück: Hi, I have 3 Tomcat instances, each running a different

Re: AW: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-18 Thread Peter Rossbach
- Von: Peter Rossbach [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. Januar 2007 08:45 An: Tomcat Users List Betreff: Re: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response Hmm, It is not true, that multiple session replications are processed of one request

Re: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-17 Thread Peter Rossbach
Hi you can give o.a.c.cluster.session.SimpleTcpReplicationManager a chance, but I don't know it works really. Regards Peter Am 16.01.2007 um 15:57 schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi Filip, I understand that I will just change the session in a way the delta manager will

Re: AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-17 Thread Peter Rossbach
it really looks like the only way to replicate the complete session is to implement a filter or valve. Regards Andy -Ursprüngliche Nachricht- Von: Peter Rossbach [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. Januar 2007 09:43 An: Tomcat Users List Betreff: Re: AW: AW: Tomcat 5.5

Re: Apache+Tomcat+mod_jk+cookie+Rewrite

2007-01-06 Thread Peter Rossbach
Right, is the url at same domain you can use emptySessionPath at your connector configuration. Connector emptysessionPath=true ... / Docs say: set to true, all paths for session cookies will be set to /. This can be useful for portlet specification implementations, but will greatly

Re: session replication/tomcat 5.5

2006-11-14 Thread Peter Rossbach
Am 13.11.2006 um 20:27 schrieb David O'Dell: Is anyone using session replication in production? Yes, at really big sites :-) Is there an alternative to using multicasting? No, but you can implement you own membership service. In the doc

Re: Tomcat 6 and comet

2006-11-13 Thread Peter Rossbach
Hi, Comet style communication work also with the new NIO Connector. Test it with Tomcat 6.0.1 or the svn trunk. Connector port=8084 URIEncoding=UTF-8 connectionTimeout=30 protocol=org.apache.coyote.http11.Http11NioProtocol/

Re: Tomcat Cluster problem. skipping state transfer. No members active in cluster group

2006-10-26 Thread Peter Rossbach
I think you have a network routing problem. Read the cluster help: http://tomcat.apache.org/faq/cluster.html Regards Peter Am 25.10.2006 um 06:20 schrieb hotszkin: I am trying to setup a tomcat cluster as told in the tomcat cluster document. There are 3 PCs in my environment. All of

Re: Tomcat Cluster problem. skipping state transfer. No members active in cluster group

2006-10-26 Thread Peter Rossbach
00 lo [EMAIL PROTECTED] bin]# exit Script done on Thu 26 Oct 2006 03:42:43 PM CST Any suggestion? HoTszKin - Original Message - From: Peter Rossbach [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 26, 2006 2:00 PM Subject: Re

Re: moving the context xml from $CATALINA_BASE/conf/

2006-10-19 Thread Peter Rossbach
Hi, you can confgure defaults at $CATALINA_BASE/conf/context.xml or $CATALINA_BASE/conf/Catalina/localhost/context.xml.default. Please read http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Regards Peter Am 19.10.2006 um 00:16 schrieb Molina, Teresa: Does anyone know how to

Re: Using a custom connector in Tomcat 5.5

2006-10-17 Thread Peter Rossbach
HI Mladen, good way! But sometimes the changes are inside the Adapter Class and then you must change the connector class. +1 to have the attribute className back Peter Am 17.10.2006 um 09:36 schrieb Mladen Turk: Jacob Marcus wrote: Hi, The examples no longer show the className

Re: AXIS: tomcat always do http compression without watch min size

2006-10-05 Thread Peter Rossbach
Which mime type send axis as responce? Peter Am 05.10.2006 um 09:46 schrieb wakeup: Hi, I have an apache tomcat 5.5.17. In my server.xml file I have put Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443

Re: help with session replication using PersistentManager and FileStore

2006-10-03 Thread Peter Rossbach
Simple, Don't use it! Use real In Memory- session replication and Non-Stickyness is not support and usefull at java web application. Please, read the servlet spec. Peter Am 03.10.2006 um 22:46 schrieb Matthew Kennedy: We have a load balancer and several Tomcat instances. Currently this

Re: Tomcat 5.5 Clustering Problem

2006-09-26 Thread Peter Rossbach
Strange! mcastClusterDomain is set a McastService constructor public McastService() { properties.setProperty(mcastClusterDomain, catalina); } Please don't use a real loadbalancer like apache with mod_jk instead the crazy redirect thing at

Re: Client Real Source IP!

2006-09-21 Thread Peter Rossbach
You can access the header with ServletRequest.getHeader, getHeaders, getHeadersNames. Read Servlet Spec 2.4 or 2.5 Headers 4.3 Wrote your own Valve or ServletFilter Regards Peter Am 22.09.2006 um 06:44 schrieb Alexander Khoo: Dear All, We currently have Tomcat Version5 install

Re: Reminder: Preparation for mod_jk release vote

2006-09-20 Thread Peter Rossbach
mod_jk 1.2.19 +1 works with MAC OSX :-) Regards Peter Am 20.09.2006 um 14:17 schrieb Rainer Jung: Hi, I shortly want to remind everyone, that our release vote for mod_jk 1.2.19 will start tomorrow. So all users still have some time to give us positive or negative feedback on the

Re: How to trim Catalina.out ?

2006-09-19 Thread Peter Rossbach
Use rotatelogs from apache or cronlog at catalina.sh|bat Regards Peter Am 19.09.2006 um 10:01 schrieb [EMAIL PROTECTED]: Hi, I have my application running on tomcat for quite a long time. I discovered a large amount of space taken up by the tomcat logs like catalina.out. Is there any

Re: tomcat jmx agent question

2006-09-14 Thread Peter Rossbach
Hi, please read the docs http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html Regards Peter Am 14.09.2006 um 11:23 schrieb Michele Mazzucco: Hi all, which kind of JMX connector does tomcat uses, rmi? If it is rmi, which port is it used? In which class is the JMX agent started? Thanks,

Re: tomcat jmx agent question

2006-09-14 Thread Peter Rossbach
Hi, Am 14.09.2006 um 16:25 schrieb Michele Mazzucco: Thanks Peter. Peter Rossbach wrote: Hi, I don't know about this experiment, but it seems not finished. Please, use sun jdk command line args to start your jmx adapter. I though tomcat used mx4j. Only with JDK 1.4. See JDK 1.4

Re: Problem in configuring tomcat and apache

2006-09-14 Thread Peter Rossbach
Use ${catalina.base} instead. Peter Am 14.09.2006 um 16:06 schrieb jbashir: I am configuring tomcat and apache through mod_jk on Linux. In the server.xml file in /TOMCAT_HOME/conf, I have added this line: Listener className=org.apache.jk.config.ApacheConfig

Re: tomcat jmx agent question

2006-09-14 Thread Peter Rossbach
remote nodes (from the admin console)?, should I start a rmiregistry in my web application? If yes, which port is it used? Thanks, Michele Peter Rossbach wrote: Hi, Am 14.09.2006 um 16:25 schrieb Michele Mazzucco: Thanks Peter. Peter Rossbach wrote: Hi, I don't know about

Re: 5.5.17 cluster doesn't sync sessions on startup

2006-09-07 Thread Peter Rossbach
Hi Ronald, 5000 small sessions are really sync very fast with tomcat 5.5.17 also. I have test this and it works. Tomorrow I have more time to simulate your case. regards peter Am 07.09.2006 um 20:33 schrieb Ronald Klop: Thanks for your anser. I'm going to look into this. I have some

Re: mod_jk log level and logging issues

2006-08-10 Thread Peter Rossbach
Hi Rainer, really good idea to fix the worker logging ++1... === Peter Rainer Jung schrieb: Hi, thanks for the feedback. Good info! fredk2 schrieb: issue 1: With mod_jk 1.2.15 i set my jk log level: JkLogFile logs/mod_jk.log #JkLogLevel info JkRequestLogFormat %w

Re: Mbean uses in Tomcat 5.5.17

2006-07-30 Thread Peter Rossbach
see http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html peter Am 31.07.2006 um 07:27 schrieb Raju Balugu: Hi All , Could you please let me know the uses of Mbean in Tomcat 5.5.17? We recently upgraded to tomcat5.5.17 from Tomcat 4.1.29. Regards Raju

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Peter Rossbach
Min=1024m Max=1024m also.I tried with both 512m also. But in both the occasion it is the same result. Thank you for your kind attention. I want further clarifications. Best regards, Dilan -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Sunday, June 18, 2006 7:37 AM

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Peter Rossbach
weather there is any effect on my server? Can you please explain me the risk. Or is it ok to run the server with this configuration?. Thanks and best regards, Dilan -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Sunday, June 18, 2006 8:14 PM To: Tomcat Users List

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-17 Thread Peter Rossbach
Hi, Which JVM memory parameter you use? At pooled mode use more receiver worker set tcpThreadCount=6! You really need deployer? Deployer generate at every startup a large cluster message. Regards Peter Am 18.06.2006 um 06:22 schrieb Dilan Kelanibandara: Hello , I am getting

Re: Query Regarding Clustering

2006-06-02 Thread Peter Rossbach
Hi, please use 5.5.17 and read the tomcat 5.5 cluster docs. Sorry, but tutorials and real design docs not exists. Regards Peter Am 02.06.2006 um 07:54 schrieb Sandeep Gaikwad: Hi All, I am trying to devlop Horizontal clustering for tomcat 5.5.9. I am new to this field so

Re: Query Regarding Clustering

2006-06-02 Thread Peter Rossbach
across Two machine? -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 11:41 AM To: Tomcat Users List Subject: Re: Query Regarding Clustering Hi, please use 5.5.17 and read the tomcat 5.5 cluster docs. Sorry, but tutorials and real design

Re: ClassCastException on cluster deserialization

2006-05-21 Thread Peter Rossbach
Hmm, you are right... I see that we only set context classloader at DeltaManager.loadDeltaRequest at deserialize information Loader loader = null; ClassLoader classLoader = null; //fix to be able to run the DeltaManager //stand alone without a container.

Re: Using Tomcat as a reverse proxy

2006-05-03 Thread Peter Rossbach
Look here: PippoProxy http://www.javaworld.com/javaworld/jw-02-2005/jw-0228-pippo_p.html Last year at google summer camp http://j2ep.sourceforge.net/ But Apache mod_proxy has very much good perfomance and configure options :-) Regards Peter Am 03.05.2006 um 17:08 schrieb Andrew Miehs:

Re: name-based virtual hosts with Tomcat and APR using SSL

2006-04-29 Thread Peter Rossbach
Can you give some hints that normaly works for OpenSSL? Peter Am 29.04.2006 um 17:04 schrieb Marc-Olaf Jaschke: Hi, I try to to use Tomcat with APR and name-based virtual hosts using SSL. I've read the documentation for Tomcat/APR and searched the web, but cannot find anything about

Re: name-based virtual hosts with Tomcat and APR using SSL

2006-04-29 Thread Peter Rossbach
understood your question correctly. Marc-Olaf Peter Rossbach schrieb: Can you give some hints that normaly works for OpenSSL? Peter Am 29.04.2006 um 17:04 schrieb Marc-Olaf Jaschke: Hi, I try to to use Tomcat with APR and name-based virtual hosts using SSL. I've read the documentation

Re: Tomcat clustering session data

2006-04-21 Thread Peter Rossbach
Hi, currently the Tomcat 5.0 and 5.5 only supports session replication, also JBoss to that. Filip has start a new cluster module and this version supports also application context replication. Look at tomcat source catalina/modules/ha and test it. Peter Am 20.04.2006 um 18:04 schrieb

Re: min/maxSpareThreads not working with APR

2006-04-18 Thread Peter Rossbach
I thing that is normal! Currently the APR Connector not implement a shrinking thread pool! The trick is: Implementation is easier and for a high load szenario the APR use a pooler buffer instead a a lot of new thread like the normal Java based connectors. s. APR Connector documentation or

Re: IE 20 session cookies limitation

2006-04-17 Thread Peter Rossbach
Option is Connector emptySessionPath=true ... / Then all webapps share the same session id. Cheers Peter Am 16.04.2006 um 15:12 schrieb Tim Funk: Check the docs - there is an option that will allow tomcat to use the same jsessionid for all webapps. -Tim Rick Wong wrote: It's been a

Re: Performance issue with Tomcat 5.0

2006-04-13 Thread Peter Rossbach
Use Ctrl Break at your cmd shell. regards Peter Am 13.04.2006 um 11:05 schrieb Ronald Klop: Do 'kill -QUIT pid-of-process' and look in your logs for the stacktraces about what thread is doing what. Or run 'jstack pid-of-process'. This works on Unix/Linux. I don't know how to do this on

Re: Apache Tomcat Bundle

2006-04-11 Thread Peter Rossbach
Nice plan, we talk about this last week at developer list. I thing good starting points are http://centaurus.sourceforge.net http://lambdaprobe.org Help is very welcome. Let us discuss at developer list and start to build a new tomcat management console. Cheers Peter Am 11.04.2006 um

Re: W3C Extended Log Format

2006-04-06 Thread Peter Rossbach
Look at class o.a.c.valves.ExtendedAccessLogValve at the Source Distribution. This AccessLogger is currently not documented :-( You can configured this Logger conform to the http://www.w3.org/TR/WD-logfile.htm spec. Regards Peter Am 06.04.2006 um 23:26 schrieb Bernie Durfee: Is there a

Re: FarmWarDeployer ROOT.war - / - How to?

2006-04-01 Thread Peter Rossbach
post from Peter Rossbach saying that it SHOULD be the appBase. [http://marc.theaimsgroup.com/?l=tomcat-userm=113828526109819w=2] On Thursday 26 Jan 2006 11:33, Peter Rossbach wrote: Please, set the deployDir to your webapps dir. Peter ha ha, :) Peter has a habit of changing underlying

Re: FarmWarDeployer ROOT.war - / - How to?

2006-03-31 Thread Peter Rossbach
to the webapp directory? no it should not, cause you would double deploy your app, and that is why you get an error but that seemed to only copy the war no, it deployed it, just didn't expand it, there is no reason to expand it Filip and a more recent post from Peter Rossbach saying

Re: Cluster member discovery

2006-03-27 Thread Peter Rossbach
Thanks, I have correct the wrong name at server.xml comment. The current cluster Howto describe the corrent mcastBindAddress parameter name. Sorry! Peter Am 27.03.2006 um 19:30 schrieb Parham, Clinton: Hi Filip, I have figured out (for the most part) what is happening: Using Ethereal,

Re: Tomcat cluster and redirecting to the same address

2006-03-17 Thread Peter Rossbach
We mark all SessionID with a node marker! Setup with Engine jvmRoute=node1 The mod_jk or mod_proxy_ajp make then the correct routing. The algo extract the worker name from cookie or url rewrite parameter jsessionid. Read Cluster Doc and mod:jk doc

Re: Tomcat clustering

2006-03-17 Thread Peter Rossbach
Yes and no! Speak with your network admin that the multicast send to other global machine. Not working over normal internet ways! I thing clustering is made for local network failover. What you need are cluster domains. Gropus of clusters with a separate loadbalancer to route request

Re: Tomcat 5.0.28 Clustering and Load Balancing

2006-03-17 Thread Peter Rossbach
- Dev Lists: Peter Rossbach has done a great job documenting most of it here. http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html Filip Dadyala, Manjeet S wrote: I’m new to Tomcat and am in the process of investigating the configuration of Tomcat 5.0.28 on RedHat Linux (AS 3) and Load

Re: manager-remove/undeploy without losing sessions

2006-03-15 Thread Peter Rossbach
Your filter show only that the class implements java.io.Serializable and not that the object is really serializable ;-( A good live session analyze shows the probe tomcat manager. http://tomcatprobe.org regards Peter Am 15.03.2006 um 14:59 schrieb Tim Lucia: You may also find the following

Re: Problems with the ReplicationValve

2006-03-15 Thread Peter Rossbach
Hey Michael, yes that is true here my fix: ReplicationValve: protected void resetReplicationRequest(Request request, boolean isCrossContext) { Session contextSession = request.getSessionInternal(false); if(contextSession != null contextSession instanceof

Re: AW: Problem disabling session serialization duing shutdown.

2006-03-14 Thread Peter Rossbach
or shorter with Context docBase=/your-doc-base path=/your-context Manager pathname= / /Context at tomcat 5.5 add the description at your META-INF/context.xml Context Manager pathname= / /Context or at the conf/context.xml :-)

Re: manager-remove/undeploy without losing sessions

2006-03-14 Thread Peter Rossbach
Hmm, I thing you are right. ContextConfig.destroy() remove the working dir after undeploy the app. /** * Process a destroy event for this Context. */ protected synchronized void destroy() { // Called from StandardContext.destroy() if (log.isDebugEnabled())

Re: manager-remove/undeploy without losing sessions

2006-03-14 Thread Peter Rossbach
'-attribute to manager-deploy would have just this effect. If anyone has a good idea how to do this, please let me know. All other please vote for this enhancement because we have lost a very nice feature here. kind regards, Reinhard Am Dienstag, 14. März 2006 15:44 schrieb Peter Rossbach

Re: double cluster in one server.xml?

2006-03-04 Thread Peter Rossbach
= / /Host Host name=test2.example.com appBase=webapps autoDeploy=false ... /Host /Engine regards Peter Am 02.03.2006 um 17:38 schrieb Filip Hanik - Dev Lists: I'm gonna let Peter Rossbach give you the final answer since he developed the simpleconfig concept. My guess is yes, if your

Re: double cluster in one server.xml?

2006-03-04 Thread Peter Rossbach
04.03.2006 um 15:59 schrieb Filip Hanik - Dev Lists: if you have an engine cluster and two webapps with the same name, one in each host, how does it know which one it is? Filip Peter Rossbach wrote: Yes, you must use different domains, but you can also used an engine level cluster module

Re: 5.5.15 exception about key 'standardSession.setAttribute.ise'

2006-02-22 Thread Peter Rossbach
Are you sure that you not destory your session before you set an attribute at your LoginServlet? The missing message key is fixed for Tomcat 5.5.16. o.a.c.cluster.session.LocalString.properties standardSession.setAttribute.ise=setAttribute: Session already invalidated Peter Am 22.02.2006

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Peter Rossbach
multicasting working and you might have to setup some routes to help. Check with your sysadmin. Filip Peter Rossbach wrote: Hey, 1)Clustering need sticky_session=true and is only design for failover (see servlet spec). 2)Are your sure that MULTICAST is enabled at eth0

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Peter Rossbach
/15/06, Peter Rossbach [EMAIL PROTECTED] wrote: Hey, 1) Clustering need sticky_session=true and is only design for failover (see servlet spec). 2) Are your sure that MULTICAST is enabled at eth0? regards Peter [EMAIL PROTECTED] Am 15.02.2006 um 02:26 schrieb David Avenante: Hi, I

Re: Tomcat 5.5.15 Clustering ?

2006-02-14 Thread Peter Rossbach
Hey, 1) Clustering need sticky_session=true and is only design for failover (see servlet spec). 2) Are your sure that MULTICAST is enabled at eth0? regards Peter [EMAIL PROTECTED] Am 15.02.2006 um 02:26 schrieb David Avenante: Hi, I' ve try to use Tomcat 5.5.15 in cluster mod. And

Re: Problem with using tomcat Datasource inside a servlet.

2006-01-29 Thread Peter Rossbach
-5.5-doc/jndi-datasource-examples- howto.html Peter Am 28.01.2006 um 14:54 schrieb Legolas Woodland: Peter Rossbach wrote: Wrong lookup name: Use: java:comp/jdbc/be_Publisher Peer Am 28.01.2006 um 11:03 schrieb Legolas Woodland: java:comp/env/jdbc/be_Publisher); I change it according

Re: Problem with using tomcat Datasource inside a servlet.

2006-01-28 Thread Peter Rossbach
Wrong lookup name: Use: java:comp/jdbc/be_Publisher Peer Am 28.01.2006 um 11:03 schrieb Legolas Woodland: java:comp/env/jdbc/be_Publisher); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: FarmDeployer - removing webapp on deploy?

2006-01-25 Thread Peter Rossbach
Is your deployDir the host appBase (webapps) directory? Check that tempDir,deployDir and watchDir are exists and read/writeable at all nodes. Configure debug logging at FarmWarDeployer package conf/logging.properties org.apache.catalina.cluster.deploy.level=FINE See what happens... Peter Am

Re: Can i upgrade just one of my clusters

2006-01-25 Thread Peter Rossbach
You must install the same tomcat release at all boxes. The cluster protocol has changed! Peter Am 25.01.2006 um 16:45 schrieb Randy Paries: Hello, I am running a clustered env Two boxes RH9 and tomcat 5.0.24 These two boxes are clustered together via tomcat I am getting ready to ugrade

Re: 2nd Request: How do you programmatically determine Tomcat Version

2006-01-18 Thread Peter Rossbach
OK, this is a very useful information and I add this to this information to the Server mbean. The fix included at 5.5.16. Thanks peter Am 18.01.2006 um 09:53 schrieb Rodrigo Ruiz: Hi Andy, I agree with you. The application version seems to be a relevant information piece. I guess

Re: Problem with JK connector

2006-01-18 Thread Peter Rossbach
You must used JkEnvVar apache env var default value You envVar can be accessed with request.getAttribute(apache env var) Peter Am 18.01.2006 um 17:30 schrieb Michael Li: I added the following lines to apache httpd.conf JkEnvVar entrust-client JkEnvVar entrust-client-info JkEnvVar

Re: Secure Tomcat replication for WAN

2006-01-14 Thread Peter Rossbach
Hey, I think you must implement your own Membership service. Then you can use a TCP Ping strategie. Regards Peter Am 14.01.2006 um 00:32 schrieb Gmail User: Has anyone implemented some replication strategy for Tomcat on WAN. It is my understanding that the regular replication mechanism

Re: How stable is 5.5.15?

2006-01-05 Thread Peter Rossbach
Hey, we now start the testing phase of 5.5.15 release. I have some customer that used a 5.5.14 with the 5.5.15 cluster patches at production system. regards, Peter Am 05.01.2006 um 13:10 schrieb Ronald Klop: Hello, Sorry for pushing, but how stable can I expect Tomcat 5.5.15 to be in

Re: How stable is 5.5.15?

2006-01-05 Thread Peter Rossbach
Hey Dennis, can you please, send your log information of the SessionAlreadyInvalidation errors? Every hint is welcome... thanks for testing Peter Am 05.01.2006 um 17:09 schrieb Dennis: Ronald Klop wrote: Hello, Sorry for pushing, but how stable can I expect Tomcat 5.5.15 to be in a

Re: How stable is 5.5.15?

2006-01-05 Thread Peter Rossbach
This seems more that your application code access session attributes after the session is invalid. Review your application page flow! Peter Am 05.01.2006 um 17:27 schrieb Dennis: Peter Rossbach wrote: Hey Dennis, can you please, send your log information of the SessionAlreadyInvalidation

Re: DeltaManager and useDirtyFlag

2006-01-04 Thread Peter Rossbach
It is only usefull for SimpleTcpReplicationManager. The DeltaManager can detect the change attribute and replicate only this part of the session. Peter Am 04.01.2006 um 20:18 schrieb Dennis: The clustering documentation says that the useDirtyFlag can be used to configure the number of

Re: Cluster Administration - Hitless upgrade

2005-12-31 Thread Peter Rossbach
I have also add ant task to automate the mod_jk 1.2.15 status worker operations. The tomcat-jkstatus-ant.jar exits inside tomcat 5.5.14 release. Here my example: Please, change the worker names - begin example jkstatus.xml ?xml version=1.0 encoding=ISO-8859-1? !-- @author Peter Rossbach

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-16 Thread Peter Rossbach
Hey Yogesh, please update to current svn head. s. following bug that now fixed: http://issues.apache.org/bugzilla/show_bug.cgi?id=37896 S. 5.5.14 Changelog the see that more bugs exists inside 5.5.12. Please, report as it works! Peter Tipp: For high load the fastasyncqueue sender mode

Re: mod_jk troubles under heavy load

2005-12-13 Thread Peter Rossbach
a) Use a newer tomcat release 5.0.30 better 5.5.9 or higher b) 5.0.30 has a memory leak with registering stats as jk requests use request.registerRequests=false inside you worker2.properties Peter Laurent Perez schrieb: Hello I'm using Apache2 + mod_jk + Tomcat 5.0.25 for a customer web

Re: Session cookies on Linux

2005-12-12 Thread Peter Rossbach
a) Setup Firefox LiveHTTPHeader Plugin or nettools http proxy to scan you traffic. When tomcat not see a JSESSIONID cookie at the request the can't associate a session. b) StandardSession Manager store all Session at shutdown app at work/Catalina/host/app/SESSIONS.ser All dirs must me

Re: Logout for multiple webapps.

2005-12-08 Thread Peter Rossbach
Hmm, I have test SingleSignOn with 5.5.12 and it works for me. Peter Mathew Joseph schrieb: Yes, i am using SingleSignOn valve, but invalidate() doesn't looks like clear both sessions. Regards mathew -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent

Re: Can anyone give suggestions on Best practices for Farmwardeployer in a tomcat cluster??

2005-12-07 Thread Peter Rossbach
Hey, the current FarmWarDeployer is only support development. Active redeployment inside a cluster is very dangerous. You can have problemes with different versions of classes or the classloader not free all classes. My strategie is: setup a new catalina.base. Start the new generation

  1   2   >