Re: sharing session information across tomcats on different machines

2005-10-06 Thread Peter Rossbach
Use session replication with Tomcat Clustering and mod_jk loadbalancing http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html Peter Mark schrieb: Is there any possibility for tomcats on separate machines to share session information. I am looking into load balancing a few

Re: tld processing performance at startup

2005-09-23 Thread Peter Rossbach
Setup a META-INF/context.xml inside your app Context processTlds=false / And check Tim's tipps :-) regards Peter Tim Funk schrieb: There is an option to disable TLD processing. This is nice if: 1) You precompile 2) Or don't use tld files See

Re: tld processing performance at startup

2005-09-23 Thread Peter Rossbach
to view images if I call them directly like here http://207.97.221.210:8080/jsp-examples/wirefusion/ScreenshotServer.jsp ? I don't understand your question? This is totally new to me so I appreciate your patience with a no0b! Cheers. Bradley -Original Message- From: Peter Rossbach

Re: jconsole security manager

2005-09-18 Thread Peter Rossbach
You can find detail information here: http://java.sun.com/j2se/1.5.0/docs/api/javax/management/MBeanPermission.html Very simple config example: http://mx4j.sourceforge.net/docs/ch03s10.html Peter Pfingstl Gernot schrieb: I like to monitor my tomcat 5.5 (running on jdk 1.5.0) with jconsole.

Re: Cluster and notifications to nodes

2005-09-18 Thread Peter Rossbach
Hey Bradley, a) mark application as priviliged=true b) define and implement your own ClusterMessage c) via MbeansServer you got the Catalina:type=Cluster,host=localhost mbean and send your operation ( send(ClusterMessage)). d) Register a ClusterListener. with 5.5.11 you can

Re: Cluster tcpThreadCount

2005-08-27 Thread Peter Rossbach
Hey Randy, tcpThreadCount is the number of parallel NIO receiver threads. Every tomcat cluster node with pooled mode has 25 sender threads (Default). Normally two receiver thread per backup node are calc. More recevier worker means that you produce more load for replication at backup! At

Re: Cluster tcpThreadCount

2005-08-27 Thread Peter Rossbach
keepAliveTimeout=8 keepAliveMaxRequestCount=-1/ -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Saturday, August 27, 2005 1:41 AM To: Tomcat Users List Subject: Re: Cluster tcpThreadCount Hey Randy, tcpThreadCount is the number

Re: Clustering problems

2005-08-26 Thread Peter Rossbach
Read the doc and configure greater waitForAck timeouts and more pooled worker. Sender ... ackTimeout=5 maxPoolSocketLimit=40 .. I only used fastasyncqueue mode in my production system! Sender

Re: Sharing non-session data in a cluster

2005-08-26 Thread Peter Rossbach
Hey Joakim, you can register your own ClusterListener and send ClusterMessages with SimpleTcpCluster object. With the 5.5.11 release you can configure it and look inside following code pieces:

Re: Securing Tomcat Context Descriptor

2005-08-20 Thread Peter Rossbach
I thing you can use the Java Security Manager and OS level file permisssion for this or wrote your own DataSource JNDI Factory. Peter Brett Parsons schrieb: Hi All, There is a requirement on the server that we have Tomcat 5.0.28 deployed that no username/password information can be stored

Re: Problem VirtualHost WebApp Served on Two URLs

2005-08-20 Thread Peter Rossbach
You must rename your directory from mysite to ROOT. Context docBase=c:\sites\www.mysite.com\ROOT path= reloadable=true source=com.ibm.wtp.web.server:mysite/ Peter TroyGeek schrieb: I have a problem with Tomcat Virtual Hosting. I have my virtual host defined like so in server.xml (the

Re: Tomcat 5.5.9 Cluster Error

2005-08-19 Thread Peter Rossbach
Which OS you used and is your firewall open for UDP port 45564 and TCP 4001 ? Is your network interface enabled for Multicast Packages ? Why you used the deployer ? Peter SUGAHARA Toshio schrieb: Sorry, attached file was not sent and I'll try again. [error message] ERROR main

Re: session problems: www.blahblah.com versus blahblah.com

2005-08-16 Thread Peter Rossbach
Hey Michael, I look inside the tomcat source and find that we don't set the cookie hostname attribute. That means that the calling client/browser must made the hostname handling. I also thing the redirect way is currently right direction. Peter Paul Singleton schrieb: Michael Teter wrote:

Re: Loadbalancer in Tomcat 5.5

2005-08-15 Thread Peter Rossbach
as well? Thank you. On 8/14/05, Peter Rossbach [EMAIL PROTECTED] wrote: Mark your session with jvmRoute parameter. Engine jvmRoute=tomcat1 ... see.http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html Why you can't used balancer demo app? Read http://www.onjava.com/pub

Re: session problems: www.blahblah.com versus blahblah.com

2005-08-15 Thread Peter Rossbach
Hmm, I thing a host alias at for your tomcat configuration was helpfull :-) Host name=blahblah.com Aliaswww.blahblah.com/Alias /Host Peter Michael Teter schrieb: Howdy. I'm having some problems with sessions. If my users come to blahblah.com, then go away, then return, they get a

