[jboss-jira] [JBoss JIRA] (AS7-6035) Improper use of OperationContext.restartRequired()

Ivo Studensky (JIRA) jira-events at lists.jboss.org
Thu Dec 6 02:54:22 EST 2012


     [ https://issues.jboss.org/browse/AS7-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivo Studensky updated AS7-6035:
-------------------------------

    Fix Version/s: 7.1.4.Final (EAP)

    
> Improper use of OperationContext.restartRequired()
> --------------------------------------------------
>
>                 Key: AS7-6035
>                 URL: https://issues.jboss.org/browse/AS7-6035
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: Brian Stansberry
>            Assignee: Ivo Studensky
>             Fix For: 7.2.0.Alpha1, 7.1.4.Final (EAP)
>
>
> Look or an fix uses of OperationContext.restartRequired() that should be using reloadRequired(). There are very few reasons why a full process restart should be needed for a configuration model change to take effect. Typically a full process restart would only be needed for a domain mode server whose JVM configuration settings have been changed in the host model.
> Running "git grep restartRequired()" shows the following suspicious uses:
> logging/src/main/java/org/jboss/as/logging/HandlerOperations.java:                        context.restartRequired();
> logging/src/main/java/org/jboss/as/logging/HandlerOperations.java:                            context.restartRequired();
> server/src/main/java/org/jboss/as/server/operations/ServerRestartRequiredHandler.java:        context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/ClientConfigAdd.java:                context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/ClientConfigRemove.java:                context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/EndpointConfigAdd.java:                context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/EndpointConfigRemove.java:                context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/HandlerAdd.java:                        context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/HandlerChainAdd.java:                        context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/HandlerChainRemove.java:                    context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/HandlerRemove.java:                    context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/PropertyAdd.java:                        context.restartRequired();
> webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/PropertyRemove.java:                        context.restartRequired();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list