[JBoss JIRA] (WFCORE-3735) Axis jar not working in WildFly 11
by J Prasanna Venkatesan (JIRA)
J Prasanna Venkatesan created WFCORE-3735:
---------------------------------------------
Summary: Axis jar not working in WildFly 11
Key: WFCORE-3735
URL: https://issues.jboss.org/browse/WFCORE-3735
Project: WildFly Core
Issue Type: Bug
Reporter: J Prasanna Venkatesan
Priority: Critical
Hi,
We have application which uses another application's webservice. It was working till WildFly 10.
But in WildFly 11, it is not working. It is throwing
2018-04-10 15:02:47,494 ERROR [io.undertow.request] (default task-7) UT005023: Exception handling request to /authenticationManager/: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.ClientSoapStubFactory.createSoapStub(ClientSoapStubFactory.java:107)
at deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.ClientSoapStubFactory.getSoapStub(ClientSoapStubFactory.java:60)
at deployment.authenticationManager.war//etc.TeamForgeImpl.setHostUrl(TeamForgeImpl.java:73)
at deployment.authenticationManager.war//filters.CtfAuthFilterImpl.filter(CtfAuthFilterImpl.java:54)
at deployment.authenticationManager.war//ninja.FilterChainImpl.next(FilterChainImpl.java:35)
at deployment.authenticationManager.war//ninja.NinjaImpl.invoke(NinjaImpl.java:97)
at deployment.authenticationManager.war//ninja.servlet.NinjaServletDispatcher.service(NinjaServletDispatcher.java:83)
at deployment.authenticationManager.war//com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
at deployment.authenticationManager.war//com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
at deployment.authenticationManager.war//com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
at deployment.authenticationManager.war//com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
at deployment.authenticationManager.war//filters.DemoServletFilter.doFilter(DemoServletFilter.java:43)
at deployment.authenticationManager.war//com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at deployment.authenticationManager.war//com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at deployment.authenticationManager.war//com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at deployment.authenticationManager.war//com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
at io.undertow.servlet//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet//io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at org.wildfly.extension.undertow//org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.core//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.core//io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet//io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.core//io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at io.undertow.core//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
at io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
at io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
at io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
at io.undertow.servlet//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at org.wildfly.extension.undertow//org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
at org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
at io.undertow.core//io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
at io.undertow.core//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [java.base:]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [java.base:]
at java.base/java.lang.Thread.run(Unknown Source) [java.base:]
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java.base:]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [java.base:]
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [java.base:]
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) [java.base:]
at deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.ClientSoapStubFactory.createSoapStub(ClientSoapStubFactory.java:97)
... 54 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis.client.AxisClient
at deployment.authenticationManager.war//org.apache.axis.client.Service.getAxisClient(Service.java:104)
at deployment.authenticationManager.war//org.apache.axis.client.Service.<init>(Service.java:113)
at deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.ClientSoapStub.<init>(ClientSoapStub.java:50)
at deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.cemain.CollabNetSoapStub.<init>(CollabNetSoapStub.java:21)
... 59 more
Please throw some light here.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3734) [Coverity] Operation - Potential Resource Leak
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3734?page=com.atlassian.jira.plugi... ]
Martin Choma updated WFCORE-3734:
---------------------------------
Description:
Closeable Operation is not closed in:
* {code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
* {code:java|title=AffectedDeploymentOverlay.java}
final ModelNode slave = opBuilder.build().getOperation();
{code}
was:
Closeable Operation is not closed in:
* {code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
* {code:java|title=AffectedDeploymentOverlay.java}
final ModelNode slave = opBuilder.build().getOperation();
{code}
http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> [Coverity] Operation - Potential Resource Leak
> -----------------------------------------------
>
> Key: WFCORE-3734
> URL: https://issues.jboss.org/browse/WFCORE-3734
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Martin Choma
> Assignee: Brian Stansberry
> Priority: Critical
>
> Closeable Operation is not closed in:
> * {code:java|title=ModelControllerClientFactoryImpl.java}
> private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
> final OperationAttachments attachments, boolean inVmCall) {
> Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
> attachments.isAutoCloseStreams());
> if (inVmCall) {
> return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
> } else {
> return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
> }
> }
> {code}
> * {code:java|title=AffectedDeploymentOverlay.java}
> final ModelNode slave = opBuilder.build().getOperation();
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3734) [Coverity] Operation - Potential Resource Leak
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3734?page=com.atlassian.jira.plugi... ]
Martin Choma updated WFCORE-3734:
---------------------------------
Summary: [Coverity] Operation - Potential Resource Leak (was: [Coverity] Potential Resource Leak )
> [Coverity] Operation - Potential Resource Leak
> -----------------------------------------------
>
> Key: WFCORE-3734
> URL: https://issues.jboss.org/browse/WFCORE-3734
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Martin Choma
> Assignee: Brian Stansberry
> Priority: Critical
>
> Closeable Operation is not closed in:
> * {code:java|title=ModelControllerClientFactoryImpl.java}
> private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
> final OperationAttachments attachments, boolean inVmCall) {
> Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
> attachments.isAutoCloseStreams());
> if (inVmCall) {
> return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
> } else {
> return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
> }
> }
> {code}
> http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> * {code:java|title=AffectedDeploymentOverlay.java}
> final ModelNode slave = opBuilder.build().getOperation();
> {code}
> http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2458) [Stunner] Error while removing connected decision
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2458?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-2458:
-----------------------------------
Summary: [Stunner] Error while removing connected decision (was: [DMN Designer] Error while removing connected decision)
> [Stunner] Error while removing connected decision
> -------------------------------------------------
>
> Key: DROOLS-2458
> URL: https://issues.jboss.org/browse/DROOLS-2458
> Project: Drools
> Issue Type: Bug
> Components: Stunner
> Affects Versions: 7.8.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Critical
> Labels: Stunner
> Fix For: 7.8.0.Final
>
> Attachments: Screenshot from 2018-04-06 14-41-28.png, Screenshot from 2018-04-06 14-42-45.png
>
>
> If there are connected decisions, user is unable to delete them. Issue was found during JBPM-6777 review, however probably there is no relation.
> h2. Acceptance test
> Prepare DRG diagram with all combinations of connections, be sure all node types used, try to delete each node type in situation it is either source or target of connection.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2458) [DMN Designer] Error while removing connected decision
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2458?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-2458:
-----------------------------------
Sprint: 2018 Week 15-16
> [DMN Designer] Error while removing connected decision
> ------------------------------------------------------
>
> Key: DROOLS-2458
> URL: https://issues.jboss.org/browse/DROOLS-2458
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.8.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Critical
> Labels: Stunner
> Fix For: 7.8.0.Final
>
> Attachments: Screenshot from 2018-04-06 14-41-28.png, Screenshot from 2018-04-06 14-42-45.png
>
>
> If there are connected decisions, user is unable to delete them. Issue was found during JBPM-6777 review, however probably there is no relation.
> h2. Acceptance test
> Prepare DRG diagram with all combinations of connections, be sure all node types used, try to delete each node type in situation it is either source or target of connection.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2458) [DMN Designer] Error while removing connected decision
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2458?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-2458:
-----------------------------------
Component/s: Stunner
(was: DMN Editor)
> [DMN Designer] Error while removing connected decision
> ------------------------------------------------------
>
> Key: DROOLS-2458
> URL: https://issues.jboss.org/browse/DROOLS-2458
> Project: Drools
> Issue Type: Bug
> Components: Stunner
> Affects Versions: 7.8.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Critical
> Labels: Stunner
> Fix For: 7.8.0.Final
>
> Attachments: Screenshot from 2018-04-06 14-41-28.png, Screenshot from 2018-04-06 14-42-45.png
>
>
> If there are connected decisions, user is unable to delete them. Issue was found during JBPM-6777 review, however probably there is no relation.
> h2. Acceptance test
> Prepare DRG diagram with all combinations of connections, be sure all node types used, try to delete each node type in situation it is either source or target of connection.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2458) [DMN Designer] Error while removing connected decision
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2458?page=com.atlassian.jira.plugi... ]
Michael Anstis reassigned DROOLS-2458:
--------------------------------------
Assignee: Michael Anstis (was: Roger Martínez)
> [DMN Designer] Error while removing connected decision
> ------------------------------------------------------
>
> Key: DROOLS-2458
> URL: https://issues.jboss.org/browse/DROOLS-2458
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.8.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Critical
> Labels: Stunner
> Fix For: 7.8.0.Final
>
> Attachments: Screenshot from 2018-04-06 14-41-28.png, Screenshot from 2018-04-06 14-42-45.png
>
>
> If there are connected decisions, user is unable to delete them. Issue was found during JBPM-6777 review, however probably there is no relation.
> h2. Acceptance test
> Prepare DRG diagram with all combinations of connections, be sure all node types used, try to delete each node type in situation it is either source or target of connection.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3734) [Coverity] Potential Resource Leak
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3734?page=com.atlassian.jira.plugi... ]
Martin Choma updated WFCORE-3734:
---------------------------------
Description:
Closeable Operation is not closed in:
* {code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
* {code:java|title=AffectedDeploymentOverlay.java}
final ModelNode slave = opBuilder.build().getOperation();
{code}
http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
was:
Closeable Operation is not closed in:
* [1]
{code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
* [2]
{code:java|title=AffectedDeploymentOverlay.java}
final ModelNode slave = opBuilder.build().getOperation();
{code}
[1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
[2] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> [Coverity] Potential Resource Leak
> -----------------------------------
>
> Key: WFCORE-3734
> URL: https://issues.jboss.org/browse/WFCORE-3734
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Martin Choma
> Assignee: Brian Stansberry
> Priority: Critical
>
> Closeable Operation is not closed in:
> * {code:java|title=ModelControllerClientFactoryImpl.java}
> private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
> final OperationAttachments attachments, boolean inVmCall) {
> Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
> attachments.isAutoCloseStreams());
> if (inVmCall) {
> return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
> } else {
> return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
> }
> }
> {code}
> http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> * {code:java|title=AffectedDeploymentOverlay.java}
> final ModelNode slave = opBuilder.build().getOperation();
> {code}
> http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3734) [Coverity] Potential Resource Leak
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3734?page=com.atlassian.jira.plugi... ]
Martin Choma updated WFCORE-3734:
---------------------------------
Description:
Closeable Operation is not closed in:
* {code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
* {code:java|title=AffectedDeploymentOverlay.java}
final ModelNode slave = opBuilder.build().getOperation();
{code}
http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
was:
Closeable Operation is not closed in:
* {code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
* {code:java|title=AffectedDeploymentOverlay.java}
final ModelNode slave = opBuilder.build().getOperation();
{code}
http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> [Coverity] Potential Resource Leak
> -----------------------------------
>
> Key: WFCORE-3734
> URL: https://issues.jboss.org/browse/WFCORE-3734
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Martin Choma
> Assignee: Brian Stansberry
> Priority: Critical
>
> Closeable Operation is not closed in:
> * {code:java|title=ModelControllerClientFactoryImpl.java}
> private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
> final OperationAttachments attachments, boolean inVmCall) {
> Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
> attachments.isAutoCloseStreams());
> if (inVmCall) {
> return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
> } else {
> return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
> }
> }
> {code}
> http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> * {code:java|title=AffectedDeploymentOverlay.java}
> final ModelNode slave = opBuilder.build().getOperation();
> {code}
> http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3734) [Coverity] Potential Resource Leak
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3734?page=com.atlassian.jira.plugi... ]
Martin Choma updated WFCORE-3734:
---------------------------------
Description:
Closeable Operation is not closed in:
* [1]
{code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
* [2]
{code:java|title=AffectedDeploymentOverlay.java}
final ModelNode slave = opBuilder.build().getOperation();
{code}
[1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
[2] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
was:
[1] Closeable Operation is not closed in
{code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
[2] Closeable Operation is not closed in
{code}
[1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
[2] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> [Coverity] Potential Resource Leak
> -----------------------------------
>
> Key: WFCORE-3734
> URL: https://issues.jboss.org/browse/WFCORE-3734
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Martin Choma
> Assignee: Brian Stansberry
> Priority: Critical
>
> Closeable Operation is not closed in:
> * [1]
> {code:java|title=ModelControllerClientFactoryImpl.java}
> private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
> final OperationAttachments attachments, boolean inVmCall) {
> Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
> attachments.isAutoCloseStreams());
> if (inVmCall) {
> return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
> } else {
> return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
> }
> }
> {code}
> * [2]
> {code:java|title=AffectedDeploymentOverlay.java}
> final ModelNode slave = opBuilder.build().getOperation();
> {code}
> [1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> [2] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months