tomcat 6.0 support

2008-10-23 Thread rajesh202023
Hi All, Can anyone please tell me whether Tomcat 6.0 is supported on the following platforms or not? a. Windows 2003, 2008 32 bit x86 b. Windows 2003, 2008 64 bit x64 c. Solaris 10 SPARC d. HP-UX 11.31 IPF e. RHEL 5, SLES 10 x64 --Rajesh -- View this message in context:

Re: tomcat 6.0 support

2008-10-23 Thread André Warnier
rajesh202023 wrote: Hi All, Can anyone please tell me whether Tomcat 6.0 is supported on the following platforms or not? a. Windows 2003, 2008 32 bit x86 b. Windows 2003, 2008 64 bit x64 c. Solaris 10 SPARC d. HP-UX 11.31 IPF e. RHEL 5, SLES 10 x64 I am not the best qualified to answer

Tomcat 5.5.26 Vulnerability - Test

2008-10-23 Thread Gozde Aytan
Dear all, In our project, we are using Tomcat 5.5.26 and as it is reported that some vulnerabilities have been found. So, I just want to test our system if these vulnerabilties are exploited in our side or not. But I do not know how to test? Is there someone else who could help me in testing

RE: Tomcat 5.5.26 Vulnerability - Test

2008-10-23 Thread Peter Crowther
Which JDK are you using, and do those vulnerabilities apply to that *specific* JDK? They are all Java vuls, not Tomcat vuls. - Peter -Original Message- From: Gozde Aytan [mailto:[EMAIL PROTECTED] Sent: 23 October 2008 12:32 To: users@tomcat.apache.org Subject:

Re: Tomcat 5.5.26 Vulnerability - Test

2008-10-23 Thread Gozde Aytan
Dear Mr. Crowther, Thank you for your quick response. We are using JDK 1.6.0_07. I do not have any idea about those vulnerabilities. I just follow the link: http://tomcat.apache.org/security-5.html and search for the vulnerabilities that are fixed in Tomcat 5.5.27 one by one and found the items

how to enable embedded tomcat logging - stderr.log stdout.log ?

2008-10-23 Thread Raminder Singh
Hi, We are using embedded tomcat (5.0.28) in our project. Now the requirement is to enable tomcat level logging mainly into stderr.log stdout.log. Current code updates: // 1. tried settting logging at server level embedded = new Embedded(); // print all log statments to standard error

RE: Possible causes of connection timeouts?

2008-10-23 Thread gary . l . johnstone
It looks like this is an issue with the tomcat native connector. If I remove it I have no connection issues at all. Any ideas why the native connector could be causing issues? I built the connector using TC native - 1.1.14 apr- 1.2.12 OpenSSL - 0.9.8h 28 May 2008

Re: Tomcat 5.5.26 Vulnerability - Test

2008-10-23 Thread Konstantin Kolinko
2008/10/23 Gozde Aytan [EMAIL PROTECTED]: Dear Mr. Crowther, Thank you for your quick response. We are using JDK 1.6.0_07. I do not have any idea about those vulnerabilities. I just follow the link: http://tomcat.apache.org/security-5.html and search for the vulnerabilities that are fixed in

How to serve two docBases under the same context path

2008-10-23 Thread nlif
Hi all, I am using Tomcat 6, and I have the following problem: I am trying to separate the static content from the dynamic content of my application. In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application (mainly JSP's). This can be

Re: tomcat 6.0 support

2008-10-23 Thread Filip Hanik - Dev Lists
one correction you can buy commercial support, just google tomcat support and you'll find several companies offering commercial support with warranty and resolution guarantees Filip André Warnier wrote: rajesh202023 wrote: Hi All, Can anyone please tell me whether Tomcat 6.0 is supported

Re: How to serve two docBases under the same context path

2008-10-23 Thread Hassan Schroeder
On Thu, Oct 23, 2008 at 7:56 AM, nlif [EMAIL PROTECTED] wrote: I am trying to separate the static content from the dynamic content of my application. In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application (mainly JSP's). My

RE: Possible causes of connection timeouts?

2008-10-23 Thread Martin Gainty
Hi Gary- i noticed you're using ./configure.sh? the only suggestion I can offer would be to use maven for this effort http://maven.apache.org that way version specific anomalies/abnormalities would be addressed by the version attribute-specifier an example: dependencies dependency

RE: How to serve two docBases under the same context path

2008-10-23 Thread Caldarale, Charles R
From: nlif [mailto:[EMAIL PROTECTED] Subject: How to serve two docBases under the same context path In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application Why are you wasting your time, energy, and resources to do that? Tomcat is

RE: Possible causes of connection timeouts?

2008-10-23 Thread gary . l . johnstone
Thanks Martin I will look into maven. Switching to solaris has been a steep learning curve, one more thing wont hurt :) ___ Gary Johnstone PLM System Administrator Cummins Turbo Technologies Ltd Martin Gainty [EMAIL PROTECTED] wrote on 23/10/2008 16:19:43: Hi Gary-

RequestDispatcher and sendfile()/java.nio

2008-10-23 Thread Ronald Klop
Hi, Does Tomcat 5.5 or maybe 6.0 use java.nio/sendfile() to send static content? So is it more prefered to use RequestDispatcher.forward(myfile) than copy a FileInputStream to ServletOutputStream by hand? I already have the copying part, but would like to know if it is worth the trouble to

RE: How to serve two docBases under the same context path

2008-10-23 Thread nlif
Theoretically, maybe, but in real-life heavy-duty production environments, I believe using Apache as a front to Tomcat has advantages, in areas as security, load-balancing, caching and scalability. Furthermore, the production architecture is not the issue here, as I've explained in my original

Re: How to serve two docBases under the same context path

2008-10-23 Thread nlif
Should my dev and prod environments be identical? Really? So you deploy your source files? :-) This is one of many cases in which the development environment does not match the production environment. And as I explained in my other post, not using Apache will not change my problem. Hassan

Re: How to serve two docBases under the same context path

2008-10-23 Thread Jeff
On Thu, Oct 23, 2008 at 9:56 AM, nlif [EMAIL PROTECTED] wrote: I am trying to separate the static content from the dynamic content of my application. In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application (mainly JSP's). This can be

Re: How to serve two docBases under the same context path

2008-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nlif, nlif wrote: The problem stems from the decision to separate the web-app and static-content to two projects in SVN, and this is due to the fact that different people maintain them. This shouldn't be a problem: set your Context to point to

Re: Blocked threads

2008-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: Sounds like you have a connection leak. There are various techniques for tracking these down. One I like is setting the connection pool size to 1 in your dev environment and then running your tests. +1 I always use a

Re: Tomcat - Oracle 11G

2008-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denny, ciamik bener wrote: 2. How do I connect to Oracle 11G ? Do I need to get the driver from oracle first? Google is your friend: http://www.google.com/search?q=oracle%20jdbc%20driver It is courteous to do some basic research before you post

Re: Oracle 11g

2008-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raj, There is no need to double-post. Please give the list members a chance to respond before you re-post. Also, consider sticking to a single email address for use with the list. - -chris Raj Shivanna wrote: Hi, could you give more detail

Re: How to serve two docBases under the same context path

2008-10-23 Thread André Warnier
nlif wrote: [...] I will not, like some others (;-)), presume to guess why you want to do this. But I will presume that you have a clear way to distinguish what are links to static content from what are links to dynamic content (e.g. static ends in .html,.jpg,.css etc.. while dynamic ends in

Re: How to serve two docBases under the same context path

2008-10-23 Thread Hassan Schroeder
On Thu, Oct 23, 2008 at 10:23 AM, nlif [EMAIL PROTECTED] wrote: Should my dev and prod environments be identical? Really? So you deploy your source files? :-) This is one of many cases in which the development environment does not match the production environment. Well, deploying source

One instance listen on 127.0.0.1 and on single external ip

2008-10-23 Thread Fu-Tung Cheng
Hi, I am trying to have my tomcat instance listen on a specific external ip address. I do that with the Connector address=207.203.10.45 Now I also would like to have tomcat remain listening on 127.0.0.1. Any idea how I get that to happen? Thank you, Fu-Tung

RE: One instance listen on 127.0.0.1 and on single external ip

2008-10-23 Thread Caldarale, Charles R
From: Fu-Tung Cheng [mailto:[EMAIL PROTECTED] Subject: One instance listen on 127.0.0.1 and on single external ip I do that with the Connector address=207.203.10.45 Now I also would like to have tomcat remain listening on 127.0.0.1. Just configure another Connector identical to the first

RE: One instance listen on 127.0.0.1 and on single external ip

2008-10-23 Thread Fu-Tung Cheng
That worked well. Thank you very much! Fu-Tung --- On Thu, 10/23/08, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Caldarale, Charles R [EMAIL PROTECTED] Subject: RE: One instance listen on 127.0.0.1 and on single external ip To: Tomcat Users List users@tomcat.apache.org Date:

Re: RequestDispatcher and sendfile()/java.nio

2008-10-23 Thread Filip Hanik - Dev Lists
Ronald Klop wrote: Hi, Does Tomcat 5.5 or maybe 6.0 use java.nio/sendfile() to send static content? So is it more prefered to use RequestDispatcher.forward(myfile) than copy a FileInputStream to ServletOutputStream by hand? I already have the copying part, but would like to know if it is

RE: tomcat 6 and subdirectories

2008-10-23 Thread Angelov, Rossen
Thanks Chuck, It is in server.xml and may that's the problem. In previous version I had in subdirectories under conf/Catalina. I will try in META-INF/context.xml, although how do you specify multiple contexts in this case? Ross -Original Message- From: Caldarale, Charles R

RE: tomcat 6 and subdirectories

2008-10-23 Thread Caldarale, Charles R
From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 6 and subdirectories I will try in META-INF/context.xml, although how do you specify multiple contexts in this case? There's a separate META-INF directory in each webapp, so each gets its own context.xml file. - Chuck

cookie.setSecure -- cookie not persisted in IE 6/7

2008-10-23 Thread David Wall
We set a secure cookie over HTTPS using: javax.servlet.http.Cookie cookie = new javax.servlet.http.Cookie(name, value); cookie.setVersion(1); cookie.setMaxAge(60*60*24*90); // 90 days in seconds cookie.setSecure(request.isSecure()); response.addCookie(cookie); This works in Firefox and

Re: cookie.setSecure -- cookie not persisted in IE 6/7

2008-10-23 Thread David Wall
cookie.setVersion(1); I think I found my own answer in that it appears that Firefox can accept a version 1 (RFC 2109) cookie, which we were using because the email address contains an '@' that's not allowed as a value in version 0 cookies. When we converted to version 0 and encoded the @,

read context.xml Resource attributes

2008-10-23 Thread Harry Levinson
What is the proper way to read attributes of a Resource in context.xml, for example the url attribute? I am building a test web page that shows whether or not we are successfully connected to the database. Only techies inide the company will be able to view that web page, so security is not an

Re: tomcat 6.0 support

2008-10-23 Thread rajesh202023
Thanks for the inputs that you have provided. Appreciated. I am sorry for the confusing question. I really wanted to know whether tomcat runs on the below mentioned platforms, and you have answered my query. :-) -- Rajesh awarnier wrote: rajesh202023 wrote: Hi All, Can anyone please