Bug 769909 - Whitespaces in jbpm.console.properties causes problems for jBPM console
Summary: Whitespaces in jbpm.console.properties causes problems for jBPM console
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM Console
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: BRMS 5.3.0.GA
Assignee: Kris Verlaenen
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-22 17:16 UTC by Jeff DeLong
Modified: 2021-04-09 12:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)

Description Jeff DeLong 2011-12-22 17:16:32 UTC
Description of problem:

I copied a jbpm.comnsole.properties file from an email and it had whitespaces at the end of each line. This caused the following error in the log when trying to get processes in the jBPM Console:

13:04:26,820 ERROR [GuvnorConnectionUtils] Error checking guvnor existence: no protocol: http ://localhost:8080 /jboss-brms /rest/packages/1

13:04:26,821 WARN  [CommandDelegate] Could not connect to Guvnor.


Notices the spaces in between the URL components. So I went back in the jbpm.console.properties file, removed the white spaces that showed up from the email.

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

Dev6

How reproducible:

Very

Steps to Reproduce:
1. Add a whitespace to the end of a property in the jbpm.console.properties file, e.g. guvnor.protocol=http 
guvnor.host=localhost:8080  
2. Start server.
3. Login in to jBPM Console
  
Actual results:

ERROR [GuvnorConnectionUtils] Error checking guvnor existence: no protocol: http: //localhost:8080 /jboss-brms/rest/packages/1

Expected results:

Successful retrieval of packages from Guvnor.

Additional info:

Comment 1 Tihomir Surdilovic 2011-12-22 17:20:24 UTC
Committed to jbpm 5.2.x branch (https://github.com/droolsjbpm/jbpm/commit/c87452f9ec1d846c516e879738383a0f0e18adbc). Please re-test on next BRMS 5.3 build.

Thanks.

Comment 2 Jiri Locker 2012-01-27 15:22:54 UTC
Verified in ER3.


Note You need to log in before you can comment on or make changes to this bug.