Re: JMX Remote monitoring with jakarta-tomcat-5.5.9 and jdk1.5.0_04

2005-08-14 Thread Peter Rossbach
Hey Joe, currently the default java 5 jmx rmi implementation can't set a fix rmi port. You can only set the naming port. Really bad, but the only way to change this, is to implement a tomcat listener and start your own rmi connector. I am very happy to see the implementation. :-) Peter

Re: DeltaManager: calculation of deltas

2005-08-14 Thread Peter Rossbach
Yes, the DeltaManager work as you describe. Only as set/removeAttribute the changes was replicated, this is an effective method that not all session attributes must be replicated at every request. Currently this replication method is the quasi standard at all cluster implementation that I have

Re: Clusters - Disabling or restricting autodiscovery via multicast (security question)

2005-08-14 Thread Peter Rossbach
OK, this is correct! Sorry, but I also thing that we must have a secretKey and a restricted IP list to register inside cluster I want implement this inside the next release. But currenly the cluster message are not crypted and when clients can connect to your network your go in trouble. At

Re: Loadbalancer in Tomcat 5.5

2005-08-14 Thread Peter Rossbach
Mark your session with jvmRoute parameter. Engine jvmRoute=tomcat1 ... see.http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html Why you can't used balancer demo app? Read http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html peter samuel cheung schrieb: Hi,

Re: Fault Tolerance in Tomcat Cluster

2005-08-14 Thread Peter Rossbach
This is information is wrong, tomcat =5.0.19 and 5.5 have a cluster implementation with fail over mechanism when use mod_jk or other loadbalancer modules. Peter samuel cheung schrieb: Hi, From this article http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html?page=2, it said

Re: Sharing server information across a cluster ?

2005-08-14 Thread Peter Rossbach
Use tomcat cluster api = 5.5.10 to implement you own cluster messages. You can register your own Cluster Message Listener and with SimpleTcpCluster.send(ClusterMessage) you can send your message to all cluster nodes. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html Peter

Re: Reloading web context in a cluster

2005-07-22 Thread Peter Rossbach
Hey, a) don't share things between cluster nodes! b) before you change your lib at one node please shutdown the context with manager app or ant tasks. c) Release change at runtime with cluster is heavy and can not made with the same nodes. OK, when no class changed that used inside

Re: Reloading web context in a cluster

2005-07-22 Thread Peter Rossbach
Davide Romanini schrieb: Il giorno ven, 22/07/2005 alle 16.39 +0200, Peter Rossbach ha scritto: Hey, a) don't share things between cluster nodes! You mean that Tomcat has problems using a shared filesystem??? No, tomcat has no problem with shared systems b) before you

Re: Session Replication w/ Tomcat 5.0.30

2005-07-19 Thread Peter Rossbach
OK, a) windows standalone need that mcastBindAddress is set to 127.0.0.1. b) Please, use for consists sessions handling sticky session at mod:jk, backup is only for failover. c) Used tomcat 5.5.9 with cluster fix pack http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 Peter

Re: Tomcat 5.5 changes in Log format

2005-07-19 Thread Peter Rossbach
read documenctation: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html Robert Abbate schrieb: Hello. We run a webhosting environment, and in previous releases we were able to have separate logs for *each* virtual host by using something like this: Host name=mydomain.com ... ...

Re: Production cluster crashed with 'SEVERE: TCP Worker thread...' error

2005-07-19 Thread Peter Rossbach
Why you use your own SesssionManager? Log say that your backup node is down. Why you don't use the cluster domain feature? T1 and T3 Domain 20 at port 10020 T2 and T4 Domain 21 at port 10021 T1 and T2 hosted at host 1 T3 and T4 hosted at host 2 Apaches at host 1 and host 2

