Re: serving files through SSL

2007-11-06 Thread Gabe Wong
Roger Parkinson wrote: I am trying to deliver some PDFs to the browser using my tomcat application. It works, but not always under SSL and IE. One file is a static PDF and it lives inside my war file. That works just fine. The file is accessed using a url like /myapp/web/myfile.pdf and that alw

serving files through SSL

2007-11-06 Thread Roger Parkinson
I am trying to deliver some PDFs to the browser using my tomcat application. It works, but not always under SSL and IE. One file is a static PDF and it lives inside my war file. That works just fine. The file is accessed using a url like /myapp/web/myfile.pdf and that always delivers the file. O

Tomcat 5.5.23 SingleSignOn Thread-safe?

2007-11-06 Thread Timothy Wonil Lee
Hi, I'm using Tomcat 5.5.23 with SSO enabled. I also implemented a customer Realm (extending RealmBase). It's been working great but just recently I've noticed that some session mix-up happening under high load. I am at loss to find where/why this happened. I looked at my own Realm implementa

Re: Stop Caching Flash files

2007-11-06 Thread MyTest Email
I will start on a filter now Thanks Bill On 11/6/07, Bill Barker <[EMAIL PROTECTED]> wrote: > > > "MyTest Email" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >I need to set tomcat to allways send a new copy of the flash file on the > > server and not send a cached copy, not ha

Re: Stop Caching Flash files

2007-11-06 Thread Bill Barker
"MyTest Email" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I need to set tomcat to allways send a new copy of the flash file on the > server and not send a cached copy, not have proxy servers cache the file, > etc. > > I know that there are client, server and proxy issues but I'm

Re: tomcat 4 history

2007-11-06 Thread Bill Barker
"Petr Sumbera" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All, > > I'm lost between various versions of Tomcat and relations between them. > Can you please help me to answer some questions? > > 1. What happened to Jakarta Tomcat 4.0 (last version I can see is 4.0.6) > It w

Re: Difference between org.apacha.catalina.Session and javax.servlet.http.HttpSession

2007-11-06 Thread Bill Barker
>"Bárbara Vieira" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >Hi there! > >This question is about Tomcat's Architecture and CoyoteConnectors. > > > >I would like to know the difference between >Session(org.apacha.catalina.Session) and >HttSession(javax.servlet.http.HttpSession)

Stop Caching Flash files

2007-11-06 Thread MyTest Email
I need to set tomcat to allways send a new copy of the flash file on the server and not send a cached copy, not have proxy servers cache the file, etc. I know that there are client, server and proxy issues but I'm looking to see what tomcat configuration can do to assit me to have proxy servers an

Re: Problems with a web application running a PHP script

2007-11-06 Thread Rocco Scappatura
>> Thanks for you hints. I will disinstall all JDK/JRE versions from my PC. >> I'm dowloading JDK 6 Update 3 and I will install it. > > No problem, you got me curious about scripting... > I Tested with this > == > protected void processRequest(HttpServletRequ

Re: Arbitrary headers

2007-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gustavo, Gustavo Noronha wrote: > I want to have the HTTP server of Tomcat add arbitrary headers to every > response. As an example, I'd like every request to have in its response, for > instance: > > X-MyOwnHeader = lala > > Something like Apache H

Arbitrary headers

2007-11-06 Thread Gustavo Noronha
Hello, I want to have the HTTP server of Tomcat add arbitrary headers to every response. As an example, I'd like every request to have in its response, for instance: X-MyOwnHeader = lala Something like Apache HTTPD's mod_headers. Is there a way to do that? Thanks, -- Gustavo Noronha Silva Coo

Re: cant make tomcat accept https

2007-11-06 Thread Gabe Wong
Yavuz Kavus wrote: 2) and i uncommented the part related to https as: 3) restarted tomcat and tried https://localhost:8443/ i got : The connection was interrupted The connection to localhost:8443 was interrupted while the page was loading. when i try http://localhost:8443/ (http instea

RE: tomcat 4 history

2007-11-06 Thread Propes, Barry L
I had to upgrade from TC 4.0 to 4.1.31 (the version I have) to get database connection pooling working. Just FYI. Still wrestling with the JSTL of it...had some slight issues there, but it should work. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Tuesday

Re: tomcat 4 history

2007-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Petr, Petr Sumbera wrote: > 1. What happened to Jakarta Tomcat 4.0 (last version I can see is 4.0.6) > > 2. What is relation between Jakarta Tomcat 4.0 and Apache Tomcat 4.1? > Are they compatible? > > 3. Is Apache Tomcat 4.1 supported and all securi

Would it made any sense to use an in memory session.JDBCStore . . .

2007-11-06 Thread Albretch Mueller
~ or simply set a negative maxInactiveInterval? ~ IMHO it is best to put lots of RAM in your box and set a high or negative maxInactiveInterval, but I may be missing some basic issues and I don't know the details of tomcats inner working ~ Another question that has been floating in my mind; in c

Difference between org.apacha.catalina.Session and javax.servlet.http.HttpSession

2007-11-06 Thread Bárbara Vieira
Hi there! This question is about Tomcat’s Architecture and CoyoteConnectors. I would like to know the difference between Session(org.apacha.catalina.Session) and HttSession(javax.servlet.http.HttpSession) objects. In Request(org.apache.catalina.connector.Request) object I get HttpSession –

tomcat 4 history

