Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Rainer Jung
See below On 04.08.2010 22:17, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Rainer, Do you have a suggestion? Do I need to change my worker.properties? Sorry, I'm new to Tomcat, I appreciate your help. -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent

Re: Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread Rainer Jung
On 04.08.2010 22:54, T. Gau wrote: Hello, I have executed 'netstat -anopb tcp' with the following result: TCP 0.0.0.0:8009 0.0.0.0:0 LISTENING 3436 [java.exe] TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 3436 [java.exe] TCP 127.0.0.1:8005 0.0.0.0:0 LISTENING 3436 [java.exe] I could not find another lis

Re: Rewrite URLs inside HTML pages?

2010-08-05 Thread Rainer Jung
Comments inline On 05.08.2010 03:30, Leon Kolchinsky wrote: Hi, Hmm. Interesting. Of course I'd like to make it work with "simple configuration" or/and with JkHTTPSIndicator. I'm just not clear on how to make this "simple configuration". As I've said there is no SSL handling on the server sid

help tomcat

2010-08-05 Thread paola bianchi
Hello, I'm using Tomcat 5.5, I'm new in Tomcat and web application world I'm trying to make a web application on Tomcat. I downloaded source code of a Web Application using JSF, from the site http://www.manning.com/mann/ I put the webapp into Tomcat, tried to lanch the HelloWorld webapp but I encou

Re: help tomcat

2010-08-05 Thread michel
- Original Message - From: "paola bianchi" To: Sent: Thursday, August 05, 2010 6:31 AM Subject: help tomcat Hello, I'm using Tomcat 5.5, I'm new in Tomcat and web application world I'm trying to make a web application on Tomcat. I downloaded source code of a Web Application using J

RE: Memory leak in using SSL with Tomcat 6.0.18 - Solved

2010-08-05 Thread B. Balakrishna Rao
The problem with memory leak using Tomcat 6.0.18 with SSL+JSSE is solved. I have implemented native SSL(using Apache APR) instead of JSSE SSL and the problem went away. Thanks for your help on this. Please note that memory leak using with SSL+JSSE is still exist on tomcat 6.0.29 version. Thanks

RE: Memory leak in using SSL with Tomcat 6.0.18 - Solved

2010-08-05 Thread Sarath Babu Polavarapu
Good Work Bala. -Original Message- From: B. Balakrishna Rao [mailto:balakrishna_...@persistent.co.in] Sent: Thursday, August 05, 2010 5:29 PM To: Tomcat Users List Subject: RE: Memory leak in using SSL with Tomcat 6.0.18 - Solved The problem with memory leak using Tomcat 6.0.18 with SSL+

RE: Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Subject: Re: Tomcat 6 does not respond or freeze after startup > > Did we already see a full thread dump? Yes: http://marc.info/?l=tomcat-user&m=128078460930111&w=2 > Could it be blocked by entropy gathering for random > initialization? Pro

RE: Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread Caldarale, Charles R
> From: T. Gau [mailto:t...@normad.de] > Subject: Re: Tomcat 6 does not respond or freeze after startup > > as I understand the netstat output the mentioned PID's are the client > ports instead. You are correct, André misread the output. > What seems conspiciuous is that the home page from > htt

RE: Prioritizing incoming requests

2010-08-05 Thread Caldarale, Charles R
> From: B. Balakrishna Rao [mailto:balakrishna_...@persistent.co.in] > Subject: Prioritizing incoming requests > > I would like to know if we can prioritizing the incoming requests > in Tomcat. Not via configuration. You're free to adjust the thread priority in your code by calling the appropr

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Rainer, Thanks again for being patient with me. I've seen some different behavior this morning. When I am trying to access my page, I get "Service Temporary Unavailable", which is better than what I was receiving. [Thu Aug 05 09:12:49.655 2010] [10216:8452] [debug] jk_uri_worker_map.c (1036): Atte

Re: Prioritizing incoming requests