Re: session replication problem: ClassCastException

2005-07-10 Thread Peter Rossbach
Hmm, First your are sure that your wars inside the installation art identical? You stacktraces are strange. The cast inside writeSession use only tomcat classes! Have you change the authorisation and use your own principal implementation ? For more help I think do the following steps a)

Re: How to query Tomcat for the number of peers in the cluster without using the JMX

2005-07-10 Thread Peter Rossbach
HEy, you can access you local Mbeans Server and write your own HTML interface to show cluster state. Look inside Manager or Admin app for example. Peter Edmon Begoli schrieb: Since I may not be allowed to enable JMX on the production, but we would still like to query host Tomcat for the

Re: clustering questions

2005-06-14 Thread Peter Rossbach
Hey Mark, Mark Eggers schrieb: I'm looking at clustering and have a few questions. 1. In the documentation, the Cluster element is shown as a child of the Engine element. In the example server.xml the Cluster element is shown in the Host element. When I put the Cluster element in the Host

Re: picture of session state for nodes in cluster??

2005-06-09 Thread Peter Rossbach
Hey John, look inside the MBeans Manager/app/host - DeltaManager. You can get the complete session list and can access attribute from the sessions. Which Tomcat/ Cluster release you use? Peter John MccLain schrieb: How can I get a picture of session state for each node in a cluster every

Re: simple question on deltamanger - understanding

2005-06-09 Thread Peter Rossbach
Yes, at germany I can give you that support... Please send me your cluster config, and os, jdk and tomcat version. Peter John MccLain schrieb: My understanding is that the clustering replication DeltaManager it is called via a setAttribute if UseDirtyFlag is set to true. So does this mean

Re: How to query for number of active participants in the tomcat 5.5 cluster

2005-06-09 Thread Peter Rossbach
Hey, I have checkin today a JMX Object for McastService (Membership implementation) to access the membership list via mbean. :-) Also every sender is a mbean ( type IDataSender). Look inside the Mbean list via jconsole. Peter Filip Hanik - Dev Lists schrieb: you would need to write a

Re: Is session replication working with Tomcat 5.5.9?

2005-05-30 Thread Peter Rossbach
Hey, have you set the multicast ip route between the two boxes? Which tomcat release and config (server.xml) you use? Peter Gary Zhu schrieb: Hi all, I set up a cluster of TWO tomcats on different boxes, and loadbalanced with mod_jk. I followed all the processes in app and config, but

Re: Resin-to-Tomcat 5 Migration

2005-05-22 Thread Peter Rossbach
look at StatusManagerServlet.java and StatusTransformer.java. Looks like I can collect most of what I need however, I still don't see how/where I can get container and application start date/time. Any ideas? Many thanks. Peter Rossbach wrote: Hey Scott, look inside manager status page

Re: using uriworkmap.properties with multiple hosts

2005-05-21 Thread Peter Rossbach
Hey, at my apache I use different uriworkermap.properties inside my vhost sections. Peter David Boyer schrieb: We have two sites (virtual hosts) running under IIS, and two hosts in Tomcat which handle the JSP/servlets for each host. Due to different security requirements, each instance of

Re: Resin-to-Tomcat 5 Migration

2005-05-21 Thread Peter Rossbach
Hey Scott, look inside manager status page http://your host:your port/manager/status. For your own coding review the jakarta-tomcat-catalina/webapps/manager/WEB:INF/classes/.../StatusManagerServlet.java class regards peter Scott Dudley schrieb: My employer has commissioned me to port

Re: Define allow IP range for one port on Tomcat

2005-05-16 Thread Peter Rossbach
Hey, I thing you must wrote a Engine or Host Valve. Use request.getConnector() to get the current used connector object. As base implementation you can easy subclass ValveBase or better RequestFilterValve ( see RequestAddrValve and RequestHostValve as example) Peter Rui Monteiro schrieb: Is it

Re: jakarta iis connector under heavy load

