Is there a problem calling ejb methods from user-started threads
inside the resin container?  Yes, I know the ejb spec says that
applications shouldn't start threads, but part of the spec is lame.

The SubEtha mailing list server relies on an SMTP processing library
which starts its own threads and then makes callbacks into our
handlers as the email arrives.  These handlers call into an ejb which
processes the message in a transaction.

We're seeing some really bizarre behavior where sometimes there is a
transaction and sometimes there isn't.  Could this be because the call
is being done on a non-resin-started thread?  If so, is there any
workaround?

Thanks,
Jeff


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to