[JBoss JIRA] (RTGOV-412) RTGov client installation failing due to missing idp
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/RTGOV-412?page=com.atlassian.jira.plugin.... ]
Eric Wittmann commented on RTGOV-412:
-------------------------------------
The overlord-commons installer has not changed. The installer attempts to download all the resources it needs if they aren't found in the distro. Is the IDP not available in the rtgov distro?
If the distro is a SNAPSHOT version, then the overlord-commons downloads will likely all fail because -SNAPSHOT versions aren't available directly from Nexus. Instead, there are specific timestamped versions available.
That said, the distro that includes the overlord-commons installer should try to include all resources it might need to install, which includes the IDP and a handful of overlord commons JARs. See the s-ramp distro for an example of including everything needed.
Is there a distro for rtgov that *only* includes the client? If so I will need to modify the overlord commons installer slightly so that it does not try to download the IDP unless it really thinks it needs it. This is trivial to do.
> RTGov client installation failing due to missing idp
> ----------------------------------------------------
>
> Key: RTGOV-412
> URL: https://issues.jboss.org/browse/RTGOV-412
> Project: RTGov (Run Time Governance)
> Issue Type: Bug
> Reporter: Gary Brown
> Assignee: Eric Wittmann
> Fix For: 2.0.0.M1
>
>
> When installing the rtgov client (using "mvn install -Dtype=client" from the root folder of the distribution after setting JBOSS_HOME to point to the EAP installation), it complains about not finding the overlord commons IDP - however for the client configuration, I don't believe it should be using the IDP, so wondering whether the overlord-commons installer has changed in some way?
> The error is:
> {noformat}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.186s
> [INFO] Finished at: Wed Mar 26 11:03:08 GMT 2014
> [INFO] Final Memory: 15M/490M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (install) on project install: An Ant BuildException has occured: The following error occurred while executing this line:
> [ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/build.xml:22: The following error occurred while executing this line:
> [ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/build.xml:50: The following error occurred while executing this line:
> [ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/scripts/jboss-eap-6.1.xml:41: The following error occurred while executing this line:
> [ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/scripts/jboss-eap-6.1.xml:50: The following error occurred while executing this line:
> [ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/scripts/jboss-eap-6.1.xml:317: java.io.FileNotFoundException: /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/overlord-commons-idp.war (No such file or directory)
> [ERROR] around Ant part ...<ant antfile="profiles/client/build.xml" target="deploy">... @ 6:60 in /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/target/antrun/build-main.xml
> [ERROR] -> [Help 1]
> {noformat}
--
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
10 years, 9 months
[JBoss JIRA] (RTGOV-412) RTGov client installation failing due to missing idp
by Gary Brown (JIRA)
Gary Brown created RTGOV-412:
--------------------------------
Summary: RTGov client installation failing due to missing idp
Key: RTGOV-412
URL: https://issues.jboss.org/browse/RTGOV-412
Project: RTGov (Run Time Governance)
Issue Type: Bug
Reporter: Gary Brown
Assignee: Eric Wittmann
Fix For: 2.0.0.M1
When installing the rtgov client (using "mvn install -Dtype=client" from the root folder of the distribution after setting JBOSS_HOME to point to the EAP installation), it complains about not finding the overlord commons IDP - however for the client configuration, I don't believe it should be using the IDP, so wondering whether the overlord-commons installer has changed in some way?
The error is:
{noformat}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.186s
[INFO] Finished at: Wed Mar 26 11:03:08 GMT 2014
[INFO] Final Memory: 15M/490M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (install) on project install: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/build.xml:22: The following error occurred while executing this line:
[ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/build.xml:50: The following error occurred while executing this line:
[ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/scripts/jboss-eap-6.1.xml:41: The following error occurred while executing this line:
[ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/scripts/jboss-eap-6.1.xml:50: The following error occurred while executing this line:
[ERROR] /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/scripts/jboss-eap-6.1.xml:317: java.io.FileNotFoundException: /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/profiles/client/overlord-commons/overlord-commons-idp.war (No such file or directory)
[ERROR] around Ant part ...<ant antfile="profiles/client/build.xml" target="deploy">... @ 6:60 in /home/gbrown/repositories/overlord/objectiser/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/target/antrun/build-main.xml
[ERROR] -> [Help 1]
{noformat}
--
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
10 years, 9 months
[JBoss JIRA] (RTGOV-411) Timestamped version of overlord-commons-config being included in rtgov EAP module
by Gary Brown (JIRA)
[ https://issues.jboss.org/browse/RTGOV-411?page=com.atlassian.jira.plugin.... ]
Gary Brown commented on RTGOV-411:
----------------------------------
Looks like there is a mismatch between the actual retrieved artifact (timestamped) and the one that gets recorded in the module.xml using the filter.
Workaround solution is to build overlord-commons locally. Longer term solution:
1) Only use non-snapshot version for overlord-commons - not ideal
2) Don't include the version in the artifacts stored within the module
3) Get rid of the module
(3) is potentially an option, as over time it has become a bit redundant. All other deployed artifacts actually reference overlord-rtgov.war, and only this war references the org.overlord.rtgov module. Placing all of the artifacts into the war will also make supporting domain mode easier.
> Timestamped version of overlord-commons-config being included in rtgov EAP module
> ---------------------------------------------------------------------------------
>
> Key: RTGOV-411
> URL: https://issues.jboss.org/browse/RTGOV-411
> Project: RTGov (Run Time Governance)
> Issue Type: Bug
> Reporter: Eric Wittmann
> Assignee: Gary Brown
> Attachments: testout.log.zip
>
>
> Reported by "imckinle" - after building rtgov from master, the rtgov EAP module included a timestamped version of the overlord-commons-config JAR rather than the -SNAPSHOT version. This resulted in a parse error in the module.xml.
> http://pastebin.test.redhat.com/199474
> http://pastebin.test.redhat.com/199477
--
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
10 years, 9 months
[JBoss JIRA] (RTGOV-411) Timestamped version of overlord-commons-config being included in rtgov EAP module
by ivan mckinley (JIRA)
[ https://issues.jboss.org/browse/RTGOV-411?page=com.atlassian.jira.plugin.... ]
ivan mckinley commented on RTGOV-411:
-------------------------------------
debug output of mvn clean build that shows where the time stamp is set.
rtgov imckinle$ grep 20140324.184906 testout.log
[INFO] Deleting file /Users/imckinle/jboss/Overlord/rtgov/release/jbossas/war-server/target/overlord-rtgov/WEB-INF/lib/overlord-commons-config-2.0.1-20140324.184906-3.jar
[DEBUG] Processing: overlord-commons-config-2.0.1-20140324.184906-3.jar
[DEBUG] + WEB-INF/lib/overlord-commons-config-2.0.1-20140324.184906-3.jar has been copied.
[DEBUG] adding entry WEB-INF/lib/overlord-commons-config-2.0.1-20140324.184906-3.jar
[INFO] Deleting file /Users/imckinle/jboss/Overlord/rtgov/release/jbossas/war-client/target/overlord-rtgov-client/WEB-INF/lib/overlord-commons-config-2.0.1-20140324.184906-3.jar
[DEBUG] Processing: overlord-commons-config-2.0.1-20140324.184906-3.jar
[DEBUG] + WEB-INF/lib/overlord-commons-config-2.0.1-20140324.184906-3.jar has been copied.
[DEBUG] adding entry WEB-INF/lib/overlord-commons-config-2.0.1-20140324.184906-3.jar
[DEBUG] org.overlord:overlord-commons-config:jar:2.0.1-SNAPSHOT:compile (removed - nearer found: 2.0.1-20140324.184906-3)
[DEBUG] Adding artifact: org.overlord:overlord-commons-config:jar:2.0.1-SNAPSHOT with file: /Users/imckinle/.m2/repository/org/overlord/overlord-commons-config/2.0.1-SNAPSHOT/overlord-commons-config-2.0.1-SNAPSHOT.jar to assembly location: org/overlord/rtgov/main/overlord-commons-config-2.0.1-20140324.184906-3.jar.
[DEBUG] Adding file: /Users/imckinle/.m2/repository/org/overlord/overlord-commons-config/2.0.1-SNAPSHOT/overlord-commons-config-2.0.1-SNAPSHOT.jar to archive location: org/overlord/rtgov/main/overlord-commons-config-2.0.1-20140324.184906-3.jar
[DEBUG] adding entry org/overlord/rtgov/main/overlord-commons-config-2.0.1-20140324.184906-3.jar
[INFO] Deleting file /Users/imckinle/jboss/Overlord/rtgov/release/jbossas/distribution/target/overlord-rtgov-jbossas-2.0.0-SNAPSHOT/modules/rtgov/org/overlord/rtgov/main/overlord-commons-config-2.0.1-20140324.184906-3.jar
[DEBUG] adding entry overlord-rtgov-jbossas-2.0.0-SNAPSHOT/modules/rtgov/org/overlord/rtgov/main/overlord-commons-config-2.0.1-20140324.184906-3.jar
> Timestamped version of overlord-commons-config being included in rtgov EAP module
> ---------------------------------------------------------------------------------
>
> Key: RTGOV-411
> URL: https://issues.jboss.org/browse/RTGOV-411
> Project: RTGov (Run Time Governance)
> Issue Type: Bug
> Reporter: Eric Wittmann
> Assignee: Gary Brown
>
> Reported by "imckinle" - after building rtgov from master, the rtgov EAP module included a timestamped version of the overlord-commons-config JAR rather than the -SNAPSHOT version. This resulted in a parse error in the module.xml.
> http://pastebin.test.redhat.com/199474
> http://pastebin.test.redhat.com/199477
--
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
10 years, 9 months