Re: tomcat 5.5.9 basic config

2005-11-12 Thread michael chaplin
Thanks for the advice about moving the context tag. I moved it as you suggested and it works the same. But, that doesn't answer the question, how do I get it so when someone browses to my webapp root they get the default page, say index.jsp, instead of a directory listing. I don't want user's to g

Re: tomcat 5.5.9 basic config

2005-11-12 Thread Hassan Schroeder
Michael Chaplin wrote: > I'm stumped on a simple issue. I have only one webapp in my > tomcat5/webapps directory called "crypto" > > my context tags within the host tag of my server.xml is: > >docBase="/usr/share/tomcat5/webapps" > debug="9" reloadable="true" > pri

Re: NPE while undeploying webapp on Tomcat 5.5.12

2005-11-12 Thread Mark Thomas
Stanislav Mironov wrote: 09.11.2005 10:47:12 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren SEVERE: Exception invoking periodic operation: java.lang.NullPointerException at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:883) What

tomcat 5.5.9 basic config

2005-11-12 Thread Michael Chaplin
I'm stumped on a simple issue. I have only one webapp in my tomcat5/webapps directory called "crypto" my context tags within the host tag of my server.xml is: docBase="/usr/share/tomcat5/webapps" debug="9" reloadable="true" privileged="true" allowLinking="tru

Re: Pointers on setting up Tomcat 5.5x w/MySQL on OS X?

2005-11-12 Thread Benjamin Slade
After much gnashing of teeth I figured out that I wanted to add database connection "resource" information inside a element in a META-INF/context.xml file under the web application directory.Yes there are other ways to do it, but this seems like a good mainstream style. It's too bad the M

[ANN] maven-tomcat-plugin 1.2

2005-11-12 Thread Nathan Coast
Hi, The codeczar team is pleased to announce the long overdue update to the maven-tomcat-plugin. This plugin represents a significant change over the previous version. The main focus has been improve developer productivity by reducing the time it takes to promote code changes into tomcat.

WatchedResource not watched

2005-11-12 Thread Nathan Coast
Hi, I have the following context.xml to configure a web application WEB-INF/web.xml The watched resource seems to be ignored. If I modify the web.xml tomcat doesn't reload the webapp. If any other resources are modified (classes or the context.xml) then tomcat behaves as expected and t

issue tomcat and special characters

2005-11-12 Thread ary martini
Hi Team I am using tomcat 4.1.29 with mysql 4.0 My application runs on tomcat. There is a file "includes.inc.jsp" on my application which specifies the character setting to ISO-8859-1. Issue: I cannot insert special characters into my database. Example: à , è or ü and ö are inserted as orphan

Re: session replication errors

2005-11-12 Thread Peter Rossbach
Hey Olve, I found a bug inside pushMessage and I hopefully fix it. Please checkout the tomcat svn head, build a tomcat, made a test and report the results Many thanks that you report the problem, Peter Peter Rossbach schrieb: Hey Olve, I look more deeply inside the code and find that o.a

Re: Internationalization question

2005-11-12 Thread Martin Benda
Hi! Try to add URIEncoding="UTF-8" attribute to the Connector tag in your server.xml. Regards, Bendis Dne so 12. listopadu 2005 02:36 Scott Smith napsal(a): > I'm using Tomcat 4.1.29 on Windows. I have a context setup which contains > some image files (simple jpgs). In the conf/server.xml fil

Re: Why can the JSESSIONID name not be changed?

2005-11-12 Thread Stefan Bethke
Am 11.11.2005 um 21:14 schrieb George Sexton: I'd like to understand the rationale for this requirement. If the container manages the session, why would an application care about the actual mechanism used to track the session? Why can this not be made configurable? I'm guessing the reason its in

Re: session replication errors

2005-11-12 Thread Peter Rossbach
Hey Olve, I look more deeply inside the code and find that o.a.c.cluster.tcp.DataSender.checkKeepAlive and sendMessage are both synchronized messages. That means that we currently don't close the socket as we transfer a message. But this not means that I found the bug! ... I also look at you

Re: session replication errors

2005-11-12 Thread Peter Rossbach
Hey, I have seen the same problem at centos. I start now testing with suse 9.3 ... Can you please test with following config: I think that keepAliveTimeout handling can close socket in the middle that we transfer a messages. :-( Default timeout is one minute. I start change the implementa

Re: replicated sessions and manager app

2005-11-12 Thread Peter Rossbach
Every manager have all sessions from all nodes! Peter Olve Hansen schrieb: I was wondering... In a cluster of tomcats, should the session count be equal in all three webapp listings (the sum of all sessions, since they are replicated) in the separate managers, or does the manger only count