2005-05-16 Thread Peter Rossbach
Has you set the cachesize and cache_timeout at your tcp worker ? I have read that IIS default use only one TCP socket as default. Peter PS: 100 request per minute is not a heavy load and normal high end PC :-) Anatoly Kern schrieb: Hello! One question about jakarta connector on IIS (isapi

Re: Admin Application messes up HTTPS Connectors in server.xml

2005-05-16 Thread Peter Rossbach
Message from Peter Rossbach [EMAIL PROTECTED] on Sun, 15 May 2005 20:16:01 +0200 - To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Admin Application messes up HTTPS Connectors in server.xml Hey Ankit, can it be that you forget the secure=true attribute at your https

Re: Admin Application messes up HTTPS Connectors in server.xml

2005-05-15 Thread Peter Rossbach
Hey Ankit, can it be that you forget the secure=true attribute at your https connector? I have look inside Http11Protocol code and find this: public void setProtocol( String k ) { setSecure(true); setAttribute(protocol, k); } The sslProtocol=TLS is the default and the

Re: JK Connector - Can't get it to work

2005-05-07 Thread Peter Rossbach
Hey, Has your workers.properties a correct setup? worker.list=ajp13 worker.ajp13.type=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.cachesize=150 worker.ajp13.cache_timeout=600 What mod_jk Version you use? Better config at mod_jk =1.2.10 add this worker.list=router,jkstatus

Re: Configuring Separate Instances Using CATALINA_BASE

2005-05-06 Thread Peter Rossbach
Hey Bill, Bill Winspur schrieb: Peter, thanks for your tomcat instance (Catalina_base) installation process. It has been very helpful, but I have couple of questions (interleaved with your information, below). Hey Bill, here my simple catalina.base installation description: install

Re: Configuring Separate Instances Using CATALINA_BASE

2005-05-05 Thread Peter Rossbach
Hey Bill, here my simple catalina.base installation description: install jakarta-tomcat-5.5.x mkdir node1 cd node1 mkdir bin conf temp logs webapps work cd bin # windows edit startup.bat set CATALINA_BASE=.. set [EMAIL PROTECTED]@ set CATALINA_OPTS=-server [EMAIL PROTECTED]@m [EMAIL PROTECTED]@m

Re: JK load balancer question

2005-05-03 Thread Peter Rossbach
Hey, yes, you can configure the new status worker (= jk 1.2.10) and used the new ant JkStatusUpdateTask (Tomcat 5.5.9) for active configuration. But the disabled flag don't stopp the complete traffic. Only stop that no new session create requests to the disabled worker. But I have implement a

Re: Clear session after redeployment

2005-05-03 Thread Peter Rossbach
Switch off that Manager save sessions : For single application used inside your conf/Catalina/localhost/apps.xml Manager pathname= or server scope inside conf/context.xml host scope inside conf/Catalina/localhost/context.xml.default Peter Stepan Herold schrieb: Redeploying a web application on

Re: Tomcat Clustering - Replicated Sessions

2005-05-02 Thread Peter Rossbach
Hey, you have install my cluster patch for 5.5.9? http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 I used very heavy the new fastasyncqueue mode without memory problems Every minute the sessions controlled for timeout. Look with an JMX Console that the manager active session count is

Re: TCPCluster problem on heavily loaded webapps

2005-04-25 Thread Peter Rossbach
Hello Francois, I have implemented a new restart algo at the current Tomcat 5.5 cvs head. Compile it and test it. I hope then this strange failure is gone. :-) Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

Re: tomcat clustering

2005-04-25 Thread Peter Rossbach
With the next release I hope we support those handlings context attribute replication handling. We start a discussion at this list ( last three days). Topic: http://marc.theaimsgroup.com/?t=11141745513r=1w=2 Peter Joshua Szmajda schrieb: Hey all, Is there a way to get the cluster system to

Re: VM thread dump from windows service

2005-04-25 Thread Peter Rossbach
Hey, I am using the Java Service Wrapper from http://wrapper.tanukisoftware.org/doc/english/introduction.html. The Service Wrapper have a JMX Mbean that have a stack dump operation. http://wrapper.tanukisoftware.org/doc/english/jmx.html Send me a direct mail to get a LifecycleListener that

Re: Tomcat in a clustered Enviroment

2005-04-24 Thread Peter Rossbach
Hat Enterprise Linux 3 and tomcat 5.0.28. I will look into that directive. Thank you, Josef Whiter On Fri, 22 Apr 2005, Peter Rossbach wrote: Hello, which tomcat, os, jvm you used? On windows without network cable the cluster need an explizit binding Membership

Re: Clustering application scope replication

2005-04-23 Thread Peter Rossbach
Hey, with the next tomcat 5.5.10 release you can add a ClusterListener and LifecycleListener to your cluster config to realize those ServletContext attributes replication things. Look at the current cvs head and test it. ClusterListener

