Hi,
You could set this very high if you wanted too. Typically there's a
bottleneck along the way, such as a database that can only handle a
limited number of connections, and your app not being the only user of
said database. But if you're the database's only user, and it's on a
huge machine
Hi,
I have deploy myapp in context path at tomcat manager but myapp
didn't
start?,then when I click start at commands the following message
show:
FAIL - Application at context path /wrok could not be started
Why that happened and how to solve it?
Check your logs.
2.how to make
Hi,
See the logging section of the Tomcat 5.5 docs for how to get DEBUG
information out of Tomcat. You can get *very* verbose details of what's
going on.
Does your WAR have a context XML file?
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: [EMAIL PROTECTED]
(and that's supposed to be
a
stable version - not beta or alpha). See the other threads on the
subject for more details of the problems.
Steve.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 14 December 2004 13:55
To: Tomcat Users List
Subject: RE: Tomcat 5.5
Hi,
To question #2: no.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Tauzell, Dave [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 9:32 AM
To: [EMAIL PROTECTED]
Subject: Tomcat redirecting when base URI doesn't have trailing slash
Hi,
I recently upgraded
Hi,
It works fine for me. You might be having other errors which are
clouding this problem.
By the way, error pages like this are part of the Spec, and as such
covered both by our internal tests and the Servlet/JSP TCKs which are
run independently on every Tomcat release.
Yoav Shapira
Hi,
Tomcat's JNDI implementation does not support sharing for that matter
even external connections. (This is in the FAQ by the way). If you
want to share an object among multiple Tomcat instances via JNDI, you
must use a JNDI provider that supports this.
Yoav Shapira
Hi,
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 12, 2004 5:22 PM
To: Tomcat Users List
Subject: RE: log4j and tomcat 5.5
Hopefully I explained things better and piqued your curiosity about
repostiory
selectors in Log4j-1.3 :-)
You certainly
Hi,
It's possible to specify whatever location you want for server.xml, via
the -config command-line switch. The rest of the files are to be
$CATALINA_HOME/conf. Depending on your usage of Tomcat, you might not
need any of them, though.
Yoav Shapira http://www.yoavshapira.com
-Original
Hi,
Because this processing servlet of yours itself had an error. A JSP
file by default is processed by Tomcat's JSP servlet, not your Router
servlet. Accordingly, it's not subject to your custom error handling
mechanism. A more standard way to do this is declare an error-page
for 404's in
Hi,
I'm running Tomcat 5.0.30 on FC2 with SUN 1.4.1_02
Try JDK 1.4.2.
2. If I recall correctly, you'll need a copy of
tools.jar in $CATALINA_HOME/common/lib
No.
Yoav Shapira http://www.yoavshapira.com
This e-mail, including any attachments, is a confidential business
communication,
Hi,
The process has changed: put ptcs.xml in
$CATALINA_HOME/conf/Catalina/localhost, not in webapps.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Bob Carpenter [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 12:54 AM
To: [EMAIL PROTECTED]
Subject: Tomcat
Hola,
configuration in admin webapp: if I click on any
element under Users definition in the tree on the
left pane I got this error message:
Error retrieving attribute users.
[Exception shown at bottom]
It works for me (with the default, out-of-the-box everything) on Tomcat
5.5.6-alpha. Try
Hi,
Shameless plug accepted, is there somewhere I can download it or do I
need
to get it from CVS?
The download page: http://logging.apache.org/site/binindex.html.
Yoav Shapira http://www.yoavshapira.com
This e-mail, including any attachments, is a confidential business
communication, and
Hi,
Are there many differences
in management?
Logging has changed, the manager app is no longer shipped as part of
the
core install.
Manager IS still shipped, admin isn't.
Yoav Shapira http://www.yoavshapira.com
This e-mail, including any attachments, is a confidential business
Hi,
This proposal is from Peter Rossbach, who's since become a Tomcat
committer. I don't think the proposal was ever formally raised and
discussed: this is the first time I've seen it. So it's certainly not
been implemented, and highly unlikely to be in a Tomcat release any time
soon, but if
Hi,
succesfully served. Something important: I used J2SE 5.0, since it's a
REQUISITE for running v5.5 (and I haven't been able to find the famous
RUNNING.txt file - or any other document, for what it matters - where
those details for using v5.5 along with Java v1.4 are professedly
explained).
Hi,
The display of those values has no significance to Tomcat itself, so
it's fine. It has meaning to the server administrators who might see
these values as an indication something else is wrong, and check their
logs, e.g. the database log ;)
Yoav Shapira http://www.yoavshapira.com
Hi,
Why go through all this? The point of the JNDI Resources part of the
Servlet Specification is to allow portable interaction with external
resources. Your approach loses all the portability (it's
Tomcat-specific) without gaining much of anything. You could do the
same stuff in your webapp,
Hi,
So while we could put all the classes into common/lib and use a
singleton pattern, I wouldn't have a way to cleanly shut down the
service on app server shutdown (I could be wrong here).
You could use a JVM shutdown hook. At least that's portable and not
Tomcat-specific.
Another
Hi,
Thanks Joav and for the other people stumbling on the same rock
You're welcome -- and it's Yoav with a Y ;)
and by the way why don't they use a search box at
http://jakarta.apache.org/tomcat/faq/ ?
Because we'll all Googleheads who routinely do inurl: searches. The
search box is a
Hi,
Two ideas: one, always make sure to return (i.e. a return; statement)
after a request dispatcher forward call. Two, take Apache out of the
mix for now, test tomcat-standalone. Once that works, if you need
Apache you can bring it back in and worry about its configuration.
Yoav Shapira
Hi,
first time creates localhost_log.2004-11-28.txt.1.gz, after few days
localhost_log.2004-11-28.txt.1.gz.1.gz and on. Someone can help me and
told
if this is a configurations of tomcat.
That someone is not very helpful ;) You would need to either modify the
archiving program that creates
Hi,
You might want to try 5.5.6, as 5.5.4 had at least one relevant Admin
webapp bug.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Kelly, Steve [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 5:15 AM
To: Tomcat Users List
Subject: RE: Tomcat Admin Tool
Hi,
Can any one guide me or point me to the documents where i will get the
steps to assimilate the admin with tomcat ??
Ahh, the Borg.
Anyways, simple:
- Download jakarta-tomcat-v5.5.6-zip, extract to C:\.
- Download jakarta-tomcat-v5.5.6-admin.zip, extract to C:\.
- Edit
Hi,
Sorry, not sure I understand this. Is this not what I've done with
this?:
error-pageerror-code404/error-code
location/404.html/location
/error-page
Yeah, that is what you've done. I didn't read your original web.xml
carefully enough it seems ;)
My
Hi,
I would like to stop and undeploy a webapp without restarting
tomcat, and without using the manager application. Preferablely
using a command line tool. How can I do that?
You can use the Manager through Ant, as illustrated in the Manager
how-to doc. But if really don't want to use the
Hi,
Apache mod_rewrite is overkill for this intra-webapp traffic control.
Use a Servlet Filter mapped to /* and put your logic in there.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Hari Mailvaganam [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 11, 2004 7:06 PM
Hi,
Unzip the admin distro to your $CATALINA_HOME. It'll create
server/webapps/admin and conf/Catalina/localhost/admin.xml. The admin.xml file
should NOT go just in conf.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: VTR Ravi Kumar [mailto:[EMAIL PROTECTED]
Sent:
Hi,
You could also try forwarding (RequestDispatcher) from your servlet to
the FTP resource, rather than redirecting. The servlet's address will
remain in the browser's address bar.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Susan Hoddinott [mailto:[EMAIL
Hi,
Thank Yoav very much.
I will report my ending for the problem.
Li Zhenxing
No problem, I'm glad to help. These are the interesting problems, to me
at least. Especially when the person working on them seems to have a
good grip on things, like you do. I look forward to seeing your results
Hi,
Tomcat is not throwing that exception just because it feels like it. An
instance of that class must be reachable in the serialization process of
at least of the session attributes.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Steve Kirk [mailto:[EMAIL
Hi,
I have an app that must wait for a return from another machine that
will
send an
asynchronous message. I go into a while loop where I put the current
thread
to
sleep for 1000 mills. several times.
Yikes ;( I hope you realize that fragility of this design, given that
J2EE apps (which
Hi,
Why is this a bad version? What bugs are not possible to live with?
What
For me, numerous. For you, maybe none.
about Tomcat 3.2.1?
Isn't it enough (in both cases) that one also keeps third party and
homemade libraries at the latest compatible version?
It's enough until you run into a
Hi,
my custom class I use pageContext.getRequest().getLocalAddr(), it
always
answers localhost address of 127.0.0.1, but the request and response
are going to an outside machine on a private 192.x.x.x address.
Request#getLocalAddr doesn't have anything to do with the remote
machine. Why would
Hi,
Do you need JMX request registration? If not, turn it off by setting it
to false in the configuration file. That'll save you some memory by
itself.
Your OOME is the root cause, so if you fix that the hundreds of others
errors will likely go away. The OOME, in turn, is probably caused not
Hi,
My question is this: Can I force all traffic coming through port 80 to
web-app1, 8443 to web-app2 etc...???
Yes.
I believe the answer may lie with using a customised valve, but have
found
no examples of this.
There are a number of ways you can do this, a custom valve being one of
the
Hi,
Did you restart Tomcat after unzipping the admin distro? Did you set up
a user for the admin app in tomcat-users.xml?
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Kelly, Steve [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 12:10 PM
To: [EMAIL
Hi,
1) If you have a large scale web application with many JSP files, or an
application that will generate a large amount of reflective objects (if
it
is using Hibernate for example), the default Permanent Generation and
Max
Permanent Generation settings on the JVM are not sufficient. By
that's 2 things to fix now.
All solved now :) thanks Yoav/Ben.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday 10 December 2004 14:03
To: Tomcat Users List
Subject: RE: sessionS info persistence when restart Tomcat
Hi,
Tomcat is not throwing
Hi,
There are a number out there: search amazon.com for apache tomcat and
you'll see. The danger with these books is that Tomcat's development
pace is faster than the book publishing pace, so any Tomcat-specific
parts in them are subject to change. (Stuff that's portable, i.e.
designed and
Hi,
-Our consultant-designed website consists of approximately 5000 JSP
pages. None of these pages pull from a backend, the java was merely
used to provide a persistent border.
Are these JSPs precompiled?
-Max heap size is set to 1850 megs, (which from what I understand is
the
max on a 32-bit
Hi,
I do not directly spawn a thread. If you know of an event library for
this
version of the JVM, I would be happy to use that because I think things
run
more efficient and the code looks cleaner.
There are numerous, depending what you're looking to do. JMS might be a
good candidate for this
Hi,
I think it is a obvious memory leak because the number of request
threads doesn't increase and the app hits just is normal when the
inflexion of gc figure appreas.
So there is a constant load and constant memory usage for a couple of
days, and then under the same load the memory usage
Hi,
You can do the load balancing with just BigIP (or a similar product) and
Tomcat, without enabling any of the clustering features. Of course,
what you get then is ONLY load balancing, i.e. no session affinity or
session replication of any kind, which are required for dynamic
failover.
Yoav
Hi,
You can look at the logs and fix any problems reported there.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: maged.shake [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:55 PM
To: [EMAIL PROTECTED]
Subject: tomcat run app
hello ,
when i run
Hi,
Will tomcat wait until time consuming requests are completed before
shutting
down?
No.
Yoav Shapira http://www.yoavshapira.com
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or
Hi,
Too long can be defined in a configuration file.
It could be, and you're welcome to go ahead and do it. Waste of time.
The major problem is that Tomcat can't do a 'restart'. For example with
mysql I can do a /etc/init.d/mysql restart and it will block until stop
runs... then start. If
Hi,
java.lang.NullPointerException
at
org.apache.axis.client.Service.getEngineConfiguration(Service.java:802)
at
org.apache.axis.client.Service.getAxisClient(Service.java:104)
I think we had a recent discussion on this exact NPE: you might want to
search this list's archives (or
Hi,
Even thought I don't usually support the connectors, and certainly not
mod_jk2 (which is now unsupported in case you missed the announcement),
the sheer fascination with this XXX message prompted me to search the
source code.
The message is from org.apache.tomcat.util.bug.C2BConverter, a
Hi,
Clarity mostly. No need to obfuscate something unless absolutely
necessary for overriding reasons... It's a mistake to rely on any
specific pattern under Tomcat's work directory: it's Tomcat's to manage.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Yu, John
Hi,
Benchmarking code running inside an IDE is worse than useless: it's both
misleading and a waste of time. IDEs can do a lot of things
(pre-caching, pre-creating threads, getting DB connections, etc) that
skew results. Test the performance of something as you would run it in
production. If
Hi,
The example in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html is
a decent start. Since your goal is to reduce messages being output to the log,
at least for this 3rd party application, add a line like
log4j.logger.rootPackageOf3rdPartyApp = WARN
to the sample file at the
Hi,
Yup, definitely not a Tomcat bug. You might want to sync up your
network configuration with your server.xml, but that's your call.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 10:17
the one I tried but never got too far. I'll give it a another
whirl
and it should cut down on the errors from the 3rd party app in the
short
term and as long as they aren't in catalina.out i'll be happy.
Ta
Matt
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 09
Hi,
This web.xml snippet looks fine, but of course it's far from all the
required information to properly diagnose and debug this issue. What is
the exact and complete message in the logs?
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Nat Gross [mailto:[EMAIL
Hi,
My specific IP address never shows up as listening.
Does anyone know how I can get around this?
Assuming you're using the Coyote HTTP/1.1 connector, use its address
attribute
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html) to
indicate which IP address to listen on.
:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 11:31 AM
To: Tomcat Users List
Subject: RE: Problems With Configuring IP
No I am not using Apache as a front end, I am using just Tomcat.
Is this bad?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday
Hi,
Oh no! Call the Apache police!
Seriously though, if you give some details we might be able to help ;)
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Dola Woolfe [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 12:05 PM
To: Tomcat Users List
Subject:
Hi,
Before I even start dissecting this, where did you get the documentation
that led you down this path? I don't see any mention of HTTPSValve on
the Tomcat (or FWIW, the entire apache.org) site.
A general Google search shows only one place with this mention: the
Globus site. I see that
Hi,
Runing tomcat 5.0.27 I get this error list below for the first time. I
think is because I have j2ee.jar is in the classpath which was
causing
java.lang.reflect.InvocationTargetException.
Pleaese advise???
Advice: don't have j2ee.jar anywhere in your Tomcat installation.
Advice: search the
Hi,
Is it possible, and if so how, to limit the size of the tomcat_out.og
file?
I have a development box that is running out of space sometimes because
the
log grows rather large when a lot of users are testing. Thanks all!
What Tomcat versions are you using?
Tomcat's Loggers (version 5.0 and
Hi,
I am on Tomcat 5.0.29. Can you point me at some documentation on
configuring it?
As I said, not much of this is done in Tomcat. It's not Tomcat's job to
worry about you running out of disk space.
The only Tomcat option relevant to this discussion is swallowOutput,
which is a Context
Hi,
What Wendy said is right on, so I'm glad you're already down that path.
If the files are temporary, i.e. you don't mind them being erased when the
server restarts, you can use the javax.servlet.context.tempdir context
attribute. That's the portable, preferred way to handle temporary
Hi,
You know, the JavaDoc for HttpServletResponse#setStatus is pretty clear
on this ;) Use sendError for errors, setStatus for normal responses.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Dunlop, Aaron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004
Hi,
I'm using tomcat 4.1.30 as it is with standard MemoryRealm
implementation.
Ahh, I assumed you were using 5.x, my bad there. I haven't used 4.x in
a while and don't want to waste time on it, so I believe you.
The username/passwords are created using the tomcat-users.xml, but If I
change
Hi,
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Tomcat is not deficient or lacking here in any way: if
something is lacking, it's the Servlet Spec, but I personally
don't think it's lacking because there's still a use-case for
the no-filesystem servlet container.
Hmm. Sorry, Yoav, but I
Hi,
Besides what Dale said, which is true, I'd like to point out a couple of
other additional things.
Those memory spikes appear in my Web application for a long time. The
odd
When a spike appears for a long time it's not a spike: it's the
steady state.
This is three pictures of the gc log.
Hi,
You're right that a static request dispatcher is a negligible
performance gain for a large thread-safety risk. You can obviously test
it out with a client that will send multiple concurrent test requests.
But if you don't have the time or desire to test it out, you can know
that obtaining a
Hi,
Once you get the thread dump, post it, and we can try to help you figure
out what's wrong. The Tomcat thread pools should automatically recover
unused threads, subject to your configuration (see the maxSpareThreads
and releated Connector configuration attributes).
Yoav Shapira
Hi,
I guess you're not a big fan of JavaDocs? ;) Check out the JavaDoc for
HttpServletRequest#getPathInfo, especially the Returns section, which
is fairly unambiguous as these things go:
Returns:
a String, decoded by the web container, specifying extra path
information that comes after the
Hi,
I see in the manager app that only server status information about
connections to the manager app has extended information attached to
it.
That's not exactly true. The application status, VM state, and thread
pool status is output for all applications on the Host.
Have you tried doing
Hi,
RTFM: the Resource configurations have changed from Tomcat 5.0 to 5.5,
and certainly from 4.x. You need to modify your configuration files
accordingly.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.htm
l.
Yoav Shapira http://www.yoavshapira.com
-Original
Hi,
The Tomcat shutdown script provides support for a -force option, which
does a kill -9 on the process ID after the normal shutdown.
If you want something beyond that, do it yourself. Accounting for
reasons like an OOME or your own code spawning non-daemon threads is
outside Tomcat's scope.
Hi,
Yeah, I'm sure. It's easy to see using the Admin webapp.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Morten Andersen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 4:50 AM
To: Tomcat Users List
Subject: RE: Implementing Realm
At 16:10 17-11-2004,
Hi,
Ask the Sysdeo folks...
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Vamsee Kanakala [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 7:12 AM
To: Tomcat Users List
Subject: Inside eclipse...
Hi all,
I have a problem when I start tomcat from
Hi,
When you download a Tomcat distro, there's a RUNNING.txt file in it.
Read it. Then search the list archives.
Note that in general, people on this list either don't have the time or
are just not keen on doing your work for you ;)
Yoav Shapira http://www.yoavshapira.com
-Original
Hi,
Because you've probably left autoDeploy on for your Host.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ian Brandt
Sent: Monday, December 06, 2004 7:14 PM
To: [EMAIL PROTECTED]
Subject: Won't deploy to root context even
Hi,
Did your testing properly account for ramp-up?
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Michael Südkamp [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 7:50 AM
To: [EMAIL PROTECTED]
Subject: Performance with/without loadbalancing
Hi,
I set up
Hi,
That doesn't look problematic: you simply have debug-level logging
enabled, it appears. None of the messages are errors...
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Warron French [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 4:49 PM
To: User
Hi,
There are tons of other such stories in the archives of this list and of
Bugzilla. Nothing new here.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 4:04 AM
To: Tomcat Users List
Hi,
My suggestion to put Manager inside a Host was wrong: my mistake, my
apologies. It won't work as you've noticed. But inside a
DefaultContext should work...
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Pieter Vandepitte [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Hi,
The Spec-mandated, and therefore portable, approach is via the web.xml
declarative security.
The Tomcat-specific way would mean you navigate down the container
hierarchy, starting with ServerFactory.getServer, down to Service,
Engine, Host, to find your Realm object. You could probably do
-821-6110
Main: 703-821-6000
Fax: 703-827-0374
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 8:56 AM
To: Tomcat Users List
Subject: RE: Some problems with Tomcat
Hi,
That doesn't look problematic: you simply have debug-level logging
Hi,
Where can I find documentation about Tomcat looger, and debug
verbosity
params?
I change the debug and verbosity values, and the log is always the
same.
Different Tomcat versions have different ways to configure logging.
Make sure you're looking at the documentation for your Tomcat
Hi,
Maybe, I don't explain very well my case. For example, If I active the
debug
in the database pool connection, can I see the active connection, free
connection, the queries, etc...
There are two ways to determine what logging output you will see if you
enable debug-level logging for a given
good like the idea, and
under
my
point of view, is the best solution event the big companies. But for
beginner, is very difficult.
Thank you very much I try continue with your indication.
Best regards.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: martes, 07 de
Hi,
What Tomcat version are you using?
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Mike Duffy [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 04, 2004 4:49 AM
To: Tomcat Users List
Subject: Exception in RealmBase
Searching the archives, I found two similar
Hi,
The Servlet Spec v2.4, which Tomcat 5.x implements, provides an answer
to your problem: add a forward/include directives to your
filter-mapping. See SRV.13.1 for the syntax and examples.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Hi,
Thank you for providing a good laugh on this cold Monday morning ;) We
haven't had an oops I had a System.exit call... email in at least a
year.
The container itself can't do much about developer carelessness. Of
course there are other gotchas: don't have infinite loops, don't leave
Hi,
There are numerous options, but talking about them usually leads to
flame wars. Check out for example Java Server Faces:
http://java.sun.com/j2ee/javaserverfaces/index.jsp,
http://www.macromedia.com/software/flex/, and
http://www.laszlosystems.com/, among others. If you google for any of
be something for Tomcat
to consider doing, to better serve customers who want to choose the
version of Xerces/Xalan to use with their software.
David Stevenson
On Fri, 2004-12-03 at 11:58, Shapira, Yoav wrote:
Hi,
I'm working with Apache Tomcat/5.0.19.
In the \Tomcat 5.0\common\endorsed\ directory
Hi,
Can't you just test this in much less time than it takes to ask and wait
for responses on this list? ;)
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Jiang, Peiyun [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 10:10 AM
To: 'Tomcat Users List'
Subject:
Hi,
Don't rely on SingleThreadModel, it's more than deprecated: it's evil.
Don't use the isThreadSafe directive, don't use SingleThreadModel.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: zerol tib [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 10:23 AM
Hi,
5.5.4 is stable is you said.
5.0.29 and 5.0.30, both available now, are both beta. 5.0.28 is stable.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 04, 2004 2:20 PM
To: Tomcat Users List
Hi,
DBCP will NOT gracefully recover by itself. You need to configure it
according to your desired behavior. Specifically, check out the
testOnBorrow, testOnReturn, and testWhileIdle properties at
http://jakarta.apache.org/commons/dbcp/configuration.html.
Yoav Shapira
Hi,
I have a little bit of experience in this area, not much.
The JVM will grow as much as it needs subject to your -Xms/-Xmx and
other settings, as I'm sure you know already. So could it be it's not
growing past 3300MB because it doesn't need to? Stress it out with a
bigger load, or maybe
Hi,
But consider having two Tomcat instances,
it means make a new installation of Tomcat?
I'm not sure what your point is here. You can have as many instances of
Tomcat as you like, using at least two approaches. One is completely
separate installations, i.e. different CATALINA_HOME/BASE for
or should I not use the ConnectionPool
implementation provided by IBM in their JDBC driver? And if I should,
do
the parameters provided by DBCP still apply? I have to admit, I'm a bit
fuzzy on what role which component is playing in this game!
Thanks!!
Shapira, Yoav wrote:
Hi,
DBCP
Hi,
You gotta love it when a consultant tries to get others to do the job
for him/her, while he/she collects money on the results ;)
The answers to most of your questions, e.g. when you need Apache and
when you need an EJB container, can be found in the archives of this
list.
Yoav Shapira
1 - 100 of 5223 matches
Mail list logo