[JBoss JIRA] Created: (JGRP-1371) Unable to suspend self in FLUSH.blockMessageDuringFlush(); Eternal timeouts not supported
by Nicolas Estrada (JIRA)
Unable to suspend self in FLUSH.blockMessageDuringFlush(); Eternal timeouts not supported
-----------------------------------------------------------------------------------------
Key: JGRP-1371
URL: https://issues.jboss.org/browse/JGRP-1371
Project: JGroups
Issue Type: Bug
Affects Versions: 2.12.1
Environment: All
Reporter: Nicolas Estrada
Assignee: Bela Ban
Priority: Critical
If a positive timeout is specified for the FLUSH protocol, if the specified waiting time timeout elapses during the notBlockedDown.await(timeout) invocation, the shouldSuspendByItself flag will be set but it will continue looping forever. The if clause below should be moved into the while block.
If the timeout is 0L or negative, instead of waiting forever, it will instantaneously return from the await(timeout) method, but seeing as it can never suspend itself as mentioned earlier, it will loop forever until a STOP_FLUSH or ABORT_FLUSH event is received.
Changing the method to await() for "eternal" timeouts may be dangerous however; There must be a guarantee that the isBlockingFlushDown is toggled even if the FLUSH coordinator fails.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-2024) JDBC Driver registry does not unregister properly
by Tristan Tarrant (Created) (JIRA)
JDBC Driver registry does not unregister properly
-------------------------------------------------
Key: AS7-2024
URL: https://issues.jboss.org/browse/AS7-2024
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: 7.1.0.Alpha1
Reporter: Tristan Tarrant
Assignee: Stefano Maestri
Priority: Minor
org.jboss.as.connector.registry.DriverRegistryImpl in as7 trunk
I think line 62 is a copy/paste bug:
{code:title=DriverRegistryImpl.java}
@Override
public void unregisterInstalledDriver(InstalledDriver driver) {
if (driver == null)
throw new IllegalArgumentException(MESSAGES.nullVar("driver"));
DEPLOYMENT_CONNECTOR_REGISTRY_LOGGER.tracef("Removing deployment: %s", driver);
synchronized (drivers) {
drivers.put(driver.getDriverName(), driver);
}
}
{code}
should be
{code:title=DriverRegistryImpl.java}
@Override
public void unregisterInstalledDriver(InstalledDriver driver) {
if (driver == null)
throw new IllegalArgumentException(MESSAGES.nullVar("driver"));
DEPLOYMENT_CONNECTOR_REGISTRY_LOGGER.tracef("Removing deployment: %s", driver);
synchronized (drivers) {
drivers.remove(driver.getDriverName());
}
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-2000) resteasy async bug
by Stanislav Minar (Created) (JIRA)
resteasy async bug
------------------
Key: AS7-2000
URL: https://issues.jboss.org/browse/AS7-2000
Project: Application Server 7
Issue Type: Bug
Components: REST
Affects Versions: 7.0.2.Final
Reporter: Stanislav Minar
IllegalAccessError when submitting response to org.jboss.resteasy.spi.AsynchronousResponse.
Due to this issue resteasy async is not usable at all :(
java.lang.IllegalAccessError: tried to access field org.jboss.resteasy.plugins.server.servlet.HttpServletInputMessage.dispatcher from class org.jboss.resteasy.plugins.server.servlet.Servlet3AsyncHttpRequest$1: java.lang.IllegalAccessError: tried to access field org.jboss.resteasy.plugins.server.servlet.HttpServletInputMessage.dispatcher from class org.jboss.resteasy.plugins.server.servlet.Servlet3AsyncHttpRequest$1
at org.jboss.resteasy.plugins.server.servlet.Servlet3AsyncHttpRequest$1.setResponse(Servlet3AsyncHttpRequest.java:47) [async-http-servlet-3.0-2.2.1.GA.jar:]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months