. Is there some formula I should be using (based
on projected traffic)?
The links above, esp the third one, should help you to determine what
is a good size.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED
, while the unit test is running.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
files in there, then use:
jar -cf MyApp.war MyApp
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
your apps are, more
cpu intensive should use fewer threads, imo.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
I recently upgraded to tomcat5 and now have a problem with trying to
do the integration.
I used to use (under Tomcat4) in server.xml
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig ... /
but now I can't find any ApacheConfig.
I am trying to get tomcat to create
neal cabage wrote:
I'm currently having a problem wherein Tomcat crashes about once per week and gives the error Java.error.OutOfMemory but I can't see any diagnostics by which to establish any patterns. I also can't find this information on the Apache site, after having looked for 1/2 hour.
Thanks. Out of curiosity, what sort of RAM allocations would you typically
do on a production UNIX machine? Obviously I don't want to use up all of
my memory, but this and mySQL are my only two production apps.
It depends on what your application does. Mine does a lot of graphs, and
the
Scott Purcell wrote:
As a baseline, I would like to increase the JVM memory on tomcat 4.06 (running as a service). I am having trouble isolating where this is done. I have searched through the config directory for jmx but found nothing.
In catalina.sh do:
JAVA_OPT=-mx512m
if you want it to be
Hello,
I am curious how I compile all the components of tomcat from source
code. I am having various problems, the only one that made sense was
that I had to upgrade mail.jar.
From the $HOME_DIR/jakarta-tomcat-5.0.16/src I should just be able to
type
'ant'
and have it compile, but it
Hello,
I am trying to write a unit test for an application I didn't write.
There are classes in the classes directory I want to test directly.
The problem is that the application uses application and session
scoping for some of the classes, so they can reference the instance
without having
Michael Coughlan wrote:
I agree. Sorry to be so thick, everyone. I hope I am not too far off topic
with this conversation thread, but I simply don't understand how JBoss
differs from the J2EE SDK.
There is a specification for J2EE, and then Sun makes an
implementation of that specification,
Michael Coughlan wrote:
It seems to me that I might want to blow away my Tomcat install and unpack
JBoss (with Tomcat).
You should look at what you will need, in terms of features, and what
you can spend, and then decide. Sun's implementation also uses Tomcat
as do at least some of the other
Michael Coughlan wrote:
Thanks for the post. Can you please clarify?
Are you saying that the J2EE SDK is not production quality while JBoss is?
I believe the reference implementation is not meant for production,
from Sun, but for $2k or $10k/cpu you can buy one that is.
Shapira, Yoav wrote:
You can use MockObjects for this type of thing, assuming that you mean
the ServletContext and similar scopes.
We are using a commercial application that is buggy. I am trying to
test it to see if a new version is better or not than the current
version, but I can't test
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 10:03 AM
To: Tomcat Users List
Subject: RE: unit testing when application level scoping used
Cactus works beautifully with regards to servlet context and general
environment setup.
You may need to go modify Catalina.bat (I guess that is what it would be on
Win2k), add a JAVA_OPT variable, such as JAVA_OPT=-mx512M.
I don't remember if it is -mx or -mX though.
This will set the highest heap size that the java application can use. You
may want to set it to 2 or 3GB
Andrei Ivanov wrote:
I've created a context for my application and I used the manager to reload
the context and now I've configured the context to be reloadable.
First, start with using a profiler to ensure that your application
isn't leaking memory.
Look at
Andrei Ivanov wrote:
I've searched bugzilla, but there doesn't seem to be any bug filled about
something like this.
About using a profiler... could you recommend one ?
JProfiler I like, mainly because of the cost, but also because it
integrates in well with Netbeans. g
Look at
David Strupl wrote:
I have already changed this ;-) Also added the fork attribute to true
for jsp compile. It is not caused by the app - after the app starts
and first 100 or so users connect the memory jumps up to approx 130
MB. But during the next 24 hours it eats more than 300 megs. From
Jeff Greenland wrote:
Does anyone know a way around the serialization problem? If there's an
easy solution, I would jump on moving all of our classes into a package
immediately -- something we've been wanting to do for a few years.
Thanks for the help everyone, hopefully someone has a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
QM wrote:
| I've changed the subject, since this your question is effectively a new
| train of thought.
|
| On Tue, Dec 07, 2004 at 11:08:58AM -0800, Sunitha Kumar wrote:
| : Is there a way we could attach a debugger to an already running
instance
| :
in the form, and ignore duplicate
names.
- --
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBuKR98psvJTl
to put in, and repeat.
I have already reported this to Sun a month or so ago.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED
+\@)?(www\.)?\w+(\.\w+)+(\:\d+)?
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
You have to add some jar files to your webapp, but JSF will work on Tomcat
5, I haven't tried it on Tomcat 4 in 8 mths.
Work like you don't need the money, love like you've never been hurt, and
dance like no one is watching.
--- Satchel Paige
-Original Message-
From: snpe
on the local
system, you may not be closing the connection.
You can use a program called losf, which is available from
www.sunfreeware.com and see what it tells you about which process has
the descriptors open.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black
Hello,
I don't remember how I got this to work under tomcat4, but how would I
auto-generate the jk2.properties file for tomcat5?
Thank you.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED
the password that was also entered.
Is there anyway to do this in Tomcat?
I have the authentication working if the person known their namsid, but
few people will as it is used internally.
Thank you.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL
in, the application logs in and searches
for what in your case would be the namsid using the uid as a parameter.
You then need to bind with the namsid that you've looked up and the
password to determine authentication.
Ta
Matt
-Original Message-
From: James Black [mailto:[EMAIL PROTECTED
directory, perhaps?
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
When I had rolled out my application, where the client is on about 400
machines, we ran into problems when the useage was too high, but didn't
have time to figure out what was going on.
One thing I noticed is that one field in the webservice may be
encrypted, and decrypting is a slow
that will be used constantly, and needs
to be fast.
Thank you.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Write each request into a table with the session id?
Work like you don't need the money, love like you've never been hurt, and
dance like no one is watching.
--- Satchel Paige
-
To unsubscribe, e-mail: [EMAIL
Hello,
We have a virtual host on apache:
http://virtualhost.abc.edu
This actually is on
host.abc.edu
There is a index.php that is ran automatically when you go to
virtualhost.abc.edu
I now have a jsp page that I want to replace the php with.
People have bookmarked virtualhost.abc.edu
I
because of the fact that the
collections have changed, in order to support generics.
I haven't tried running my JDK1.5 classes under jdk1.4.2 yet, as I am
still trying to get all of my unit tests to pass. g
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL
Netbeans or Eclipse to stop complaining
about the new features I am using.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED
under jdk1.5.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
My tomcat server is failing to start up because it can't find this
class. What jar file should it be in?
Thank you.
I am using Tomcat 5.0.19
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED
. Fulton Sheen
James Black[EMAIL PROTECTED]
I just realized I had tomcat-coyote.jar in /usr/java/jre/lib/ext and
that is what I think was causing the problem. I deleted it and it starts
up fine now.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED
well, for running tomcat under.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
into my webapps directory. After about 5-8 new
versions within a few hours then I get this error and have to restart
tomcat.
- --
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment
if there
is some memory leak otherwise.
Thanx.
- --
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
redeployment.
Thanx.
- --
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
do, in production, because of this issue?
We are going to be doing some testing to see about optimizing the
memory allocation, but I am curious how others handle this.
Thanx.
- --
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-BEGIN PGP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- From what I understand there are two queues in Tomcat, and incoming
queue and an execution queue. It appears tomcat is rejecting some
clients when too many people try to hit my server at one time. During
this time the cpu utilization was about
-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDPAIUikQgpVn8xrARAjqMAJ9zT3FPwhgnXPGyG9XvrAmlptzzBQCeNfz5
9s+G7lFVcWAObuJZ5L0YYSw=
=AoqJ
-END PGP SIGNATURE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dhiren Bhatia wrote:
Hi all,
I'm having trouble with the HttpServletRequest object if my post contains
multipart data. The request object loses all the parameters set from the
html form.
i.e. request.getParameter(myParam); always returns null.
48 matches
Mail list logo