Re: META-INF/context.xml and custom Manager

2006-05-06 Thread Michael Echerer
John D'Emic wrote: Hey all, Hi, I have a custom Manager class I'm trying to use for a single webapp. It seems the way to do this is to have a context.xml file in the exploded webapp's META-INF directory. I have the following: Well, META-INF/context.xml is the right place, but for a

Re: Servlet inter-communication

2006-05-06 Thread Michael Echerer
Samuli Elomaa wrote: Hi, Is there any otherway for two servlets in same tomcat to communicate together except by http requests? Eg. could two servlets use somekind of shared memory? or send signals to each other? Hi, whatever others suggested, just use the Servlet Spec 2.3+ standard: The

Re: mod_jk Submounts

2006-05-06 Thread tang jie
On 5/2/06, Mike Bydalek [EMAIL PROTECTED] wrote: Host name=www.domain.com Context path= docBase=/opt/tomcat5/webapps/webappA debug=0/ I think you should add the following: Context path=/appB docBase=... debug=0/ Context path=/appC docBase=... debug=0/ /Host Because i

Restart Tomcat Virtual Host - HOWTO

2006-05-06 Thread Vasanth Kamatgi
Hi, I have used tomcat to host a couple of my web sites, which are continuously evolving. I have configured them both as virtual hosts in tomcat and I am able to access them independently without any problem. The problem is... when I am updating some class files, jars in one of the websites, I

Resource vs. RealPath

2006-05-06 Thread Bruce Miller
Hi Tomcatters; A seemingly naive question: I've got various configuration data, tucked away under /WEB-INF/. If I use context.getRealPath(datapath), I can check the timestamp, so that I know if it needs to be re-read. However, this fails if we're serving from a .war file (in which case,

Re: SSL enabled and trying to open the port 8443 wit h the browser and nothing happend

2006-05-06 Thread Jack
Are you connecting to the Tomcat host using: https://localhost:8443 Not just http://localhost:8443 On 05/05/06, josemanuel lopez [EMAIL PROTECTED] wrote: Hi I enable SSL in Tomcat, creating a key creaded with keytool and I updated my server.xml removing the comments on the port 8443 to

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-06 Thread Pascal
Hello Nobody could help me please or give a web pointer to help us to well configure Tomcat with Apache with a lot of vhosts Thanks by advance Pascal Yes Apache serves the Static pages and PHP We have 150 Vhost in fact. Some of our best client would like to use jsp/servlet in addition

Re: Resource vs. RealPath

2006-05-06 Thread Tim Funk
You'll need to clean the following up but you can use this: Date lastModified = new Date(servletContext .getResource() .openConnection() .getLastModified()); -Tim Bruce Miller wrote: Hi Tomcatters; A seemingly naive question: I've got various

Re: Resource vs. RealPath

2006-05-06 Thread Bruce Miller
Tim Funk wrote: You'll need to clean the following up but you can use this: Date lastModified = new Date(servletContext .getResource() .openConnection() .getLastModified()); Ah! I did miss that... However... Openning a connection seems potentially

Re: Install Guide

2006-05-06 Thread Gaël Lams
On 5/5/06, Dirk Moolman [EMAIL PROTECTED] wrote: Sorry, I tried 8081, but also 8080 (as in a previous mail), but both won't connect. After Tomcat start, did you verify that it's really listening on these ports (netstat -antpl)? Verify first that it's listening to that port (there should be 2

Re: Tomcat: The Definitive Guide Question

2006-05-06 Thread Gaël Lams
I read Professional Tomcat 5 (Wrox Press). Not bad, but I'd say for real problems the mailing list is still the best source of information. BTW the Tomcat online documentation is in fact far above open source average and some books are mainly a beautified copy of it. Professional Tomcat 5 also

Re: SSL enabled and trying to open the port 8443 wit h the browser and nothing happend

2006-05-06 Thread Gaël Lams
Hi, I enable SSL in Tomcat, creating a key creaded with keytool and I updated my server.xml removing the comments on the port 8443 to enable it's access. But when I call in my browser localhost:8443 the browser receives a file and gives me option t save it or open it with ...??? Did you

Re: Tomcat and CRL(s) Certification Revocation Lists

2006-05-06 Thread Bill Barker
Jack [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have already gotten Tomcat to work with a (single) CRL, and as it was a bit of a struggle have placed some info for those trying to do this at [1]. The document is far from perfect, and any comments are welcome. Now to the

Re: Tomcat config with APACHE and mutliple VHOST

2006-05-06 Thread Pedro Silveira Vieira da Silva
I think what you need is to use modjk: http://tomcat.apache.org/connectors-doc/ Here are some examples how to use it: http://www.csse.uwa.edu.au/~ryan/tech/tomcat.html Pedro Silva Pascal wrote: Hello Nobody could help me please or give a web pointer to help us to well configure Tomcat

Re: Limiting the number of connection threads per application

2006-05-06 Thread Leon Rosenberg
On 5/6/06, David Rees [EMAIL PROTECTED] wrote: On 5/5/06, Leon Rosenberg [EMAIL PROTECTED] wrote: you could send the user to a waiting page, which should automatically retry the action (via http redirect or js redirect) after some amount of time. On the other hand, if the waiting condition

Re: Crashing Tomcat 4.1 on Debain

2006-05-06 Thread Min Huang
I didn't notice that I had the wrong topic in my email. My sincerest apologies! Marc Farrow wrote: Min, You commited what is known as thread stealing. Read the FAQs. When you want to submit a new question/topic then send a clean email to users@tomcat.apache.org and DO NOT REPLY to someone

Re: Resource vs. RealPath

2006-05-06 Thread Tim Funk
Its not as expensive as you think. The connection is NOT an HttpConnection. Its a connection to a custom resource loader. -Tim Bruce Miller wrote: Tim Funk wrote: You'll need to clean the following up but you can use this: Date lastModified = new Date(servletContext