[jboss-user] [JBoss Seam] - Asynchronous method triggered multiple times.

2007-12-05 Thread vfaid
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

[jboss-user] [JBoss Seam] - @Asynchronous mail example fails

2007-10-29 Thread pietermartin
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

[jboss-user] [JBoss Seam] - @Asynchronous & @TransactionTimeout

2007-09-12 Thread pdepaepe
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) |

[jboss-user] [JBoss Seam] - Asynchronous JavaBean method not getting called

2007-08-23 Thread damianharvey
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

[jboss-user] [JBoss Seam] - Asynchronous call before App Startup

2007-07-25 Thread damatrix
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

[jboss-user] [JBoss Seam] - Asynchronous Problem

2007-07-07 Thread ellis2323
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

[jboss-user] [JBoss Seam] - @Asynchronous @Observer - Poll & raising

2007-07-04 Thread pdepaepe
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

[jboss-user] [JBoss Seam] - Asynchronous seam mail can not get the base URL dynamically

2007-06-28 Thread milli
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

[jboss-user] [JBoss Seam] - @Asynchronous / Conversations / Transactions Best Practices

2007-06-27 Thread chane
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

[jboss-user] [JBoss Seam] - @Asynchronous call fails after upgrade to AS 4.2.0.GA

2007-05-28 Thread lowecg2004
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

[jboss-user] [JBoss Seam] - Asynchronous programming pattern

2007-05-13 Thread xtia004
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.

[jboss-user] [JBoss Seam] - @Asynchronous

2007-05-06 Thread toni
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

[jboss-user] [JBoss Seam] - Asynchronous & em problem

2007-04-24 Thread Stateless Bean
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

[jboss-user] [JBoss Seam] - asynchronous workflow in seam without jBPM

2007-02-25 Thread chpressler
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

[jboss-user] [JBoss Seam] - asynchronous invokations

2007-02-14 Thread koatto
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

[jboss-user] [JBoss Seam] - @Asynchronous / Dispatcher not bound

2006-12-11 Thread m_hess
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

[jboss-user] [JBoss Seam] - asynchronous processing, will we get it?

2006-07-13 Thread petekol
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