History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-625
Type: Bug Bug
Status: Integrated Integrated
Resolution: Fixed
Priority: Minor Minor
Assignee: Heiko W. Rupp
Reporter: Jay Shaughnessy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project

Apache plugin ControlScriptPath property not defaulting

Created: 27/Jun/08 10:47 AM   Updated: 15/Dec/08 10:02 AM
Component/s: Plugins
Affects Version/s: 1.0.1
Fix Version/s: None

Time Tracking:
Not Specified

Environment: linux, httpd 2.0.55
Issue Links:
Relation
 

Resolution Date: 28/Nov/08 01:27 PM
Date of First Response: 15/Sep/08 07:41 AM
VCS Revision: 2,131


 Description  « Hide
The Control Script Path property states:

"the path to the Apache control script - if the path is not absolute, it will be resolved relative to the server root directory; if unset, default will be 'bin/apachectl' on UNIX or the Apache executable on Windows"

But, executing an operation requiring the property value results in a failure with:

java.lang.IllegalStateException: Script (/home/test_jon/httpd-2.0.55/bin/apache2ctl) specified via 'controlScriptPath' connection property does not exist.


Workaround : Manually set the property value and update the connection properties.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Heiko W. Rupp - 15/Sep/08 07:41 AM
What exactly was your input here in each of the configuration properties?

Jay Shaughnessy - 25/Sep/08 09:16 AM
I really don't remember exactly. The values for properties other than Control Script Path remained constant. I think the problem occurred when I left the Control Script Path was left empty (taking the default). Now, looking more closely, I may have misinterpreted the problem. It seems perhaps a default was used (well, it says apachectl in the property description but apache2ctl in the exception) but that the script did not exist.

So, perhaps the default is wrong (and should be apachectl as opposed to apache2ctl) or perhaps this isn't a problem. I can say that on jon0x /home/test_jon/httpd-2.0.55/bin does include apachectl and not apache2ctl.

Jay Shaughnessy - 25/Sep/08 09:16 AM
More info added. This should probably be pushed to 1.2 as it is minor.

Jay Shaughnessy - 25/Sep/08 09:17 AM
assigning back