2007-11-06 Thread Petr Sumbera
Hi All, I'm lost between various versions of Tomcat and relations between them. Can you please help me to answer some questions? 1. What happened to Jakarta Tomcat 4.0 (last version I can see is 4.0.6) 2. What is relation between Jakarta Tomcat 4.0 and Apache Tomcat 4.1? Are they compatible?

Re: Environment variables

2007-11-06 Thread Gabe Wong
Andrew Hole wrote: I'm trying to execute a ssh command inside java code. SSH command must know HOMEDRIVE environment variable to find know_hosts file... How can I do that? Hi Andrew, You can pass the value as a Java Option. Click the Tomcat Service Manager icon (usually lower right of the W

Re: Environment variables

2007-11-06 Thread Andrew Hole
I will try!!! Thanks a lot On Nov 6, 2007 3:24 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Andrew, > > Andrew Hole wrote: > > I'm trying to execute a ssh command inside java code. SSH command must > > know HOMEDRIVE environment variable

Re: Environment variables

2007-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: > I'm trying to execute a ssh command inside java code. SSH command must > know HOMEDRIVE environment variable to find know_hosts file... How can > I do that? How are you invoking ssh? If you're doing a standard Runtime.exe

Re: [OT] Tomcat causing high CPU load

2007-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charlie, Charlie Wingate wrote: > There is a kill.exe (older version in resource kits) and a newer > taskkill.exe included with XP [onward] Note that taskkill.exe and UNIX kill are completely different. taskkill actually kills tasks, while the UNIX k

Re: Environment variables

2007-11-06 Thread Andrew Hole
I'm trying to execute a ssh command inside java code. SSH command must know HOMEDRIVE environment variable to find know_hosts file... How can I do that? Thanks a lot On Nov 6, 2007 3:14 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Andrew Hole [mailto:[EMAIL PROTECTED] > > Subject

RE: Environment variables

2007-11-06 Thread Caldarale, Charles R
> From: Andrew Hole [mailto:[EMAIL PROTECTED] > Subject: Environment variables > > how can I setup environment variables on tomcat windows service? > Tomcat cleans environment variables... You can't - services don't use environment variables. Use the tomcat?w.exe program to set Java system prop

Environment variables

2007-11-06 Thread Andrew Hole
Hello! how can I setup environment variables on tomcat windows service? Tomcat cleans environment variables... Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

RE: Tomcat causing high CPU load

2007-11-06 Thread Charlie Wingate
There is a kill.exe (older version in resource kits) and a newer taskkill.exe included with XP on; but neither of them will provide a stack dump/trace. Although they are very useful as tools and "parts". :) ~Charlie The significant problems we have cannot be solved at the same level of thinki

RE: Tomcat causing high CPU load

2007-11-06 Thread Caldarale, Charles R
> From: Andrew Miehs [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat causing high CPU load > > Kill -3 > ps auxwh The OP is running on Windows... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If

Tricky remote JMX port problem

2007-11-06 Thread Michael Böckling
Hi! I try using the org.apache.catalina.mbeans.JMXAdaptorLifecycleListener to connect to the JMX service using pre-defined ports. I added the following entry to my server.xml, and tomcat boots up ok: I'm using putty to connect to the target machine to tunnel the required ports. And... it nea

Re: Tomcat causing high CPU load

2007-11-06 Thread Leon Rosenberg
On 11/6/07, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: > Is there a link for Moskito? http://moskito.anotheria.net http://moskito.dev.java.net the site is on the move (moving to something better desgined) so just ask :-) Leon > > On Nov 6, 2007 6:21 AM, Leon Rosenberg <[EMAIL PROTECTED]> wrote:

Re: Tomcat causing high CPU load

2007-11-06 Thread Andrew Miehs
Hi Bob, Kill -3 Will produce a stack trace in catalina.out This problem is VERY most probably your code, and not tomcat, but a stacktrace should show this. ps auxwh will also give you an indication, its probably just 1 thread pushing you to such a high load. As for "walking" through the cod

Re: Tomcat 3.3.1a problem

2007-11-06 Thread Pid
Bill Barker wrote: > I don't recognize the problem, but AJP12 was deprecated even for 3.3.1a > (which, for Pid's benifit, was a single security issue bugfix release from > 3.3.1). Hat duly tipped. p > > - > To start a new t

Re: Tomcat 3.3.1a problem

2007-11-06 Thread Pid
Mark Thomas wrote: > Pid wrote: >> Marko Krejic wrote: >>> Hi, >>> >>> We are running Tomcat 3.3.1a on a Windows Server 2003. A apache server is >>> also installed on the machine as a proxy and it is connected with the >>> tomcat through AJP12. Tomcat is running on JDK1.4.2_13. >> The silence y

Re: Problems with a web application running a PHP script

2007-11-06 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "Rocco Scap

cant make tomcat accept https

2007-11-06 Thread Yavuz Kavus
hi, everbody. i am working newspaper daily view project. we will make our costumers member of site. so we want to take their information with https protocol. i have been trying to make tomcat accept https request on 8443, but i have failed so far. step by step what i do are: 1 ) C:\Documents and

Re:Out of Office

2007-11-06 Thread mitesh . shah
I'll be out of office from 11/05/07, returning back on 11/14/07. Please contact ASP team if you need any assistance. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Tomcat 1.1 - release date

2007-11-06 Thread Ronald Klop
On Wed Oct 31 18:13:30 CET 2007 Tomcat Users List wrote: This may sound corny but I am just wondering. It looks like I am going to be supporting a web app that is installed under Tomcat 1.1 Does anyone know what the release date of the Tomcat 1.1 was or the most recent release date of Tomcat 1