I've a Stateless local Session Bean which defines an asynchronous method which
is launched at startup by an observer method.
Everything works fine except that the method is triggered multiple times
simultaneously. Any idea why?
Neither the TimeService implementation nor the Quartz implementatio
Hi,
Sending a simple mail works fine but sending a simple mail asynchronously fails
with java.lang.IllegalStateException: Application was not properly initialized
at startup, could not find Factor.
I am using jboss-seam-2.0.0.CR3 and jboss-4.2.1.GA
Exception is
|
| 09:01:45,708 ERROR
I wish to launch transaction that takes hours from a "Quartzed" Asynchronous
method:
| @Asynchronous
| @Transactional
| @TransactionTimeout(10)
| public QuartzTriggerHandle scheduleAsynchronousJob(@Expiration Date
expiration, AsynchronousJob asynchronousJob)
|
I have a method in a JavaBean that sends out an email and I'd quite like it to
be asynchronous.
My method is annotated with @Asynchronous and I have
in my components.xml. However the method
never gets called even though I do explicitly call it.
@Asynchronous
| public void send(Company compan
Hi,
I'm using JBoss Seam 1.2.1.GA. I've been trying to start an asynchronous
process that send out notifications of an event in emaisl immediately the
application starts up. This event may have already been configured during a
previous run of the application.
The asyncrhronuous method also need
Hello,
I need an asynchronous process in my web application. So i use the
@Asynchronous annotation
to do the job but i need a mean to inform my Stateful EJB that the job is done.
1. First, i use the @Observer and RaiseEvent Without sucess because of
Asynchronous annotation
2. Second, i use
Hello,
How raising an Event from an Asynchronous method?
Basically:
newSessionBean.java
| ...
|public String step1()
|{
| sessionVisu = new SessionVisu(sessionVisu, user);
| sessionVisu.setStatus("description");
| computeHandler.processGetComputes(sess
Hi,
While creating a user account, I'm trying to invoke an asynchronous method in
my SLSB to send the activation mail. In my activation mail template, I'm trying
to resolve the activation URL dynamically instead of having a static one.
I tried the following methods and none of them gets the cor
I have an asynchronous method started from a SLSB. I know I can access the
entitymanager in the async SLSB, is it possible to have Conversations or some
type of fine grained transaction control.
My async method takes a list of records and iterates over each record. I need
to have the processi
I had an aysnchronous call that was working fine until I upgraded to AS
4.2.0.GA. From my logs I get the following stack trace when I try to invoke
the ansyc method.
Has anyone got an idea on what might cause this?
Regards,
Chris.
14:44:42,187 WARN [loggerI18N]
[com.arjuna.ats.internal.jta
Whenever we make an asynchronous method call, a thread will be dispatched. It
works well so far but we encountered serveral asynchronous call requirements
such as doing calculation when rolling over a day, sending reminder message for
a payment due, expiring a registration for certain condition.
Hi,
I'm using @Asynchronous on a SFSB and I get the expected behaviour. The current
thread is not being blocked until the method completes.
However, if I use a non HTTP client and a context lookup, then the active
thread is actually being blocked, until the method finishes.
So if use something
Hi,
I got Application context collection:
@In(scope=ScopeType.APPLICATION, value="schedulerDates", required=false)
@Out(scope=ScopeType.APPLICATION, value="schedulerDates",
required=false)
List schedulerDates;
If user do some update to DB, also automatic adds the date of e
i built a pipeline within my seam application. that is, a user can upload a
file to the server and as soon as the file is uploaded, the pipeline starts.
even when the user logs out, the pipeline still runs until every task is
comleted. the several tasks read file contents and save it into a data
i tryied to make a synchronous calls to ejb methods following the doc
guidelines and after i reverted my code, removing dispatcher and all the stuff
i continue to get events every 10 seconds, that's the debug log:
16:19:34,656 DEBUG [SessionBeanInterceptor] post construct phase for component
in
Hi,
just a short question: Is the @Asynchronous Annotation only supposed to be
working on JBoss AS ? Or should a deployment on/in Tomcat be working as well?
bye, Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992791#3992791
Reply to the post :
http
i am new to seam but what i've got is that asynchronous processing is on it's
way. Is it right? What I am particulary missing is synchronous commonent
execution/call in business process context for jBPM actions for example.
I've seen a feature in JIRA. What are the plans to implement it?
View th
17 matches
Mail list logo