[jboss-user] [JBoss Seam] - Re: How to reliably count active sessions and connected user

2008-01-18 Thread gaboo
A little bit more about this : the org.jboss.seam.security.loggedOut event is not raised when the web session expire and there was a connected user. Can I consider this a seam bug or not ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121331#4121331 Reply to

[jboss-user] [JBoss Seam] - How to reliably count active sessions and connected users ?

2008-01-18 Thread gaboo
Hello. I'm using seam 2.0.0 and I'd like to cound the active sessions and connected users. For session, I'm using two observer methods in an application scoped ejb to count : @Observer(org.jboss.seam.postCreate.org.jboss.seam.web.session) | public void increaseUserCount() { |

[jboss-user] [JBoss Seam] - Re: IllegalArgumentException: Stack must not be null

2007-10-24 Thread gaboo
well, indeed.Here is the complete asynchronous method : @Stateless | 36 @Name(importRunAction) | 37 public class ImportRunAction implements ImportRunActionInterface { | 38 | 39 @In | 40 EntityManager entityManager; | 41 | 42 public ImportRunAction()

[jboss-user] [JBoss Seam] - IllegalArgumentException: Stack must not be null

2007-10-17 Thread gaboo
I've got this because I'm modifying an object managed by hibernate in an asynchronous method. Persisting new objects work fine though. The error occur after the method is run. I'm usins seam CVS. Any ideas ? here is the full stack : 19:07:48,163 WARN [arjLoggerI18N]

[jboss-user] [JBoss Seam] - Re: IllegalArgumentException: Stack must not be null

2007-10-17 Thread gaboo
Here is the class with some code removed as I think it's not relevant. When entityManager.merge is uncommented, the above exception ocurs. @Stateless | @Name(importRunAction) | public class ImportRunAction implements ImportRunActionInterface { | | @In | EntityManager

[jboss-user] [JBoss Seam] - @Restrict on entity bean and orm.xml and @Startup EJB3 probl

2007-09-13 Thread gaboo
I'm using seam cvs (2 weeks old I think). I use @Restrict on entity beans. The doc here http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/security.html#d0e6939 states anonymous wrote : If you are using a Hibernate SessionFactory configured via Seam, you don't need to do anything

[jboss-user] [JBoss Seam] - Re: @Restrict on entity bean and orm.xml and @Startup EJB3 p

2007-09-13 Thread gaboo
up ! :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084025#4084025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084025 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Can I use @In EntityManager entityManager; in an entity bean

2007-06-24 Thread gaboo
Can I use @In EntityManager entityManager; in an entity bean ? I have this in my entity bean : @Transient @In(required=true) EntityManager entityManager; But the entityManager is always null. I works in other classes thought, si I wonder if it's possible ? Is this related to this :

[jboss-user] [JBoss Seam] - Validation throws an exception instead of redisplaying the p

2007-06-21 Thread gaboo
Here is the page : !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; |

[jboss-user] [JBoss Seam] - Re: Validation throws an exception instead of redisplaying t

2007-06-21 Thread gaboo
I've never done that with a seam application ... do you have any help about how I can setup that ? The app has been generated by seam-gen and I'm using eclipse, It shouldn't be too hard ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056549#4056549 Reply

[jboss-user] [JBoss Seam] - Re: Validation throws an exception instead of redisplaying t

2007-06-21 Thread gaboo
I've managed to debug it but I don't know where and what it fails. Moreover I miss some sources. Anyway, here is my whole test application : http://beta.livre-rare-book.net/metadebug.tar.bz2 I've not included the lib dir as it's the one from seam 1.3.0.ALPHA. The app uses DefaultDS Step to

[jboss-user] [JBoss Seam] - cannot compile seam cvs, included fix

2007-06-19 Thread gaboo
I had to change this in order to compile seam cvs : diff -r1.198 build.xml 609c609 --- Because the antlr library has been renamed from ./lib/ant-antlr-1.6.5.jar to ./lib/ant-antlr.jar View the original post :

[jboss-user] [JBoss Seam] - Re: cannot compile seam cvs, included fix

2007-06-19 Thread gaboo
ops, the submit delete some text of my diff ?!? Here it is, again : diff -r1.198 build.xml | 609c609 |include name=ant-antlr-*.jar / | --- |include name=ant-antlr*.jar / View the original post :

[jboss-user] [JBoss Seam] - Re: Greate thanks to Jboss team and Jboss-Seam team especial

2007-06-15 Thread gaboo
+1 :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054776#4054776 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054776 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Re: Help about permissions with seam-security

2007-02-04 Thread gaboo
Oops, my previous post has been cut off. It'snot posible to edit ? anonymous wrote : Please let me know if this is helpful (I haven't tried it myself :) Sure ! Thanks for the tip :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4010839#4010839 Reply to the