Re: Clustering application scope replication

2005-04-23 Thread Peter Rossbach
I hope you have download and use my cluster patches for 5.5.9 http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 when you implement the feature ServletContext attribute replication feature I support you. ( s. other mail) Peter Joakim Ahlén schrieb: Hi! We have a cluster of two tomcat

Re: Tomcat in a clustered Enviroment

2005-04-22 Thread Peter Rossbach
Hello, which tomcat, os, jvm you used? On windows without network cable the cluster need an explizit binding Membership className=org.apache.catalina.cluster.mcast.McastService mcastAddr=228.0.0.4 mcastBindAddress=127.0.0.1

Re: Way to specify SingleSignOn session timeout?

2005-04-12 Thread Peter Rossbach
Look inside conf/web.xml !-- created sessions by modifying the value below. -- session-config session-timeout30/session-timeout /session-config Peter Jonathan Eric Miller schrieb: I'm using the SingleSignOn valve with Tomcat 5.5.9. Does anyone know what the

Re: Tomcat Cluster + File Sharing

2005-04-12 Thread Peter Rossbach
Hey, 5/ Based on my own experience, I prefer to make app servers as independent as possible. Give each one its own WAR file, such that when the netapp has problems your app stays afloat. This also my experience and I can't believe that JSP classs file sharing work well. It exists today no

Re: Admin application creates duplicate secure attribute in server.xml

2005-03-29 Thread Peter Rossbach
are currently running 5.0.28, and not likely to upgrade until summer. Can you describe enough about the problem that I could track it down and create a local fix / work around until then? Peter Rossbach wrote: Yes the wrong saving SSL Connector is a bug and I fix it for Tomcat 5.5.x. The old

Re: Admin application creates duplicate secure attribute in server.xml

2005-03-28 Thread Peter Rossbach
Yes the wrong saving SSL Connector is a bug and I fix it for Tomcat 5.5.x. The old StandardServer saving code was strange. The new StoreConfig module has a flexible customizable API to store server.xml and context.xml. You can activate the new saving module with Server ... Listener

Re: Configuring dbcp in / ROOT context (tomcat 5.5.7)

2005-02-24 Thread Peter Rossbach
Hello, please give follwing context definition a chance conf/Calalina/localhost/ROOT.xml Context reloadable=true crossContext=true Resource name=jdbc/postgres auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=whatver

Re: dodgy session class

2005-02-14 Thread Peter Rossbach
with it, just cant think of a logical explanation to this. Ideas anyone? Regards, Vlad -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Sat 2/12/2005 9:22 AM To: Tomcat Users List Cc: Subject:Re: dodgy session class Hmm, please check that all your

Re: dodgy session class

2005-02-12 Thread Peter Rossbach
Hmm, please check that all your applications with distributable=true have no configured Manager in there context.xml's regards Peter Filip Hanik - Dev schrieb: Any chance you have a test case to reproduce this? Shouldn't happen, unless the way sessions are created have changed. Filip -

Re: MemoryError: PermGen space after several redeployments

2005-02-08 Thread Peter Rossbach
Hello Matt, I hope we have fix that with 5.5.8 see: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 Workaround for memory leak when reloading Struts based web applications by clearing the bean instrospector cache of the JVM on classloader stop, submitted by Tobias Löfstrand (remm)

Re: Updating webapps in a running production cluster.

2005-01-30 Thread Peter Rossbach
? /roberto - Original Message - From: Peter Rossbach [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, January 29, 2005 10:42 PM Subject: Re: Updating webapps in a running production cluster. Please update to Apache 2.0.52 and I hope you mean mod_jk 1.2.8

Re: Where is jkstatus function in jk version 1.2.8?

2005-01-30 Thread Peter Rossbach
Hey Richard, I hope also that Mladen can add this feature to next mod_jk release. :-) At the Apache 2.x cvs Head mod_proxy_ajp has a very fine status page. Peter Richard Mixon (qwest) schrieb: I understand that the jk 1.2.8 connector supercedes the deprecated jk2 connector. I had read previous

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Peter Rossbach
Hello, with which tomcat version you test this, please try the new 5.5.7 and tell us the result! :-) Please tell us your env, Apache, mod_jk JDK, OS Thanx Peter PS: You can find my cluster dev template at http://tomcat.objektpark.org/examples/05_02_tomcat_example.tar.gz, Sorry the docs are

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Peter Rossbach
-1_5_0_01-linux-i586.bin CATALINA_OPTS='-Xmx512m -Xms256m -XX:MaxPermSize=256M' I will test a new version and let you know. - Original Message - From: Peter Rossbach [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, January 29, 2005 8:04 PM Subject: Re

Re: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-28 Thread Peter Rossbach
That true, I add the JvmRouteBinderValve to the codebase to switch the Session to other node after failure. It works with Tomcat 5.5.5 Config: a) Add Valve at your conf/Catalina/localhost/context.xml.default or context.xml Context Valve

