[JBoss JIRA] Created: (JBAS-9147) Deployment-related OperationHandler improvements
by Brian Stansberry (JIRA)
Deployment-related OperationHandler improvements
------------------------------------------------
Key: JBAS-9147
URL: https://issues.jboss.org/browse/JBAS-9147
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Domain Management
Reporter: Brian Stansberry
Fix For: 7.0.0.Beta3
Primary goal is to eliminate the need for a separate "deploy" operation following an "add" for a deployment resource. Plus minor cleanups.
In all cases, the output of the DescriptionProvider associated with the handler must be updated to match changes to the handler.
org.jboss.as.server.deployment:
DeploymentAddHandler
a) After updating the model, if context.getRuntimeContext() != null and subModel.get(ENABLED).asBoolean() == true,
deploy the deployment. See DeploymentDeployHandler for how to deploy
b) Update StandaloneXml (in controller module) so it doesn't create a "deploy" operation at boot, since "add" will now deploy
c) lesser priority: handle other ways of providing the deployment content, depending on what param users provided:
-- HASH (i.e. content already uploaded) -- this is already implemented
-- INPUT_STREAM_INDEX (i.e. stream is attached to OperationContext) -- this is already implemented
-- BYTES (param value is a byte[] of content) -- see DeploymentUploadBytesHandler for how to store the content in the repo
-- URL (server is to read content from URL) -- see DeploymentUploadURLHandler for how to store the content in the repo
DeploymentFullReplaceHandler
lesser priority: handle other ways of providing the deployment content, depending on what param users provided
Same details as for DeploymentAddHandler
DeploymentRemoveHandler
remove the existing if (model.get(ENABLED).asBoolean()) {...} branch; the code should always execute the current "else {...}" branch
org.jboss.as.domain.controller.operations.deployment:
DeploymentAddHandler
lesser priority: handle other ways of providing the deployment content, depending on what param users provided
Same details as for org.jboss.as.server.deployment.DeploymentAddHandler
DeploymentFullReplaceHandler
lesser priority: handle other ways of providing the deployment content, depending on what param users provided
Same details as for org.jboss.as.server.deployment.DeploymentAddHandler
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBMESSAGING-1850) Message Consumer receive(timeout) may wait there even after timeout has expired
by Yong Hao Gao (JIRA)
Message Consumer receive(timeout) may wait there even after timeout has expired
-------------------------------------------------------------------------------
Key: JBMESSAGING-1850
URL: https://issues.jboss.org/browse/JBMESSAGING-1850
Project: JBoss Messaging
Issue Type: Bug
Components: JMS Client Manager
Affects Versions: 1.4.7.GA, 1.4.0.SP3.CP11
Reporter: Yong Hao Gao
Assignee: Yong Hao Gao
Fix For: 1.4.0.SP3.CP12, 1.4.8.GA
If a client uses receive messages using receive(timeout) where timeout > 0 and the ack mode is auto_ack, when a message arrived at the client and the acknowledge takes a long time (either network problem or the server is busy like retrying a db connection), the receive(timeout) may not return after timeout has expired. That doesn't conform to the JMS API spec.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBAS-9262) Turn the upload content operation name into something meaningful
by Heiko Braun (JIRA)
Turn the upload content operation name into something meaningful
----------------------------------------------------------------
Key: JBAS-9262
URL: https://issues.jboss.org/browse/JBAS-9262
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Domain Management
Reporter: Heiko Braun
Fix For: 7.0.0.Beta4
Currently the operation name is "upload-deployment-url"
(Taken from DomainHttpServer.java)
final ModelNode dmr = new ModelNode();
dmr.get("operation").set("upload-deployment-url");
dmr.get("address").setEmptyList();
dmr.get("url").set(tempUploadFile.toURI().toURL().toString());
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months