[jboss-user] [JBoss Seam] - Re: Help about permissions with seam-security

2007-02-04 Thread gaboo
[EMAIL PROTECTED] wrote : | Not much I can do about that. JSF forces me to swallow these things. I'm not going to do it silently, that's just dangerous. Yes, but in the end, the security rule is not applied. It's not a problem that's there's an exception raised. I guess there sould not be a

[jboss-user] [JBoss Seam] - Help about permissions with seam-security

2007-02-03 Thread gaboo
Hello ! I'm trying the latest seam with seam-security. Using roles is pretty easy, but I haven't managed using permissions yet. It's really hard to write rules when you're new to JBoss Rules. How can I debug my rules ? I know they does not work. Is there a jboss rules verbose+debug mode, which

[jboss-user] [JBoss Seam] - Re: Help about permissions with seam-security

2007-02-03 Thread gaboo
Me again, sorry :) After reading other topics, I downloaded seam CVS. It works much better even if i also have Swallowing exception thrown by page action error. At least I'm now sure the pages.xml and rules files are taken into account. One more question : in the documentation, you added a

[jboss-user] [JBoss Seam] - Re: geam-gen generate-entities error

2006-12-29 Thread gaboo
It workd if I use property name=hibernate.hbm2ddl.auto value=update/. Thanks! Anyway, I'll experiment a bit more and I will probably report this to hibernate. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996848#3996848 Reply to the post :

[jboss-user] [JBoss Seam] - Re: geam-gen generate-entities error

2006-12-28 Thread gaboo
| 11:25:26,250 INFO [EARDeployer] Started J2EE application: file:/home/gaboo/progs/jboss-4.0.5.GA/server/default/deploy/lrbseamtest.ear/ | 11:25:26,251 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: persistence.units:ear

[jboss-user] [JBoss Seam] - Re: geam-gen generate-entities error

2006-12-28 Thread gaboo
one more note : I tried with a char(255) and i get the same error. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996608#3996608 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996608

[jboss-user] [JBoss Seam] - Re: geam-gen generate-entities error

2006-12-27 Thread gaboo
I tried with latest CVS seam version and seam gen did not worked : 20:50:13 [EMAIL PROTECTED]:~/workspace/jboss-seam$ ./seam setup | Buildfile: build.xml | | BUILD FAILED | /home/gaboo/workspace/jboss-seam/seam-gen/build.xml:15: taskdef class org.jboss.seam.tool.PathFilenameTask cannot

[jboss-user] [JBoss Seam] - Re: geam-gen generate-entities error

2006-12-27 Thread gaboo
Indeed, it works :) But, I found another problem, maybe it is configurable : generate-entities works, but crashes once deployed if there is a column which type is char(X) with X 1. It works with X=1. For example, it works with the above abocc table if I change ty and lb columns to be

[jboss-user] [JBoss Seam] - Re: geam-gen generate-entities error

2006-12-07 Thread gaboo
no ideas ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992026#3992026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992026 ___ jboss-user mailing list