Erm, the .java file is incorrectly named:
HttpSessionAttruteListener.java
Should matcht he class declaration:
HttpSessionAttributeListener.java
(the missing i)
Carl
-Original Message-
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: 11 April 2004 09:44 PM
To: 'Tomcat Users
The address
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/installation.html
refers to Detailed instructions for downloading and installing Tomcat 5 are
available here. where 'here' hyperlinks to
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RUNNING.txt which appears to
not be there.
Hello. I'm a bit confused. I'm trying tomcat's authentication with bad
or no results. The documentation is very simple and I don't understand
so well. I've a web application and I want to make authentication with
a user role and a admin role. The admin can administrate permissions
and roles. I
hi,
i am using tomcat 4.1.30. when i start the server i get the error at
the end of this mail. i get this only when i set docBase in my
server.xml for this context. when i copy the files in the webapp dir
everything works fine. there are no xml parsing jars in the WEB-INF/lib
dir. the temp
Can anyone comment on this?
Thanks
Martin
-Original Message-
From: Martin Alley [mailto:[EMAIL PROTECTED]
Sent: 09 April 2004 09:53
To: Tomcat Users List
Subject: tomcat 4 vs 5 form based container auth filters
Hi,
Initial observation indicates that filters get executed when a form
On 04/12/2004 10:31 AM [EMAIL PROTECTED] wrote:
Hello. I'm a bit confused. I'm trying tomcat's authentication with bad
or no results. The documentation is very simple and I don't understand
so well. I've a web application and I want to make authentication with
a user role and a admin role. The
Hi,
I have a jsp page which is refreshed atuomatically every 10 seconds.I
get and put values in the session by using the implicit session variable
. Everything works fine for say 2-3 mins after that the session becomes
null and throws a null pointer exception.
IN the try block I even have a
Yes your observations are correct. It's my understanding that filters
are not invoked until after authentication. i.e. after the form-based
login.
I have no experience of site-mesh, but it seems a bit weird anyway to
put decorations on a page via a filter - surely you should be
encapsulating
Hi There,
The NPE is coming from the { if (session == null || session.isNew()) }
since even if session is null then you are still trying to call a method of
session.
a safer alternative would be
if (session == null) {
//error
} else {
if (session.isNew()) {
}
Hi ,
Thank you for your reply .
Guess I did not put my qn the right way .
In the code block
if (session == null || session.isNew()
I do not access any session variables
Actually I just redirect the page.
I am unable to understand why the implicit session variable becomes null
suddenly after
QM wrote:
: - Finally, is it the best practice to hard-code the 'context' prefix in
: your application?
JSTL. I forget the exact tag names, but any JSTL reference will have
them listed. There's a tag for creating context-relative links, and (I
believe) one for creating context-relative image
I have a jsp page that has the following code
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
%@ taglib tagdir=/WEB-INF/tags prefix=tag %
html
head
title${param.title}/title
/head
body
pThis shows the usage of a tag file/p
request as EL:
Hi Adam,
Why do you think this behaviour changed from tomcat4 ?
I haven't gone into the full architecture of sitemesh, as yet, but I
know it includes a filter.
Martin
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 12 April 2004 11:26
To: Tomcat Users List
Subject:
Peter Guyatt wrote:
Hi There,
The NPE is coming from the { if (session == null || session.isNew()) }
since even if session is null then you are still trying to call a method of
session.
According to Java language specification, 15.24 Conditional-Or
Operator ||, it's not so. That says
Hi,
I have multiple vhosts on an apache 1.3.x connected to a tomcat 5 via jk2.
e.g.:
[EMAIL PROTECTED] (apache http) -jk2--- v
[EMAIL PROTECTED] (apache http) -jk2--- single tomcat instance
[EMAIL PROTECTED] (apache http) -jk2---^
...
Is it possible for those vhosts to somehow share the same
oops, of course i ment vh1.foobar.com and so on ... =)
Jens Saade wrote:
Hi,
I have multiple vhosts on an apache 1.3.x connected to a tomcat 5 via
jk2.
e.g.:
[EMAIL PROTECTED] (apache http) -jk2--- v
[EMAIL PROTECTED] (apache http) -jk2--- single tomcat instance
[EMAIL PROTECTED] (apache
AFAIK it has something to do with providing a clean seperation between
the authentication (tomcat) and the application (your filter).
I think there were probably several reasons though for it, which
outweighed the reasons against, and I have heard a few of them.
Adam
On 04/12/2004 01:50 PM
Should I do it for all applications ?
I try this in META-INF/context.xml and it don't work - when I add jndi with tomcat
admin it work, but add
all parameters in conf/Catalina/host/app.xml
Is it correct behavior ?
Thanks
Haris Peco
On Sunday 11 April 2004 02:56 pm, D'Alessandro, Arthur wrote:
Hi,
You need to restart the server after adding hosts. You can add hosts
manually in server.xml, via the Admin webapp that ships with tomcat, or
with your own custom code programmatically, but in any case the server
must be restarted.
Yoav Shapira
Millennium Research Informatics
-Original
Except with form based auth, you want the look at feel to be part of the
application?
What reasons did you hear? :-)
Whilst not knowing the full reasons, it would be nice if there was some
config switch to control this, other wise it increases application
maintainence overhead if you want to
Hi,
Your problems arise because of imperfect/relaxed implementations of the
servlet spec by earlier containers. Tomcat is strict. I don't think
there's a double-meaning to 'context' personally but that's a minor
point anyways. In addition to the spec, see this for directory
structures:
Hi,
there are distributions of tomcat that do not come bundled with the
examples. Normally there is another more complete download, or you can
get
them separately...take a look in the binaries on jakarta.apache.org
under
tomcat, I know they are there :)
What on earth are you talking about? I
Hi,
Use a Profiler to show you exactly where time is spent.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 3:51 PM
To: [EMAIL PROTECTED]
Subject: Tomcat and my application's performance ...
Hi,
I am running tomcat 4.1.27/29/30 on a Solaris 5.7 or 5.8 and it
shutsdown
for no
apparent reason. Sometimes it can go for hours without a problem,
othetimes it stops much
sooner. There is no obvious error, just a shutdown. The same code
built
on another Solaris box and/or HPUX runs
Hi,
Don't make the jar a symlink.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 3:26 PM
To: 'Tomcat Users List'
Subject: RE: Trying to start tomcat. Should be so simple
Thanks of the help
ls
I can see Yoav is blitzing the mailing list right now. Perhaps you'll
get a more authoritative answer from him or the other hardcore tomcat
people.
One of the problems of excluding filters from the authentication request
is to do with character-encoding in the request - I remember someone
If you want the resource available in all applications, make it a global
environment entry and put the link in the default context for the host.
Benjamin J. Armintor
Systems Analyst
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
Hi,
I've fixed this in CVS. Future distros and the next website update will
show the fix. Thanks for pointing it out,
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Stephen Tredrea [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 4:20 AM
To: [EMAIL
If you had logged in to another application before you try Tomcat manager the
authentication would not allow you to go through. You will have to close the browser
and relaunch it again and go to Tomcat Manager first.
Hope this helps.
Kal
-Original Message-
From: Mario St-Gelais
Why MET-INF/context.xml don't work ?
Thanks
On Monday 12 April 2004 12:53 pm, Benjamin Armintor wrote:
If you want the resource available in all applications, make it a global
environment entry and put the link in the default context for the host.
Benjamin J. Armintor
Systems Analyst
Is this TC4 or TC5? META-INF/context.xml only works with TC5 to my
understanding.
-Original Message-
From: snpe [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 11:09 AM
To: [EMAIL PROTECTED]
Subject: Re: Global resource JDBC/JNDI
Why MET-INF/context.xml don't work ?
Thanks
On
From a clean binary distro of tomcat 5 this is all i have in there
-rw--- 1 root root 673 Feb 14 21:26 admin.xml
-rw--- 1 root root 321 Feb 14 21:26 balancer.xml
-rw--- 1 root root 418 Feb 14 21:26 manager.xml
and just to prove to you the
Maybe this can help...
www.dynamichostings.com/TomCat5IIS5.do
-Original Message-
From: Shlomi Levi [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 1:12 PM
To: [EMAIL PROTECTED]
Subject: IIS Tomcat 5.0.19 - using jk2
Hi,
I downloaded the jk2.0.4 for win32 from the jakarta
my imports are
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
is that the problem?
maybe when the author wrote these examples he was running jdk1.3 so
it was not an issue, but running under 1.4 seems to find
jdk1.4 logging
thanks for any help, just tryin
QM -
Thanks very much for your detailed reply. I have Shawn Bayern's JSTL in
Action, and you're right - the URL issue is covered. I have also reviewed
relevant portions of the Servlet Spec 2.4, which sets out the general
approach to directory structure in applications. It seems safest to
Hi,
What distro is this from? 5.0.22 has examples.xml, 5.0.19 has
webapps/jsp-examples and webapps/servlets-examples, 4.x. has
webapps/examples. Maybe you have a .tar.gz distro that you unpacked
with a non-GNU tar?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From:
On Mon, Apr 12, 2004 at 07:14:19AM -0400, John Trollinger wrote:
:
: I have a jsp page that has the following code
: [snip]
: request as EL: ${request.contextPath} br/
: request using page context as EL:
: ${pageContext.request.contextPath} br/
You're using JSTL EL, but you're not
Hi everybody,
This is a fairly simple problem, however this is one of those days a
huge truck could easily pass over you without you even noticing it...
anyway, here it goes!
The environment is: JBuilder X + Tomcat 4.1 + DBCP
The problem:
I want to obtain a DB connection through a
Hello,
I will try to be brief , but this will a little explanation of my config to
under stand the question.
I have two boxes. (rh9, tomcat 4.1.30, apache )
Box1
Host name=localhost debug=0 appBase=/home/unit unpackWARs=true
Context path=
docBase=/home/unit
Hi Yoav,
That's what I have been doing the past 3 weeks but does the profiler not show time
spent relative to the code execution ... my timings show the code and page execution
to be very fast under load and so I deduced the time was being spent somewhere else.
If the time was between Tomcat
I MEANT OVER ME!!!
Sorry... as you can see, I'm a little burned-out here...
Thankx.
-Mensaje original-
De: Freddy Villalba Arias
Enviado el: lunes, 12 de abril de 2004 15:44
Para: [EMAIL PROTECTED]
Asunto: JNDI and DataSource
Hi everybody,
This is a fairly simple problem, however
Hi all!
I am using Tomcat (4.1.24) through my app vendor. I
want to be able to manage my connections from the
command line. I have found some info on ant and
being able to do things like start/stop/reload/etc. I
have not seen how this can be applied to managing
connections.
Here is my problem
QM,
But the ${pageContext.request.contextPath} prints fine its only the
${request.contextPath} that does not display
And if I do a c:if ${empty request} it returns true but a c:if
${empty pageContext.request} returns false.
It is like I can get to the request through the page context just not
Hi,
The profiler will show all time spent in java code, including for
example the HTTP connector's read and write operations. It will not, as
you surmise, show network transmission time, but since you said the
behavior was the same using only your local machine (so nearly zero
transmission
Hi,
There's no way to manage connections from the command line, and you
probably don't want to do it anyways. Consider:
- Using shorter session timeouts (change from the default 30 minutes to
3 for example),
- Redesigning your app so that a session doesn't have a one to one
correlation with a
On Mon, Apr 12, 2004 at 10:03:09AM -0400, John Trollinger wrote:
: But the ${pageContext.request.contextPath} prints fine its only the
: ${request.contextPath} that does not display
Fair cup -- I can't tell you what you've seen; I can only tell you what
(I thought) shouldn't work ;)
You're using
I searched the mailing list archives, and found that the jsp compiler needs
write access to c:\winnt\system32.
Is there a way to configure tomcat 4.1.24 so that write access to
c:\winnt\system32 is not required?
I'm working on an application that needs to be hosted in a secure
environment. One
I can certainly shorten the session timeout.
When a user connects to the application, this does not
generate a any activity in Tomcat. When the user
accesses a program, then the user is using a
connection. This connection is part of a connection
pool. What I find odd is that the connection
Hi,
I searched the mailing list archives, and found that the jsp compiler
needs
write access to c:\winnt\system32.
It doesn't.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or
Hi,
What I find odd is that the connection used is
not the oldest idle session
Please clarify this, as a connection is not a session.
If you're using a tomcat-managed connection pool, you're most likely
using DBCP. The full docs for DBCP, which include significant tuning
abilities regarding
±zÁÙ¦bÀ¹¦Ñ´ڦ¡ªº¤â®M¶Ü?
±z»{¬°¤â®M¥u¯à¿m´H¨¾«B¶Ü?
¦ý±z©¿²¤¤F³Ì«nªº¬O.¦w¥þ©Ê?
[EMAIL PROTECTED], [EMAIL PROTECTED], ¦¹´Ú¤â®M¥Dn±j½Õ¨ä¦w¥þ©Ê, ¾A¦X¦h¥\¯à¹B°Ê,
¯S®í§÷½èªº¶WÅÖ¥Ö, ¥[¤W¶W¼u©Êºô
¥¬, [EMAIL PROTECTED], [EMAIL PROTECTED],[EMAIL PROTECTED]
¦¹´Ú¤â®M¦P¨B¦b¼Ú¬ü
Since I am a newbie, I may not be getting the point
across effectively by mixing terms.
I have the ability to go to my connection manager and
see a graphic representation of the current
connections be they idle, busy, or initializing.
Therefore, please disregard the term session. What I
am
Thanks Yoav,
sudhakar
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 6:24 PM
To: Tomcat Users List
Subject: RE: Objects using thread on Start/Stop of Tomcat
Hi,
It's funny that you wrote your own thread manager and have to ask this
and that is why we don't focus on implementing this, cause it not defined on
how to resolve name/value pair conflicts if different servers set different
values for the same name.
If I were to implement this I would allow the user to have two ways of
configure conflict resolution:
1. set-is-set,
It worked,
many thanks
-Original Message-
From: LILES, DAVID (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 3:18 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: IIS Tomcat 5.0.19 - using jk2
Maybe this can help...
www.dynamichostings.com/TomCat5IIS5.do
The one thing I really dislike about this is that he recommends enabling
the invoker servlet. This has caused more problems for beginners, than
it has solved. All is opinion, though.
-Original Message-
From: electroteque [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 4:34 AM
Hi!
I've just moved my Struts+Tiles application from TC4 to TC5 and I'm now
having encoding problems when trying to post data...(portuguese special
characters aren't being recognized).
I've read topics about Tomcat 5+encoding issues related to included JSPs
(ex:
Dear all,
I know using Realm can protect certain resouces of a url. But I found it is not
possibly to use it in my server.
My case is that I can't store the username and password of the roles and users in my
server. I need to send the authenication information in a format of xml file to
Ok, I guess I read this wrong, or this person was wrong too.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg93632.html
Either way, something seems to require write access to the system32
directory because it works fine with full permissions, but fails when write
access is denied. It's trying
Hello,
My company requires a stable build of tomcat 4.0 that
contains a bug fix to the WebAppClassLoader.
Specifically the bug is 10469 (deals with inconsisten
encoding of urls). I was wondering 2 things.
1) How might i aquire a build of tomcat that currently
has this bug fix (without building
Hi,
Ok, I guess I read this wrong, or this person was wrong too.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg93632.htm
l
Either way, something seems to require write access to the system32
directory because it works fine with full permissions, but fails when
write
access is denied. It's
Hi,
There have been stable releases since this was fixed: 4.1.30 on the
tomcat 4.1 branch and 5.0.19 on the tomcat 5 branch.
4.0 is no longer actively developed. If you need this fix in a 4.0
build, you have to apply this patch and build it yourself.
Yoav Shapira
Millennium Research
You have a default context right after the wa context that doesn't
specify a Resource . Is that what you meant?
Sandy
On Apr 12, 2004, at 9:44 AM, Freddy Villalba Arias wrote:
[...]
/ResourceParams
/Context
Context path= docBase=..\..\Testing debug=5
Yes and no... :)
I have only one web application to be deployed (wa). Then, I read in
some places that it's mandatory to have a default context. I tried
defining a DefaultContext but then Tomcat's initialization failed (I
looked for something odd but couldn't find anything). So, I decided to
Hi everyone,
I'm working with Tomcat 5.0 and I'm trying to write a little webapplication.
In this case I need to get the data from a database. Now I want to write my
own property-file from which I can get the information about the driver,
user
and password. I've done this before, but I haven't
Yoav,
Thanks for the help. I added the following registry key to change the
working directory for the service and it now works.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat
4.1\Parameters\Current Directory=c:\Tomcat4.1\work
Thanks,
Chris Gunn
Titan Corporation
(804)
I'd definately recommend core and more servlets -
incidentally they say The invoker servlet is extremely convenient when you are
learning and even when you are doing your initial development. But, as discussed in
the book, you do not want it on at deployment time
Hope this helps
Ken
Ken
Thanks Adam
It seems to me that the separation idea is not clear cut. There is
certainly a down side. I wonder whether this will stick.
Martin
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 12 April 2004 13:48
To: Tomcat Users List
Subject: Re: tomcat 4 vs 5
Yes, it can work, and you'd want to put the properties file in the
WEB-INF/classes directory. Then your connectionfactory.jar classes will
need to look for the property file/s on the classpath. Perhaps something
like:
InputStream input =
getContextClassLoader().getResourceAsStream(fileName);
convenient when learning Not when you have to 'unlearn' it. And not
for the special case when you 'forget' about the invoker, and just
expect it to be around.
sarcasmProviding a 8-line mapping is such a chore./sarcasm
I'm all for helping beginners, but I think showing them the 'right' way
is
This shouldn't be all that different, but this is the server.xml I'd
use on my setup.
?xml version=1.0 encoding=UTF-8?
Server debug=5 port=8081 shutdown=SHUTDOWN
GlobalNamingResources
Resource name=jdbc/cnid scope=Shareable
type=javax.sql.DataSource cached=false/
When i look at the CVS repository and look at the
WebAppClassLoader file, It doesn't appear that the bug
was fixed in the 4.1.30 build. I've also downloaded
the 4.1.30 source and noticed that the
WebAppClassLoader is only at version 1.48 where as the
bug fix is applied to a 1.50 version of the
Problem solved. I was mixing up 2 parts of the spec and therefor made
the wrong assumption.
Thanks,
John
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 10:13 AM
To: Tomcat Users List
Subject: Re: Using the request object and EL
On Mon, Apr 12,
You need to write a custom realm.
Mark
My case is that I can't store the username and password of
the roles and users in my server. I need to send the
authenication information in a format of xml file to a
foreign server and get back the login result from that
server. So I can't use
Hi Sandy,
Thanks, it certainly looked better than mine. I
appreciate it. However, the problem persists
Any other suggestion? (Ill keep looking at it,
too obviously)
-Mensaje original-
De: Sandy McArthur [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 12 de abril de
I have this same problem. It creeped up without any configuration
changes on 4.1.27
It doesn't always print this error message out, but the effect is the same.
SEVERE: All threads (75) are currently busy, waiting. Increase
maxThreads (75) or check the servlet status
My apache config:
I forgot to mention that I have All threads (255) are currently busy,
not (75) which makes sense.
Daniel Gibby wrote:
I have this same problem. It creeped up without any configuration
changes on 4.1.27
It doesn't always print this error message out, but the effect is the
same.
SEVERE: All
All,
New subscriber to this list and relative newbie to Tomcat. Have installed IIS5
w/Tomcat 3.2.3 on W2K. Am having problems with redirection using isapsi. I get the
Error 501/505 when attempting http://myserver/examples/jsp/index. I have checked
this archive list with the same error messages
It could be a bug in your servlet that hangs your connection or you
might actually have a big enough load to max out your number of
concurrent Tomcat threads (maxProcessors). If it is load, you should
look into increasing your maxProcessors. Make sure though that you have
enough JVM heap memory
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
Hi,
I've also downloaded
the 4.1.30 source and noticed that the
WebAppClassLoader is only at version 1.48 where as the
bug fix is applied to a 1.50 version of the
WebAppClassLoader.
I'm not sure where you're getting your version numbers.
Hi,
The fact that you get 'No suitable driver' could also mean that the
chosen properties are incompatible (as opposed to not set).
Just a guess: did you try to specify the user and password as part of
the URL? (jdbc:oracle:thin:user/[EMAIL PROTECTED])
That's the way I usually connect to
Please read the attachment to get the message.
**
**
WARNING: WinProxy has detected a virus in file
attached to this e-mail message!
The attachment has been automatically removed to
Hi Guy,
That's interesting. I hadn't thought about that possibility. I'll try
it.
However, let me state that I don't think that's the problem (hope I'm
wrong, of course!) since the inspection (JBuilder inspector) on the java
variable holding the reference to the DataSource object reveals that
255 is as high as apache will go without recompiling. Therefore, it
wouldn't make a difference if I go higher on the tomcat end either, right?
Trieu, Jason T - CNF wrote:
It could be a bug in your servlet that hangs your connection or you
might actually have a big enough load to max out your
Tested it. Same result... same problem.
A side comment: the positive part of the other config file (the one I
had originally) was that you could trace how Tomcat loaded the
Resources. Then, you could see how the tags actually got processed
(read) correctly. But then, something happens when the
Daniel Gibby wrote:
Tomcat config:
Connector
className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=255
enableLookups=true redirectPort=8443
acceptCount=100 debug=0 connectionTimeout=6/
Hey, I
From my own experience, this kind of behavior appears when a session isn't getting
timed out for one reason or another. For example, say you get data from some remote
site using your own Http client libraries that is multi-threaded. If that thread sits
around and the socket it has isn't
Ok thanks. I will try this version..
philip
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
I've also downloaded
the 4.1.30 source and noticed that the
WebAppClassLoader is only at version 1.48 where as
the
bug fix is applied to a 1.50 version of the
WebAppClassLoader.
I'm not sure
I just read your post this morning (I am lurking today as I have a few
issues of my own to clear up :-) ) and I think that is some really good
advice you gave. I do have a question though.
Once you have noticed you have a memory leak, how do you go about locating
it?
Matt
- Original Message
Hi,
Once you have noticed you have a memory leak, how do you go about
locating
it?
You don't just notice it out of the blue: you typically notice it
because a profiler shows it. The same profiler shows you where it is.
Noticing and locating is typically one and the same for memory leaks.
It's
Good afternoon,
We are currently looking at upgrading our Tomcat 4.1.24 installation to
5.0.19. I've installed a test environment to see what sort of migration
issues there will be, and so far I've only encountered one.
Under 4.1.24, we have a Host entry in server.xml that looks like this:
Host
Hi,
If you use context .xml files, you can put them in
$CATALINA_HOME/conf/[engine name]/[host name] or in the META-INF
directory of the WAR file representing your webapp.
If you're just deploying webapps without a context XML file, you can put
them in the host's appBase. Then you don't need
Recently, we've been doing some load testing of apache (1.3.x) w/ tomcat
4.1.29 5.0.19 and were surprised at how slow it was responding on our
redhat linux testbed system. We did some comparisons to a Win2k tomcat
server, and the Win2k server *BLEW* it out of the water in terms of
speed and load
luckily I have a license of Borland OptimizeIt.
What I do is I start tomcat using OptimizeIt. Then I create a test plan in JMeter.
Once tomcat is running, I warm it up by sending it a couple hundred requests to make
sure all the pages are compiled.
before the test starts, use OptimizeIt to
Where did you put your db driver jar file? You want to put it under
$CATILINA/common/lib.
Regards,
Daniel
-Original Message-
From: Freddy Villalba Arias [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 10:19 AM
To: Tomcat Users List
Subject: RE: JNDI and DataSource
Tested it. Same
Is this something new in TC5? Context XML's in appBase worked in 4.1.24.
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 12, 2004 2:42 PM
Subject: RE: Tomcat 5 and Context Descriptors
Hi,
If you use context .xml
Is there a place where i can download a build of the
5.0.22-alpha version of tomcat, or does this require
me pulling the 5.0.22 branch from cvs and building it?
philip b
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
I've also downloaded
the 4.1.30 source and noticed that the
Hi,
Is this something new in TC5? Context XML's in appBase worked in
4.1.24.
Yup, the move from appBase to conf/[engine name]/[host name] is a change
in TC5.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is
Hi,
Was the linux box hyper-threaded?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Nicholas Bernstein [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 2:50 PM
To: Tomcat Users List
Subject: IBM Java VS SUN Java
Recently, we've been doing some load
1 - 100 of 148 matches
Mail list logo