[JBoss JIRA] Created: (JBMESSAGING-1556) Add additional core management notifications
by Jeff Mesnil (JIRA)
Add additional core management notifications
--------------------------------------------
Key: JBMESSAGING-1556
URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1556
Project: JBoss Messaging
Issue Type: Feature Request
Components: Configuration and Management
Reporter: Jeff Mesnil
Assignee: Tim Fox
Fix For: 2.0.0.CR1
Add additional management notifications for the following events in JBM server:
1/ notifications for start/stop of some messaging component:
- ACCEPTOR_STARTED / ACCEPTOR_STOPPED
- BRIDGE_STARTED / BRIDGE_STOPPED
- BROADCAST_GROUP_STARTED / BROADCAST_GROUP_STOPPED
- CLUSTER_CONNECTION_STARTED / CLUSTER_CONNECTION_STOPPED
- DISCOVERY_GROUP_STARTED / DISCOVERY_GROUP_STOPPED
2/ I was also thinking to add notifications when messages are expired/moved to the dead letter address but I'm not sure these notifications should be enabled by default (they can potentially generate a lot of notifications):
EXPIRED_MESSAGE -> when a message is expired
MOVED_TO_DEAD_LETTER_ADDRESS -> when a message is moved to the DLA
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBAS-6543) @RunAs no longer works on @Service beans
by Jeff Schnitzer (JIRA)
@RunAs no longer works on @Service beans
----------------------------------------
Key: JBAS-6543
URL: https://jira.jboss.org/jira/browse/JBAS-6543
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB3
Affects Versions: JBossAS-5.0.1.GA
Reporter: Jeff Schnitzer
Assignee: Carlo de Wolf
The behavior of security domains on @Service beans has changed from 4.2 to 5.0.1. @RunAs no longer works. This seems to make it impossible for a @Service to call a secured bean.
Take two @Services, one ClientService and one ServerService. Here's the ServerService, note that it requires the "admin" role:
@Service(objectName="test:service=Server")
@SecurityDomain("foo")
@RolesAllowed("admin")
public class ServerService implements ServerManagement, Server
{
public void serve() {...}
}
The client tries to call the server:
@Service(objectName="test:service=Client")
@SecurityDomain("foo")
@RunAs("admin")
public class ClientService implements ClientManagement
{
@EJB Server server;
public void start() { server.serve(); }
}
This generates exceptions "No security context set". Alternatively, if the Server is a stateless session ejb, the exception is "Caller unauthorized". This same code works in 4.2.
If it will help I can attach a simple test project but since the error occurs on deployment (service start), I don't know how to create a unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBBOOT-105) JMX notification not sent until after shutdown is complete
by Paul Ferraro (JIRA)
JMX notification not sent until after shutdown is complete
----------------------------------------------------------
Key: JBBOOT-105
URL: https://jira.jboss.org/jira/browse/JBBOOT-105
Project: JBoss Bootstrap
Issue Type: Bug
Components: impl-base
Affects Versions: impl-base-2.0.0-alpha-3
Reporter: Paul Ferraro
Assignee: Andrew Lee Rubinger
In bootstrap 1.0.x, and in the legacy implementation, the org.jboss.system.server.stopped JMX notification was sent prior to the shutdown of the server. The AS TomcatService relies on this mechanism to stop its http/ajp connectors before stopping the service, along with any deployed web applications.
In 2.0.0-alpha-3, however, this notification is not sent until after shutdown is complete. Consequently, the http/ajp connectors are not getting stopped until after all web applications are undeployed. It is now possible for a web request to reach the connectors before they are stopped, but after the requested web application was already undeployed, causing a 404 (page not found) error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (EJBTHREE-1881) Service Proxy Factory not uninstalled
by Andrew Lee Rubinger (JIRA)
Service Proxy Factory not uninstalled
-------------------------------------
Key: EJBTHREE-1881
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1881
Project: EJB 3.0
Issue Type: Bug
Components: proxy-impl
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
When redeploying a @Service (that had previously failed during start()):
Caused by: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Cannot install org.jboss.ejb3.proxy.impl.factory.session.service.ServiceRemoteProxyFactory@4cc4ee24 under name "ProxyFactory/ejbthree1738/RunAsService/RunAs/remote" as there is already an existing object there: org.jboss.ejb3.proxy.impl.factory.session.service.ServiceRemoteProxyFactory@4c6cb02a
Note that an explicit jndiBinding has been provided.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months