2010-08-05 Thread Juha Laiho
On 5.8.2010 15:50, Caldarale, Charles R wrote: >> From: B. Balakrishna Rao [mailto:balakrishna_...@persistent.co.in] >> Subject: Prioritizing incoming requests >> >> I would like to know if we can prioritizing the incoming requests >> in Tomcat. > > Not via configuration. You're free to adjust t

Problem with CSS in HTML

2010-08-05 Thread PDiefent
Hello, My first test of the new Tomcat 7.0.0 release endet with following problem: In my HTML page I'm using a stylesheet: This works fine with Tomcat 5 and Tomcat 6! Tomcat 7 changes the link when the page is shown in the browser: How can I avoid this? Thanks, Peter -- View this message in c

Re: Issues with org.apache.catalina.connector.Request

2010-08-05 Thread Yogeshwar Srikrishnan
Thanks Christopher.This is the custom exception.All that our code attempts is to invoke the servletRequest.setAttribute where servletRequest is a HttpServletRequest and it is not cached. When you say " This smacks of a cached request object, which is totally illegal. " what do you mean by tha

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Rainer Jung
See inline On 05.08.2010 15:15, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Rainer, Thanks again for being patient with me. I've seen some different behavior this morning. When I am trying to access my page, I get "Service Temporary Unavailable", which is better than what I was recei

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread André Warnier
Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Rainer, Thanks again for being patient with me. I've seen some different behavior this morning. When I am trying to access my page, I get "Service Temporary Unavailable", which is better than what I was receiving. Yes, that looks good, fro

Re: Problem with CSS in HTML

2010-08-05 Thread André Warnier
PDiefent wrote: Hello, My first test of the new Tomcat 7.0.0 release endet with following problem: In my HTML page I'm using a stylesheet: This works fine with Tomcat 5 and Tomcat 6! Tomcat 7 changes the link when the page is shown in the browser: How can I avoid this? It is very, very unlik

RE: Issues with org.apache.catalina.connector.Request

2010-08-05 Thread Caldarale, Charles R
> From: Yogeshwar Srikrishnan [mailto:yogesh.srikrish...@rackspace.com] > Subject: Re: Issues with org.apache.catalina.connector.Request > > > This smacks of a cached request > > object, which is totally illegal. > > " what do you mean by that? It means it appears that you have stored a referen

Re: Issues with org.apache.catalina.connector.Request

2010-08-05 Thread Yogeshwar Srikrishnan
Thanks.Quite possible we are using certain REST resources as sub resource. Could be issues with the way its done! Thanks for the help. On 08/05/2010 09:59 AM, Caldarale, Charles R wrote: It means it appears that you have stored a reference to the Request object in the session or some other scop

RE: help tomcat

2010-08-05 Thread Richard G Curry
I had a similar problem when I first setup my Java development environment to work on servlets and I was missing the Servlets classes. From the message you report, it seems that you are missing the JavaServer Faces classes. Go to the Oracle web site http://www.oracle.com/technetwork/java/javaee

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Tomcat is not listening on Port 8009 using the AJP/1.3 protocol. I can change this line of code (just did it as a test) to reference port 8009 and I can see it's listening, however this Is not the protocol I am wanting. I have the isapi_redirect.dll deployed under 'Default' Websites in IIS wi

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/5/2010 12:46 AM, B. Balakrishna Rao wrote: > Attached is the image for incoming references for > com.sun.net.ssl.internal.ssl.SSLSocketImpl objects. Please let me > know if you want any further details. This list strips attachments. Glad th

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread André Warnier
Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Tomcat is not listening on Port 8009 using the AJP/1.3 protocol. I can change this line of code (just did it as a test) to reference port 8009 and I can see it's listening, however this Is not the protocol I am wanting. co

Re: Rewrite URLs inside HTML pages?

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 8/4/2010 9:30 PM, Leon Kolchinsky wrote: > Of course I'd like to make it work with "simple configuration" or/and with > JkHTTPSIndicator. > > I'm just not clear on how to make this "simple configuration". Rainer laid it out in his other mes

