RE: logging all URL requests

2006-04-26 Thread John Powers
The access log is that isn't it? Otherwise a filter would be fired off with each request.. you could put a logger in there... but I'm thinking the access log does what you want already correct? -Original Message- From: D Law [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 1:31

RE: Question About Garbage Collector Logging in Tomcat5.5 on Windows

2006-04-20 Thread John Powers
I don't know about editing the registry, but as a service, can't you use the java tab in the tomcat settings? That's where we put our details. -Original Message- From: Farid Izem [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 9:39 AM To: Tomcat Users List Subject: Question Abo

hypens

2006-04-17 Thread John Powers
Hello, If I have a user search for "b-trunk" I would like them to be able to find "b-trunk" (with hypen). I would also like someone searching for "b trunk" to also find "b-trunk". On the other side, if someone searches for 12412 I would like them to be able to find 12412-235, 12412-121, 12412-

RE: "Full GC" vs regular GC?

2006-04-13 Thread John Powers
I'm not certain about the "full" terminology, but a minor gc will sweep the new generation in the heap. These are common. Major gc's harvest free objects in the tenured generation. There are different methods to mark an object as good or bad in either GC..copy works well in the new since we

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread John Powers
3gpp > > > I stopped and then started tomcat and entered the URL in the browser > > http://localhost:8080/video/3gp/video.3gp > > however I receive 404 "The requested resource is not available... > > > > -Original Message- > From: John Powe

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread John Powers
er webapps. Will I need to deploy a WAR file to do this? Thanks... -----Original Message- From: John Powers [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 10:17 AM To: Tomcat Users List Subject: RE: Serve a file instead of a page using Tomcat. If the file is in the web folde

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread John Powers
If the file is in the web folder then you can just path to it http://localhost:8080/somedir/somefile.ext But if it isn't, then a servlet can read in from a file stream and read out to the servlet's out stream... -Original Message- From: Rob Elliott [mailto:[EMAIL PROTECTED] Sent: Thu

RE: failure to compile jsps appropriately

2006-04-10 Thread John Powers
For example... its throwing a classnotfoundexception: org.apache.jsp.quote_jsp when you try to navigate to http://host/catdir/quote.jsp What would cause a mismap between the catdir and a jsp at org.apache.jsp.quote_jsp? -Original Message- From: John Powers [mailto:[EMAIL PROTECTED

failure to compile jsps appropriately

2006-04-10 Thread John Powers
Hello, On an install we have just put up we are having problems compiling some jsps. In the work folder, we have the usual, --, org, apache, jsp, folder structure An index.jsp that has a metarefresh compiled into that fine and run well. However, another folder structure is setup there parallel

RE: how setup landing page in tomcat

2006-04-10 Thread John Powers
1.Use an index.jsp that has a meta-refresh to the right directory? Or 2. use IIS to do it with a tomcat worker behind it. -Original Message- From: Bryan [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 9:38 AM To: users@tomcat.apache.org Subject: how setup landing page in tomca

RE: Tomcat tag question

2006-04-04 Thread John Powers
stribution, or other use of this information is strictly prohibited. If you have received this e-mail in error, please notify the sender by return e-mail and delete this message. Thank you. -Original Message----- From: John Powers [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:17 PM T

list hosts under tomcat

2006-04-03 Thread John Powers
/manager/list Give you a list of the contexts in the current virtual host inside tomcat. Is there a way to get a list (preferably xml) of the hosts defined in tomcat?I have a servlet in each host that I want to call and aggregate the info, but I need a list of the hosts so I can know who to

RE: Tomcat tag question

2006-04-03 Thread John Powers
Or use a filter to append that tag onto any response that is html... -Original Message- From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 2:38 PM To: Tomcat Users List Subject: Re: Tomcat tag question MW Mike Weiner (5028) wrote: > Dear List readers > > Sorr

RE: getsession if you know the id?

2006-04-03 Thread John Powers
The "application" object in jsps...the hosts in the server.xml. the context of the httpsessions for each user. -Original Message- From: Franck Borel [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:28 AM To: Tomcat Users List Subject: Re: getsession if you know the id? > If

RE: getsession if you know the id?

2006-04-03 Thread John Powers
ject: Re: getsession if you know the id? no, at least not, if you don't track all session yourself. Why do you need the session? Leon On 4/1/06, John Powers <[EMAIL PROTECTED]> wrote: > If you know the id of a session is there anyway

RE: session GC

2006-03-31 Thread John Powers
simple log. Then, create a separate object of your class for each httpsession and add it as an attribute of the httpsession. Of cause you want to make sure that you do not keep other references to this object and keep the log simple. Hansen -Original Message----- From: John Powers [mai

RE: session GC

2006-03-31 Thread John Powers
session GC easiest way to make sure they are GC'd is to set session time-outs. -Original Message----- From: John Powers [mailto:[EMAIL PROTECTED] Sent: Friday, March 31, 2006 6:07 PM To: Tomcat Users List Subject: session GC How do you know when a session is garbage collected?

session GC

2006-03-31 Thread John Powers
How do you know when a session is garbage collected? You can write a sessionlistener for when it gets deleted out of tomcat, but after that, when do you know if its garbage collected? I currently do not think my sessions are being collected. Within a day 500M of memory get eaten up and I can't c

session object holds session as an attribute

2006-03-31 Thread John Powers
If we have a sessionObject that holds a reference to the httpsession.. that sessionobject is set in the httpsession as an attribute. Would this effect garbage collection of that session? Once it times out, it gets marked as invalid, correct?If it gets collected, then all its attributes woul

getsession if you know the id?

2006-03-31 Thread John Powers
If you know the id of a session is there anyway to get it out of the application? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

list of applications

2006-03-31 Thread John Powers
Hello, I have tomcat setup with a couple applications running in the server.xml.is there a way to get a list of these from within a filter or a servlet or a jsp? Is there access to the container higher then application? Thanks. --

gc tuning

2006-03-29 Thread John Powers
I am trying to tune an instance of tomcat running a single application. And have a couple different questions. I have read lots of faqs and webpages on the various types of garbage collectors. I get from most of these that it takes lots of tuning particular to each machine/server/application.