Hi,
we have to develop a high performance chat based only on HTML and HTTP
only for a television company. The biggest issue is performance. The
chat's output window requires one open HTTP connection per client. This
means, that when you have 3000 people following the chat that the server
has
NBIO will not help very much ;o) we are running such an application
and want to migrate to apache/tomcat. The issue is, all the
optimizations you hear about are done from the request's side which is
of not much use in this case. The limiting factor would be
* how many connections can you open
Hello,
I need to use another alias than tomcat in https with tomcat 5.5 (keytool
-genkey -alias newalias -keyalg RSA -keystore /etc/keystore -storepass
mysecretpass). Have you got any idea? Thanks
Sébastien Dicque
SA BULL NV
Papiermolenstraat 51 Rue du Moulin à Papier
Brussel 1160 Bruxelles
e-mail
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
> Hi,
>
> we have to develop a high performance chat based only on HTML and HTTP
> only for a television company. The biggest issue is performance. The
> chat's output window requires one open HTTP connection per client. This
> means, that when you have 3000
Tp a écrit :
> Hi,
>
> we have to develop a high performance chat based only on HTML and HTTP
> only for a television company. The biggest issue is performance. The
> chat's output window requires one open HTTP connection per client.
> This means, that when you have 3000 people following the chat
hi,
can i run Tomcat on Non - Sun JVM e.g) IBM.
Regards
Krish
Hi Jay,
I believe that I already know the answer to this. But, if possible,
it would be nice to have some confirmation.
I have an application that uses JAASRealm for authentication. Within
my LoginModule class, is it possible to determine which resource the
user is currently trying to access?
If you know the id of a session is there anyway to get it out of the
application?
Sorry, this is to vague to know what you are doing. Which application
do mean?
-- Franck
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Remy Maucherat schrieb:
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
Hi,
we have to develop a high performance chat based only on HTML and HTTP
only for a television company. The biggest issue is performance. The
chat's output window requires one open HTTP connection per client. This
means, that w
Hi,
we have to develop a high performance chat based only on HTML and HTTP
only for a television company. The chat's output window requires one
open HTTP connection per client, which means that you need at least 3000
simultaneous ie. open HTTP connections for 3000 chatters.
To the former pos
Tp a écrit :
> Hi,
>
> we have to develop a high performance chat based only on HTML and HTTP
> only for a television company. The chat's output window requires one
> open HTTP connection per client, which means that you need at least
> 3000 simultaneous ie. open HTTP connections for 3000 chatters
Tp wrote:
And there seems to be no workaround, because the connection will close
after the doGet() and doPost() method finishes (is that actually
true?). So, the only way to keep 3000 simultaneous connections is to
keep 3000 of those methods from returning, wehich means keeping 3000
thread
Yes I am using Tomcat + Apache, using mod_jk module I connected these two
servers. I am able to access the examples folder of tomcat which is having the
jsp and servlet files. I am able to execute these jsp and servlet programes
using localhost/examples.
Apache is listening to port 80
Rajeev Jha schrieb:
Tp wrote:
And there seems to be no workaround, because the connection will close
after the doGet() and doPost() method finishes (is that actually
true?). So, the only way to keep 3000 simultaneous connections is to
keep 3000 of those methods from returning, wehich means
On 4/3/06, Rajeev Jha <[EMAIL PROTECTED]> wrote:
> Tp wrote:
> > And there seems to be no workaround, because the connection will close
> > after the doGet() and doPost() method finishes (is that actually
> > true?). So, the only way to keep 3000 simultaneous connections is to
> > keep 3000 of thos
Hi,
I amusing tomcat 5.5.9 with fedora (linux), and I am using jdk 1.5.0_06
The CATALINA_HOME, JAVA_HOME are defined,
When I try to startup the tomcat as root user every thing is ok, it
start (with port 8080)
But when I create a new user with permissions to logs and work
directories, and try
Hi,
I am using tomcat 5.5.9 with fedora (linux), and I am using jdk 1.5.0_06
The CATALINA_HOME, JAVA_HOME are defined,
When I try to startup the tomcat as root user every thing is ok, it
start
But when I create a new user with permissions to logs and work
directories, and try to startup t
Ali Kassem wrote:
> I amusing tomcat 5.5.9 with fedora (linux), and I am using jdk 1.5.0_06
>
> The CATALINA_HOME, JAVA_HOME are defined,
>
> When I try to startup the tomcat as root user every thing is ok, it
> start (with port 8080)
>
> But when I create a new user with permissions to logs and wo
Remy Maucherat schrieb:
On 4/3/06, Rajeev Jha <[EMAIL PROTECTED]> wrote:
Tp wrote:
And there seems to be no workaround, because the connection will close
after the doGet() and doPost() method finishes (is that actually
true?). So, the only way to keep 3000 simultaneous connections is to
keep
David Delbecq schrieb:
Tp a écrit :
Hi,
we have to develop a high performance chat based only on HTML and HTTP
only for a television company. The chat's output window requires one
open HTTP connection per client, which means that you need at least
3000 simultaneous ie. open HTTP connections f
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
> > The hype friendly "continuation" name has no business being associated
> > with this particular feature, since the said feature is not
> > continuations (which is a fancy - and IMO forward thinking and
> > actually useful - programming model for implemen
Remy Maucherat wrote:
On 4/3/06, Rajeev Jha <[EMAIL PROTECTED]> wrote:
Tp wrote:
And there seems to be no workaround, because the connection will close
after the doGet() and doPost() method finishes (is that actually
true?). So, the only way to keep 3000 simultaneous connections is to
If I understand this correctly, and I am not certain I do, it would appear
to be a problem with your httpd virtual host configuration.
Is it true that:
http://localhost/examples/ (httpd->Tomcat)
http://localhost:8080/examples/(Tomcat)
http://192.9.200.62:8080/examples (Tomcat)
all w
Remy Maucherat wrote:
Yes, but you need the 5000 or so threads to do this, and there's no
workaround. So it is the real problem since it forces you to use
polling.
How about bypassing the servlets alltogether?
we can take any exisitng http/ajp13 connector code and replace the
servlet con
Exactly... This is my situation. I dint do any extra configuration for httpd.conf file in Apache. I am attaching the httpd.conf file to this mail. Please check it out and let me know if there is anythign that I need to change. ThankyouIndraveniTim Lucia <[EMAIL PROTECTED]> wrote: If I understand
On 4/3/06, Rajeev Jha <[EMAIL PROTECTED]> wrote:
> Remy Maucherat wrote:
>
> >
> >
> >Yes, but you need the 5000 or so threads to do this, and there's no
> >workaround. So it is the real problem since it forces you to use
> >polling.
> >
> >
> >
> How about bypassing the servlets alltogether?
> we
Remy Maucherat schrieb:
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
The hype friendly "continuation" name has no business being associated
with this particular feature, since the said feature is not
continuations (which is a fancy - and IMO forward thinking and
actually useful - programming model
Rajeev Jha schrieb:
Remy Maucherat wrote:
Yes, but you need the 5000 or so threads to do this, and there's no
workaround. So it is the real problem since it forces you to use
polling.
How about bypassing the servlets alltogether?
we can take any exisitng http/ajp13 connector code and rep
Leon Rosenberg schrieb:
On 4/3/06, Rajeev Jha <[EMAIL PROTECTED]> wrote:
Remy Maucherat wrote:
Yes, but you need the 5000 or so threads to do this, and there's no
workaround. So it is the real problem since it forces you to use
polling.
How about bypassing the servlets alltogether?
we
On 4/3/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> Why then using tomcat at all? What's wrong with writing own app, which
> listens on a socket and does whatever it has to do? Before you have to
> rape tomcat to perform a task it was never designed for...
Yes, indeed. In many cases, it would s
Hi
I am using tomcat 5.5.9 with linux, and jdk1.5.0_6
When I start the tomcat as root user every thing it started, but when I
start it with another user
It start 8080 port but I get the message in Catalina.out:
...
...
Apr 4, 2006 2:54:27 AM org.apache.coyote.http11.Http11Protocol
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
> Well, I don't know what you understand under polling. I guess you mean
> the clients will have to sent GET and POST requests repeately, right?
>
> The load is going to be even higher with polling. That's I would not
> introduce any polling. How would I do
> >
> > Why then using tomcat at all? What's wrong with writing own app, which
> > listens on a socket and does whatever it has to do? Before you have to
> > rape tomcat to perform a task it was never designed for...
> >
>
> Well, that's a good question. The outcome of this thread might be just
> t
Hi,
check if the different user has read permissions for the
/opt/jakarta-tomcat-5.5.9/conf/tomcat-users.xml.new file
PETR
On 4/3/06, Ali Kassem <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am using tomcat 5.5.9 with linux, and jdk1.5.0_6
>
> When I start the tomcat as root user every thing it started
Remy Maucherat schrieb:
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
Well, I don't know what you understand under polling. I guess you mean
the clients will have to sent GET and POST requests repeately, right?
The load is going to be even higher with polling. That's I would not
introduce any polli
Hi!
>
> Right. I said you need to use polling, or use 5000 threads (which is
> not a problem if you have enough memory).
>
Are you sure that 5000 threads is not a problem when you have enough
memory. I'd be worried about wasting lots of cpu because of
context-switching???
lg
-
>
> Here a diagram:
>
> Client sends GET -> Server
> Server sends HEADERS (Content Encoding: Chunked) -> Client
> Server sends chunks -> Client
> Client displays them whenever they arrive.
Just one point. If your 'client' is a classical browser it won't work
like this out of the box, for the simp
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
> Remy Maucherat schrieb:
> But you said that the connection will not close, when the doGet() or
> doPost() method returns, which of course make a lot of sense. Otherwise
> Persistent connections would not be possible at all.
>
> So if that's true, then I sh
I compiled and installed the Apache Tomcat connector v.1.1.2 per
http://tomcat.apache.org/tomcat-5.5-doc/apr.html but I still get this
error upon startup.
"INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path"
This is done quite commonly. For almost a year I used IBM 64bit JVM on SuSE
Linux running dual AMD Opteron chips. Went back to Sun eventually when I
upgraded OS versions - but the IBM JVM and Tomcat worked well.
HTH - Richard
-Original Message-
From: Krish B [mailto:[EMAIL PROTECTED]
Sen
Add /usr/local/apr/lib to LD_LIBRARY_PATH before starting Tomcat. That will
do it.
Regards,
Kerem
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 03, 2006 4:40 PM
> To: users@tomcat.apache.org
> Subject: Apache Tomcat Native library not fou
On 4/3/06, Daniel Guggi <[EMAIL PROTECTED]> wrote:
> Hi!
> >
> > Right. I said you need to use polling, or use 5000 threads (which is
> > not a problem if you have enough memory).
> >
> Are you sure that 5000 threads is not a problem when you have enough
> memory. I'd be worried about wasting lots
Hello,
I am trying to create a block inside my server.xml file
similar to a JDBC Resource, only this on is for Active Directory connections
(through LDAP port 389). I have written a simple class, created a .jar from
it and added it to $CATALINA_HOME/common/lib. I have configured
server.xmlwith
Hi All,
We have a NY based intranet web app (Tomcat hosted) with a global client
base. To improve performance in Tokyo/Hong Kong, we have deployed an Apache
server in Tokyo to locally serve the static content (style, script, and
image files), while proxying the dynamic content requests over the WA
Hello,
I am using Tomcat 5.5.16 and every now and then, my context.xml files get
deleted from the $TOMCAT_HOME/conf/Catalina/localhost directory. This
seems to be random and it is becoming very frustrating.
Does anyone know what's causing this to happen? and how the problem can be
fixed?
Thanks
Thanks, but i don't have file called tomcat-users.xml.new And the user
have read permission to tomcat-users.xml
Ali KASSEM
Project Leader - IT Dept.
Banque Du Liban
P.O.Box:11/5544 Beirut, Lebanon
Tel:961-1-75 ext 4110
Fax:961-1-343316
Ali KASSEM
Project Leader - IT Dept.
Banque Du Liban
P.
Remy Maucherat schrieb:
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
Remy Maucherat schrieb:
But you said that the connection will not close, when the doGet() or
doPost() method returns, which of course make a lot of sense. Otherwise
Persistent connections would not be possible at all.
So if that'
David Delbecq schrieb:
Here a diagram:
Client sends GET -> Server
Server sends HEADERS (Content Encoding: Chunked) -> Client
Server sends chunks -> Client
Client displays them whenever they arrive.
Just one point. If your 'client' is a classical browser it won't work
like this out of the box,
On 4/3/06, Tp <[EMAIL PROTECTED]> wrote:
> Also the reference to the OutputStream itself? I mean it should stay
> open until the connection closes. Are you sure?
This OutputStream object is a fake facade, and loses its relationship
to the actual socket at the end of the request.
--
xx
Tp wrote:
Well, that's a good question. The outcome of this thread might be just
that. But it would have been nice to use existing software
infrastructure.
Maybe look at the IRC protocol ? Has existing infrastructure, heritage
and eco-system.
http://www.irchelp.org/irchelp/rfc/
http://www
[EMAIL PROTECTED] wrote:
> I am using Tomcat 5.5.16 and every now and then, my context.xml files get
> deleted from the $TOMCAT_HOME/conf/Catalina/localhost directory. This
> seems to be random and it is becoming very frustrating.
>
> Does anyone know what's causing this to happen? and how the pro
We were using a list of sessions to report who is logged in now.
however our sessions don't look like they are being collected by the GC.
We have a serious memory problem. I was thinking this list may be a
problem so I was removing all the actual httpsessions from it and was
going to just 'get' t
The "application" object in jsps...the hosts in the server.xml.
the context of the httpsessions for each user.
-Original Message-
From: Franck Borel [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 4:28 AM
To: Tomcat Users List
Subject: Re: getsession if you know the id?
> If
On 4/3/06, John Powers <[EMAIL PROTECTED]> wrote:
> We were using a list of sessions to report who is logged in now.
> however our sessions don't look like they are being collected by the GC.
Which is right since you maintain a reference to the session object it
can't be GCed. you should check the
Pack you HttpSessions in WeakReference objects so they can be GCed
(*not* SoftReferences as suggested because SoftReference are only GCed
when outofmemory, while WeakReference are gced about as soon as the
object is not reachable anymore by hardreference).
http://java.sun.com/j2se/1.5.0/docs/api/j
My question is about the use of *.tag files, to have the container (TC)
automatically build
tag libraries from my test.tag file. But some aspects don't work as I would
naturally expect and I don't know
if this is my lack of understanding or a genuine bug.
When I use <%@ attribute name="vvAbcDe
Thanks for the response. I've never seen it happen randomly either... but
what can I say?
I shutdown my server yesterday (as in powered it off) and when I restarted
it, all the context files were gone including the manager.xml.
Any thoughts??
Aladin
> [EMAIL PROTECTED] wrote:
>> I am using T
1.2.15 ist current stable for linux also. The page is wrong.
I don't know where the binaries come from, so unfortunately at the
moment there seems to be no binary download. If you build yourself, take
1.2.15 sources.
Paul Smith wrote:
I notice here:
http://www.apache.org/dist/tomcat/tomcat-con
During startup, tomcat reads tomcat-users.xml and then immediately
writes it out again as tomcat-users.xml.new and afterwards renames
tomcat-users.xml.new to tomcat-users.xml (I don't know who invented that
...).
So either:
- the runtime user has write access to the directory tomcat-users.xml is
Sounds to me like some other process is responsible for this. Out of
curiosity, what platform are you on (Windows, Linux, etc., ...) and
where is tomcat installed?
--David
[EMAIL PROTECTED] wrote:
>Thanks for the response. I've never seen it happen randomly either... but
>what can I say?
>
>I
I'm running tomcat on Linux machine (FC2) and it is installed in:
/usr/local/jakarta/tomcat
Aladin
> Sounds to me like some other process is responsible for this. Out of
> curiosity, what platform are you on (Windows, Linux, etc., ...) and
> where is tomcat installed?
>
> --David
>
> [EMAIL PRO
Can any body send me a sample war file which
demonstrate Connection pool in tomcat 5.5 using jndi
look up procedure.
I tried a lot But I could n't.
Any alternate in apache tomcat5.5 also ok.
Please help me as soon as possible.
__
Do You Yahoo!?
Tir
You need to add a new Data Source either globally or within your context.
Give it a name say "jdbc/connectionname". Check Tomcat documentation on how
to do this.
Then in your java code write this to get your Data Source reference and
connection via this code:
Context ctx
Thanks, Kerem.
I added the following to the top of catalina.sh
LD_LIBRARY_PATH=/usr/local/apr/lib
export LD_LIBRARY_PATH
but on startup I still get
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path
Not sure if you found the answer, but this sounds like the same problem as a
previous post (see subject "Ant Deploy Task Problem")
My solution is
I updated my META-INF/context.xml as follows:
and now undeploy can properly remove the webapp directory.
Apparently there is a problem
Apologies for the repost but I sent this last week but didn't get any
replies. In the hope that the people with the answers on this might've
missed it, I'm trying again... ;-)
_
From: Richard Mundell [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 11:33 AM
To: 'users@tomcat.apache
[EMAIL PROTECTED] wrote:
> Hello,
> I need to use another alias than tomcat in https with tomcat 5.5 (keytool
> -genkey -alias newalias -keyalg RSA -keystore /etc/keystore -storepass
> mysecretpass). Have you got any idea? Thanks
Try setting the (undocumented) keyAlias property on the connector.
Hello
I have a serious problem with Tomcat 5.5.15 on windows 2003 with Java
1.5.0_06-b05.
Tomcat runs as service in mode jvm (and not mode java, not sure what
that is but anyway).
Every request on the server gives me this block of debug log on stdout.log
2006-04-03 17:51:36,421 DEBUG [ajp-800
When starting a new thread (i.e. sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. T
Hi, I'm having problems getting my webapp to be recognized at the root
of my development tomcat server 5.5.16 (http://localhost:8080).
I've been using tomcat 5.0.28 for 1.5 years and accomplished this by
putting a webAppName.xml file at catalina.home/conf/Catalina/localhost
containing the followin
I just installed java 5 and tomcat 5.5.16 in order to experiment with
trails. I'm ready to start developing using ruby on rails or trails.
I'm hoping trails is my answer because my experience is with server
side java - not ruby. Anyway, I'm having problems getting going on
tomcat 5.5.16 and one
Given you've indicated all the headaches occurred in the move from 5.5.9
to 5.5.15, you might want to take a look at the change log in relation
to your environment. Are your connectors configured the same
(acceptCount, maxThreads)?
Beyond that, issue 1 implies something else may be causing issues
Getting this error while stoping tomcat :
SEVERE: Destroy method on bean with name 'jbi' threw an exception
edu.emory.mathcs.backport.java.util.concurrent.RejectedExecutionExceptio
n
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$AbortP
olicy.rejectedExecution(Thre
Hi David,
There's nothing in any of the log indicating any problems.
We uninstalled Tomcat 5.5.15 on the server and installed 5.5.9 with
identical configuration (with the exception of reconfiguring the HTTPS
connector to use the Java Key Store rather than OpenSSL-style certificate
and key). No ot
When I said change log, I meant the text file that lists out all the
changes the developers made between releases. What issues they fixed
and what not. Is your install using the APR native library that I
believe was introduced somewhere around 5.5.15?
--David
Richard Mundell wrote:
>Hi David,
In 5.5.15 we switched to using the (ever-so-well-documented) APR native
library so I suspect it's the OpenSSL code in the APR library which is
causing the problem.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 2:18 PM
To: Tomcat Users List
Sub
I'm not very familiar with Redhat's offerings. My main dist of unix is
Mandriva (used to be Mandrake). At any rate, deleting the context xml
files is not normal tomcat behavior in any version I've ever run (tomcat
3.3 - 5.5). If I were sitting in front of the machine, I'd be looking
to some secu
On 4/3/06, Eric Wulff <[EMAIL PROTECTED]> wrote:
>
> Doesn't seem too serious but I've found little doc on it. I
> downloaded the tomcat-native.zip but there is no readme, install,
> config file and I haven't been able to find documentation about
> install config for this. 2 questions...
>
> How
request.getRemoteUser() was the method I was searching for! Thanks :)
--
View this message in context:
http://www.nabble.com/Get-JDBCRealm%27s-current-user-t1341315.html#a3731063
Sent from the Tomcat - User forum at Nabble.com.
---
many thx Dave, I won't worry about until I clearly need to then.
Another question - is this issue related to the Apache Portable
Runtime?
Eric
On 4/3/06, David Rees <[EMAIL PROTECTED]> wrote:
> On 4/3/06, Eric Wulff <[EMAIL PROTECTED]> wrote:
> >
> > Doesn't seem too serious but I've found litt
Hello,
I currently deploy my JSP application via the ant WAR tasks to my
production server.
After it gets deployed, I have a directory that needs to be a symlink on
the server:
/opt/tomcat/webapps/myapp/userfiles/specialfiles -> /specialfiles
I make this symlink in my ant script after deployin
It'd be interesting if you removed the APR library and tried it to see
if your issues can be isolated to that library. Also I think (I
generally haven't been following the APR module too closely) there have
been some bug fixes for the 5.5.16 version.
--David
Richard Mundell wrote:
>In 5.5.15 we
Dear List readers
Sorry to bother you with what is most likely a silly question, but i
have been googling, and found no real answers and was hoping you might
know. I am doing another Tomcat project and to that end, i need to get
tomcat to behave in a certain way, namely i need tomcat to add an ht
Hi list,
I am seeing this in the logs when posting to a particular URL:
[Mon Apr 03 14:52:06 2006] [13089:15648] [debug]
ajp_get_endpoint::jk_ajp_common.c (2131): acquired connection cache slot=0
[Mon Apr 03 14:52:06 2006] [13089:15648] [error]
ajp_marshal_into_msgb::jk_ajp_common.c (490): faile
Hi,
I have a tomcat server (Tomcat 5.5.16, sun jdk 1.5, linux 2.6), and, for no
reason at all,
after some time it decides to pause, with this message in the catalina.outlogs:
org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-x-x-x-x
Any attempt to connect will r
Richard Mundell wrote:
> In 5.5.15 we switched to using the (ever-so-well-documented) APR native
> library so I suspect it's the OpenSSL code in the APR library which is
> causing the problem.
First thing I'd try is to update to tomcat-native 1.1.2. This fixes an issue
where sometimes the respons
Eric Wulff wrote:
> many thx Dave, I won't worry about until I clearly need to then.
> Another question - is this issue related to the Apache Portable
> Runtime?
Yes.
http://tomcat.apache.org/tomcat-5.5-doc/apr.html
Regards
mks
--
Javier Gonzalez wrote:
> I have a tomcat server (Tomcat 5.5.16, sun jdk 1.5, linux 2.6), and, for no
> reason at all,
> after some time it decides to pause, with this message in the
> catalina.outlogs:
>
> org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-x-x-x-x
Hello.
I need to have an application that has a seperate thread that loads
when tomcat loads. It scans my db every once in a while, to find out
if any new info has to be processed.
I have tried to find out from the docs how to do this, but I can't
find it.
Thanks for your help,
Bruce.
Getting this error while stoping tomcat , plz help me:
SEVERE: Destroy method on bean with name 'jbi' threw an exception
edu.emory.mathcs.backport.java.util.concurrent.RejectedExecutionExceptio
n
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$AbortP
olicy.rej
MW Mike Weiner (5028) wrote:
Dear List readers
Sorry to bother you with what is most likely a silly question, but i
have been googling, and found no real answers and was hoping you might
know. I am doing another Tomcat project and to that end, i need to get
tomcat to behave in a certain way, n
Google for ServletContextListener
-Original Message-
From: Bruce McGuire [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 3:31 PM
To: users@tomcat.apache.org
Subject: How to run a thread on app startup
> Hello.
>
> I need to have an application that has a seperate thread that load
I figured out that the best way to do that is with a variable of type
InheritableThreadLocal that keeps a copy per thread.
We have 4 webapps over the same framework and all works in the same way.
The servlet creates a new instance of MyApplication and sets this
"singleton by thread" in the MyAppli
Hello Tim.
Thanks for the information.
Bruce.
Tim Lucia wrote:
Google for ServletContextListener
-Original Message-
From: Bruce McGuire [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 3:31 PM
To: users@tomcat.apache.org
Subject: How to run a thread on app startup
Hello
Hello Rodrigo.
Thanks very much for the information.
Bruce.
Asensio, Rodrigo wrote:
I figured out that the best way to do that is with a variable of type
InheritableThreadLocal that keeps a copy per thread.
We have 4 webapps over the same framework and all works in the same way.
The servlet
Here you have more info
public class Application {
public static final int WEB_APPLICATION = 0;
public static final int WEB_SERVICE = 1;
public static final int WINDOWS_STANDALONE = 2;
public static final int WINDOWS_PROCESS = 3;
private static InheritableThreadLocal instance = new
Inh
I didn't use ServletContextlistener beause my inner classes don't know
anything about a servlet or http (MVC) and the core is used across
services, swing and swt applications, etc.
-Original Message-
From: Bruce McGuire [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 3:46 PM
To: To
Or use a filter to append that tag onto any response that is
html...
-Original Message-
From: Darryl L. Miles [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 2:38 PM
To: Tomcat Users List
Subject: Re: Tomcat tag question
MW Mike Weiner (5028) wrote:
> Dear List readers
>
> Sorr
Have you considered using Quartz to run recurring jobs?
It comes with a Servlet that can be used to initialize your jobs when Tomcat
starts up :)
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 12:51 PM
To: Tomcat Users List
Subject: RE:
Hello Jim.
Actually, I have never heard of Quartz. I will look it up and consider it.
Thanks,
Bruce.
Jim Freeby wrote:
Have you considered using Quartz to run recurring jobs?
It comes with a Servlet that can be used to initialize your jobs when Tomcat
starts up :)
-Original Message--
1 - 100 of 131 matches
Mail list logo