Re: [OT] Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/5/2010 8:39 AM, Caldarale, Charles R wrote: >> From: Rainer Jung [mailto:rainer.j...@kippdata.de] >> Subject: Re: Tomcat 6 does not respond or freeze after startup >> >> Did we already see a full thread dump? > > Yes: http://marc.info/?l=

RE: [OT] Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] Tomcat 6 does not respond or freeze after startup > > Yup. I think Microsoft's PRNG is implemented something like this: > > long int random() { > return time() % 2; > } > > Super efficient! I think you left

Re: Prioritizing incoming requests

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/5/2010 1:49 AM, B. Balakrishna Rao wrote: > I would like to know if we can prioritizing the incoming requests in > Tomcat. Let's say, I have a report module and a cart module in my web > application. I would like to give more priority to repo

Re: Problem with CSS in HTML

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 8/5/2010 10:01 AM, PDiefent wrote: > My first test of the new Tomcat 7.0.0 release endet with following problem: > In my HTML page I'm using a stylesheet: > > This works fine with Tomcat 5 and Tomcat 6! > Tomcat 7 changes the link when the

Re: Issues with org.apache.catalina.connector.Request

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yogeshwar, On 8/5/2010 11:03 AM, Yogeshwar Srikrishnan wrote: > Thanks.Quite possible we are using certain REST resources as sub resource. > Could be issues with the way its done! This is not legal from a Servlet Spec standpoint. It's also bad practi

Re: help tomcat

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, On 8/5/2010 11:12 AM, Richard G Curry wrote: > I had a similar problem when I first setup my Java development > environment to work on servlets and I was missing the Servlets > classes. From the message you report, it seems that you are missi

Re: [OT] Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/5/2010 11:54 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] Tomcat 6 does not respond or freeze after startup >> >> Yup. I think Microsoft's PRNG is implemented somet

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Andre, I created a folder within the Tomcat 6.0 directory called 'connector'. That is where all of my redirect files are locared. Here is my server.xml -Original Message- From: Andr

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Caldarale, Charles R
> From: Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 > [mailto:jason.t.hansel@navy.mil] > Subject: RE: Tomcat 6.0.18/ IIS 6.0 /SSL > > I created a folder within the Tomcat 6.0 directory called > 'connector'. That is where all of my redirect files are > locared. For curiosity's sake, wha

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Rainer, Good news amigo, I am connecting to my web application. Looks like the uncommented SSL section was causing my isapi_redirect.dll to not work. The one thing I have noticed though is that it's kind of slow, any pointers w/respect to speed? Thanks man. -Original Message- From: Raine

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Charles, I was just putting that protocol in there to prevent the 8080 from being hit, I've actually commented it out. I got this server.xml file from the install (Note:that not everything is on here). I can load my webapp now, but the page takes a little while to load using the isapi_redirect.dll

Re: UTF-8 encoding in Tomcat 6.0 fixed

2010-08-05 Thread michel
- Original Message - From: "André Warnier" To: "Tomcat Users List" Sent: Tuesday, August 03, 2010 5:30 PM Subject: Re: UTF-8 encoding in Tomcat 6.0 fixed michel wrote: - Original Message - From: "michel" To: "Tomcat Users List" Sent: Tuesday, August 03, 2010 1:08 PM Sub

tomcat caching of static files

2010-08-05 Thread swoodbury
Hi. I have a tomcat - struts web application. I have a thread which creates a static datafile each night. when the user accesses the corresponding .do action, that action reads the static file and presents formatted output. if the file isn't there for whatever reason, it creates it dynamicall

Re: Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread T. Gau
Hello, @Thread dumps: I attached some current thread.Directly after startup and after Tomcat stops responding. @Installation and start: I installed Tomcat directly from a zip file and runs it from the given scripts. @Prevented access: I have deactivated the firewall as well as the virus

Re: [OT] Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] Tomcat 6 does not respond or freeze after startup Yup. I think Microsoft's PRNG is implemented something like this: long int random() { return time() % 2; } Super efficient! I thin

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread André Warnier
Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Charles, I was just putting that protocol in there to prevent the 8080 from being hit, I've actually commented it out. I got this server.xml file from the install (Note:that not everything is on here). I can load my webapp now, but the page

