Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 856946

Summary: http://localhost:8080/business-central-server/ displays incorrect information.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Marco Rietveld <mrietvel>
Component: jBPM ConsoleAssignee: Julian Coleman <jcoleman>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: jcoleman
Target Milestone: ER2   
Target Release: BRMS 5.3.1 GA   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When users running JBoss Enterprise BRMS business central, visited http://localhost:8080/business-central-server/ the page displayed incomplete information. The information has been updated and this is no longer an issue.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:20:49 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:
Attachments:
Description Flags
Fixed version of index.html for business central server information none

Description Marco Rietveld 2012-09-13 08:11:45 UTC
Description of problem:

http://localhost:8080/business-central-server/ currently displays the following: 

GWT Console Server
Published URL's
You can find a list of jBPM resources here.
Example usage

   curl -u "user:password" -H 'Accept: application/json' http://localhost:8080/gwt-console-server/rs/process/definitions
   curl -H 'Accept: application/json' http://localhost:8080/gwt-console-server/rs/process/definition/1/instances

Problems?
Please post any questions to the gwt-console developer forum. 

Version-Release number of selected component (if applicable):

5.3.0.GA

How reproducible:

Always. 

Steps to Reproduce:
1. Start server. 
2. Go to http://localhost:8080/business-central-server/
3. Read page. 
  
Actual results:

1. Page displays the following: 

"GWT Console Server"

2. Page says that console is accessible via basic authentication. However, this is not true, see https://community.jboss.org/thread/166105

Expected results:

1. Page should display "BRMS central server" or somesuch? 

2. Page should redirect to form based authentication or explain that. 

Additional info:

Comment 1 Marco Rietveld 2012-09-13 08:12:50 UTC
Thanks to fhornain for pointing this out!

Comment 2 Maciej Swiderski 2012-09-25 16:35:15 UTC
would following content be acceptable:
================================================================================
BPM Console Server

Published URL's

You can find a list of RiftSaw resources here, and a list of jBPM resources here.
Example usage (this is an example for jBPM, replace the gwt-console-server as bpel-console-server for RiftSaw project)

   curl -c cookies http://localhost:8080/gwt-console-server/rs/process/definitions > /dev/null 2>&1
   curl -b cookies -L -d "j_username=[USER]&j_password=[PASSWORD]" http://localhost:8080/gwt-console-server/j_security_check --referer http://localhost:8080
   curl -b cookies http://localhost:8080/gwt-console-server/rs/process/definition/com.sample.evaluation/instances
   
Since BPM console uses form based authentication user needs to first authenticate.So first command will issue request to protected 
resource and collect a cookie, which will be stored in base directory as 'cookies' file. Second command will issue request to authentication mechanism 
providing user and password (note [USER] and [PASSWORD] must be replaced with real user and password). As response of this request data requested with
first request will be returned. Third (and all subsequent requests) will collect data directly by using authenticated user and its cookie. 

Problems?

Please post any questions to the gwt-console developer forum.

================================================================================

Comment 3 Eric D. Schabell 2012-09-26 08:49:19 UTC
Created attachment 617462 [details]
Fixed version of index.html for business central server information

This file can be used to replace the existing:

business-central-server.war/index.html

Updates all gwt links to use business-central-server.

Comment 4 Julian Coleman 2012-09-28 16:11:39 UTC
Resolved with revision 11533 of:

  brms-p/src/main/patches/jbpm/patch_jbpm_gwt_console_server.xml
  brms-p/src/main/resources/jbpm/bsc-index.html

Commit message:

  BZ-856946 
  Add a BRMS Central Server index.html.
  Based on ideas from Maciej Swiderski and Eric D. Schabell.

Comment 5 Lukáš Petrovický 2012-10-16 08:28:54 UTC
VERIFIED in ER3 that the index file for business-central-server now contains all the proper information.

Comment 13 Red Hat Bugzilla 2025-02-10 03:20:49 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.