Re: [ANN] Apache Tomcat 5.5.25 released

2007-09-09 Thread Mark Thomas
Timothy Wonil Lee wrote: > I am especially interested in those two session hijacking vulnerability > fixes. Are they included in 5.5.25? Yes. > Second question is: if they are fixed in 5.5.25, is it possible to just drop > in the Jar files (catalina.jar?) to the current production Tomcat server/li

RE: [ANN] Apache Tomcat 5.5.25 released

2007-09-09 Thread Timothy Wonil Lee
I have two questions regarding security fixes included in 5.5.25 On changelog page (http://tomcat.apache.org/tomcat-5.5-doc/changelog.html), two security fixes are included: Fix XSS security vulnerability (CVE-2007-2450) and Fix XSS security vulnerabilities (CVE-2007-2449) But on Security Reports

syslog restarts and reloads of tomcat 5.5 and 6.0

2007-09-09 Thread Tom H
Hi, I have a bunch of tomcat servers in a clustered configuration, and currently we use a syslog-ng for aggregating the log files off these hosts. I was wondering whether it was possible to cause tomcat to syslog its start, stop, restart, reload actions to syslog, maybe using log4j? It wou

RE: Connection pooling, is it the right way to do it?

2007-09-09 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Connection pooling, is it the right way to do it? > > I'm using Tomcat 5.5.9. Which is nearly 2.5 years old. Anytime you utilize invalid parameters, you run the risk of encountering undefined behavior in any level of the softwar

Re: [OT] Correct action to take on log out

2007-09-09 Thread David Delbecq
Here, using container security, as such we do not provide for a "logout" option. We see no need for a logout as there is no reason for our user to change identity :) If you keep a session after logout, the risk that might occur is that some datas that are to be considered "confidential" remai

RE: Connection pooling, is it the right way to do it?

2007-09-09 Thread [EMAIL PROTECTED]
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Subject: RE: Connection pooling, is it the right way to do it? > > > > Ok, once remove those 2 attributes, the rest is fine and good > > to be used? > > Probably, but you'll have to try it. You never did mention what version > of Tomcat you

Re: Generating a 404 response

