Bug 977805

Summary: Starting JBoss Administration Console from start menu is not working on Solaris
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.1CC: myarboro, tkirby
Target Milestone: DR4   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Due to a gvfs-open issue on Solaris, start menu shortcuts for the Administration Console on Solaris do not work for a JBoss EAP 6 instance that has been installed using the installer. From JBoss EAP 6.4 and onwards, start menu shortcuts for the Administration Console will not be created for JBoss EAP 6 instances that have been installed using the installer on Solaris. The Administration Console can be accessed directly in a web browser. If configured with the default ports, the URLs for the Administration Console are below: For standalone mode: http://localhost:8080/console For domain mode: http://localhost:9990/console
Story Points: ---
Clone Of: Environment:
Solaris
Last Closed: 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:

Description Petr Kremensky 2013-06-25 11:13:35 UTC
Start menu shortcuts for JBoss Administration Console have Exec set to:
standalone  - Exec=xdg-open http://localhost:8080/console
domain      - Exec=xdg-open http://localhost:9990/console
but both commands fail on solaris with "Error showing url: HTTP Error: Method Not Allowed" message, only "xdg-open http://localhost:8080" works for me

Comment 1 Jyoti Tripathi 2013-06-26 15:02:44 UTC
This seems to be a limitation of Solaris. xdg-open is calling gvfs-open as it should, and gvfs-open is reporting those errors. It looks like Solaris has versions of these software that are a few years old. Currently our shortcuts are identical for all unix based systems, but we can separate the Solaris ones if needed. Unfortunately I am not able to find a working alternative command that I know will be installed on our supported versions of Solaris by default. If no alternative exists, we might just have to stop supporting these shortcuts on Solaris.

Comment 2 Scott Mumford 2013-08-29 03:49:53 UTC
Marking for exclusion from the 6.1.1 Release Notes document as an entry for this bug could not be completed or verified in time.

Comment 6 Thomas Hauser 2014-07-04 14:33:32 UTC
Per Jyoti's comment above, this is a fundamental issue with solaris. The only option we have is to not create these shortcuts on solaris. If this is the direction we should go, please let us know by Monday July 7. Thanks!

Comment 7 Petr Kremensky 2014-07-07 07:33:17 UTC
Hi Tom,
since this seems to be the only solutions please go on with the change and exclude the administration shortcuts on Solaris.

Comment 8 Ahmed Abu Lawi 2014-09-26 18:35:39 UTC
Hi Petr,

I've looked into excluding these specific shortcuts for only Solaris but IzPack doesn't allow you to exclude a shortcut based on OS, it only allows you to install a shortcut if a specific pack is also installed.

So at this point unless we add functionality to izpack we may have to exclude shorcuts from Solaris installs to avoid the broken shortcuts.

Comment 9 Petr Kremensky 2014-09-30 06:58:58 UTC
Hi Ahmed,
can you please try to make the fix on izpack if this is possible? If not, we would have to exclude them from Solaris as you said and add this into documentation.

Comment 10 Ahmed Abu Lawi 2014-09-30 18:08:20 UTC
Hi Petr,

I'll see if I can modify the izpack shortcut spec to accept a flag that can be used to prevent a shortcut from being created based on the operating system.

Comment 11 Ahmed Abu Lawi 2014-09-30 21:41:35 UTC
I've modified izpack to accept an attribute in the installers Shortcut Spec. Using this I've disabled the two shortcuts in Solaris.

Comment 12 Petr Kremensky 2014-10-01 05:07:46 UTC
Great, thanks for effort.

Comment 13 Petr Kremensky 2014-10-22 08:44:14 UTC
Verified on EAP 6.4.0.DR4 installer.