[JBoss Seam] - Best component library to work with Seam?
by atzbert
Since I read a couple times in Gavin's posts not to use Tomahawk, I am not going to bring it up again. Instead my question is thus, which is the best additional component library to use with Seam1.1/MyFaces1.5. I would really like to have some more components which would simplify my life by adding e.g. a calendar component.
I tried to configure Icefaces by following the example in the CR2 with no luck. My long running conversation was not started anymore. For no obvious reason...No error log nothing, just not started (no cid is being added).
I tried to add Trinidad following the example in the Wiki, with the same luck here. This time I get a "No RenderingContext" Seam error when requesting a page. The JBoss startup and Seam initialization went just fine.
I am kinda stuck here. Any suggestions? Are there less complicated component libraries i could easily just _use_?
Thank you,
Tino
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992323#3992323
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992323
19 years, 4 months
[EJB/JBoss] - Session bean problem :)
by sumit.malik@redalkemi.com
Hi Everyone,
I m running the sample's which are provided for Jboss EJB3Trail Demo application..
I have these configuration
Linux Fedora Core 4
Jboss 4.0.4 CA
Well, whenever i have deployed Session bean then try to get stub locally i get this exception after
|
| 00:32:05,174 ERROR [[/test]] Session attribute event listener threw exception
| java.lang.RuntimeException: Could not resolve beanClass method from proxy call: public abstract void javax.ejb.EJBLocalObject.remove() throws javax.ejb.RemoveException,javax.ejb.EJBException
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:169)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy98.remove(Unknown Source)
| at net.java.dev.strutsejb.web.SessionRemover.attributeRemoved(SessionRemover.java:39)
| at org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1623)
| at org.apache.catalina.session.StandardSession.expire(StandardSession.java:732)
| at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:572)
| at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678)
| at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663)
| at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
| at java.lang.Thread.run(Thread.java:595)
|
|
Here my session bean is working fine and i think ejb session time out is not working in smooth way. I have googled this problem and find few solution but none of them helped me out yet like i have changed and increased session bean passivate time but no result
| <max-bean-life>300<max-bean-life> to <max-bean-life>300<max-bean-life>
|
and even i have changed
| <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
| ...
| <annotation expr="!class((a)org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class((a)org.jboss.annotation.ejb.Clus
| tered)">
| @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=3600
| )
| </annotation>
| ...
| </domain>
| [/code ]
| but not yet i have gain any result and problem is still there....
| So here i m just getting blocked
|
| Looking forward for the help !!!
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992321#3992321
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992321
19 years, 4 months
[Persistence, JBoss/CMP, Hibernate, Database] - [b] Changes for session time out are not taking place.... Ur
by sumit.malik@redalkemi.com
Hi Everyone,
I m running the sample's which are provided for Jboss EJB3Trail Demo application..
I have these configuration
Linux Fedora Core 4
Jboss 4.0.4 CA
Well, whenever i have deployed Session bean then try to get stub locally i get this exception after
|
| 00:32:05,174 ERROR [[/test]] Session attribute event listener threw exception
| java.lang.RuntimeException: Could not resolve beanClass method from proxy call: public abstract void javax.ejb.EJBLocalObject.remove() throws javax.ejb.RemoveException,javax.ejb.EJBException
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:169)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy98.remove(Unknown Source)
| at net.java.dev.strutsejb.web.SessionRemover.attributeRemoved(SessionRemover.java:39)
| at org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1623)
| at org.apache.catalina.session.StandardSession.expire(StandardSession.java:732)
| at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:572)
| at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678)
| at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663)
| at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
| at java.lang.Thread.run(Thread.java:595)
|
|
Here my session bean is working fine and i think ejb session time out is not working in smooth way. I have googled this problem and find few solution but none of them helped me out yet like i have changed and increased session bean passivate time but no result
| <max-bean-life>300<max-bean-life> to <max-bean-life>300<max-bean-life>
|
and even i have changed
| <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
| ...
| <annotation expr="!class((a)org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class((a)org.jboss.annotation.ejb.Clus
| tered)">
| @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=3600
| )
| </annotation>
| ...
| </domain>
| [/code ]
| but not yet i have gain any result and problem is still there....
| So here i m just getting blocked
|
|
|
| Looking forward for the help !!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992319#3992319
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992319
19 years, 4 months
[JBoss Seam] - Overall seam question - component timeouts
by chris.morrisette
I am using Seam heavily on my latest project, especially the remoting.
One question I am having trouble finding a concrete answer to is the best practices regarding 'timeout's of various components.
Please correct me if I am wrong, but I understand there to be three components whose timeouts need to be configured correctlly:
1) Session timeout (tomcat/jboss configuration)
2) Conversation timeout (Seam configuration)
3) Stateful Session Bean timeout/CacheConfig (jboss configuration)
In my mind, these 'timeouts' need to be configured to be identical (or at least the session timeout less than the other two), otherwise the user experience becomes unpredictable (state is lost in SFSBs, etc.).
Is this understanding correct? By default, it doesn't appear the 'timeout' settings are configured like this, which I noticed bcause I was losing state in my SFSBs after a certain amount of time.
Thanks for your help and hardwork, I really enjoy using Seam.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992318#3992318
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992318
19 years, 4 months