Check out this link might answer few of your queries.
http://java.sun.com/docs/hotspot/gc1.4.2/faq.html
-Sameer
Benjamin Chu <[EMAIL PROTECTED]> wrote: Hello! Now I am using the jconsole to
monitor the heap memory usage of
the tomcat 5.5. I've constructed a testbed to test the performance of
t
Thanks for the reply! Does this kind of the GC only run when the memory
usage almost reaches the limit which we allocate (for example, by default,
it is 64 MB)? Sorry that I am not familiar with the GC.
I just know that the JVM would do it for us by itself. Thank you very much!
- Original M
How i can let Tomcat 5.5.27 listen to any socket connection from the
client and handle it ??
What makes you think the GC should run? Are you out of memory? The GC will
not run in many situations unless it has a need to.
HTH - Richard
-Original Message-
From: Benjamin Chu [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 8:25 PM
To: Tomcat Users List
Subject: When does the "Ma
Hi Asaf,
Why are you keeping a servlet.jar file inside your lib folder???
I suppose that is the cause, servlet.jar and servlet-api.jar provide
same implementation of servlet API.
Just keep the jar file in common/lib folder of tomcat installation.
Try it.
Regards
Ayusman
Hi All,
If I am creating a web-application need I put it only in the webapps
folder?
Can I put it somewhere else in my directory structure (out of the usual
tomcat installation directory) and point tomcat to consider this as
a valid web application.
Any suggestions will be highly appreciated
Hello! Now I am using the jconsole to monitor the heap memory usage of
the tomcat 5.5. I've constructed a testbed to test the performance of
the applications running on the tomcat. However, the jconsole shows that
the "MarkSweepCompact" Garbage Collector never does its job. The only
two ways to ma
Hey man
Is it possible to you to send me a copy or your "brand new", recompiled
mod_jk.so for 2.2.2?
You will be think I'm lazy, but in fact I'm more a Linux boy than Windows
boy and I don't know how use VC++ at all.
My email is rafael_oropeza at hotmail.com Thanks in advance
--
View this mess
Do you know what version of tomcat this was fixed in?
Thanks,
- Original Message -
From: "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, May 26, 2006 10:12 PM
Subject: Re: HOWTO remove username/password from logging to tomcat logs
this is JK/AJP co
Chris Walker wrote:
> I have just migrated a family of webapps from Tomcat 4 to Tomcat 5.5. It's
> working OK, but reading through the documentation I see there is a
> recommendation that I remove the sections from server.xml and put
> them in files in {catalina_root}/conf/[engine]/[Host].
>
> Bu
Incidentally, I, too, have found the "path" and "docBase" attributes to be
tricky in Tomcat. I fiddle with them until I get the desired result (ugh),
but the language describing them has never helped me much in figuring out
why what works actually works.
On 5/29/06, Mark Petrovic <[EMAIL PROTECT
Hi.
Context fragments can also be put in your webapp's META-INF directory, per
the 4th bullet item here
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
E.g.,
pluto:PGCRM> jar tf dist/crmrpc.war |head -3
META-INF/
META-INF/MANIFEST.MF
META-INF/context.xml
where context.xml contains
Hello,
I have just migrated a family of webapps from Tomcat 4 to Tomcat 5.5. It's
working OK, but reading through the documentation I see there is a
recommendation that I remove the sections from server.xml and put
them in files in {catalina_root}/conf/[engine]/[Host].
But when I do this I find
Since upgrading from Tomcat from 5.5.9 to 5.5.17, I found that my two
webapps that both need to use encryption via JCE providers are not
working. Only the "first to load" webapp works as it installs the
provider just fine, but the other cannot and then fails.
It seems that a single JVM can on
I have it configured so it works fine. I just had the two questions:
Does giving it a shared memory file boost performance (or have
any other advantages?
Where does Apache find out the port mod_jk is using (in case
I ever want to change it)?
On Monday 29 May 2006 12:45, Martin Gainty wrote:
>
>
Greetings!
I am using form-based authentication for my app and all seem to work
well with the basic login of the system. However, when a new user
registers for an account, it appears I am required to send the user back
to the login form, thus forcing a user to enter information twice, one
in
I don't know why you have the Common folder of tomcat in your classpath.
that should not be needed.
On 5/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Mon, May 29, 2006 at 12:31:12AM +0800, Justin See wrote:
> I've tried to search for it but couldn't find an answer.
> Please try to
I assume you are implementing Tomcat 4/5?
in which case I would suggest looking at
http://tomcat.apache.org/connectors-doc/howto/workers.html
for configuring AJPv13 workers-
M-
*
This email message and any files transmitted with
I have gotten mod_jk working connecting apache and tomcat, but the log has this
error:
[Mon May 29 11:27:16 2006] [5118:52288] [error] init_jk::mod_jk.c (2356):
Initializing shm:/etc/apache2/logs/jk-runtime-status errno=2
I found that it is because I didn't give it a shared memory file.
Will it
Yes, Ayushman. I've checked the access rights there, it's writable
there.
Regards.
Kuldeep.
-Original Message-
From: Ayusman dikshit [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 7:25 PM
To: Tomcat Users List
Subject: RE: Help needed:Context Creation Failed.
Hi Kuldeep,
Have you
Thanks Martin!
Yes, I have set-up the contexts as described in the documentation.
I also have the crossContext="true".
But, still getting the same problem.
Regards.
KT.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 7:11 PM
To: Tomcat User
Hi Kuldeep,
Have you checked the OS level access rights on this folder???
Try it.
Regards
Ayusman
-Original Message-
From: Kuldeep Tewari [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 6:52 PM
To: users@tomcat.apache.org
Subject: Help needed:Context Creation Failed.
Hi!
I'm us
**There is a post "Run class in the start up of Tomcat" that explains how to
notify when Tomcat is starting/stoping... I think than there you can find an
answer...
2006/5/29, Mladen Adamovic <[EMAIL PROTECTED]>:
Mir Kasim Ali wrote:
> I want to configure my tomcat server for sending sms to th
Did you setup each context as described
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Did you setup crossContext = true so that multiple context's will route to
other RequestDispatcher's configured within VirtualHost?
M-
Hi!
I'm using Tomcat 5.0.27, and trying to setup my application (that is
working fine) on a different machine with the same directory structure
as in my machine.
I'm adding one more new host tag(with name="<>" ...) inside the original server.xml file and and two context
inside this new ho
Mir Kasim Ali wrote:
I want to configure my tomcat server for sending sms to the concerned
person
when ever server goes down.Please tell me If any body has done the same.
The easiest way is to make simple program on other computer who will
periodically send http request to Tomcat server. If To
Hi,
Thanks for the clarification and this is good to hear. I will try
setting the socket_timeout to 200.
I think however that these messages in the mod_jk log are misleading.
- Error connecting to tomcat. Tomcat is probably not started or is
listening on the wrong port. worker=worker2 failed
To
Is it possible to stop the tomcat shutdown sequence from with in the context
listener contextDestroyed function?
Asaf Lahav
VP R&D, Prima Grid LTD.
Cellular: 972-54-4717955
Phone: 972-3-6540255
Fax: 972-3-6540254
-Original Message-
From: Asaf Lahav
Thanks Juanjo,
That link helped.
Asaf Lahav
VP R&D, Prima Grid LTD.
Cellular: 972-54-4717955
Phone: 972-3-6540255
Fax: 972-3-6540254
-Original Message-
From: Juanjo Cuadrado [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 10:23 AM
To: Tomcat Users List
Subject: Re: R
Hi every body
I want to configure my tomcat server for sending sms to the concerned person
when ever server goes down.Please tell me If any body has done the same.
--
Mir Kasim Ali
Hi,
I don't know if i'm understanding well, but my English is very bad...
sorry.
I used, like you, the ServletContextListener. I only used two methods,
contextInitialized and contextDestroyed, to monitor when Tomcat start or
stop, buy there are two more to monitor the start and stop sessio
yes, it's free. Because when I telnet to localhost 8004, it said 'Could not
open a connection ... '
I'm using jdk1.5.0_01 :(
"Rajeev N. Jha" <[EMAIL PROTECTED]> wrote: is the port 8004 free ? try using
9004 instead. which JDK you are using ?
karu manua wrote:
> Dear All,
>
Add the directive JkMount to tell Apache using Tomcat to serve your JSP
JkMount /yourWebaaps ajp13
Jean-Claude
-Message d'origine-
De : Donald Beck [mailto:[EMAIL PROTECTED]
Envoyé : dimanche 28 mai 2006 17:11
À : users@tomcat.apache.org
Objet : Tomcat and Apache Connector Problem
I
33 matches
Mail list logo