[Installation, Configuration & Deployment] - Re: Jboss install
by PeterJ
What was the exception?
Are there any stray jar files in the endorsed directory?
You could try adding -verbose:class to the Java command that starts Ant, this should point out if stray jars are being picked up.
I once spent days debugging a issue where suddenly the JBossAS build would stop working on a certain computer, giving a missing method error when I could see that method in the .java source file. Apparently someone in some other department was too lazy to properly set up the classpath for his build, so his build script copied an older version of a JBoss jar file into the endorsed directory. The first time he did his build on that common build machine, my build stopped working. Eventually, I ran out of common build machines and I was forced to solve the problem; -verbose:class pointed out the culprit.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036763#4036763
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036763
19 years
[JBoss Seam] - pages.xml redirect if loggedIn
by damianharvey
My understanding is that navigation rules in pages.xml fire after the page render (eg. after an action). Is there any way to use a navigation rule to fire before the render (ie. similar to an action)?
Currently I have a rule in my login.page.xml that redirects users to the home page after they login successfully. This works fine, however if a user has bookmarked the login page and calls it again after login, the navigation rule is not hit (as it is before the render) and the login page is displayed again - and typically the user thinks that they've been logged out.
| <page>
| <navigation>
| <rule if="#{identity.loggedIn}">
| <redirect view-id="/secure/home.xhtml"/>
| </rule>
| </navigation>
| </page>
|
This same rule exists in the Booking example and the same behaviour occurs.
I've designed around this but am still curious as to how pages.xml might be used to get around this.
Cheers,
Damian.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036748#4036748
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036748
19 years