[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-14 Thread [EMAIL PROTECTED]
anonymous wrote : I'm not sure if we can support conversational components at startup. Nope, they are not supported. It's probably possible to support them if we want it. So feel free to add a feature request to JIRA if you want me to spend some time thinking about it. View the original post

[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-12 Thread PeterReilly
I have just ran into the exact same problem, I am starting up and want to read the database to start communicating with registered end-points, but cannot figure out how to do it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000794#4000794 Reply to the post

[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-12 Thread petemuir
If you are using EJB3 persistence try @PersistenceContext - it should be available. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000831#4000831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000831

[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-12 Thread PeterReilly
Yes, I have just got the following working: - I had to make a Stateful bean, a POJO didi not seem to work. package com.mydomain; import javax.ejb.Remove; import javax.ejb.Stateful; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import

[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-12 Thread emsa
When looking up the EntityManager by hand from the JNDI I get: | javax.persistence.TransactionRequiredException: no transaction is in progress | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000856#4000856 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-12 Thread [EMAIL PROTECTED]
Well, you do need a transaction running to use one you create manually. :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001023#4001023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001023

[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-12 Thread emsa
So basically there is no Transaction during startup? So I cannot expect @PersistenceContext nor a manual lookup to work? Is there any way to start a Transaction by hand? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001154#4001154 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-12 Thread [EMAIL PROTECTED]
There is never a transaction unless someone somewhere starts one. There's no reason that anyone would have created a transaction around object creation at startup. You can look up the UserTransaction from JNDI and start it a transaction just as you would in any component where you are

[jboss-user] [JBoss Seam] - Re: @Startup problems

2007-01-11 Thread [EMAIL PROTECTED]
I'm not sure if we can support conversational components at startup. Gavin will have to chime in. In the meantime, you could always look get an emfactory and create one yourself. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000682#4000682 Reply to the