Bug 1220818 - Attempt to associate the HTTP content source with repository displays JBWEB000065: HTTP Status 404 error
Summary: Attempt to associate the HTTP content source with repository displays JBWEB00...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Content
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1220816
TreeView+ depends on / blocked
 
Reported: 2015-05-12 14:17 UTC by bkramer
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description bkramer 2015-05-12 14:17:40 UTC
Description of problem:
Attempt to associate the HTTP content source with repository displays JBWEB000065: HTTP Status 404 - /rhq/content/repoAssociations-plain.xhtml

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

How reproducible:
Always

Steps to Reproduce:
1. Install and configure RHQ 4.12
2. From RHQ UI navigate to Administration -> Content Source and press "Create New" button; 
3. Click on HTTP Content Source;
4. Define the content source type in the following way:

       Name: Test
       Root Url: http://test.example.redhat.com (for instance)
       Index File: content-index.txt 

5. Click on "Add New" button to add new Package Type;
6. Configure the following properties:
      
       Resource Type Name: Tomcat Server
       Architecture Name: noarch
       Package Type Name: war 
       Resource Type Plugin Name: Tomcat
       Filename Filer: */.war

7.  Press "OK" button to save above configuration and confirm that Test content source is created.
8.  From Administration -> navigate to Repositories and click on "Create New" button to create new repository;
9.  Name: TestRepo and click on "Save";
10. Click on "TestRepo" link name and click on "Associate..." button in "Content Sources Associated with This Repository" section;
11. Click on the check box next to the "Test" content source in the "Available Content Sources" and press "Associate selected" button;


Actual results: 

The following error is shown:

*****************************
JBWEB000065: HTTP Status 404 - /rhq/content/repoAssociations-plain.xhtml


JBWEB000309: type JBWEB000067: Status report
JBWEB000068: message /rhq/content/repoAssociations-plain.xhtml
JBWEB000069: description JBWEB000124: The requested resource is not available.

JBoss Web/7.4.10.Final-redhat-1
*****************************

However, when navigate again to RHQ UI -> Administration -> Repositories -> TestRepo, Test content source will be associated with the repository!


Expected results:

Test content source is properly associated with the repository but no error is shown.

Additional info:


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