RE: Serving up Static Pages - symlink - allowLinking

2007-07-21 Thread Caldarale, Charles R
> From: Ed _ [mailto:[EMAIL PROTECTED] > Subject: Serving up Static Pages - symlink - allowLinking Your formatting needs a lot of work. Please try to be considerate of your readers. Many people use at least one space after a period, for example. > scenario 1. - http://myhost:myport/appXYZ/docS

RE: Tomcat 3.3 and SSL Certificate Key with a Passphrase

2007-07-21 Thread Caldarale, Charles R
> From: Inash Zubair [mailto:[EMAIL PROTECTED] > Subject: Tomcat 3.3 and SSL Certificate Key with a Passphrase > > However, we have a web application that needs to be secured running > Tomcat 3.3. Don't suppose you'd consider moving to a more recent level? 3.3 was last touched over five years a

RE: change in local directory deployment behavior between 5.5 and 6

2007-07-21 Thread Caldarale, Charles R
> From: Alice Young [mailto:[EMAIL PROTECTED] > Subject: RE: change in local directory deployment behavior > between 5.5 and 6 > > I created /conf/Catalina/localhost (localhost on a > hunch) and put ROOT.xml in it: > > You should take out the path attribute - it's not allowed in this situa

Paths, Directories, Cookies: How do you get a session, or a file?

2007-07-21 Thread aladdin
After using Tomcat for over a year, one thing I still can't get straight is how directories are resolved. I would love it if someone could point me to a reference that ties together the context in server.xml, mod_jk mounts, and web.xml mappings, particularly with regard to an Apache front end.

Tomcat 3.3 and SSL Certificate Key with a Passphrase

2007-07-21 Thread Inash Zubair
Hi. I've been trying to tackle a problem with adding an SSL certificate to the keystore using the keytool. We have purchased a Verisign SSL Secure Site Pro certificate which was generated with a key using a passphrase. It was generated using OpenSSL. I have been able to make it work with Apache.

RE: change in local directory deployment behavior between 5.5 and 6

2007-07-21 Thread Alice Young
Charles, THANK YOU!! This put me on the right track to the answer. I did see something very similar to what you were talking about in a document somewhere, but it wasn't especially clear. About 10 more minutes of tinkering with it and it worked! One thing that threw me off was the directories,

CVE-2007-3383: XSS in Tomcat send mail example

2007-07-21 Thread Mark Thomas
CVE-2007-3383: XSS in Tomcat send mail example Severity: Low (Cross-site scripting) Vendor: The Apache Software Foundation Versions Affected: 4.0.0 to 4.0.6 4.1.0 to 4.1.36 Description: When reporting error messages, the SendMailServlet does not filter user supplied data before display. This en

Re: Added 005f on the path after pre-compilation

2007-07-21 Thread Mark Thomas
Billy Ng wrote: > Is a way to tell tomcat not to do it? I have the same path in the jsp > template. The extra 005f will totally break my app. Not that I am aware of. Why does this break your app? It shouldn't matter what the class is called. Mark --

Re: problems with IP based virtual hosting with multiple SSL certificates and APR

2007-07-21 Thread Mark Thomas
Przemyslaw Ceglowski wrote: > Dear Users, > > I have been fighting with it for good few weeks now and I cannot manage to > make it work myself so any help would be appreciated. Short version: - remove all the context elements - create a folder named ROOT inside every appBase - move the current c

Serving up Static Pages - symlink - allowLinking

2007-07-21 Thread Ed _
Hi,I am trying to serve up static pages / documents via tomcat. I have been google and searching the forums and have tried a couple of things suggested in the past, but haven't had success as yet.I am using tomcat 6.0 I have my webapp - say appXYZ viz accessible as http://myhost:myport/appXYZI

RE: Tomcat access log question

2007-07-21 Thread Caldarale, Charles R
> From: John Hui [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat access log question > > I am actually not permitted to store any of these > confidential information any where including ( the > access logs ). Due to the rather specialized nature of your requirements, your best bet may well be t

I still cannot run a basic struts2 app on tomcat55

2007-07-21 Thread Michelle Baert
Hi all, I'm trying to start learning struts2. I have a tomcat 5.5 server running fine with simple jsp applications. But I found no way to start a struts2 app, even struts2-blank-2.0.8 or any of the supplied examples. I tried several examples from various tutorials, they give the same error. How

Re: Cannot send mail from servlet

2007-07-21 Thread Juha Laiho
Fabio Rossi wrote: > Here's sendMail method: > > Properties props = new ConfigLoader().loadConfigFile(); > String prop; > prop=(String)props.get("summary_header"); > if(prop!=null) > summary=prop+"\n"+summary; >

Re: Tomcat thread management like Apache mpm-worker

2007-07-21 Thread Juha Laiho
Miguel Angel Tormo wrote: > I have a few questions regarding the process and thread management with > Tomcat: > Is there a way to achieve some sort of process-threads handling such as that > of the mpm-worker of Apache http server? > I ask that question because I am using Tomcat 5.5 with JDK 1.4