Hi,
Is it possible to call an asynchronous method from another asynchronous method?
I have this method:
| public QuartzTriggerHandle scheduleSeason(@Expiration Date endDate, Season
season)
|
In that method I want to call these scheduled methods:
| QuartzTriggerHandle
Sorry forgot.
All methods is marked with
| @Asynchronous
| @Transactional
|
And I am using Seam 2.0 beta1
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4086032#4086032
Reply to the post :
Ok thank you for your response, its not that much of a issue for me, just so I
dont spend a lot of time trying to implement something that is not supported =)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082049#4082049
Reply to the post :
Hi! Im trying to add richfaces control to a mail to make it look more like the
rest of my application.
| ui:composition xmlns=http://www.w3.org/1999/xhtml;
| xmlns:ui=http://java.sun.com/jsf/facelets;
| xmlns:h=http://java.sun.com/jsf/html;
|
Thank you very much! Now maybe I will be ready for the release on monday =)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080196#4080196
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080196
I have tried all sorts of workarounds to make my implementation as close to the
seam-mail example but I still have this issue.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079885#4079885
Reply to the post :
Hmm Im using the Quartz-dispatcher, might that be the issue?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080028#4080028
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080028
I have a SFSB with this factory:
| @Factory(userSubscriptions)
| public void getUserSubscriptions() {
| userSubscriptions = em.createQuery(FROM Subscription s WHERE
s.user.sign=:sign ORDER BY s.prio)
| .setParameter(sign, getCurrentUser().getSign())
|
Im trying to send an email from an asynchronous method.
| @Asynchronous
| public QuartzTriggerHandle scheduleRaffle(@Expiration Date endDate, Season
season, int raffleNo) {
|
| ListSubscription winners = raffle2(season, raffleNo);
|
|
Im using Seam 2.0.BETA1 btw
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079680#4079680
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079680
___
jboss-user mailing list
Actually this caused another problem. The solution I used fixed the problem
when persisting but later when I try to retrieve a Season with a query I get:
| org.hibernate.exception.GenericJDBCException: Cannot open connection
| Caused by: javax.resource.ResourceException: Transaction is not
Yes but the weird thing is that if I do a print of season.getId() after the
em.merge(season) and before em.persist(bookable) the correct id is printed.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4076593#4076593
Reply to the post :
Hmm I am almost certain that I dit post the log from MySQL. Sorry about that.
| 25 Prepare
| [21] insert into bookable (period, cabin_id, week_id, season_id, raffled)
values (?, ?, ?, ?, ?)
| 25 Execute
| [21] insert into bookable (period, cabin_id, week_id, season_id, raffled)
values
I think I managed to fix it. In my Season entity I removed the @JoinColumn and
added mappedBy=season on the relation.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4076665#4076665
Reply to the post :
I did as rmemoria suggested and made a new project with seamgen and cut and
pasted my code.
However I ran into another problem, when I open one of my xhtml pages in
Internet Explorer everything works fine, however when I open the same page in
Firefox it thinks it is an xml file and displays
When I changed from Seam 1.2.1.GA to 2.0.0.BETA my menu won't render in Firefox
due to malformed xhtml.
I have a template:
| !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
|
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
| html
Thanks mate that did the trick.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059739#4059739
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059739
___
jboss-user mailing list
[EMAIL PROTECTED] wrote : Post your web.xml and faces-config.xml
web.xml
|
| ?xml version=1.0 ?
| web-app xmlns=http://java.sun.com/xml/ns/j2ee;
| xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
| xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
I have compared my web.xml and faces-config.xml to the ones in the example
applications, but I dont seem to find the solution.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059143#4059143
Reply to the post :
I've upgraded my project from Seam 1.2.1 running on JBoss 4.0.5 to the
1.3.0.BETA running om JBoss 4.2.0.
When I try to deploy the project I get the following problem:
| 2007-06-28 15:37:48,218 ERROR [STDERR]
java.lang.UnsupportedOperationException
| 2007-06-28 15:37:48,218 ERROR [STDERR]
Sorry not 1.3.0.BETA; 2.0.0.BETA
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058747#4058747
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058747
___
jboss-user mailing list
Before I got that error I had some problem with drools. After I changed the
drools-core and drools-compiler from 3.0.5 to drools-core-4.0.0.12865MR3 I got
rid of those errors instead got the error described above.
Was that a correct thing to do or is my new problems related to the new drools
Is there any kind of guide for adding Jbpm to an existing application? I have
added the hibernate.cfg.xml, jbpm.cfg.xml and the jpdl file. But I guess I have
to do some sort of update on persistence.xml aswell?
As it is now the import script seem to run twice. First time it runs like it
always
Sorry I dont quite follow you there.
I have looked att the dvdstore example without any success.
I have this in my components.xml
core:jbpm
core:process-definitions
booking-system.jpdl.xml
/core:process-definitions
core:pageflow-definitions/core:pageflow-definitions
Yes, most likely it is just me that dont understand how this works.
When I run a method with the annotation @CreateProcess, am I suppose to get
something in the processInstanceList then?
I am using Seam 1.2.1
View the original post :
25 matches
Mail list logo