"[OT]Threads and Servlets Question" on the struts-user list.
Jack
On Tue, 21 Dec 2004 18:17:40 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> It's interesting, Craig and I had an exchange about threads in servlet
> containers last week... I can't find a link to the thread unfortunately.
>
Why don't you guys use something like Lea's multithreading queues?
Jack
On Tue, 21 Dec 2004 18:14:30 +0100, Jorge Sopena <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm having a similar problem in my application.
> I've got several servlets called by the users. Every requets save some
> information in DB
+1
Jack
On Tue, 21 Dec 2004 10:40:59 -0600, Billy Talton <[EMAIL PROTECTED]> wrote:
> Why are you writing a servlet for this? If the application does not
> use any of the services confined to the Servlet API and Tomcat, just
> write a stand-alone application and setup up a cron job to run it.
>
You can just use the messaging classes in COS.
Jack
On Tue, 21 Dec 2004 16:28:49 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> no, and I believe doing so it bad practice. use some OS controlled timer like
> cron to issue a HTTP call to your servlet. I once wrote a shell script that
>
Hi,
create a task in your scheduler that calls an URL with your servlet. That's
how we do background processes like sending newsletters etc.
Maarteb
-Oorspronkelijk bericht-
Van: Dennis Payne [mailto:[EMAIL PROTECTED]
Verzonden: Tuesday, December 21, 2004 11:37 PM
Aan: [EMAIL PROTECTED]
BulletProofSoft.com Support Ticket Reply.
DO NOT REPLY TO THIS EMAIL
Please use our Online Support system for faster results to your questions.
You can monitor the status of your ticket online where you can add follow up
replies.
http://www.bulletproofsoft.com/cgi-bin/custquest/quest_desk.cgi
Hi QM and peter,
Thanks for the reply. Mine is not just a web application, this is a part of
product and will be distributed to various clients. So I cant assume
anything about client. So I cant use NFS. And introducing database for this
small feature is not feasible. The solution has to be with i
> From: Asim Alp [mailto:[EMAIL PROTECTED]
> Subject: javac and Tomcat 5.5.4
>
> In the old days, when we were using Tomcat 5.0.28 with jdk1.4.2,
> I used to see multiple instances of javac.exe on Windows Task
> Manager while my JSP files where being compiled.
As noted in the 5.5 release announce
Wow! After reading all of that long thread I got the SDN Editorial Team
newsletter in my inbox. It talks about "REVISITING TIMERS WITH ENTERPRISE
BEANS". The link they give is
https://bpcatalog.dev.java.net/nonav/enterprise/timerservice/. This should
at least give some idea of how to do it
We're using Tomcat 5.5.4 on Windows Server 2003 with Sun's jdk1.5.0.
We have over 180 virtual hosts with over 20,000 jsp files. Our Tomcat
is running with the fork = true option for compiling the files in a
separate JVM. Here are our JVM parameters:
-Xms1024m -Xmx1024m -XX:MaxPermSize=128m -XX:
The alarm is configured as any other servlet, with the addition of the
run-at tag. The following configuration runs the servlet every 15
minutes. If the hour is missing, e.g. :15 the service is run at the
specified minute.
15 minute configuration
:00, :15, :30, :45
Allistair Crossley wrote:
+
Have fun I hope this helps!!! It should.
The value is a list of 24-hour times when the servlet should be
automatically executed. To run the servlet every 6 hours, you could use:
0:00, 6:00, 12:00, 18:00
Frank W. Zammetti wrote:
Your just lending weight to what I said... Don't play with
Your just lending weight to what I said... Don't play with threads in a
servlet contain unless your really sure you have to and are really sure
you can do it safely :)
(I'm not sure I knew init() could be called more than once, certainly I
didn't remember when I wrote that, so excellent point)
It WORKED. LOL, I CAN'T BELIEVE IT WORKED.
All I have to do now is make the "admin" Work (which
very hard to do also).
Dwayne Ghant wrote:
No portions of it left over at all. All I see the those direcoties is:
SESSIONS.ser tldCache.ser
===
Ok well tried (coping /ROOT
One more thing i noticed, my projects inside "Eclipse" IDE also not getting
deleted. Then i had crated one directory to test Ant - that is also not getting
deleted. It gives error saying build.xml is in use
I am totally confused now, pls pls help me
regards
Manisha
Manisha Sathe <[EMAIL P
No portions of it left over at all. All I see the those direcoties is:
SESSIONS.ser tldCache.ser
===
Ok well tried (coping /ROOT from another installation of tomcat) my
idea an have two BAD
results reported in my $CATALINA_HOME/log/catalina.out :
Dec 21, 2004 10:48:2
Hi all,
I have a strange problem when I configure the tomcat running SSL.
I have created the keystore file in / following the steps in
documentation. And also uncomment the tag inside server.xml. I tried
to start the tomcat, the SSL work fine in my old tomcat 4.1.18. But it
cannot work in tomcat
On Tue, Dec 21, 2004 at 03:37:26PM -0700, Dennis Payne wrote:
: It is possible to create a servlet thread in the init() method. That
: thread sould stay alive and run something every thirty minutes.
Yes and no. ;)
It's possible to use a servlet's init() method for this; but per the
spec, containe
Umm I think you are out of luck. All sources gets
completely erased when you use undeploy on the
manager webapp. I have done it several times myself.
Maybe there are some portions of it left over in the
work/Catalina/localhost/yourwebapp/.
--- "D'Alessandro, Arthur"
wrote:
> So you und
On Tue, Dec 21, 2004 at 12:39:14PM +0530, Srinivas Rao Ch wrote:
: I successfully configured my clustering setup with mod_jk2 and it is running
: fine. Now the problem is I have some properties files in my tomcat web
: application which gets modified when some features are accessed. If some
: chang
Yes, should work fine...
If you copy/untar that replicated ROOT folder into webapps, it should
auto-deploy (if so configured). Otherwise you can copy into the webapps
folder, and use the deploy option.
I'd make a tar backup of your tomcat folder just to be on the safe side,
then try to deploy th
Yes, you are correct.
No backup. but I do have a replicated directory on another installation
of tomcat that I can copy over do you think that will work??
I really put my self in a jam NOW!
D'Alessandro, Arthur wrote:
So you undeployed using the manager app.. You'll have to restore the
ROOT folder
So you undeployed using the manager app.. You'll have to restore the
ROOT folder from a backup, I'm assuming this is your custom root web
application, and not the default that came with tomcat.
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 20
Is there still a ROOT folder underneath the webapps dir?
But how did you delete it? Manually out of server.xml, undeployed in the
manager app, stopped tomcat, and deleted the ROOT folder underneath
webapps.
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED]
Sent: Tuesday, D
Using the manerger I login and clicked on
the remove button to delete the /ROOT
D'Alessandro, Arthur wrote:
Define "deleted the /ROOT context..."
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 10:01 PM
To: Tomcat Users List
Subject: DELETE
You mean like this ???
D'Alessandro, Arthur wrote:
Define "deleted the /ROOT context..."
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 10:01 PM
To: Tomcat Users List
Subject: DELETED /ROOT CONTEXT PLEAS HELP!!!
Like a dummy I made the o
Define "deleted the /ROOT context..."
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 10:01 PM
To: Tomcat Users List
Subject: DELETED /ROOT CONTEXT PLEAS HELP!!!
Like a dummy I made the owfull mistake of deleting
the /ROOT context I really
Like a dummy I made the owfull mistake of deleting
the /ROOT context I really need to restore it ASAP.
Can someone please help me I have been here for three
ours trying to fix this without reinstalling the whole thing.
My config. is
tomcat5.0.2x/ Apache 2 / mod_jk2
PLEASE HELP.
--
Dwayne A. Ghant
A
yes i restarted many many times to see whether i can delete the old TomCat, but
still the same. How to check user locking things btw?
regards
Mansiha
John Najarian <[EMAIL PROTECTED]> wrote:
This sounds like you have a process or user locking things. I would restart
the entire machine. Then try
This sounds like you have a process or user locking things. I would restart
the entire machine. Then try everything again.
-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 5:56 PM
To: [EMAIL PROTECTED]
Subject: Tomcat server - Strange pro
On my local m/c I had installed Tomcat and it was running properly. I tested
servlet-examples / jsp-example.
Yesterday I tried to create new application inside Tomcat (trying to put the
directory structure - web.xml, also tried to put inside server.xml
(later removed as seems not required)
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg143736.html
- Original Message -
From: "Michael Südkamp" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 2004 11:24 AM
Subject: AW: performance issue with JK und IIS6
Do you have
Hi Andreas,
I think your comments would help me if I was having the opposite
problem. In other words, if I was using the Class.forName... That works
fine, it is the DBCP code that is failing.
James
-Original Message-
From: Andreas Vombach [mailto:[EMAIL PROTECTED]
Sent: December 21, 200
hi all,
i've searched the archives and googled around, to no avail.. i'm
trying to figure out how to deploy a WAR file using tomcat 5.5.4
embedded..
i know there are some issues with the embedded class, like the
createconnector(...) returning null, since it doesn't account for the
http scheme con
It's interesting, Craig and I had an exchange about threads in servlet
containers last week... I can't find a link to the thread unfortunately.
Anyway, the basic idea behind that "don't spawn your own threads inside
a servlet container" admonishment is based more on the fact that it's
quite eas
At 05:37 PM 12/21/2004, you wrote:
It is possible to create a servlet thread in the init() method. That
thread sould stay alive and run something every thirty minutes. The
issue of pushing information out to the user remins the same. The
servlet and the thread cannot do that. On the other hand,
I think I saw something like this, but not sure if it works:
Servlet
Servlet
cron expression?
1
Peiyun
-Original Message-
From: Dennis Payne [mailto:[EMAIL PROTECTED]
Sent: December 21, 2004 5:37 PM
To: [EMAIL PROTECTED]
Subject: Re: How
Thanks, all!
Jack
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
"You can't wake a person who is pretending to be asleep."
~Native Proverb~
"Each man is good in His sight. It is not necessary for eagles to be crows."
~Hunkesni (Sitting Bull), Hunk
It is possible to create a servlet thread in the init() method. That
thread sould stay alive and run something every thirty minutes. The
issue of pushing information out to the user remins the same. The
servlet and the thread cannot do that. On the other hand, it is
possible to setup java scrip
On Tue, 2004-12-21 at 16:15, Chris Chappell wrote:
> Hi I'm having trouble getting form based authentication to work. Any help
> much appreciated.
> I'm missing something simple I'm sure. (TC 5.0.19, W2K, Mysql4)
>
> I am using a JDBC Realm which works fine with BASIC auth.
>
> After changing t
On Tue, 2004-12-21 at 19:05, Dwayne Ghant wrote:
> Configured tomcat.5.0.27/apache2.x/mod_jk2.so
>
> After configuration my "admin" and "manager" application
> stoped working.
In apache configuration you must have:
Alias /admin $CATALINA_HOME/server/webapps/admin
Alias /manager $CATALINA_HOME/ser
Your conections are pooled by Tomcat.
I don't know how you configure your Resource, mine looks like this
-
-
driverClassName
oracle.jdbc.driver.OracleDriver
-
url
jdbc:oracle:thin:@myhost.com:1521:mysid
-
username
myuser
-
password
mypass
-
maxActiv
NetBSD(native jre): NetBSD
NetBSD(using linux binaries): Linux
> >Sent: Monday, December 20, 2004 2:26 PM
> >To: Commons User; Struts User; Tomcat User
> >Subject: [OT] Request an app test (free beer!)
> >
> >
> >I was informed last OT post I made that the subject should always
> >include the wor
Hi Srinivas,
What you are after is a shared / networked filesystem like NFS Coda for
*nix.
PJ
Srinivas Rao Ch wrote:
Hi,
I successfully configured my clustering setup with mod_jk2 and it is running
fine. Now the problem is I have some properties files in my tomcat web
application which gets modi
Jorge Sopena wrote:
Why is bad using own threads inside web application?
Aren't all the servlet request actually a thread in Tomcat?
I can't find a reason why it's so bad solution.
I think that comes from J2EE specs. I do not remember is threads just
forbidden but if you follow specs, you do not kn
Looks like that worked! Many thanks! :)
Now my question is, since I'm using javax.sql.DataSource as the
ResourceType, how do I know if I'm using the connection pool or
opening a new connection each time I request a connection?
The factory associated with the resource is
org.apache.commons.dbcp.B
Frank W. Zammetti wrote:
I'm working on something for which I need to know what the os.name
property on various OS's is.
FAQ. See http://www.tolstoy.com/samizdat/sysprops.html.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Can you try javax.sql.DataSource in ? You use javax.sql.DataSource
in resourcelink then the type in resource has to be the same.
-Original Message-
From: David Uctaa [mailto:[EMAIL PROTECTED]
Sent: December 21, 2004 3:26 PM
To: Tomcat Users List
Subject: Re: Difficulty connecting to DB2 f
You may use a scheduler to schedule your tasks to run every 30 minutes.
http://www.theserverside.com/blogs/printfriendly.tss?id=QuartzSchedulerInJ2E
E
http://www.quartzscheduler.org/quartz/.
Peiyun
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: December 21,
Dakota Jack wrote:
Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES "JAVAC leaking
memory" is an issue?
On Tue, 21 Dec 2004 16:06:13 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
i think (from memory) it had to do with registering requests with jk. anyway,
like i say, upgrade and you
On Tue, 21 Dec 2004 15:02:58 -0500, Phillip Qin
<[EMAIL PROTECTED]> wrote:
> I assume you have something like this in your server.xml
>
> type="javax.sql.DataSource" />
>
> Is there any warning or exception in catalina.out or any other log files?
>
> -Original Message-
> From: David
You may use a scheduler to schedule your tasks to run every 30 minutes.
http://www.theserverside.com/blogs/printfriendly.tss?id=QuartzSchedulerInJ2E
E
http://www.quartzscheduler.org/quartz/.
Peiyun
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: December 21, 20
I assume you have something like this in your server.xml
Is there any warning or exception in catalina.out or any other log files?
-Original Message-
From: David Uctaa [mailto:[EMAIL PROTECTED]
Sent: December 21, 2004 1:52 PM
To: Tomcat Users List
Subject: Re: Difficulty connecting to
SuSE 8.2: Linux
Mandrake 10: Linux
Mandrake 10.1: Linux
Mandrake 8.0: Linux
>
>Sent: Monday, December 20, 2004 2:26 PM
>To: Commons User; Struts User; Tomcat User
>Subject: [OT] Request an app test (free beer!)
>
>
>I was informed last OT post I made that the subject should always
>include the wo
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
> Subject: Memory Leak with Javac and Tomcat v. 4.0.28
>
> I was going to update my Tomcat from 4.0.19 because it says there is a
> javac leak in the RELEASE-NOTES. However, I noticed that 4.0.28 says
> the same thing. Is it fixed/
The memory leak i
Dakota Jack wrote:
I was going to update my Tomcat from 4.0.19 because it says there is a
javac leak in the RELEASE-NOTES. However, I noticed that 4.0.28 says
the same thing. Is it fixed/
Jack
AFAIK this is no Tomcat issue but a JDK/Javac issue which was fixed in
Sun JDK 1.4.
See:
http://www.ap
I was going to update my Tomcat from 4.0.19 because it says there is a
javac leak in the RELEASE-NOTES. However, I noticed that 4.0.28 says
the same thing. Is it fixed/
Jack
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
"You can't wake a person w
Hello again!
Any guru around to solve my problem please? :-)
Lionel Pasquier wrote:
Hello,
I have a trouble with using a JCE and multiple contexts. From what I
could have read around here this is probably linked to a classloader
problem. Could you guys help?
Basicaly, I generate a RSA Keypair, t
I know that someone ran into this before.
I assume that most of this list thinks this questions is
stupid and you are probably correct; so please accept my
apologeis.
But that doesn't stop me from needing assistance.
Thank you for your time.
Dwayne Ghant wrote:
Configured tomcat.5.0.27/apache2.x/mo
If the name of the global resource in server.xml is defined as
...
then the resourcelink in context.xml is
(not sure if listing the exact datasource specification would be a
security breach, so I'm munging the actual datasource name, but
everything else is the same
What is the resourcelink in your context.xml?
-Original Message-
From: David Uctaa [mailto:[EMAIL PROTECTED]
Sent: December 21, 2004 12:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28
No matter what i do, the JNDI lookup is returning
You may user a scheduler to schedule your tasks to run every 30 minutes.
http://www.theserverside.com/blogs/printfriendly.tss?id=QuartzSchedulerInJ2E
E
http://www.quartzscheduler.org/quartz/.
Peiyun
-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED]
Sent: December 21, 200
Check out QuartzScheduler from Open Symphony it's easy to configure within
Tomcat.
Fredrik
-Original Message-
From: pandu yelamanchili [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 9:58 AM
To: [EMAIL PROTECTED]
Subject: Re: How to run servlet for every 30 minutes in Tomcat
I would say it should be avoided at all if possible using threads. Since as
we know in case of threads, there is not much management you can do. Also in
my experience i have seen it is very easy for them to get out of control .
So if there are any other alternatives, They should be explored firs
Why is bad using own threads inside web application?
Aren't all the servlet request actually a thread in Tomcat?
I can't find a reason why it's so bad solution.
In that way, you manage to have a single and independent application.
Maybe I don't know some thread behaviour in Tomcat...
Jorge.
Allista
External scripts really are the best answer for this. It is not
possible to 'PUSH' information like this without a dedicated client!
>>> [EMAIL PROTECTED] 12-21-2004 10:14 >>>
Hi,
I'm having a similar problem in my application.
I've got several servlets called by the users. Every requets save som
Use cron in Unix/Linux or task scheduler in Windows.
>>> [EMAIL PROTECTED] 12-21-2004 08:44 >>>
Hi,
I am using Tomcat4.1.30 version.
I have to develop a client application which looks in the database
every 30
minutes,
to retrieve the status of an order and send the status to the remote
client.
Aga
Michael Südkamp wrote:
You just must love Microsoft engineers just for that statement.
One has to make something like that, and then dare to say it's
a better product then before :).
I neither love nor hate MS or any other company or product. I was just
looking for a solution to my issue.
Me neith
No matter what i do, the JNDI lookup is returning null. What causes a
JNDI lookup to return null when the resource is defined in the
section of server.xml? Should I put the
resources into in my context.xml?
On Mon, 20 Dec 2004 13:52:29 -0500, David Uctaa <[EMAIL PROTECTED]> wrote:
> I am runn
myself and ben have suggested the most appropriate methods for doing this. Ben
mentions WGET http://www.gnu.org/software/wget/wget.html which can be added to
a *basic* script hooked up to a cron with an interval of whatever you like.
you really ought to get rid of threads and thread sleeps insid
On Tuesday 21 December 2004 16:13, Andreas Vombach wrote:
> .. has somebody experience with gcj? On RHEL eclipse (but only 2.1.2)
> works with it and it looks faster than with Sun jdk. gcj could be also
> an option for tomcat, I'll try as soon I have time for it ...
There was a note that the most r
Hi,
i have a (perhaps stupid) question. In my server.xml i defined for the
Coyote/JK2 AJP 1.3 Connector
minProcessors="100"
maxProcessors="200"
Simple question: I don't understand the meaning for these parameters:
they do not what i expect. I thought these were the
> You just must love Microsoft engineers just for that statement.
> One has to make something like that, and then dare to say it's
> a better product then before :).
I neither love nor hate MS or any other company or product. I was just
looking for a solution to my issue.
> You a using IIS5 comp
Hi,
I'm having a similar problem in my application.
I've got several servlets called by the users. Every requets save some
information in DB, that has to be sent to another server later and in a
compress format.
So I need sth similar toShilpa is asking, a process which runs every X
minutes to r
Configured tomcat.5.0.27/apache2.x/mod_jk2.so
After configuration my "admin" and "manager" application
stoped working.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]
-
To unsubscribe, e-m
of course you can ... look up http://jakarta.apache.org/commons/dbcp/ and
commons-pool or your database's driver may even have an implementation that
supports pooling that you can instantiate directly with the javax.sql or
java.sql api.
cron(30s) -->
socket call -->
your app (ServerSock
I think that's only with JDK 1.3 though
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: 21 December 2004 16:40
To: Tomcat Users List
Subject: Re: Why is tomcat (java) so memory intensive?
Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES "JAVAC leaking
memory"
Hi;
this is my first post, and i apprecciate a lot your help.
We have a Tomcat Application Server 4.1.30, Sun JVM 1.4.2_05
in W2K server (512 ram) connected to a DB2 6.X resident in a IBM/390.
The web application performs several access to the DB2 for each user. We
have normally
200 connections to
I just found the problem, my apologies, it turns out to be a firewall
port block upstream from me.
Thank You,
Troy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
our production server has been on 5.5.4 for a few weeks and performing very
nicely. 5.5.4 is the latest stable build for 5.5 series. give it a shot on your
development server if you have one.
> -Original Message-
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
> Sent: 21 December 2004 16:4
My application has to use the connection pooling of Tomcat to talk to the
database...
and all my Database access classes are deployed om Tomcat...so if i just
write a java standalone command line program,
can i access those connection pooling classes...
-Original Message-
From: Billy Talto
Laba diena.
Dėkojame, kad mums parašėte.
Jūsų atsiųsta žinutė išsaugota mūsų duomenų bazėje.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Troy Davis <[EMAIL PROTECTED]> wrote on 21/12/2004 17.07.40:
> Hello,
>
> I've got a Tomcat 5 / Apache 2 / jk2 server which has been serving
> several different virtual hosts which share a common IP address. I now
> need to implement my first SSL-protected website on this machine, and I
> am w
Sounds like you are running out of space in the permanent generation. Add
-XX:MaxPermSize=128M to your JAVA_OPTS
-Original Message-
From: Philippe Deslauriers [mailto:[EMAIL PROTECTED]
Sent: 21 December 2004 15:47
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Why is tomcat (java)
Is there any reason not to upgrade to 5.5? Is that ready for prime
time? Thanks.
Jack
On Tue, 21 Dec 2004 16:06:13 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> i think (from memory) it had to do with registering requests with jk. anyway,
> like i say, upgrade and you'll see that lea
I agree. Also You could write a standalone java class which does nothing but
makes a http call to your Servlet. This class can be scheduled to run as a
task every 30 minutes or so.
pandu
From: "Allistair Crossley" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat
On Tue, 2004-12-21 at 11:28, Allistair Crossley wrote:
> no, and I believe doing so it bad practice. use some OS controlled timer like
> cron to issue a HTTP call to your servlet. I once wrote a shell script that
> calls a http address on the local machine but cannot remember how ;) if you
> are
Sorry, misread what you said.
Jack
On Tue, 21 Dec 2004 08:40:01 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES "JAVAC leaking
> memory" is an issue?
>
>
> On Tue, 21 Dec 2004 16:06:13 -, Allistair Crossley
> <[EMAIL PROTECTED]> wrote
Why are you writing a servlet for this? If the application does not
use any of the services confined to the Servlet API and Tomcat, just
write a stand-alone application and setup up a cron job to run it.
Seems like overkill to me.
On Tue, 21 Dec 2004 16:28:49 -, Allistair Crossley
<[EMAIL P
Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES "JAVAC leaking
memory" is an issue?
On Tue, 21 Dec 2004 16:06:13 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> i think (from memory) it had to do with registering requests with jk. anyway,
> like i say, upgrade and you'll see that
no, and I believe doing so it bad practice. use some OS controlled timer like
cron to issue a HTTP call to your servlet. I once wrote a shell script that
calls a http address on the local machine but cannot remember how ;) if you are
using oracle then you can setup this timer thread inside the d
Do you have some smart keywords for searching this issue?
Michael
> -Ursprüngliche Nachricht-
> Von: Parsons Technical Services
> [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 21. Dezember 2004 13:21
> An: Tomcat Users List
> Betreff: Re: performance issue with JK und IIS6
>
>
> Check t
Thanks for the reply...
The application which i am trying to write is a standalone utility.. Client
does not hit this servlet.
Instead my application which is a servlet, will make some database calls--
and if the required data is present in the database, then that data is sent
to the client via x
Hello, Shilpa,
With Wade, I wonder what you want. Apparently you have a client
making and order and being informed about the status of the order.
You say you have to develop a "client application" which looks to the
database. Since this is a Tomcat list, that would seem to be a
"server applicat
+1. you aren't being clear the only reason I can think you have an
application wishing to talk to a servlet is that you are then going on to
request info from the servlet from a remote machine across the net?? .. in that
case and most others you should have your application polling the serv
... has somebody experience with gcj? On RHEL eclipse (but only 2.1.2)
works with it and it looks faster than with Sun jdk. gcj could be also
an option for tomcat, I'll try as soon I have time for it ...
-
To unsubscribe, e-mail
Hello,
I've got a Tomcat 5 / Apache 2 / jk2 server which has been serving
several different virtual hosts which share a common IP address. I now
need to implement my first SSL-protected website on this machine, and I
am working under the assumption that this site must have a dedicated IP
addres
Hi all,
I have previously setup tomcat 5.x running on apache 1.3.x. Everything
works fine and I'm learning lots as I go, although I have run into a
problem with adding new domains to my apache. I have setup another site in
the webapps directory however apache will only serve it using my primar
i think (from memory) it had to do with registering requests with jk. anyway,
like i say, upgrade and you'll see that leak go away i am pretty sure.
> -Original Message-
> From: Allistair Crossley
> Sent: 21 December 2004 16:00
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: Wh
Hi,
you can use something like HTTPUnit which just calls the web page with your
servlet.
Can can easiliy schedule the HTTPUnit Job, so it runs every 30mins.
Cheers
Bernhard
-Ursprüngliche Nachricht-
Von: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 21. Dezember 2004 16:
1 - 100 of 134 matches
Mail list logo