Tomcat Configuration Help

2010-08-05 Thread Tom Jones
Hello, I'm totally new to Tomcat and I have been searching the net for a little while now looking for info on configuring tomcat to host multiple apps on different ports and different web roots. I have come across some posts on running multiple instances which might be the right thing for me I'm

can't fire tomcat with the security option

2010-08-05 Thread Rashid Jilani
Gurus when I try to fire the tomcat "catalina start -security" I am following the following errors java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.catalina) at java.security.AccessControlContext.checkPermission(Un

Re: can't fire tomcat with the security option

2010-08-05 Thread Mark Thomas
On 05/08/2010 23:10, Rashid Jilani wrote: > Gurus when I try to fire the tomcat "catalina start -security" I am > following the following errors > > > > java.security.AccessControlException: access denied > (java.lang.RuntimePermission accessClassInPackage.org.apache.catalina) > >

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread André Warnier
Maybe to avoid further meandering in what should or should not work, here is a short tutorial of how all this stuff works. At the end of the chain, you have a Tomcat Engine. This engine processes HTTP requests which it receives in some internal Tomcat format. The requests are processed by fo

RE: can't fire tomcat with the security option

2010-08-05 Thread Caldarale, Charles R
> From: Rashid Jilani [mailto:jil...@lifebiosystems.com] > Subject: can't fire tomcat with the security option > > Can some shed some light what is the root cause of the error Not unless you shed some light on the version of Tomcat you're using and how you installed it, the JVM it's running in,

RE: can't fire tomcat with the security option

2010-08-05 Thread Rashid Jilani
My bad, here is the info Tomcat : 6.0.29 OS = windows XP JDK = 1.6.0_05 I just downloaded the core zip file from http://apache.cs.utah.edu/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.z ip, and unzip on my machine. The way I fire it is some thing like that @echo off setlocal set JAVA_OPTS=

RE: Tomcat Configuration Help

2010-08-05 Thread Caldarale, Charles R
> From: Tom Jones [mailto:tjo...@acworld.com] > Subject: Tomcat Configuration Help > > I'm totally new to Tomcat and I have been searching the net for a > little while now looking for info on configuring tomcat to host > multiple apps on different ports and different web roots. Other than not tel

Re: Tomcat Configuration Help

2010-08-05 Thread Tom Jones
Chuck, this is great thanks. OK, I'll fill in some of the gaps here I'm running Tomcat 6.0.26, planning on upgrading to 6.0.29 shortly. Im using Java 6 on Mac OS X server. So I have one question, on your comments on elements in server.xml. I put the element in so that I could set the docBas

RE: Tomcat Configuration Help

2010-08-05 Thread Caldarale, Charles R
> From: Tom Jones [mailto:tjo...@acworld.com] > Subject: Re: Tomcat Configuration Help > > I put the element in so that I could set the > docBase to my app directory thus avoiding the need to > append "appWebServices" to the URL. Is there a better > way to do this? Yes - do what I said: > > >

Re: Tomcat Configuration Help

2010-08-05 Thread Tom Jones
Chuck, thanks! I have been missing the obvious. I'm not sure how I've missed that for this long. "ROOT is the required name for the default webapp for a ." I have it working per your suggestions and guidance, thanks a bunch. Tom - Original Message - From: "Charles R Caldarale" To:

Re: tomcat caching of static files

2010-08-05 Thread Thad Humphries
Are you sure it's Tomcat doing the caching? I've found that both Firefox and IE will cache CGI, JSP, servlet, and other dynamic results. This has been true going back to when the old Mozilla 1.x had a preference for *never* caching. For GET calls were the results underlying content might change

Re: can't fire tomcat with the security option

2010-08-05 Thread Mark Thomas
On 05/08/2010 23:34, Rashid Jilani wrote: > My bad, here is the info > > Tomcat : 6.0.29 > OS = windows XP > JDK = 1.6.0_05 > > I just downloaded the core zip file from > http://apache.cs.utah.edu/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.z > ip, and unzip on my machine. > > The way I fir