[jboss-user] [JBoss Seam] - Call scheduled method from another scheduled method

2007-09-19 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Re: Call scheduled method from another scheduled method

2007-09-19 Thread robin.hultman
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 :

[jboss-user] [JBoss Seam] - Re: Is it possible to use richfaces controls in email?

2007-09-07 Thread robin.hultman
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 :

[jboss-user] [JBoss Seam] - Is it possible to use richfaces controls in email?

2007-09-07 Thread robin.hultman
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; |

[jboss-user] [JBoss Seam] - Re: Problem with Seam mail

2007-09-01 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Re: Problem with Seam mail

2007-08-31 Thread robin.hultman
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 :

[jboss-user] [JBoss Seam] - Re: Problem with Seam mail

2007-08-31 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - org.hibernate.exception.GenericJDBCException: Cannot open co

2007-08-30 Thread robin.hultman
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()) |

[jboss-user] [JBoss Seam] - Problem with Seam mail

2007-08-30 Thread robin.hultman
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); | |

[jboss-user] [JBoss Seam] - Re: Problem with Seam mail

2007-08-30 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Re: Could not synchronize database state with session

2007-08-23 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Re: Could not synchronize database state with session

2007-08-22 Thread robin.hultman
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 :

[jboss-user] [JBoss Seam] - Re: Could not synchronize database state with session

2007-08-22 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Re: Could not synchronize database state with session

2007-08-22 Thread robin.hultman
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 :

[jboss-user] [JBoss Seam] - Re: java.lang.UnsupportedOperationException

2007-07-02 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Malformed xhtml with facelet include

2007-07-02 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Re: Malformed xhtml with facelet include

2007-07-02 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Re: java.lang.UnsupportedOperationException

2007-06-29 Thread robin.hultman
[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

[jboss-user] [JBoss Seam] - Re: java.lang.UnsupportedOperationException

2007-06-29 Thread robin.hultman
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 :

[jboss-user] [JBoss Seam] - java.lang.UnsupportedOperationException

2007-06-28 Thread robin.hultman
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]

[jboss-user] [JBoss Seam] - Re: java.lang.UnsupportedOperationException

2007-06-28 Thread robin.hultman
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

[jboss-user] [JBoss Seam] - Re: java.lang.UnsupportedOperationException

2007-06-28 Thread robin.hultman
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

[jboss-user] [JBoss jBPM] - Adding Jbpm to an existing Seam application

2007-06-26 Thread robin.hultman
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

[jboss-user] [JBoss jBPM] - Re: Adding Jbpm to an existing Seam application

2007-06-26 Thread robin.hultman
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

[jboss-user] [JBoss jBPM] - Re: Adding Jbpm to an existing Seam application

2007-06-26 Thread robin.hultman
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 :