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.

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: 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 protocol="HTTP/1.1" connectionTimeout="6" URIEncoding="UTF-8" /> executor="tomcatThreadPool" protocol="HTTP/1.1" connectionTimeout="6" URIEncoding="UTF-8" /> Test with folloing index.jsp <%= new

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: Look at http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html Executor drop idle threads after one minute. Peter Am 07.10.2008 um 10:29 schrieb Mark Thomas: Rohan Sahgal wrote:

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 className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" doClusterLog="true"

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 register

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 changel

Re: Cluster Not Syncing After Restart

2008-01-18 Thread Peter Rossbach
className="org.apache.catalina.cluster.session.JvmRouteBinderValve" enabled="true" /> className="org.apache.catalina.cluster.session.ClusterSessionListener" / >

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 conf

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
System.out.println("Waiting forever..."); Thread.sleep(Long.MAX_VALUE); } } Thanks Frank. - Original Message From: Peter Rossbach <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, January 9, 2008 1:20:10 AM Subject: Re: looking for sample MBean code for to

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 after

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 monito

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. "%{X-Forwarded-For}i" %l %u %t "%r" %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 Gregory, the descri

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, 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 CFLA

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

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 down

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 Ses

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

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

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
loader structure changed, it is still defined in catalina.properties On Apr 12, 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.

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 schri

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

2007-01-18 Thread Peter Rossbach
r a Manager which just replicates the complete session (after processing the request) no matter what. To trigger the replication the ReplicationValve is used but I am still searching for a *Manager which fits my needs described above. Regards Andy -Ursprüngliche Nachricht- Von:

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 vers

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

2007-01-17 Thread Peter Rossbach
everal times. Thus 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

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 w

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. 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 affect performance if many applications are

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 http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto

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. protocol="org.apache.coyote.http11.Http11NioProtocol"/> My current example is simple and works only at firefox. Next step to implement are client reco

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

2006-10-26 Thread Peter Rossbach
0 U 0 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" Sent: Thursday, October 26,

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

2006-10-25 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 them

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

2006-10-18 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 sp

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 attribu

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 It run sucessfull with normal html tomcat pages. But when I ask to axis 1.4 webservices it always compress the response althought it

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 thi

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 http://www.onjava.com/pub/a/onj

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 behi

Re: Tomcat Clustering SSH

2006-09-21 Thread Peter Rossbach
Use ssh tunnels! but better use an isolate network... Regards Peter Am 21.09.2006 um 11:15 schrieb Massimiliano Berruti: Hello, we set up a simple web cluster with the following configuration: a Apache ssl server acts as a load balancer towards two tomcat workers in order the support failo

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 relea

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
the MBeans exposed by tomcat, even from 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 w

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: And when I restart the tomcat, I get this error: Caused by: java.lang.RuntimeExc

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 JD

Re: tomcat jmx agent question

2006-09-14 Thread Peter Rossbach
; configuration?, the org.apache.tomcat.servlets.jmxremote.JmxRemoteServlet creates a rmi registry on port 1099 and a jmx service url at service:jmx:rmi://rmiHost/jndi/rmi://localhost:1099/jndiPath. So the question is, is rmi the default jmx protocol? Thanks, Michele Peter Rossbach wrote: Hi, pleas

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

Re: stopping a tomcat web application

2006-09-04 Thread Peter Rossbach
Look at http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html and use JMX. Regards Peter Am 04.09.2006 um 11:50 schrieb asaf.lahav: Isn't there a way to stop a tomcat web application using code? Tomcat provides an administration interface which enables starting and stopping of specific w

Re: mod_jk log level and logging issues

2006-08-09 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: Tomcat session replication/cluster

2006-06-22 Thread Peter Rossbach
Hmm, look at o.a.c.cluster.tcp.SimpleTcpCluster L 626ff private String getManagerName(String name, Manager manager) { String clusterName = name ; if(getContainer() instanceof Engine) { Container context = manager.getContainer() ; if(context != null &&

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-18 Thread Peter Rossbach
u kindly let me know? Thanks and best regards, Dilan -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Sunday, June 18, 2006 9:50 AM To: Tomcat Users List Subject: Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4 Use more JV

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

2006-06-17 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-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 OutOfMe

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: Query Regarding Clustering

2006-06-01 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 i

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
a, how to get it running with multiple domains and multiple certificates. I hope, that I have 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 t

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 mul

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 eric

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 be

Re: IE 20 session cookies limitation

2006-04-17 Thread Peter Rossbach
Option is 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 while since my last posting of this top

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 ' and look in your logs for the stacktraces about what thread is doing what. Or run 'jstack '. This works on Unix/Linux. I don't know how to do this on Windows. Ronald. On Thu A

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

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 w

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-user&m=113828526109819&w=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 un

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

2006-03-31 Thread Peter Rossbach
n 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 that it SHOULD be the appBase. [http://marc.theaimsgroup.com/?l=tomcat-user&m=113828526109819&w=2]

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, I

Re: Scaliability question (locking on Vector)

2006-03-23 Thread Peter Rossbach
Hint: Checkout the source and grep for Vector find . -name *.java -exec grep Vector {} \; -print then you see we use vector but I also think you analyse must start with WebappClassLoader Regards Peter Am 24.03.2006 um 07:58 schrieb Clemens Eisserer: Hi again, Some rarely used (and old)

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

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 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 http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html

Re: Problems with the ReplicationValve

2006-03-15 Thread Peter Rossbach
OK, I have also test it, and commit Many thanks for reporting the bug. Peter Am 15.03.2006 um 19:13 schrieb Michael: Hi Peter! Peter Rossbach wrote: yes that is true here my fix: [...] Can you please test this, then I can commit the change. Yes, it works! Many thanks! :) Tipp

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 DeltaSession

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 fi

Re: manager-remove/undeploy without losing sessions

2006-03-14 Thread Peter Rossbach
traightforward, if the 'update'-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

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: AW: Problem disabling session serialization duing shutdown.

2006-03-14 Thread Peter Rossbach
or shorter with at tomcat 5.5 add the description at your META-INF/context.xml or at the conf/context.xml :-) Peter Am 14.03.2006 um 15:31 schrieb Michael Südkamp: Hmm, context.xml? I know only of server.xml. At least on

Re: double cluster in one server.xml?

2006-03-04 Thread Peter Rossbach
path :-) Peter Am 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 engi

Re: double cluster in one server.xml?

2006-03-04 Thread Peter Rossbach
Yes, you must use different domains, but you can also used an engine level cluster module, className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" /> ... regards Peter Am 02.03.2006 um 17:38 schrieb Filip Hanik - Dev Lists: I'm gonna let Peter

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
for the verification ;) On 2/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

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Peter Rossbach
ed hosts, it can get a little tricky to get 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 su

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
/tomcat-5.5-doc/config/globalresources.html http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Resource% 20Links http://tomcat.apache.org/tomcat-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

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-26 Thread Peter Rossbach
but it did not produce any extra output - I dont think the logging was picked up. I then followed the documentation for logging on the tomcat web site but it dd not pick it up either - i put log properties in the common/classes dir Thanks, Julie. On Wednesday 25 Jan 2006 16:42, Peter

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 them

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 2

Re: Problem with JK connector

2006-01-18 Thread Peter Rossbach
You must used JkEnvVar You envVar can be accessed with request.getAttribute("") 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 entrust-client-ip JkEnvVar ent

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 "Catalina/

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 that

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

  1   2   >