[jboss-user] [JBoss Seam] - Do we need failed page access logged as ERROR

2007-03-02 Thread alex.kozlenkov
I'm not sure it was like this before but accessing a restricted page while not logged in dumps the stack trace into the ERROR channel. 09:48:59,808 ERROR [SeamPhaseListener] uncaught exception | org.jboss.seam.security.NotLoggedInException | at

[jboss-user] [JBoss Seam] - Unable to authenticate in 1.1.7RC1 : is it a regression?

2007-02-26 Thread alex.kozlenkov
Hi, My previously working code is no longer functional in 1.1.7RC1. A fragment of the stack trace is given belowCaused by: java.lang.NoSuchMethodError: org.jboss.seam.security.Identity.addRole(Ljava/lang/String;)V | at LoginAction.authenticate(LoginAction.java:70) | at

[jboss-user] [JBoss Seam] - Re: Unable to authenticate in 1.1.7RC1 : is it a regression?

2007-02-26 Thread alex.kozlenkov
Thanks for this help. It works now with the code below: public boolean authenticate() { | try { | User user0 = (User) entityManager.createQuery( | from User where username = :username) |

[jboss-user] [JBoss Seam] - Setting distributable in web.xml breaks Seam examples

2007-02-26 Thread alex.kozlenkov
Running 1.1.7RC1: setting in web.xml results in the following exceptions for conversation scope components. In fact, not a single Seam example includes @Clustered components or in web.xml. It seems like a good idea to have this regression tested somewhere. 20:18:43,447 ERROR

[jboss-user] [JBoss Seam] - Re: Setting distributable in web.xml breaks Seam examples

2007-02-26 Thread alex.kozlenkov
The above message had to have distributable in web.xml. An XML element disappeared. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022664#4022664 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022664

[jboss-user] [JBoss Seam] - Re: Setting distributable in web.xml breaks Seam examples

2007-02-26 Thread alex.kozlenkov
All good with NumberGuess now. My own code is also working correctly, thanks Gavin. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022701#4022701 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022701

[jboss-user] [JBoss Seam] - Re: Setting distributable in web.xml breaks Seam examples

2007-02-26 Thread alex.kozlenkov
Yes, it's all good now with my tests. No worries, Gavin, thanks to you for fixing it so fast. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022714#4022714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022714

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-02-01 Thread alex.kozlenkov
Guys, with Feb 1 CVS code, the problems above have gone away and in fact, all is working well. However, I am getting the following exception trace in the log:2007-02-01 10:30:59,450 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworld]] Session attribute event |

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-31 Thread alex.kozlenkov
Correction: before I set distributable in web.xml. An XML fragment got dropped from the previous post. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008746#4008746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008746

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-31 Thread alex.kozlenkov
I've double checked that everything works fine before I set in web.xml and push to the cluster. The following happens when I try to log in:java.lang.ClassCastException: org.jboss.seam.security.Identity cannot be cast to javax.servlet.http.HttpSessionActivationListener |at

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-29 Thread alex.kozlenkov
Guys, Need some help with the clustered case and latest Security from the CVS. I am getting: javax.servlet.ServletException: Cannot get value for expression '#{identity.loggedIn}' exception. Any leads will be really appreciated. I've got two Tomcat servers and one MySQL DB behind an Apache LB.

[jboss-user] [JBoss Seam] - Re: dataTable in two windows

2007-01-15 Thread alex.kozlenkov
Hello guys, My first post here so perhaps not so insigtful. I'm on the same subject of duplicate actions. I have found that even a simple form submission like a simple sayHello method results in duplicate action. Could you perhaps make it more clear what should be done for it to stop doing

[jboss-user] [JBoss Seam] - Re: dataTable in two windows

2007-01-15 Thread alex.kozlenkov
Using a custom PhaseListener that disables the cache completely on response refreshes the login (home) page and checks for identity.loggedIn status. Perhaps there is an easier way--don;t know at this point. Now about another problem. I'm getting this exception[PhaseListenerManager] Exception