Bug 559903 - Apache: Error on editing option in apache virtual host
Summary: Apache: Error on editing option in apache virtual host
Keywords:
Status: CLOSED DUPLICATE of bug 559892
Alias: None
Product: RHQ Project
Classification: Other
Component: Configuration
Version: 1.4
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-29 10:18 UTC by Rajan Timaniya
Modified: 2010-02-09 13:25 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-09 13:25:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Rajan Timaniya 2010-01-29 10:18:06 UTC
Description of problem:
If user edits option in apache virtual host, after clicking save button the embedded-agent.log shows an error

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

How reproducible:


Steps to Reproduce:
1) Login to imanage UI
2) Select the apache httpd resource
3) Click on 'Inventory' tab.
4) Create a virtual host (Add option say All while creating new virtual host)
5) Navigate to the 'Configuration' tab of virtual host created.
6) Click on 'Edit' button.
7) Click on 'Edit' button for option.
8) Change the option from 'All' to anything else say 'FollowSymLinks' by 9)selecting from the 'Option' dropdown.
10) Click 'OK' button.
11) Click on 'Save' button.
  
Actual results:
The status display failure and the log displays error which is attached.

Expected results:
User should be able to edit the option in virtual hosts and those should be reflected.

Additional info:
The embedded-agent.log shows following error:

19:03:07,414 ERROR [ConfigurationManager.threadpool-1] (rhq.core.pc.configuration.UpdateResourceConfigurationRunner)- Plugin Error: Exception thrown while updating Resource configuration for Apache Virtual Host Resource with id [10741].
org.rhq.core.pc.inventory.TimeoutException: Call to [org.rhq.plugins.apache.ApacheVirtualHostServiceComponent.updateResourceConfiguration()] with args [[org.rhq.core.pluginapi.configuration.ConfigurationUpdateReport@eda22e]] timed out. Invocation thread will be interrupted
        at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invokeInNewThreadWithLock(ResourceContainer.java:465)
        at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invoke(ResourceContainer.java:434)
        at $Proxy6036.updateResourceConfiguration(Unknown Source)
        at org.rhq.core.pc.configuration.LegacyConfigManagement.executeUpdate(LegacyConfigManagement.java:87)
        at org.rhq.core.pc.configuration.UpdateResourceConfigurationRunner.call(UpdateResourceConfigurationRunner.java:121)
        at org.rhq.core.pc.configuration.UpdateResourceConfigurationRunner.run(UpdateResourceConfigurationRunner.java:109)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Comment 1 Rajan Timaniya 2010-02-09 13:25:08 UTC
Duplicate of bug# 559892
https://bugzilla.redhat.com/show_bug.cgi?id=559892

*** This bug has been marked as a duplicate of bug 559892 ***


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