[JBoss Seam] - Re: Identity.loggedIn and Session expiring
by pete.muir@jboss.org
"b.reeve" wrote : anonymous wrote : Not yet implemented. This is the best way to do what you are AFAICS.
|
| Does this mean that there are plans for adding this to future release?
Yes, the sessionExpired event will be added.
anonymous wrote : 1. Also, Is there a way I can disable Seam from adding the default seam messages to FacesMessage apart from giving a value for that key in the resource bundle?
Thats the simplest way, but there are other ways depending on the particular message you are trying to hide.
That pages.xml ruleset isn't valid - this is equivalent and valid
<page view-id="/login.xhtml" >
| <navigation from-action="#{identity.login}" >
| <rule if="#{identity.loggedIn AND loginBean.navigation eq 'pageA'}" >
| <redirect view-id="/pageA.xhtml" />
etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114593#4114593
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114593
18 years, 4 months
[Performance Tuning] - Re: Not deploy and not scan some directories at the start of
by nmaurel
hi,
thanks for ur answer.
I tried to look at jboss-service.xml and i added theses lines :
<!-- COMMENT LINE : THIS LINE WAS IN THE STANDARD FILE BEFORE MY ADDING
org.jboss.deployment.scanner.DeploymentFilter
-->
<!-- BEGIN OF MY ADDING
The FilterInstance specifies a URLLister.URLFilter for scanned
directories. This DeploymentFilter is initialized with the given
prefixes, suffixes and matches that define which URLs should be
ignored.
-->
<!-- Files starting with theses strings are ignored -->
#,%,\,,.,_$
<!-- Files ending with theses strings are ignored -->
#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh,.doc,.pdf,.xls,.html,.sql
<!-- Files matching with theses strings are ignored -->
.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags
<!-- NCM : 20/12/2007 Ajout de cette partie pour test , END OF MY ADDING -->
but when i restarted jboss i had this message on boot.log :
2007-12-20 12:25:28,723 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/E:/INTEG/AccessCommerce/CDS/jboss-3.2.3/server/CDS/conf/jboss-service.xml
2007-12-20 12:25:28,739 ERROR [org.jboss.system.server.Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.deployment:type=DeploymentScanner,flavor=URL
state: FAILED
I Depend On: jboss.system:service=MainDeployer
Depends On Me: org.jboss.deployment.DeploymentException: No Attribute found with name: FilterInstance]
at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1135)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
did i make a mistake ??
Nicolas.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114592#4114592
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114592
18 years, 4 months