Re: Running lots of virtual hosts on tomcat

2005-01-20 Thread Peter Rossbach
Hello, that not really correct - see the german centaurus-platform http:/centaurus.sf.net/. We have build a little tool hostcreator do to create host at runtime. You can build a new host with a template at runtime. Wait a week than we release the 1.0beta6 with a integrated management

Re: Security Policy while running as a windows service

2005-01-20 Thread Peter Rossbach
Start the tomcat5w.exe and open the configure options. Open the java tab and add your jvm parameters. -Djava.security.SecurityManager -Djava.security.policy==full path to your tomcat/conf/catalina.policy Two == signs is right to overide the complete policy :-) Peter Asim Alp schrieb: Hello

Re: Adding Host/ withOUT server restart?

2004-12-21 Thread Peter Rossbach
HEy Robert, I think you have also a jk2.properties at conf dir with channelSocket.port=8009 ! You are right you can also use the jk2.properties, but I preferred the direct server.xml configuration (Default 5.5). The example configured the RMI JMX Adaptor: mx.enabled=true mx.jrmpPort=1099

Re: Adding Host/ withOUT server restart?

2004-12-20 Thread Peter Rossbach
Hello Robert, you can to this via JMX MBeanFactory ( createStandardHost, removeStandardHost). public String createStandardHost(String parent, String name, String appBase, boolean autoDeploy, boolean deployXML, boolean

Re: Does TC 5.5 have some type of farm deployer?

2004-12-14 Thread Peter Rossbach
Hello Norris, I have actived the FarmWarDeployer at release 5.5.5. Regards Peter Norris Shelton schrieb: I ran across this document, but have not been able to find out any additional information. http://tomcat.objektpark.org/pdf/Proposal-HostConfig-Deployer.pdf = Norris Shelton Software

Re: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Peter Rossbach
Hey, you can configure the Ant Compiler with following steps: Copy ant.jar and ant-launcher.jar at common/lib Edit conf/web.xml or your own app web.xml ( Change servlet-name at definition and mappings!) servlet servlet-namejsp/servlet-name

Re: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Peter Rossbach
Hello Remy, your right, the new JDT is the best option. What I say Ant/ tools.jar/jikes works also, but the future is the JDT support. Peter Remy Maucherat schrieb: On Fri, 03 Dec 2004 11:23:42 +0100, Peter Rossbach [EMAIL PROTECTED] wrote: Hey, you can configure the Ant Compiler

Re: mod_jk / sticky_session / fallback question

2004-11-20 Thread Peter Rossbach
Hey, at the moment we have no domain concept at mod_jk. But Rainer Jung has send a bug report with a usefull idea: http://issues.apache.org/bugzilla/show_bug.cgi?id=32317 Vote for it. Peter Ronald Klop schrieb: Hello, I'm searching the internet for this question, but can't find the answer. If I

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-11 Thread Peter Rossbach
Hey, have you place also the common-logging.jar 1.0.4 with the log4j Factory at common/lib ? regards Peter Allistair Crossley schrieb: Hi again, I have tried to setup a file appender now without success. When I restart Tomcat it is clear that it does not wish to create the file I am specifying.

Re: auto reload?

2004-10-31 Thread Peter Rossbach
Hey, the problem of Tomcat 5.0.x and Context autoreloading is very strange. Only Context path=/xx docBase=xx reloadable=true orverride=true .../ work. or setup a DefaultContext reloadable=true / The Tomcat 5.0.x context configuration is a) create a StandardContext and load context.xml file b)

Re: Tomcat 5.5 Embedded

2004-10-31 Thread Peter Rossbach
Hey Ralph, Use rootCtx.getNamingResources().addResource(rs). Peter Ralph Schaer schrieb: Thanks for your answer. Now my last problem is how can I add the new ContextResource (res) into the rootCtx. With Tomcat 5.0. this method does the job: rootCtx.addResource(res); But this method does not exists

