[jboss-user] [JBoss Seam] - Re: Calling the same method on different beans from the same

2008-01-07 Thread kummer
Here are the files (cut down, but still showing the error). The application template: | | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:s="http://jboss.com/products/seam/ta

[jboss-user] [JBoss Seam] - Re: Calling the same method on different beans from the same

2008-01-05 Thread kummer
I followed your suggestion except that I changed the name of the param from manager to orderManager in the both the param tag and the included file. The page displays correctly but invoking an action via | | triggers the following exception | Exception during request processing: |

[jboss-user] [JBoss Seam] - Calling the same method on different beans from the same act

2008-01-04 Thread kummer
I am trying to reuse a facelets file in various use cases with a different stateful session bean managing each use case. In order to do that the beans outject themselves as "manager". For example: | @Stateful @Name("auditOrderManager") public class AuditOrderManager { | @Out AuditOrder

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

2007-09-13 Thread kummer
Solved The missing piece was changing the JNDI name pattern in components.xml to reflect the name of the old application (tukan). Thanks for listening ;-). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083817#4083817 Reply to the post : http://www.jbos

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

2007-09-12 Thread kummer
The demoManager is created using seam-gen's new-conversation target. The xhtml page (as generated) has buttons for beginning and ending a conversation and for incrementing a value, which is shown on the page. The bean has the corresponding methods. Again, this is the raw product from the new-con

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

2007-09-12 Thread kummer
I'm trying to add Seam to an old EJB2 application so that we can do new development in Seam and gradually port the old stuff into Seam. I starting by merging the deployment directory of an "empty" Seam application, SeamApp, (created with seam-gen new-project) into the exploaded deployment legac

[jboss-user] [JBoss Seam] - Solved

2007-06-14 Thread kummer
The exception is apparently just a manifestation of an earlier non-application exception, (that caused the stateful session bean to be destroyed, I assume). That exception occurred in fact due to a missing view in the database. View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Project in peril: No active JTA transaction on joinTransacti

2007-06-14 Thread kummer
This exception has been happening on and off during the development. The project is now in testing and inexplicably it started appearing again, both on the test environment and the develoment environment, and not only on the current version but also on 4 previous cvs versions, spanning 2 weeks,

[jboss-user] [JBoss Seam] - Re: No active JTA transaction on joinTransaction call

2007-05-08 Thread kummer
Here is the mapped property for which the lazyloading appear to fail: @OneToMany(cascade={CascadeType.PERSIST, CascadeType.MERGE}) | public List getKriterien() { | return kriterien; | } | | public void setKriterien(List kriterien) { | this.k

[jboss-user] [JBoss Seam] - Re: No active JTA transaction on joinTransaction call

2007-05-08 Thread kummer
I've isolated the cause if this to a call to an entitybean method, which accesses mapped property (A list mapped to another table). If I call this method from an action, it works. But when I call it during rendering, it fails with the above Exception. Appearantly this is a problem with lazy load

[jboss-user] [JBoss Seam] - Re: No active JTA transaction on joinTransaction call

2007-05-08 Thread kummer
I should have mentioned that I've got this error from time to time before, but it has gone away without my intervention, (which makes it a bit scary). A previous post on this error mentions its random appearance. I would be curious to know ith there has been any progress on nailing down its caus

[jboss-user] [JBoss Seam] - No active JTA transaction on joinTransaction call

2007-05-08 Thread kummer
Caused by: javax.ejb.EJBTransactionRolledbackException: javax.persistence.TransactionRequiredException: No active JTA transaction on joinTransaction call I get the above exception seemingly randomly. At least a cannot associate it with anything. I have two versions of my project (a day or so o

[jboss-user] [JBoss Seam] - Extracting service. Joining tables across schemas. Using Hib

2007-04-12 Thread kummer
Hello Seamers I'm doing a pilot Seam application for my employer, which already uses Hibernate and Spring. We like the ease of use, but we are wrestling with some questions. 1. We would like to factor out any reusable "business logic" into a service layer, possibly in a different EAR. It is cl