On Sat, 17 Aug 2002, tek1 wrote:
Date: Sat, 17 Aug 2002 15:03:28 +0900
From: tek1 [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: retrieving HttpSession in Filter?
hello.
in a filter, is it possible to cast the ServletRequest to a
niket
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi all,
Can anybody send me a link from where I can download mod_jk2.so? I am unable
to
build this file.
I am using Apache2.0.4, Tomcat4.0.3 in windows2000
Or please send it with attachment.
I am following the instructions given in this link to run apache with Tomcat
eddie and craig, thanks for your replies.
i was calling the HttpServletRequest.getSession() before the response was
committed. in the below code on line 4, i didn't mention that was using a
responseWrapper, so the servlet used the responseWrapper, and when control
returned to the filter, the
Craig R. McClanahan [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Fri, 16 Aug 2002, Scott Dayberry wrote:
Date: Fri, 16 Aug 2002 11:11:53 -0600
From: Scott Dayberry [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users
This one really belongs in an FAQ.
Section 11.1 bullet 3 of the servlet-2.3 spec states that:
spec-quote
If the last segment in the URL path contains an extension (e.g. .jsp), the
servlet
container will try to match a servlet that handles requests for the
extension.
An extension is defined as
Hi,
May I know how can I make tomcat to auto reload every time I make a
changes to the classes I placed in ROOT/WEB-INF/classes ?
I am running on Tomcat 4.0. Thank you.
[EMAIL PROTECTED]
Is there a way to configure Tomcat 4.0.4's
current working directory to point to
sub-directory of the webapps folder,
rather than /bin?
I hate to answer a question with a question, but here goes: Why would
you want to do that?
Larry
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Eddie Ruvinsky wrote:
Hello,
The release notes for Tomcat 4.0.4 say that the new
Coyote HTTP/1.1 connector now ships with Tomcat. The
notes mention that it is more optimizied and robust
than the [soon to be deprecated] HttpConnector for
HTTP/1.1. However, the Tomcat 4.0.4 docs haven't
just set reloadable=true on the context (in server.xml)
hope it helps
-reynir
-Original Message-
From: Aaron Chan [mailto:[EMAIL PROTECTED]]
Sent: 17. ágúst 2002 10:12
To: [EMAIL PROTECTED]
Subject: How can i set tomcat to auto reload the servlet?
Hi,
May I know how can I
ope wrote:
I am looking for a way to use Tomcat as a proxy
similar to the way that Apache can be setup to proxy
to Tomcat. What I want to do is have Tomcat setup so
that any URLs that have the path
http://myserver/someapp are forwarded to
http://otherserver/someapp.
Apache can do this
Hi,
I'm developing a web aplication with jsp and servlets, and I'm beging to
use tomcat.
The only problem I'm having is, when I make a stress test on my tomcat
(4.0.4 on RH Linux) the server create as many threads as the number of
requests. Is this normal? shuldn't be some kind of inteligent
Craig R. McClanahan wrote:
This is not the right test for a newly created session, because there
*was* no requested session. Try something like this instead:
HttpSession session = request.getSession(false);
if (session == null) {
... no session exists ...
} else if
On Sat, 17 Aug 2002, tek1 wrote:
Date: Sat, 17 Aug 2002 17:47:32 +0900
From: tek1 [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: retrieving HttpSession in Filter?
eddie and craig, thanks for your replies.
i was
On Sat, 17 Aug 2002, Nikola Milutinovic wrote:
Date: Sat, 17 Aug 2002 16:23:31 +0200
From: Nikola Milutinovic [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: retrieving HttpSession in Filter?
Craig R. McClanahan wrote:
It's a operating system issue.
quote
NOTE: It is normal to have a socket in the TIME_WAIT state for a long
period of time. The time is specified in RFC793 as twice the Maximum
Segment Lifetime (MSL). MSL is specified to be 2 minutes. So, a socket
could be in a TIME_WAIT state for as long as 4
The mod_jk2.dll file can be found here
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/w
in32/
- Andrew
-Original Message-
From: Niket Anand [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 17, 2002 3:30 AM
To: [EMAIL PROTECTED]
Subject: mod_jk2.so
Has anyone configured tomcat error pages through $CATALINA_HOME/conf/web.xml
and been able to access the implicit exception object from within the error
page?
Regards,
Todd Kurtz
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Wed, 14 Aug 2002, Craig R. McClanahan wrote:
On Wed, 14 Aug 2002, Chris Nokleberg wrote:
I'm using the new ant tasks to install and deploy web apps from
ant. One of my applications needs a JDBCRealm, but there doesn't seem
to be a way to supply the manager with additional bits it might
I am having probelms getting a Connection from the DataSource I get out of
JNDI. I set up the Resource section of my server.xml as described in the
HOW-TO for 4.1.9 and am using mm.mysql 2.0.14 with MySQL 3.23.51. The DB and
dirver seem to work fine together.
It seems I can get the
I get this error the first time I try to access the
jsp page, if I reload it works fine. What is wrong?
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal
Server Error
type Exception report
message Internal Server
On Sat, 17 Aug 2002, Chris Nokleberg wrote:
Date: Sat, 17 Aug 2002 11:39:34 -0700
From: Chris Nokleberg [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Way to specify realms for dynamically installed apps?
On Wed, 14 Aug 2002, Craig R.
Every application has it's own performance bottlenecks and parameters.
You might want to download JMeter and test your specific application.
http://jakarta.apache.org/jmeter/index.html
Personally, I got more than enough throughput to swamp a T1 on a pretty
database intensive application. The
I am having a problem getting a connection from JNDI. I set up my
server.xml and web.xml files per the instructions in the JNDI Resources
HOW-TO and JNDI DataSource Examples on the Tomcat 4.1 Documentation Page.
Configuration:
W2K
Tomcat 4.1.9 (Stand Alone)
Oracle 8.1.7
Here's my Tomcat
Upon further investigation, I found that the config I use below does work if,
and only if, I access the servlet from localhost:8080. I'm using mod_webapp
with Apache 1.3.24 and have the following entry, which seems to work fine, in
httpd.conf:
IfModule mod_webapp.c
WebAppConnection conn
Do not remove this temp directory. This is the temporary
directory configured in the Tomcat startup with
-Djava.io.tmpdir. This temp directory is used by the JVM
for internal things like jar files, etc.
Regards,
Glenn
Eddie Ruvinsky wrote:
I don't believe this is the case. According to the
For mod_jk 1.2 you can use JkAutoAlias to automatically server static
pages for any web application context, even new ones which get added.
Here is an example for the apache httpd.conf:
JkAutoAlias /usr/local/tomcat/webapps
JkMount /*.jsp ajp13
JkMount /*/servlet/ ajp13
Regards,
Glenn
David
Change JDK_HOME to JAVA_HOME and try it again.
Robert Dunn [EMAIL PROTECTED]
08/15/2002 11:48 PM
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:RE: Post 4.1.8 install
Hi Jake,
I installed version 1.3.1, JDK
There's no reason that it shouldn't. I don't use Oracle here, but others
on this list have suggested putting the oracle jar file in the common
directory. Search the list for mention of this, I hazy on this. Here's
one I found that looks like it's ok. Try a search for JDBC.
mod_jk2 was built against the apache 2.0.38 sources and will not work for
2.0.40, you will have to compile it yourself for 2.0.40. As for TC 4.1.9,
it failed to start for 2.0.39 and I'm left with the impression it's still
being worked on as the default install has no workers2.properties file
Hi,
I had searched for how to set the web.xml and server.xml for looking up a
session bean in the Tomcat 4.1 document page, but did not find something to
close to we I needed. Can someone point me to a how-to document or example
that shows how to looking up a session bean with JNDI (how-to
31 matches
Mail list logo