[JBoss JIRA] (WFLY-10221) Hot deployment causes cascading redeployment of dependent artfacts when using jboss-all.xml configuration files
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFLY-10221?page=com.atlassian.jira.plugin... ]
Brian Stansberry resolved WFLY-10221.
-------------------------------------
Assignee: Brian Stansberry (was: Jason Greene)
Resolution: Won't Fix
> Hot deployment causes cascading redeployment of dependent artfacts when using jboss-all.xml configuration files
> ---------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10221
> URL: https://issues.jboss.org/browse/WFLY-10221
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.Final
> Reporter: John Doe
> Assignee: Brian Stansberry
> Priority: Minor
>
> Let's assume I have 2 files _app.ear_ and _framework.ear_ deployed in WildFly 11.
> _framework.ear_ needs to be deployed before _app.ear_ which is expressed by the _jboss-all.xml_ file contained in the app.ear/META-INF folder:
> {code:java}
> <jboss umlns="urn:jboss:1.0">
> <jboss-deployment-dependencies xmlns="urn:jboss:deployment-dependencies:1.0">
> <dependency name="framework.ear" />
> </jboss-deployment-dependencies>
> </jboss>
> {code}
> Now something changes in _framework.ear_ and a redeployment of _framework.ear_ becomes necessary.
> _app.ear_ does get redeployed, too, immediately after a hot deployment of _framework.ear_ has been carried out.
> *Observations:* After the redeployment of _framework.ear_ a new _framework.ear.deployed_ marker gets created, but same does not hold for _app.ear.deployed_.
> In fact no new _app.ear.deployed_ gets created at all (same timestamp for this file as before) despite a redeployment takes place.
> Nevertheless, in the console I see a redeployment for the dependent _app.ear_ occurs.
> Extending the example above, this is time consuming when you have a couple of additional dependencies cascading through.
> I don't understand why this happens because _app.ear_ did not change.
> My expectation is that only a redeployment of _framework.ear_ will take place. In my opinion there is no reason to redeploy _app.ear_, too.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (WFCORE-3866) CLI pom has an unneeded dependency on MSC, causing MSC to get included in the shaded jboss-cli-client.jar
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3866?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-3866:
-------------------------------------
Description:
The cli/pom.xml has this in the "dependencies" section:
{code}
<!-- added here as it is dep of embedded and needs to be included in shaded jar-->
<dependency>
<groupId>org.jboss.msc</groupId>
<artifactId>jboss-msc</artifactId>
</dependency>
{code}
But that's out of date. The analysis for WFCORE-3765 showed that any need for MSC is only on the "embedded server" side, loaded by JBoss Modules, and is not on the embedding app side, needed on the classpath. There used to be use of MSC on the embedding app side but that was removed long ago.
Fixing this will reduce the size of the jboss-cli-client.jar.
was:
The cli/pom.xml has this in the "dependencies" section:
{code}
<!-- added here as it is dep of embedded and needs to be included in shaded jar-->
<dependency>
<groupId>org.jboss.msc</groupId>
<artifactId>jboss-msc</artifactId>
</dependency>
{code}
But that's out of date. The analysis for WFCORE3765 showed that any need for MSC is only on the "embedded server" side, loaded by JBoss Modules, and is not on the embedding app side, needed on the classpath. There used to be use of MSC on the embedding app side but that was removed long ago.
Fixing this will reduce the size of the jboss-cli-client.jar.
> CLI pom has an unneeded dependency on MSC, causing MSC to get included in the shaded jboss-cli-client.jar
> ----------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3866
> URL: https://issues.jboss.org/browse/WFCORE-3866
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Priority: Minor
> Fix For: 6.0.0.Alpha1
>
>
> The cli/pom.xml has this in the "dependencies" section:
> {code}
> <!-- added here as it is dep of embedded and needs to be included in shaded jar-->
> <dependency>
> <groupId>org.jboss.msc</groupId>
> <artifactId>jboss-msc</artifactId>
> </dependency>
> {code}
> But that's out of date. The analysis for WFCORE-3765 showed that any need for MSC is only on the "embedded server" side, loaded by JBoss Modules, and is not on the embedding app side, needed on the classpath. There used to be use of MSC on the embedding app side but that was removed long ago.
> Fixing this will reduce the size of the jboss-cli-client.jar.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (WFCORE-3866) CLI pom has an unneeded dependency on MSC, causing MSC to get included in the shaded jboss-cli-client.jar
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-3866:
----------------------------------------
Summary: CLI pom has an unneeded dependency on MSC, causing MSC to get included in the shaded jboss-cli-client.jar
Key: WFCORE-3866
URL: https://issues.jboss.org/browse/WFCORE-3866
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
Fix For: 6.0.0.Alpha1
The cli/pom.xml has this in the "dependencies" section:
{code}
<!-- added here as it is dep of embedded and needs to be included in shaded jar-->
<dependency>
<groupId>org.jboss.msc</groupId>
<artifactId>jboss-msc</artifactId>
</dependency>
{code}
But that's out of date. The analysis for WFCORE3765 showed that any need for MSC is only on the "embedded server" side, loaded by JBoss Modules, and is not on the embedding app side, needed on the classpath. There used to be use of MSC on the embedding app side but that was removed long ago.
Fixing this will reduce the size of the jboss-cli-client.jar.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (DROOLS-2569) [DMN Designer] Marshalling of magnet positions
by Roger Martínez (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2569?page=com.atlassian.jira.plugi... ]
Roger Martínez commented on DROOLS-2569:
----------------------------------------
Hey [~tari_manga] [~manstis]
IIRC once you save a diagam, the locations for the magnets that are being stored are the relative locations respect the shape. So once you load the diagram, it obtain the relative location for the connection, and then it "detects" which is the magnet to use that is nearest to those coordinates (location) - this job is done in the _SetCanvasConnectionCommand_.
So the way it uses a certain magnet index it's by comparing the location (given from the xml file, which is also in the Edge domain object) against each of the magnets of the shape.
Does that help?
> [DMN Designer] Marshalling of magnet positions
> ----------------------------------------------
>
> Key: DROOLS-2569
> URL: https://issues.jboss.org/browse/DROOLS-2569
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Michael Anstis
> Assignee: Matteo Mortari
>
> When attaching connectors to different magnets (other than "centre") re-opening a DMN diagram resets connections to the "centre" magnet. IDK if this is an issue with writing magnet positions to the XML or recreating the connections from the XML.
> [~tari_manga] could you please liaise with [~roger600] to understand where the issue is?
> h2. PR Acceptance test
> In DMN Designer, change magnet position in:
> - Source node
> -- BKM, BKS, Decision, Input
> - Target node
> -- BKM, BKS, Decision, Annotation
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (DROOLS-2569) [DMN Designer] Marshalling of magnet positions
by Roger Martínez (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2569?page=com.atlassian.jira.plugi... ]
Roger Martínez edited comment on DROOLS-2569 at 5/21/18 3:05 PM:
-----------------------------------------------------------------
Hey [~tari_manga] [~manstis]
IIRC once you save a diagram, the locations for the magnets that are being stored are the relative locations respect the shape. So once you load the diagram, it obtain the relative location for the connection, and then it "detects" which is the magnet to use that is nearest to those coordinates (location) - this job is done in the _SetCanvasConnectionCommand_.
So the way it uses a certain magnet index it's by comparing the location (given from the xml file, which is also in the Edge domain object) against each of the magnets of the shape.
Does that help?
was (Author: roger600):
Hey [~tari_manga] [~manstis]
IIRC once you save a diagam, the locations for the magnets that are being stored are the relative locations respect the shape. So once you load the diagram, it obtain the relative location for the connection, and then it "detects" which is the magnet to use that is nearest to those coordinates (location) - this job is done in the _SetCanvasConnectionCommand_.
So the way it uses a certain magnet index it's by comparing the location (given from the xml file, which is also in the Edge domain object) against each of the magnets of the shape.
Does that help?
> [DMN Designer] Marshalling of magnet positions
> ----------------------------------------------
>
> Key: DROOLS-2569
> URL: https://issues.jboss.org/browse/DROOLS-2569
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Michael Anstis
> Assignee: Matteo Mortari
>
> When attaching connectors to different magnets (other than "centre") re-opening a DMN diagram resets connections to the "centre" magnet. IDK if this is an issue with writing magnet positions to the XML or recreating the connections from the XML.
> [~tari_manga] could you please liaise with [~roger600] to understand where the issue is?
> h2. PR Acceptance test
> In DMN Designer, change magnet position in:
> - Source node
> -- BKM, BKS, Decision, Input
> - Target node
> -- BKM, BKS, Decision, Annotation
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month