thanks all for your responses.
Regards,
Cyril.
- Original Message -
From: "Remy Maucherat" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 14, 2003 2:57 PM
Subject: Re: Number of instances with SingleThreadModel
Tim,
SingleThreadModel is also deprecated in 2.4 Servlet API
Woo hoo!
-chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
SingleThreadModel is also deprecated in 2.4 Servlet API
-Tim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
cyril vidal wrote:
Hi,
These infos are useful but have nothing to deal with my initial question;-))
So, I ask it again, if some people know about THIS subject:
is it possible in Tomcat's configuration to specify
the number of servlet instances created when this servlet implements the
javax.servle
Howdy,
>These infos are useful but have nothing to deal with my initial
question;-
Yes, don't you hate it when people hijack threads?
>is it possible in Tomcat's configuration to specify
>the number of servlet instances created when this servlet implements
the
>javax.servlet.SingleThreadModel i
ay, November 14, 2003 10:58 AM
Subject: Re: Number of instances with SingleThreadModel
> Useful methods on the Runtime class:
> In jdk 1+ Runtime.getRuntime().getTotalMemory();
> In jdk 1+ Runtime.getRuntime().getFreeMemory();
> In jdk 1.4 Runtime.getRuntime().getMaxMemory();
> Thes
Useful methods on the Runtime class:
In jdk 1+ Runtime.getRuntime().getTotalMemory();
In jdk 1+ Runtime.getRuntime().getFreeMemory();
In jdk 1.4 Runtime.getRuntime().getMaxMemory();
These methods are diagnostic. You'll need to find out why you are
getting OutOfMemory errors. Time to profile your
Does anyone know how I can check to see how much memory is in use or
available on Tomcat at any point in time? I've been getting a
java.error.OutOfMemory error lately and I need to be able to track
what's going on.
Thanks.
Neal
--
Hi,
I would like to know if it is possible in Tomcat's configuration to specify
the number of servlet instances created when this servlet implements the
javax.servlet.SingleThreadModel interface.
Thanks in advance for your response,
Regards,
Cyril.
-
t: Re: Number of Instances
Hi,
I see the only possibility with servlet programming
i.e implementing the single thread model.Can U please
elobarate on the ptoblem with single thread model.
Ravi
--- Lauber Christof <[EMAIL PROTECTED]> wrote:
> How must I configure the jakarta-tomcat 3.1 t
Hi,
I see the only possibility with servlet programming
i.e implementing the single thread model.Can U please
elobarate on the ptoblem with single thread model.
Ravi
--- Lauber Christof <[EMAIL PROTECTED]> wrote:
> How must I configure the jakarta-tomcat 3.1 that
> just one Instance per
> servle
Lauber Christof wrote:
> How must I configure the jakarta-tomcat 3.1 that just one Instance per
> servlet is allowed? Which config file do I have to edit(server.xml,
> web.xml, ? ) ?
The only thing you have to "configure" is your servlet -- be sure you do
*not* implement the SingleThreadModel in
How must I configure the jakarta-tomcat 3.1 that just one Instance per
servlet is allowed? Which config file do I have to edit(server.xml,
web.xml, ? ) ?
The servlet does not implement the Single Thread Model,regardless it
happens that the Servlet's init Methode is called twice!
How must I configure the jakarta-tomcat 3.1 that just one Instance per
servlet is allowed? Which config file do I have to edit(server.xml,
web.xml, ? ) ?
How must I configure the jakarta-tomcat 3.1 that just one Instance per
servlet is allowed? Which config file do I have to edit(server.xml,
web.xml, ? ) ?
15 matches
Mail list logo