[Installation, Configuration & DEPLOYMENT] - Re: Separate Execute Queue in JBOSS
by patwary_shiva
we are migrating from weblogic to jboss we have execute queue in weblogic . How do i configure in jboss. Should i
myqueue1
System Threads
<!-- How long a thread will live without any tasks in MS -->
60000
<!-- The max number of threads in the pool -->
10
<!-- The max number of tasks before the queue is full -->
1000
<!-- The behavior of the pool when a task is added and the queue is full.
abort - a RuntimeException is thrown
run - the calling thread executes the task
wait - the calling thread blocks until the queue has room
discard - the task is silently discarded without being run
discardOldest - check to see if a task is about to complete and enque
the new task if possible, else run the task in the calling thread
-->
run
myqueue2
System Threads
<!-- How long a thread will live without any tasks in MS -->
60000
<!-- The max number of threads in the pool -->
10
<!-- The max number of tasks before the queue is full -->
1000
<!-- The behavior of the pool when a task is added and the queue is full.
abort - a RuntimeException is thrown
run - the calling thread executes the task
wait - the calling thread blocks until the queue has room
discard - the task is silently discarded without being run
discardOldest - check to see if a task is about to complete and enque
the new task if possible, else run the task in the calling thread
-->
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091237#4091237
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091237
18Â years, 6Â months
[JBoss Seam] - Re: security-config.xml equivalent in 2.0?
by samdoyle
Hi Shane,
This didn't work either.
| rich:tab switchType="page" immediate="true"
| rendered="#{s:hasPermission('super-user', null, null)}" label="Agency
| Admin" name="AgencyAdmin" action="AgencyAdmin">
| <ui:include src="menu.xhtml">
| <ui:param name="projectName" value="#{projectName}"/>
| </ui:include>
| </rich:tab>
|
This tab is rendered as part of the landing page after the user has been authenticated.
S.D.
"shane.bryzak(a)jboss.com" wrote : Oops, you're absolutely right. In seamspace it works because the role check is performed within the context of a (rule-based) permission check. I've fixed this in CVS so that RuleBasedIdentity now checks the security context for the existence of the role (as well as checking the subject), however if you can't test with the latest CVS version you could alternatively replace your s:hasRole() expression with an s:hasPermission() expression that simply checks for the existence of the required role.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091234#4091234
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091234
18Â years, 6Â months