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, Engine ... Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster / Host name=test1.example.com appBase=webapps autoDeploy=false Context docBase=/home/ronald/tmp/HEAD/crm/web path=

RE: jsp:forward log and output ?

2006-03-04 Thread Tim Lucia
A forward simply passes the same request from f0.jsp along to f1.jsp. Nobody actually requests f1.jsp, so you will not see such a request in the access log. Had f0 redirected to f1 (response.sendRedirect(...f1.jsp)) then you would see a second request. You should see both printlns in

Re: JNDIRealm and LDAP

2006-03-04 Thread Felix Schumacher
Am Mittwoch, den 01.03.2006, 08:40 +0100 schrieb Leucht, Axel: Hi, I'm currently trying to protect a tomcat web-app via LDAP. This application handled the protection against a LDAP server with a customized login procedure before. As there is now some more sensible content in the web-app,

Re: double cluster in one server.xml?

2006-03-04 Thread Peter Rossbach
Yes, look at SimpleTcpCluster private String getManagerName(String name, Manager manager) { String clusterName = name ; if(getContainer() instanceof Engine) { Container context = manager.getContainer() ; if(context != null context instanceof Context)

Re: double cluster in one server.xml?

2006-03-04 Thread Filip Hanik - Dev Lists
sweet! Peter Rossbach wrote: Yes, look at SimpleTcpCluster private String getManagerName(String name, Manager manager) { String clusterName = name ; if(getContainer() instanceof Engine) { Container context = manager.getContainer() ; if(context !=

RE: Form login UTF-8 username problem

2006-03-04 Thread Daniel Blumenthal
As a security concern, you might not want to allow full UTF-8 usernames. There are a number of invisible characters (from the soft hyphen to various connector characters) which people can use to spoof other users' names. Daniel -Original Message- From: Mark Thomas [mailto:[EMAIL

ant reload question

2006-03-04 Thread Jesus Antonio Sanchez Antunez
Hi. When I compiled some classes using the ant task ReloadTask from the sample build.xml, it doesn't reload the new compiled classes in tomcat. The only way that I found it does that is when I remove and reinstall the app. Do I have to wait for that behaviour, or am I doing something wrong. Thank

help with context fragments (+virtual hosts) under windows

2006-03-04 Thread Tim Diggins
Hi - I've never used context fragments to deploy before (have either put context fragments into the server.xml, old tomcat4 style, or have used web/ant interface for deployment, or just dropped wars into webapps). so I'm now trying to use the context fragment method and have been tearing my

JSP on Tomcat: application scope variable

2006-03-04 Thread Rahul
Hi, I have a simple web application which has two JSP pages and some class files containing implementation/logic. These are invoked from the JSP files. I want to store some values e.g. properties from a properties files in the application scope (or alike) so that in my class files I can read