Re: Invalid DOAP file for the Tomcat Project

2008-07-28 Thread Erling Wegger Linde
That's great :D So if I understand you correctly, all the DOAP files on Apache are created and updated manually? - Erling On Sun, Jul 27, 2008 at 3:34 PM, Mark Thomas [EMAIL PROTECTED] wrote: Erling Wegger Linde wrote: Hi,

tomcat server hang when processing more request

2008-07-28 Thread sur_1805
i am using tomcat 4 on unix server. it hangs with in every 20-30 minutes when more requests are came to server. It only works when i restart the server. I cant find the possible cause to this problem...can any body told me the command to say how many threads of tomcat are running in server. or

Re: Invalid DOAP file for the Tomcat Project

2008-07-28 Thread Mark Thomas
Erling Wegger Linde wrote: That's great :D So if I understand you correctly, all the DOAP files on Apache are created and updated manually? Yep. That is my understanding. Mark - To start a new topic, e-mail:

Programmatically detecting login or logout events

2008-07-28 Thread MartinOShea
Hello I'm trying to find a way to detect the events caused when a user logs into or logs out of an application I'm working on. I want to record these events so that I know the exact steps a user has taken through the application's JSPs and servlets. I want to do this without reference to the

Re: Programmatically detecting login or logout events

2008-07-28 Thread Mark Thomas
MartinOShea wrote: I have used request.getRemoteUser() at various points in the application to identify the current user when they are authenticated by Apache Tomcat. However, request.getRemoteUser() does not tell me when the user logged in or off. request.getRemoteUser() tells you if the user

Re: Programmatically detecting login or logout events

2008-07-28 Thread MartinOShea
markt-2 wrote: MartinOShea wrote: I have used request.getRemoteUser() at various points in the application to identify the current user when they are authenticated by Apache Tomcat. However, request.getRemoteUser() does not tell me when the user logged in or off.

Re: Programmatically detecting login or logout events

