You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Rafael Franchi Cassaniga <mi...@yahoo.com> on 2002/07/15 18:56:22 UTC
Making Threads under SOAP+TOMCAT
Hi all,
I'm am developping a application similar to
crontab,for those who are used to Unix environment.
It's daemon that loads executes scheduled classes
written in Java and is managed by tomcat+SOAP. I'm
experimenting problems to make a thread in such
application. On Java, we have 2 ways to do that, by
extending Thread or implementing Runnable
interface.
The first manner works pretty fine, but the second one
not. It does load the class, does construct a new
object but it does *nothing* on _start_ method.
So, I decided to run my application out of
tomcat+SOAP, calling the _main_ method. In such
situation both methods for Java's Thread's
worked fine. I tried three 1.3 JVMs; from Sun, IBM,
BlackDown and got the same result for all of them.
I've already read FAQs and Manual and didn't find a
answer. Could someone help me?
My sistem is a RedHat 7.2 Linux box running j2sdk
vesion 1.3.1 from Blackdown, Tomcat 3.3.1 and SOAP
2.2.
Thanks in advance.
Rafael
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com