Re: context.xml deployed as folder in Tomcat 5

2004-10-31 Thread Peter Rossbach
It is fixed with version 5.0.28. Peter Woodchuck schrieb: it's version 5.0.27 is there a way i can tell whether it's patched with this fix or not? --- QM [EMAIL PROTECTED] wrote: On Sat, Oct 30, 2004 at 01:48:00PM -0700, Woodchuck wrote: : i put a context.xml file into my META-INF folder

Re: Running HSQLDB in-process?

2004-10-25 Thread Peter Rossbach
Hey Michael, I think you can used ${catalina.base} or other system env variables inside server.xml and context.xml for an absolute path information. Only problem with this handling is, don't save your server.xml oder context.xml with the admin application. Tipp: use a db resource path outside

Re: Thread dump for Windows Service

2004-09-25 Thread Peter Rossbach
Hello Robert, Yes it exists a realy good way to got controlled Threadumps. Install your Tomcat with Java Service Wrapper and activate the Wrapper JMX Bean with a operation to create a threaddump and reload the complete server. Links: Wrapper

Re: Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-02 Thread Peter Rossbach
Hello Remy, ok, when we not want that Context placed at server.xml than we remove the configuration elements at Catalina.createStartDigester. We can also removed the DefaultContext digester configuration. -- :L 320ff // TODO Delete this DefaultContext Handling Class not existing at

Re: Context path= docBase=ROOT... fails in Tomcat 5.5?

2004-09-02 Thread Peter Rossbach
Remy Maucherat schrieb: On Thu, 02 Sep 2004 10:04:13 +0200, Peter Rossbach [EMAIL PROTECTED] wrote: Hello Remy, ok, when we not want that Context placed at server.xml than we remove the configuration elements at Catalina.createStartDigester. Ok, but: - the webapp will not be handled

Re: Ant DeployTask / InstallTask

2004-07-30 Thread Peter Rossbach
Hello Christian, please read the manager app documentation for Tomcat 5 to explain all deploy parameter. Here my ant task for remote (war) and local deployment: Here my build.properties server.url=http://localhost:7380 app.name=myapps app.path=/${app.name} app.version=1.0-dev

Re: in-WAR context.xml in 5.0.27

2004-07-30 Thread Peter Rossbach
QM schrieb: On Fri, Jul 30, 2004 at 09:00:16AM -0400, Shapira, Yoav wrote: : Yeah, it's an open issue (I don't remember the number), and will be : addressed in the next release. Until then there's a patch attached to : the Bugzilla item, for HostConfig.java, when you can put in : server/classes

Re: Clustering/high availability without JDK1.4

2004-07-13 Thread Peter Rossbach
Hey Chris, I thing you can use a javagroup solution. Look at http://www.jgroups.org/javagroupsnew/docs/index.html Little bit old but usefull implementation from Filip Tomcat-jg... http://sourceforge.net/projects/tomcat-jg regards peter Chris Todd schrieb: Is there any way to achieve high

Re: Finding CSS files in webapp

2004-07-11 Thread Peter Rossbach
Hey, I think your browser is the problem. Generate absolute css link that help % String url = request.getScheme() + :// + request.getServerName() + : + request.getServerPort() + request.getContextPath() ; % link rel=stylesheet type=text/css href=%=url%/css/nrd.css / regards peter

Re: Load Balancer webapp Rules

2004-07-02 Thread Peter Rossbach
hey, Read the following cluster articles: http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html regards peter Smith, Peter schrieb: Hi, I need to implement a basic round robin balancer rule that redirects requests sequentially

Re: Content compression in Tomcat

2004-07-01 Thread Peter Rossbach
Hello, look at the Compression Filter example at the tomcat distribution webapps\examples\WEB-INF\classes\compressionFilters Also read some of the javaworld articles http://www.javaworld.com/channel_content/jw-servlets-index.shtml

Re: Deploy/install custom jmx mbean in tomcat 5.0.19

2004-06-30 Thread Peter Rossbach
Currently, your bean are not started automaticly with this configuration. You must write a own LifecycleListener that start your Mbeans. Other options is you can configure at engine element is Engine mbeansFile=conf/tomcat5-mbeans.xml /Engine Look at commons-modeler project for documentation:

Re: TC5.0.25 ignores my META-INF/context.xml

