Created attachment 863274 [details] deployment Description of problem: When you create a new EAP6 deployment (Create Child->Deployment) it takes > 7 minutes until the deployment is reported as UP when oracle DB is used. For postgresql it is lest then 2 minutes. I tried it 3 times with similar results. There are no exceptions in RHQ server or agent log. Version-Release number of selected component (if applicable): Version : 4.10.0-SNAPSHOT Build Number : 2dd5c24 How reproducible: Always Steps to Reproduce: 1. set up oracle xe according to RHQ installation manual 2. install and start RHQ + EAP6 standalone 3. deploy attached war (navigate to eap6 resource->Inventory->Create Child->Deployment) 4. wait until the deployment become UP Actual results: It takes more than 7 minutes which is comparing to postgresql ~4 times more Expected results: Similar result like for postgresql Additional info: Agent's Availability scan operation doesn't change status of the deployment, but 'avail -f' does.
This issue is probably not related to Oracle directly. It took > 5 minutes on postgresql as well. After discussion with jkremser and lkrejci following could be a cause: Avail scan scheduled specially for newly created resource is missed and the resource stays in status UNKNOWN until the regular avail scan is launched which could take up to 10 minutes.