@swd847:
Thanks, anyway this sounds better than the current solution.
@Pete:
Thanks, that was exactly what i was looking for. I didn't even know that's possible!
For those who are interested and happy about a code snippet:
menuItems.xhtml
<rich:menuItem value="#{messages.menu_manage_persons}"
| action="manage_persons"
| rendered="#{s:hasRole('manage_persons')}" />
|
pages.xml
<page view-id="/*" login-required="true">
| <navigation>
| ...
| <rule if-outcome="manage_persons">
| <end-conversation />
| <redirect view-id="/modules/manageCatalogs/persons/main.xhtml" />
| </rule>
| ...
| </navigation>
| </page>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092952#4092952
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092952
I have an queue deployd on clustured servers:
server1
server2
I run hajndi on one off the servers like this:
| env.put(Context.INITIAL_CONTEXT_FACTORY,
| "org.jnp.interfaces.NamingContextFactory");
| env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming");
| env.put(Context.PROVIDER_URL, server1:1100;
|
| try {
| InitialContext ctx = new InitialContext(env);
| ...
| ...
| ...
|
|
This works goog, now i whant to lookup the queue from server2 server to, how can i do that ??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092942#4092942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092942