Look at the Timer and TimerTask classes, for scheduling tasks.
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005 7:16 PM
To: Tomcat Users List
Subject: Scheduled task in tomcat - how?
I need to create an automated task in tomcat that gets
Filters work great for this. Also, if you have a cluster, you probably
have a load balancer in front of the cluster. If you do, then you could
have the load balancer direct all your traffic to a server that runs
Apache and only served up a 'Sorry the site is down' page. When the
site is back up
Hi,
I'm supporting a legacy app that uses Remedy. It's Tomcat 4.x and Java
1.4 based, but I imagine the setup should be the same. The arapi51.jar
file goes into WEB-INF/lib. This app runs on Linux and there are some
.so files that need to be copied to $JAVA_HOME/jre/lib/i386. The .so
files can
You could write a filter to do this. So if the filter see's the shorter
url it can redirect/forward to the longer url.
Subir
-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 11:26 AM
To: Tomcat Users List
Subject: Tomcat 4.1 and
You will have to change it in the connector source too.
Subir
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 3:13 PM
To: Tomcat Users List
Subject: Re: Is it possible to use a parameter other than JSESSIONID to
maintain session?
1) Checkout
You should be able to telnet to the Tomcat server and send it a request.
The response including headers will be visible in your telnet session.
Subir
-Original Message-
From: Marco Mastrocinque [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 2:09 AM
To:
1 - Yes, you have to compile them
2 - If you don't want to register your servlets in web.xml, you can use
the Invoker servlet. However, I believe there are security issues with
it, since it will allow any servlet on your site to be run.
Subir
-Original Message-
From: Julio Macedo
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/news/20041100.html#2
0041115.1
-Original Message-
From: Casas, Claudia [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 12:49 PM
To: Tomcat Users List
Subject: RE: apache2 tomcat5 jk2 questions
No way! I just got my server
RH Linux v9:
Linux
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Monday, December 20, 2004 2:26 PM
To: Commons User; Struts User; Tomcat User
Subject: [OT] Request an app test (free beer!)
I was informed last OT post I made that the subject should always
Sun has one: http://forum.java.sun.com/forum.jsp?forum=45
Subir
-Original Message-
From: Jarl Skogsholm [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 7:16 PM
To: Tomcat Users List
Subject: Re: Know of a group for JSP development?
Join a java group, join a html group,
There are instructions on how to do this on Oscar Carrillo's site.
http://www.linuxjava.net/howto/webapp/#daemons
Subir
-Original Message-
From: Ing. Enrique de la Barrera Perez [mailto:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 7:29 PM
To: Tomcat Users List
Subject: Re: ?how
I have the More Servlets book. It's excellent. Highly recommended.
Subir
-Original Message-
From: Schalk [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 6:04 AM
To: 'Tomcat Users List'
Subject: RE: coreservlets
Importance: High
I have the first edition, it is pretty nice and
, then I should not defined a
Context for that web component in the server.xml. Please let me know if
this is not the case.
Thank,
Kam
On Thu, 8 Apr 2004 16:12:50 -0700, Subir Sengupta wrote:
http://marc.theaimsgroup.com/?l=tomcat-userm=105159411609623w=2
-Original Message-
From: Kam
http://marc.theaimsgroup.com/?l=tomcat-userm=105159411609623w=2
-Original Message-
From: Kam Lung Leung [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 2:54 PM
To: [EMAIL PROTECTED]
Subject: Can someone help me to fix the soft link problem in Tomcat
4.1.27
Hi,
I installed
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
-Original Message-
From: Vivek Sivagiri [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 10:02 AM
To: Tomcat Users List
Subject: Re: Configure Apache for running Perl(cgi)
How would this be incorrect for this
He's on the right mailing list. He clearly asked for help running Perl
scripts on Apache Tomcat.
Subir
-Original Message-
From: Cindy Ballreich [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 10:44 AM
To: Tomcat Users List
Subject: Re: Configure Apache for running Perl(cgi)
just servlets/JSP. :)
Emerson
Subir Sengupta wrote:
He's on the right mailing list. He clearly asked for help running
Perl scripts on Apache Tomcat.
Subir
-Original Message-
From: Cindy Ballreich [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 10:44 AM
Myjavaserver isn't accepting new users.
Subir
-Original Message-
From: Rick Umali [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 10:25 AM
To: Tomcat Users List
Subject: Re: Java Hosting
Hello:
Does anyone know of a good hosting company that hosts Java?
If your needs are
You will also have to run Tomcat as root if you use port 80.
-Original Message-
From: Reynir Þór Hübner [mailto:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 2:30 PM
To: Tomcat Users List
Subject: Re: Tomcat ports
Hi,
Try opening up /tomcat-home/conf/server.xml
there you can set the
Here's what I have in my httpd.conf file and it works fine with Tomcat.
IfModule mod_deflate.c
#Compress everything except images
Location /
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
Did you forget the attachment?
-Original Message-
From: Kent Boogaart [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 7:30 PM
To: '[EMAIL PROTECTED]'
Subject: JK2 config problem [RESOLVED]
Typical - as soon as I post I figure it out. All I had to do was alter
the second
Netscape uses the favicon.ico too
-Original Message-
From: Vernon Wu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 2:02 PM
To: Tomcat Users List
Subject: RE: Weird Problems
Hi, Mike,
There aren't any 'subtypes' of 404, and there is no way for a request
to be 404 at one
Use the jspc precompile script to precompile your jsp's. The script is
in Tomcats bin directory.
-Original Message-
From: Alex Korneyev [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 8:12 AM
Cc: Tomcat Users List
Subject: preloading JSPs
Hello,
all of my .jsp files are
Francois
Subir Sengupta wrote:
Could it be this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D25055=20
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D25055=20
-Original Message-
From: Francois Masson [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Sent: Thursday
Yes you can do this with the java.nio classes. Check out this article
http://sys-con.com/story/?storyid=3D37288
Subir
-Original Message-
From: Mike Kenny - CPX Mngd Services
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 10:39 PM
To: Tomcat Users List
Subject: RE: how can I
Could it be this bug?
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D25055=20
-Original Message-
From: Francois Masson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 5:27 AM
To: [EMAIL PROTECTED]
Subject: Problem with redirecting .jsp file requests with .htaccess
Hi,
Could it be this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D25055=20
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D25055=20
-Original Message-
From: Francois Masson [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 5:27 AM
To:
You cannot. JSPC enables tag pooling by default and there is no switch
to disable it.
-Original Message-
From: Faine, Mark [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 10:02 AM
To: '[EMAIL PROTECTED]'
Subject: disable taglib pooling jspc
I have successfully configured
Look in the Release notes. There is a list of new features and bug
fixes, with the version number it was added/fixed in. So look for any
version number higher than 4.1.12 to see what changed.
Subir
-Original Message-
From: Glanville, Jay [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Put the class in common/lib
-Original Message-
From: Maxime Colas des Francs [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 9:38 AM
To: Tomcat Users List
Subject: JNI loadLibrary
Hi
Tomcat 5.0.16 release-note says :
... the application must also ensure that the library is
If you're using Apache 2.x then you need mod_deflate
http://httpd.apache.org/docs-2.0/mod/mod_deflate.html
Subir
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 8:12 AM
To: Tomcat Users List
Subject: Re: GZIP-encoding/mod_gzip and Tomcat??
Put this line in your context, in server.xml.
Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true /
Subir
-Original Message-
From: John Prout [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 12:24 PM
To: Tomcat Users List (E-mail)
Subject: Problems
Apache 2.0.47 will work with either mod_jk or mod_jk2.
Subir
-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 8:04 AM
To: Tomcat Users List
Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6
Yes, that's what I have read in the
You could also write a filter to measure performance.
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html
Subir
-Original Message-
From: Jay Glanville [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 9:12 AM
To: 'Tomcat Users List'
Subject: RE: can tomcat give
You could set up a context or lifecycle listener. Then, when you shut down
Tomcat you could close your connections in the respective contextDestroyed
method or stop method.
Subir
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2003 12:15 PM
Use the -compile argument.
-Original Message-
From: Dmitry Beransky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 9:55 AM
To: [EMAIL PROTECTED]
Subject: Jasper2's JspC
Hi,
I'm having partial luck manually invoking JspC and compiling JSP pages on
demand. I get as far as
. It's much
much faster than javac.
Subir
-Original Message-
From: Dmitry Beransky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 11:50 AM
To: Tomcat Users List
Subject: RE: Jasper2's JspC
At 10:42 AM 8/13/2003, Subir Sengupta wrote:
Use the -compile argument.
At 10:42 AM
Yes, rh9 uses a new threading library -
http://people.redhat.com/drepper/nptl-design.pdf . To force RH to not use
the new library try setting LD_ASSUME_KERNEL=2.2.5 in your shell before
staring your app. That may fix your problem.
Subir
-Original Message-
From: Michenaud Laurent
I get that too and it doesn't cause any problems. I didn't build Apache so
I don't know what's causing it. However you can probably safely ignore it.
Subir
-Original Message-
From: [de internetman] Rene Kooyman [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 12:33 PM
To:
Here's how to do what Tim is talking about
http://developer.java.sun.com/developer/EJTechTips/2003/tt0114.html#2
Subir
-Original Message-
From: Tim Moore [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 10:22 AM
To: Tomcat Users List
Subject: RE: how to block
Check out
I believe that the commons DBCP is bundled with TC 4.1
http://jakarta.apache.org/commons/dbcp.html
-Original Message-
From: Noncubicle Corp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 3:06 AM
To: [EMAIL PROTECTED]
Subject: DB Connection Pooling with Tomcat
Hi,
I am
Check out John Turner's howto's
http://www.johnturner.com/howto/apache-tomcat-howto.html
-Original Message-
From: Álisson Nunes [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 9:41 AM
To: [EMAIL PROTECTED]
Subject: Tomcat running behind another web server
Hello,
I would like
I don't think Micorsoft's WAS is available on their website anymore.
http://webtool.rte.microsoft.com/
Subir
-Original Message-
From: Reynir Hübner [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 6:46 AM
To: Tomcat Users List
Subject: RE: Tool for HTTP Request Stress Test
I found the James Goodwill book much too basic. You could learn as much
from the Tomcat docs.
-Original Message-
From: Bill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 7:41 AM
To: tomcat user
Subject: Opinions of available Tomcat books
I've been thinking about picking a
Issue One:
If Tomcat used up all your memory, you would see OutOfMemory exceptions
being thrown, not a freeze. Do you see these? Everything will stop *while*
GC is occurring (not until GC occurs).
Have you tried increasing the amount of memory allocated to Java? Use the
-Xms and -Xmx flags
What makes you think that it is falsified :-)
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 4:15 AM
To: Tomcat Users List
Subject: Re: enterprises that use Tomcat as Web Server.
Netcraft is one way to find out what web server a company is
Filters are covered in the More Servlets book, which is the next edition
of the Core Servlets book.
-Original Message-
From: Price, Erik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 9:06 AM
To: [EMAIL PROTECTED]
Subject: learning filters
I have been learning about
What version of TC are you using? 4.x does not use interceptors, 3.x does.
-Original Message-
From: Manavendra Gupta [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 3:34 AM
To: Tomcat Users List
Subject: slight OT: RequestInterceptor
Hi,
This probably is slightly
Hi,
When I start Tomcat I get a NoClassDefFoundError exception. I'm including a
snippet from the logs. As you can see, the Classloader loads wmsyslog.jar
which contains Syslog.class, but then fails with a NoClassDefFoundError . I
have a ServeletContextListener that initializes the system on
If I copy the jars to $CATALINA_HOME/lib, the app starts up fine, with no
exceptions thrown.
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Classloader/Classpath problem
I do not know.
The number of ajp13 threads in the pool are configurable in the server.xml.
A broken pipe is usually caused by someone clicking on a link and then when
nothing happens clicking on a different link. So the first click is
probably to a slow page (maybe due to a long db query etc). Tomcat will
Have you looked here
http://www.apache.org/foundation/licence-FAQ.html
-Original Message-
From: Eriam Schaffter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 5:54 PM
To: [EMAIL PROTECTED]
Subject: Hi all .. licence issue ..
I would like to hack a little with tomcat .. I
There seem to be a number of differences between the runtime compiler and
the command line compiler (i.e. jspc which is called by ANT). One of them
being with file naming (the problem you describe). Also you will find that
if you have an underscore in the jsp file name both compilers will name
Where in the bootstrap class do you add this code?
Thanks,
Subir
-Original Message-
From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 1:32 PM
To: Tomcat Users List
Subject: Re: Bug in catalina.sh? Problem using jpda
I'm using Netbean 3.4 on Linux
you are notified that disclosing,copying,
distributing or
taking any action in reliance on the contents of this information is
strictly prohibited.
- Original Message -
From: Subir Sengupta [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 9:41 AM
Subject: build.xml
Here's a snippet of my build.xml (but I don't have a refid). It seems to
work though.
!-- JSPC: pre-compile JSPs --
target name=jspc
java classname=org.apache.jasper.JspC
classpath
pathelement location=${java.home}/lib/tools.jar/
Hi,
Has anyone got Jspc running with Ant? If so could you send me your
build.xml or send me any suggestions on how to get it working. I followed
the docs at http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html but
couldn't get it working.
I'm running TC 404 on Red Hat 7.3 and JDK 1.4
This means that your jsp is too large. When you take your code out it
reduces the size of the jsp and so it works fine. In Java the max size of a
method is 64k (I believe).
Subir
-Original Message-
From: Mark Goking [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 2:16 AM
To:
Put this in your web.xml
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
Subir
-Original Message-
From: Michael Remijan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 11:02 AM
To: Tomcat Users List
Subject: RE: automatically serve index.jsp
I would highly recommend 'More Servlets and Java Server Pages' by Marty
Hall, it covers Tomcat 4 and the new Servlet 2.3/JSP 1.2 specs.
The Professional Java Server Programming is good too.
The James Goodwill book is much too basic, you could learn as much by
reading the Tomcat docs on the
. This
seemed to work since now when I throw an exception I see WMErrorReportVavle
in the stacktrace and not ErrorReportValve.
Can anyone confirm that this is the correct way to handle exceptions, since
this valve isn't documented anywhere.
Thanks,
Subir
-Original Message-
From: Subir Sengupta
Check out Chapter 5 - Controlling Web Application behavior with web.xml from
Marty Halls book 'More Servlets and Javaserver Pages'. It's online at
http://www.moreservlets.com/
Hope this helps,
Subir
-Original Message-
From: Eric Armstrong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June
Use a tool like Optimizeit from Borland or wrap your methods in
System.currentTimeMillis(). That will at least help you narrow down your
search.
Good luck,
Subir
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 4:35 PM
To: [EMAIL
Hi,
I'd like to be able to trap all exceptions and show users a friendly error
page. I know I can specify which exception to trap in the web.xml file and
what error pages to display. But it seems that will only trap exceptions
that I specify and let any other exceptions through! So that
this be a network problem or is it a server.xml configuration problem?
Thanks,
Subir
-Original Message-
From: Subir Sengupta
To: '[EMAIL PROTECTED]'
Sent: 6/8/02 9:06 PM
Subject: Tomcat 4.0.3 and Mod JK problem
Hi,
I have Tomcat running on my dev box, with no problems. I moved tomcat
over
to another
Update. I added an Alias element - Alias172.28.101.132/Alias inside my
Host element, and the error went away.
So, the question now is, why do I need to alias the servers IP address?
Thanks,
Subir
-Original Message-
From: Subir Sengupta
To: ''[EMAIL PROTECTED]' '
Sent: 6/9/02 1:32 PM
this are appreciated.
Thanks,
Subir
Subir Sengupta (E-mail).vcf
Subir Sengupta (E-mail).vcf
Description: Binary data
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Yes, the order of the elements do matter. The chapter from Marty Hall's
book 'More Servlets and Java Server Pages' that deals with web.xml elements
is online at www.moreservlets.com and is very informative - highly
recommended. The site seems to be down right now otherwise I would have
provided
You can do something like this in your web.xml
servlet
servlet-namesomename/servlet-name
servlet-classsomeclass/servlet-class
init-param
param-nameparam1/param-name
param-valuesomevalue/param-value
/init-param
/servlet
You can then call getServletConfig().getInitParameter(param1)
Hi,
If there a way to configure domain and Max Age for the Default JSESSIONID
cookie that Tomcat 4.03 sets. I was wondering if I could do this in the
web.xml or server.xml files or do I need to do this programatically?
Thanks,
Subir
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Is this correct? I am going to try this, but I am a bit short on time right
now. Thanks again
for your help.
Adam
--- Subir Sengupta [EMAIL PROTECTED] wrote:
You can do something like this in your web.xml
servlet
servlet-namesomename/servlet-name
servlet-classsomeclass/servlet-class
init
I'm still unclear about how to do this. Once a request has been associated
with a session, how do we associate it with a different session. I'm
probably wrong but it seems the only way is to use setRequestedSessionId().
Once I call getSession(), the session gets associated with the request,
I'm still unclear about how to do this. Once a request has been associated
with a session, how do we associate it with a different session. I'm
probably wrong but it seems the only way is to use setRequestedSessionId().
Once I call getSession(), the session gets associated with the request, and
Hi,
I'm not sure how to do this and was hoping for some pointers. I have a
filter that intercepts the session in the request. I then compare the
Session Id to another value and based on some calculations either accept or
reject the Session Id. Here's the question. How do I invalidate the
PROTECTED]]
Sent: Monday, June 03, 2002 9:10 AM
To: Tomcat Users List
Subject: Re: How to use setRequestedSessionId
On Mon, 3 Jun 2002, Subir Sengupta wrote:
Date: Mon, 3 Jun 2002 00:24:33 -0700
From: Subir Sengupta [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: '[EMAIL
Craig,
Thanks for this example. It's very very useful. I did search for request
wrappers but didn't find anything. There were some postings yesterday from
people looking for RequestWrapper examples. I'll point them to this
posting.
I'll take a look at the tutorial and do the homework.
Hi,
Craig answered one of my questions and posted an example of a
RequestWrapper. Here it is
http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg55350.html
Subir
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 4:48 AM
To:
) statement as the last line in
the stop method.
Subir
-Original Message-
From: Cindy Ballreich [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 9:01 AM
To: Tomcat Users List
Subject: RE: strange shut down problem - solution?
At 05:45 PM 5/21/02 -0700, Subir Sengupta wrote
This is a documented bug. Apparently if there is a non Daemon thread
running Tomcat won't shut down cleanly.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8700
Subir
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 5:16 PM
To: Tomcat
ALSO READ THE Tomcat docs before posting questions like this here!!!
-Original Message-
From: Felipe R. Lorenzo VI [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 1:54 AM
To: Tomcat Users List
Subject: Re: PLZ HELP Administration TC 4.0.3
Please read
-Original Message-
From: Subir Sengupta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 8:42 PM
To: '[EMAIL PROTECTED]'
Subject: Problem changing the default cookie name JSESSIONID
Hi All,
I need to change the cookie name form JSESSIONID to something else. I
changed
* of Tomcat, following the
procedures described in the BUILDING.txt document in the source
repository.
Craig
On Thu, 16 May 2002, Subir Sengupta wrote:
Date: Thu, 16 May 2002 09:38:38 -0700
From: Subir Sengupta [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users
?
I'm using Tomcat 4.0.3, Apache 1.3 and running on a Linux server.
Thanks in advance,
Subir
Subir Sengupta (E-mail).vcf
Subir Sengupta (E-mail).vcf
Description: Binary data
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Sengupta (E-mail).vcf
Subir Sengupta (E-mail).vcf
Description: Binary data
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
That is the size of the request in bytes. To clock a request in Tomcat 4
you would have to write a filter. There is an example filter called,
appropriately enough, ExampleFilter.java that comes with T4. It does
exactly what you want.
Subir
-Original Message-
From: peter lin
By default SystemErrLogger and SystemOutLogger go to logs/catalina.out,
unless you changed the name of the output target in the bin/catalina.sh
script from catalina.out to something else. This is explained in the docs
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/logger.html
Hope this
).
My 2 cents,
Mark Diggory
Subir Sengupta wrote:
By default SystemErrLogger and SystemOutLogger go to logs/catalina.out,
unless you changed the name of the output target in the bin/catalina.sh
script from catalina.out to something else. This is explained in the docs
http://jakarta.apache.org
4.0
Thanks
Venky
Original Message Follows
From: Subir Sengupta [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Request Interceptor
Date: Wed, 24 Apr 2002 17:53:42 -0700
T4 doesn't have interceptors. It sounds
working.
I was using request.getFacade() to get an instance of httpServletRequest
Thanks,
Venky
- Original Message -
From: Subir Sengupta
To: 'Tomcat Users List'
Sent: Thursday, April 25, 2002 11:02 AM
Subject: RE: Request Interceptor
Here's an example of a filter
Or you could add a life cycle listener that ran all your initialization
stuff when your app started. The servlet initialization method will execute
for every context that you have defined. That may or may not be the
behavior you want.
Subir
-Original Message-
From: juraj Lenharcik
Which version of Tomcat?
You should be able to test Tomcat, in standalone mode by typing in
localhost:8080 in your browser. The Tomcat page should come up. Are you
not seeing this? Look at RUNNING.txt in your Tomcat directory, it explains
how to setup and test Tomcat.
Hope this helps.
Subir
).
I started tomcat through /etc/rc.d/init.d/tomcat4 start.
Browsing the examples I couldn't see any of them working!
Do I need Apache 2.X?
Thanks again.
- Original Message -
From: Subir Sengupta [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 3
T4 doesn't have interceptors. It sounds like you can do what you need to do
with a filter.
Hope that helps,
Subir
-Original Message-
From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 5:03 PM
To: [EMAIL PROTECTED]
Subject: Request Interceptor
Hi,
can
container. It
adds user home directories as contexts when the Lifecyle.START_EVENT
occurs. See the org.apache.catalina.startup.UserConfig source
for implementation details. Hopefully, this will get you started.
Cheers,
Larry
-Original Message-
From: Subir Sengupta [mailto:[EMAIL
Check out this link at OReilly
http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html
Subir
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
You didn't mention what versions of Apache/Tomat or what platform you're
running on.
Here's a couple of links that may help (I haven't seen anything on Tomcat
yet).
http://dcb.sun.com/practices/howtos/tuning_apache.jsp
http://dcb.sun.com/practices/howtos/optimizingserver.jsp
Most tuning
(ContextManager cm) throws TomcatException {
CategoryNames.init();
etc
How do I the same thing in Tomcat 4.0.3 ?
Thanks from a Tomcat newbie,
Subir
Subir Sengupta (E-mail).vcf
Subir Sengupta (E-mail).vcf
Description: Binary data
--
To unsubscribe: mailto:[EMAIL PROTECTED
97 matches
Mail list logo