2004-06-20 Thread Peter Rossbach
Hello Jacob, I thing your analyze is not correct. The problem is: currently the auto deployment for directories not implement. Copy a war with META-INF/context.xml at your webapps (host.appbase) dir the file context.xml was extracted and deployed. Tested with 5.0.25. see my log 20.06.2004

Re: AW: How can I add Host without restarting Tomcat?

2004-06-18 Thread Peter Rossbach
Hey, you can used the admin application. Tipp: Add a user with admin role at your conf/tomcat-users.xml! Before you create the new host, create the webapps directory! After create your new host, copy the Catalina/localhost/manager.xml to Catalina/newhost/manager.xml and you have at usefull new

Re: log4j/JDBC driver problem

2004-06-14 Thread Peter Rossbach
Rename your zip as jar! Regards Peter Jitesh Sinha schrieb: Hello all, I have installed tomcat4.1 recently and am trying to set up my web app in it.When I start the server by double clicking on startup.bat,I get following errors : 1.) log4j:ERROR Could not parse input source [EMAIL PROTECTED]

Re: Cluster problem ??

2004-05-31 Thread Peter Rossbach
Hello, the easy way is to deploy all your application with ant scripts. Use a foreach task and the remote manager app catalina-ant task or with ant 1.6.1 jssh scp tasks. regards Peter Dale, Matt schrieb: This functionality is not available yet. It is called cluster farming I believe and is

Re: JK2 MX4J Dependancies

2004-05-27 Thread Peter Rossbach
Hello Jimmy and Yoav, I have build the lastet CVS HEAD successful with MX4J 2.0.1 and send a patch for JkMX.java support. http://issues.apache.org/bugzilla/show_bug.cgi?id=29259 So now we must also changed org.apache.catalina.mbeans.createRMIAdaptor() to support the ServerLifecycleListener

Re: apache2+tomcat5.0.19+mod_jk in-process

2004-05-26 Thread Peter Rossbach
Hello Timothy, the JNI integration works only with Tomcat Release greater 5.0.20 and the commands changed to (startd and stopd) used the coming Tomcat 5.0.25 it is very stable. (Must add jmx.jar to your classpath) Regards Peter Timothy Suh schrieb: Subject: apache2+tomcat5.0.19+mod_jk2 in-process

Re: Configuring mod_jk2/jk2 Via The JMX Console

2004-05-26 Thread Peter Rossbach
Hello Jimmy, I have more then one Tomcat controlled with HTTP JMX Adaptor on my system. Sorry, for the Typo. You must changed the mx.httpPort=9000 . This is the default MX4J HTTP Adpator Port. You have made a copy from mx4j.tools.jar to $catalina.hom/bin and changed your setclasspath Skript ?

Re: apache2+tomcat5.0.19+mod_jk in-process

2004-05-26 Thread Peter Rossbach
[worker.jni:onShutdown] class=org/apache/jk/apr/TomcatStarter ARG=stopd disabled=0 Peter Rossbach wrote on 5/26/2004, 12:27 PM: Hello Timothy, the JNI integration works only with Tomcat Release greater 5.0.20 and the commands changed to (startd and stopd) used the coming Tomcat 5.0.25 it is very stable

Re: admin login problem with tomcat5-slide bundle

2004-05-25 Thread Peter Rossbach
Which Version you used ? The Tomcat 5.0.24 has a bug with Cookie and Auth Handling. Please, test with 5.0.25 alpha again. http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.25-alpha/bin/ Regards Peter Miklos Nyiri schrieb: Well, I certainly did that. That's how it worked with Tomcat 4 and I

Re: Configuring mod_jk2/jk2 Via The JMX Console

2004-05-25 Thread Peter Rossbach
Hello Jimmy, the Remote JMX jk2 config is possible with this jk2.properties file === conf/jk2.properties handler.list=modjk,mx # Überschreibt den StandardPort des Channel-Sockets channelSocket.port=8009 # Apache Status modjk.webServerHost=localhost modjk.webServerPort=80 modjk.statusPath=/jkstatus

Re: Starting Tomcat from Apache...

2004-05-06 Thread Peter Rossbach
Hello, the JNI working very well, but you must use a mod_jk2 2.0.4 and Tomcat Release greater than 5.0.20 Regards Peter JimmiSeven Productions Inc. schrieb: That's what I think as well... that inProcess option is just a waste of time! I hope someone can prove me wrong though! Has anyone

  1   2   >