2007-09-09 Thread Paul Singleton
[EMAIL PROTECTED] wrote: See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of a User It didn't work. I got a 500 later in my code. Here's what I did: if(detail.size() > 0) { dbutil = new DBUtil(getServletConfig().getInitParameter(Constants

Re: Generating a 404 response

2007-09-09 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of a User OK. My fault. This works: else { response.sendError(404, ""); return; } Now when I look in my http server log I see a status of 404 with the original URL. Thanks for your help. In Response To

Re: Generating a 404 response

2007-09-09 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of a User It didn't work. I got a 500 later in my code. Here's what I did: if(detail.size() > 0) { dbutil = new DBUtil(getServletConfig().getInitParameter(Constants.JNDI_NAME));

Re: Generating a 404 response

2007-09-09 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of a User Thanks very much. I will try that. In Response To: [EMAIL PROTECTED] wrote: > See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf > of a User > > I have a J2EE application residin

Re: Generating a 404 response

2007-09-09 Thread Paul Singleton
[EMAIL PROTECTED] wrote: See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of a User I have a J2EE application residing on Tomcat. The pages are dynamically generated. If a use enters an invalid request I redirect him to a generic error page (which isn't really an e

RE: Connection pooling, is it the right way to do it?

2007-09-09 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Connection pooling, is it the right way to do it? > > Ok, once remove those 2 attributes, the rest is fine and good > to be used? Probably, but you'll have to try it. You never did mention what version of Tomcat you're using, a

Re: Generating a 404 response

2007-09-09 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of a User Hi Martin, My name's Jason. I am posting from a Tomcat Forum on a website. Sam must be the admin person...? Anyway what's happening is that if a user request causes a page request for a non-existent page we

RE: Connection pooling, is it the right way to do it?

2007-09-09 Thread [EMAIL PROTECTED]
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Subject: Re: Connection pooling, is it the right way to do it? > > > > So context.xml and web.xml are fine? > > Not quite - you definitely should remove the path and docBase > attributes. They are not allowed when the element is in > META-

Re: Generating a 404 response

2007-09-09 Thread Martin Gainty
Sam- How is your custom error page being indexed? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immedia

Generating a 404 response

2007-09-09 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of a User I have a J2EE application residing on Tomcat. The pages are dynamically generated. If a use enters an invalid request I redirect him to a generic error page (which isn't really an error page but just a jsp th

Tomcat exploit attempt

2007-09-09 Thread Len Popp
Today I noticed in my access log file, for the first time, what looks like an attempt to exploit a security vulnerability in Tomcat. I've seen thousands of attempted exploits against software that I'm not even running (IIS, SQL Server, PHP) but this is the first one I've seen directed at Tomcat spe

Re: Corrupted archive file?

2007-09-09 Thread Daniel Schwartz
My apologies. I didn't know whether to send this to the user's list or the developer's list, so I sent to both. Best wishes, --Dan Schwartz "PTS" <[EMAIL PROTECTED]> wrote: > Mark, > > Did he post to the dev list or another list as well? Just curious why this > would be a cross post. > > Dou

Re: the tomcat welcome file one struts action

2007-09-09 Thread Yannick Haudry
Create a simple index.jsp and declare it as your welcome file in web.xml: index.jsp In this jsp, make use of a logic redirect to actually redirect to your action through a global ActionForward: <%@ taglib uri="http://struts.apache.org/tags-logic"; prefix="logic" %> Then update your struts-co

Re: Differentiate Tomcat 6.x with Tomcat 5.x

2007-09-09 Thread Clemens Eisserer
> Now that was just plain unnecessary. Sure it was a lazy question, but > you could always just delete it. Sorry it was absolutly not my intention to send this mail to the list I guess it was just an over-reaction caused by all those over-spammed forum.java.sun.com forums :-/ lg Clemens ---

Re: the tomcat welcome file one struts action

2007-09-09 Thread Hassan Schroeder
On 9/9/07, Miren Urkixo <[EMAIL PROTECTED]> wrote: > And into the web.xml i have: > > > /Index.do > I believe that should be "index.do" rather than "/index.do". (And presumably not starting with an upper-case "I"...) FWIW, -- Hassan Schroeder [EMAIL PROTECTED] ---

Re: Corrupted archive file?

2007-09-09 Thread Rainer Jung
Yes, first dev, second user. PTS wrote: Mark, Did he post to the dev list or another list as well? Just curious why this would be a cross post. Doug - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, September 09, 2007 10:14 AM Subjec

Re: the tomcat welcome file one struts action

2007-09-09 Thread Miren Urkixo
hello thanks for your answer. When i call: http://localhost:8080/Index.do the aplic show me the page well, the tomcat shows me the index page but if i call http://localhost:8080/ it not shows me the page. In my struts.config i have: Configuration 1.1//EN" "http://jakarta.apache.org/struts/dt

Re: Corrupted archive file?

2007-09-09 Thread PTS
Mark, Did he post to the dev list or another list as well? Just curious why this would be a cross post. Doug - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, September 09, 2007 10:14 AM Subject: Re: Corrupted archive file? Please

RE: Connection pooling, is it the right way to do it?

2007-09-09 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Connection pooling, is it the right way to do it? > > So context.xml and web.xml are fine? Not quite - you definitely should remove the path and docBase attributes. They are not allowed when the element is in META-INF/context.x

Re: Corrupted archive file?

2007-09-09 Thread Mark Thomas
Please do not cross-post. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Corrupted archive file?

2007-09-09 Thread Daniel Schwartz
Hello, The file http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.exe appears to be corrupted. In fact it seems to be about half the size it should be, as compared with other distributions of Tomcat. Could you please check this and let me know? I need this ve

Re: Connection pooling, is it the right way to do it?

2007-09-09 Thread [EMAIL PROTECTED]
> Hi. > > 1. Your docBase and path attributes are at best optional. As long as > your context.xml is delivered in your webapp's META-INF folder, it > should be used automagically. > So context.xml and web.xml are fine? And yes, both are dployed with the application > 2. I would trade the autoRec

Re: the tomcat welcome file one struts action

2007-09-09 Thread Lilianne E. Blaze
Try creating an empty file named "Index.do" in "/". Greetings, Lilianne E. Blaze Miren Urkixo wrote: > Hello > I am trying to make one web aplication using struts into one tomcat > 5.0.XX > In my web.xml file i writte whic is my welcome file, one struts action > (Index.do) but the tomcat doesn't