[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter
anonymous wrote : | Quote: | Actually I did this since I hadn't managed to get the Converter working through faces-config.xml...Is this supposed to be so? | | | I don't understand. I mean that I wasn't able to use the Converter by registering it with | | org.jboss.seam.example.registration.Answer | org.jboss.seam.example.registration.AnswerConverter | | So I had to specify the converter with the converter attribute | | ... | | And I don't understand why... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939441#3939441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939441 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter
anonymous wrote : Should I wrap a testcase including the seam components? Any *simple* EAR should be fine. But make sure you cut it down to just what is required to reproduce the problem. Thanks. anonymous wrote : About the SFSB: I did it this way having looked at the CategoriesBean class in the dvd store example app... Ah. I will fix the DVDStore example. Thanks. anonymous wrote : Actually I did this since I hadn't managed to get the Converter working through faces-config.xml...Is this supposed to be so? I don't understand. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939274#3939274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939274 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter
anonymous wrote : | What happens if you use: | | Code: | | @PersistenceContext | EntityManager em; | | | | And remove (type=EXTENDED)? | It fails similarly, the same NullPointerException | at org.jboss.ejb3.entity.ManagedEntityManagerFactory.getNonTxEntityManager(ManagedEntityManagerFactory.java:58) | Should I wrap a testcase including the seam components? About the SFSB: I did it this way having looked at the CategoriesBean class in the dvd store example app... Actually I did this since I hadn't managed to get the Converter working through faces-config.xml...Is this supposed to be so? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939249#3939249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939249 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter
Also, please notice that APPLICATION-scoped stateful session beans are problematic. SFSBs do not support concurrent access. It is better to use a JavaBean component if you need to cache stuff in application scope. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939235#3939235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939235 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter
Looks like a bug in JBoss EJB3. I think I have seen someone else report this. Create a simple test case and submit it to EJB3 JIRA. What happens if you use: @PersistenceContext | EntityManager em; And remove (type=EXTENDED)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939231#3939231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939231 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user