You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Rafael Franchi Cassaniga <mi...@yahoo.com> on 2002/07/16 13:23:06 UTC

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.

Just for tests pourposes, 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, running my apps under and out of tomcat+SOAP.

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