[JBoss JIRA] Updated: (JGRP-205) Out-of-band messages
by Bela Ban (JIRA)
[ http://jira.jboss.com/jira/browse/JGRP-205?page=all ]
Bela Ban updated JGRP-205:
--------------------------
Description:
We need to be able to tag individual messages with a quality-of-service bit: ASYNC. This means that, when such a message is received, it can be delivered asynchronously, e.g. by a thread from a separate threadpool (compared this to http://jira.jboss.com/jira/browse/JGRP-181).
Examples for OOB messages:
- ACKs (unicast)
- XMIT requests (NAKACK)
- Credit replenishment messages (FC)
- Failure detection: heartbeats and are-you-alive messages, plus acks
We might even introduce priority based message delivery
One example for FC:
- We have members A and B
- A and B continuously invoke put()s on the TreeCache in *synchronous* mode
- When B receives a put() request, it applies it and wants to send the response. However, assume that the response is blocked in FC.down() because we don't have enough credits available to send the response to A
- Now A sent a REPLENISH message to B, but B is still stuck in the FC.down() method, which blocks the *up thread* !
- Therefore B cannot handle the replenishment message from A and therefore won't unblock: deadlock !
- If we could deliver the REPLENISH message from A to B *on a separate thread*, B would receive the REPLENISH message and unblock the FC.down() method
was:
We need to be able to tag individual messages with a quality-of-service bit: ASYNC. This means that, when such a message is received, it can be delivered asynchronously, e.g. by a thread from a separate threadpool (compared this to http://jira.jboss.com/jira/browse/JGRP-181).
Examples for OOB messages:
- ACKs (unicast)
- XMIT requests (NAKACK)
- Credit replenishment messages (FC)
One example for FC:
- We have members A and B
- A and B continuously invoke put()s on the TreeCache in *synchronous* mode
- When B receives a put() request, it applies it and wants to send the response. However, assume that the response is blocked in FC.down() because we don't have enough credits available to send the response to A
- Now A sent a REPLENISH message to B, but B is still stuck in the FC.down() method, which blocks the *up thread* !
- Therefore B cannot handle the replenishment message from A and therefore won't unblock: deadlock !
- If we could deliver the REPLENISH message from A to B *on a separate thread*, B would receive the REPLENISH message and unblock the FC.down() method
> Out-of-band messages
> --------------------
>
> Key: JGRP-205
> URL: http://jira.jboss.com/jira/browse/JGRP-205
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 2.2.8, 2.2.9, 2.3, 2.2.9.1
> Reporter: Bela Ban
> Assigned To: Bela Ban
> Fix For: 2.5
>
>
> We need to be able to tag individual messages with a quality-of-service bit: ASYNC. This means that, when such a message is received, it can be delivered asynchronously, e.g. by a thread from a separate threadpool (compared this to http://jira.jboss.com/jira/browse/JGRP-181).
> Examples for OOB messages:
> - ACKs (unicast)
> - XMIT requests (NAKACK)
> - Credit replenishment messages (FC)
> - Failure detection: heartbeats and are-you-alive messages, plus acks
> We might even introduce priority based message delivery
> One example for FC:
> - We have members A and B
> - A and B continuously invoke put()s on the TreeCache in *synchronous* mode
> - When B receives a put() request, it applies it and wants to send the response. However, assume that the response is blocked in FC.down() because we don't have enough credits available to send the response to A
> - Now A sent a REPLENISH message to B, but B is still stuck in the FC.down() method, which blocks the *up thread* !
> - Therefore B cannot handle the replenishment message from A and therefore won't unblock: deadlock !
> - If we could deliver the REPLENISH message from A to B *on a separate thread*, B would receive the REPLENISH message and unblock the FC.down() method
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 6 months
[JBoss JIRA] Created: (JBAS-3787) If you perform JPA actions in JSPs, complains about EHCache not being available
by gregorypierce (JIRA)
If you perform JPA actions in JSPs, complains about EHCache not being available
-------------------------------------------------------------------------------
Key: JBAS-3787
URL: http://jira.jboss.com/jira/browse/JBAS-3787
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-4.0.4.GA
Environment: JBoss AS 4.0.4, OSX, JDK 1.5
Reporter: gregorypierce
When running a JSP that made calls to the JPA entitymanager, the system complained about EHCache not being available. Since the second-level cache is on by default, EHCache needs to be in the distribution by default.
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 6 months
[JBoss JIRA] Created: (JBAS-3783) LdapLoginModule allows access when JUST the username is entered (NO Password entered).
by Mark Burgeson (JIRA)
LdapLoginModule allows access when JUST the username is entered (NO Password entered).
--------------------------------------------------------------------------------------
Key: JBAS-3783
URL: http://jira.jboss.com/jira/browse/JBAS-3783
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Security
Affects Versions: JBossAS-4.0.4.GA, JBossAS-4.0.3 Final
Environment: This issue is was tested and is known to be present in Linux and SUN platforms.
Reporter: Mark Burgeson
Assigned To: Scott M Stark
LdapLoginModule is enabled for LDAP Group authentication.
As expected, access is allowed when a valid username/password is supplied and the user belongs to the LDAP group.
In addition, access is allowed when JUST the username is entered, without the password, and the user belongs to the LDAP group. This appears to be a bug.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 6 months