2008-07-28 Thread Johnny Kewl
- Original Message - From: MartinOShea [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, July 28, 2008 10:15 AM Subject: Programmatically detecting login or logout events Hello I'm trying to find a way to detect the events caused when a user logs into or logs out of an

Re: How to configure Toncat to accept HTTP PUT requests?

2008-07-28 Thread Moley Harey
Hi Charles, I created a new servlet context and added the configuration you sent me in its web.xml and it worked fine ;-) Thanks a lot for your help! 2008/7/25 Caldarale, Charles R [EMAIL PROTECTED] From: Moley Harey [mailto:[EMAIL PROTECTED] Subject: How to configure Toncat to accept

Re: Programmatically detecting login or logout events

2008-07-28 Thread David Smith
Martin the problem is that even when you invalidat the session... the browser itself still knows that the user is cool... So TC will send it a new session ID and it will return the info without even asking the user to logon as such... I can see this happening ONLY if the user is authenticating

Coyote connector and documentation..

2008-07-28 Thread Dan Keeley
Hi, I'm a bit confused about the documentation on the http connector. The tomcat documentation talks about parameters such as maxProcessors rather than maxThreads which seems to be the term used everywhere else. Are these the same or not? Also; The documentation on the http connector is

RE: Coyote connector and documentation..

2008-07-28 Thread Caldarale, Charles R
From: Dan Keeley [mailto:[EMAIL PROTECTED] Subject: Coyote connector and documentation.. The tomcat documentation talks about parameters such as maxProcessors rather than maxThreads which seems to be the term used everywhere else. Which Tomcat doc still talks about maxProcessors? This is

Re: Coyote connector and documentation..

2008-07-28 Thread Mark Thomas
Dan Keeley wrote: Hi, I'm a bit confused about the documentation on the http connector. The tomcat documentation talks about parameters such as maxProcessors rather than maxThreads which seems to be the term used everywhere else. Are these the same or not? The name depends on which

address bar shows ip instead or domain name

2008-07-28 Thread nilanthan
Hi, I have a website hosted on netfirms. I have a domain,exmaple, mydomain.com and it forwards to an address http:/xx.xx.xxx.xx:8080/folder1/welcome.action where xx is the ip of the server. Im runningTomcat 5.5 alone without apache. The problem is that when a users goes to www.mydomain.com, it

Re: Tomcat Hosting

2008-07-28 Thread Don Millhofer
Fairly new but Kattare seems to be working for us. Don At 10:12 PM 7/27/2008, you wrote: Having been burnt a number of times, I was wondering if anyone knew of a reliable host that specializes in Java Hosting for Tomcat. Especially if they offer some sort of trial service, so I can evaluate the

latest jk connector

2008-07-28 Thread Alessandro Ferrucci
Hello folks, I'm getting contradictory information about which is the latest version of mod_jk. In a few resources like Professional Apache Tomcat 5 book, and http://tomcat.apache.org/connectors-doc-archive/jk2 it says that mod_jk2 is a re-write of mod_jk and is much better for apache httpd 2.0

Re: address bar shows ip instead of domain name

2008-07-28 Thread Yuval Perlov
Where ever you forward, that's what the address bar shows On Jul 28, 2008, at 7:45 PM, nilanthan wrote: Hi, I have a website hosted on netfirms. I have a domain,exmaple, mydomain.com and it forwards to an address http:/xx.xx.xxx.xx:8080/folder1/ welcome.action where xx is the ip of the

Re: latest jk connector

2008-07-28 Thread Mark Thomas
Alessandro Ferrucci wrote: Hello folks, I'm getting contradictory information about which is the latest version of mod_jk. In a few resources like Professional Apache Tomcat 5 book, and http://tomcat.apache.org/connectors-doc-archive/jk2 it says that mod_jk2 is a re-write of mod_jk and is much

Re: latest jk connector

2008-07-28 Thread Alessandro Ferrucci
ok sweet, then I've got the latest code in place :) thanks a bunch Alessandro Ferrucci On Mon, Jul 28, 2008 at 3:46 PM, Mark Thomas [EMAIL PROTECTED] wrote: Alessandro Ferrucci wrote: Hello folks, I'm getting contradictory information about which is the latest version of mod_jk. In a

Re: latest jk connector

2008-07-28 Thread David Smith
Books are notorious for being out of date, so don't pay any attention to the book. Mod_jk2 was an attempted rewrite of mod_jk, but the effort died a couple years ago. Most of the feature set of mod_jk2 was back-ported to mod_jk code which is presently being actively developed. You should

Auth incorrectly redirects to img file

2008-07-28 Thread Jerry Atrick
When attempting to log into a standard form-based login field, I'm always redirected to an image folder. My folder layout: /img /web-inf/ /web-inf/web.xml /index.jsp /login.jsp /error.jsp setup: Spring2.5/tiles2/tomcat5.5 in my web.xml: [code] security-constraint display-nameSecurity

Re: address bar shows ip instead of domain name

2008-07-28 Thread nilanthan
So what Can I do so that that domain goes to that address but shows the domain in the address bar? Yuval Perlov wrote: Where ever you forward, that's what the address bar shows On Jul 28, 2008, at 7:45 PM, nilanthan wrote: Hi, I have a website hosted on netfirms. I have a

Re: address bar shows ip instead of domain name

2008-07-28 Thread Ken Bowen
Apply a rewrite filter (http://tuckey.org/urlrewrite/) to map the ip expression to what you want. ken On Jul 28, 2008, at 5:36 PM, nilanthan wrote: So what Can I do so that that domain goes to that address but shows the domain in the address bar? Yuval Perlov wrote: Where ever you

Re: address bar shows ip instead of domain name

2008-07-28 Thread nilanthan
Thanks. I have looked at that before but am a bit confused about the instructions. Is there a good tutorial for this urlrewrite? Ken Bowen wrote: Apply a rewrite filter (http://tuckey.org/urlrewrite/) to map the ip expression to what you want. ken On Jul 28, 2008, at 5:36 PM,

compile failed: Tomcat-6.0.16 with jdk-1.6.0_06 - bcp/BasicDataSource.java:44 error

2008-07-28 Thread Poor Yorick
compiling tomcat-6.0.16 on LInux kernel 2.4.21-50.ELhugemem with jdk-1.6.0_06, I run into the following error: build-tomcat-dbcp: [copy] Copying 63 files to /path/to/apa che-tomcat-6.0.16/tomcat6-deps/dbcp [move] Moving 63 files to /path/to/apac

Re: address bar shows ip instead of domain name

2008-07-28 Thread Ken Bowen
I don't know of any tutorial -- I found the documentation gave me enough guidance. It's really pretty straight-forward. Drop a filter definition like this in your web.xml: filter filter-nameUrlRewriteFilter/filter-name filter-classorg.tuckey.web.filters.urlrewrite.UrlRewriteFilter/

Re: compile failed: Tomcat-6.0.16 with jdk-1.6.0_06 - bcp/BasicDataSource.java:44 error

2008-07-28 Thread Jim Cox
Alas, poor Yorick! No. (sorry, couldn't resist). On Mon, Jul 28, 2008 at 7:56 PM, Poor Yorick [EMAIL PROTECTED] wrote: compiling tomcat-6.0.16 on LInux kernel 2.4.21-50.ELhugemem with jdk-1.6.0_06, I run into the following error: build-tomcat-dbcp: [copy] Copying 63 files to

Committing sendRedirect()

2008-07-28 Thread Tore Eriksson
Hi everybody, I have a problem with redirects in Tomcat 5.5.25. I am doing a Lucene search and would like to send a redirect after finding the top 25 hits, commit this response, and then continue processing the remaining hits. The relevant parts of the doPost() code are as below: final int

RE: compile failed: Tomcat-6.0.16 with jdk-1.6.0_06 - bcp/BasicDataSource.java:44 error

2008-07-28 Thread Caldarale, Charles R
From: Poor Yorick [mailto:[EMAIL PROTECTED] Subject: compile failed: Tomcat-6.0.16 with jdk-1.6.0_06 - bcp/BasicDataSource.java:44 error compiling tomcat-6.0.16 on LInux kernel 2.4.21-50.ELhugemem with jdk-1.6.0_06, I run into the following error: You will have to build with JDK 1.5. Look

Re: compile failed: Tomcat-6.0.16 with jdk-1.6.0_06 - bcp/BasicDataSource.java:44 error

2008-07-28 Thread Bill Barker
Poor Yorick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] compiling tomcat-6.0.16 on LInux kernel 2.4.21-50.ELhugemem with jdk-1.6.0_06, I run into the following error: build-tomcat-dbcp: [copy] Copying 63 files to /path/to/apa che-tomcat-6.0.16/tomcat6-deps/dbcp

Tomcat 6.0.16 error startup on AIX 6.1

2008-07-28 Thread BerMO
I've install tomcat 6.0.16 on AIX and try to start it up but when tomcat started it's immediately shutdown. The catalina.out is show below, please help Jul 29, 2008 11:54:45 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows