Bug 1160782

Summary: wildfly-cp creates incorrect bin/standalone.sh
Product: [Fedora] Fedora Reporter: Karl Nicholas <karl.nicholas>
Component: wildflyAssignee: Marek Goldmann <mgoldman>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: aaraodeo, mgoldman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-30 01:11:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1181081    
Bug Blocks:    

Description Karl Nicholas 2014-11-05 15:35:37 UTC
The contents of wildfly/bin after using wildfly-cp script are as follows:

#!/bin/sh

JBOSS_BASE_DIR=. /usr/share/jboss-as/bin/standalone.sh -c standalone.xml


There is no jboss on my machine, so the script doesn't run.

Comment 1 Karl Nicholas 2014-11-05 15:46:35 UTC
After editing the standalone.sh file to use wildfly instead of jboss I get the following error: The logging.properties files is owner wildfly and permissions rw------.

Unable to read the logging configuration from 'file:/usr/share/wildfly/standalone/configuration/logging.properties' (java.io.FileNotFoundException: /usr/share/wildfly/standalone/configuration/logging.properties (Permission denied))

Comment 2 aaraodeo 2015-01-18 17:50:03 UTC
I am facing the same issue on latest Fedora 20 X86_64 3.17.8-200. I had installed wildfly-8.1.0-3.fc20.noarch.rpm.

From /usr/share/wildfly/bin folder i issued the following command as root user:

wildfly-cp -l /home/admin/wildfly-cp

The o/p if as follows:
cp: cannot stat ‘/usr/share/jboss-as/docs/examples/configs/standalone.xml’: No such file or directory
cp: cannot stat ‘/usr/share/jboss-as/docs/examples/properties/logging.properties’: No such file or directory
cp: cannot stat ‘/usr/share/jboss-as/docs/examples/properties/mgmt-users.properties’: No such file or directory
chmod: cannot access ‘/home/admin/wildfly-cp/configuration/mgmt-users.properties’: No such file or directory
Directory /home/admin/wildfly-cp is prepared to launch WildFly AS!

You can now boot your instance: /home/admin/wildfly-cp/bin/standalone.sh

As mentioned by Karl the standalone.sh point to following path which does not exists:
/usr/share/jboss-as/bin/standalone.sh


wildfly-cp seems to be broken at multiple places.

Comment 3 Marek Goldmann 2015-01-18 19:10:08 UTC
I'll fix it as part of the upgrade to 8.2.0.Final.

Comment 4 aaraodeo 2015-05-11 12:05:31 UTC
Will we get 8.2.0 update on Fedora 20?

Comment 5 Marek Goldmann 2015-05-11 13:07:48 UTC
No, it seems that Fedora 20 will not get the update, I don't have time to backport all the required changes.

Comment 6 Fedora End Of Life 2015-05-29 13:13:34 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2015-06-30 01:11:44 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.