| Summary: | ResourceChangeJob blocks save operation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Dimitar Giormov <dimitar.giormov> | ||||
| Component: | wst.server | Assignee: | wst.server <wst.server-inbox> | ||||
| Status: | NEW --- | QA Contact: | Elson Yuen <eyuen7> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | naci.dai, vladimir.pavlov | ||||
| Version: | 3.3 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dimitar Giormov
Created attachment 204269 [details]
remove the source rules and optimize job search
Now I will explain a bit about my research on the topic.
After some time in code browsing I could not find the reason why the resource is blocked during the ResourceChangeJob, the resource is used only for the check that if an already published resource is changed the flag should be updated to republish. So basically only the project is required to complete the operation.
Thus I created a patch where this logic is removed.
Looking forward for your feedback.
best regards,
Dimitar
Hi again, can someone comment on this? best regards, Dimitar I am not sure if this bug is the right place to discuss this but we have a different problem, which is also related; In Libra OSGi server adapters a publish is required to finis befıre a server start job. I think we need an extension mechanism to implement alternate start/publish behaviors for some servers. Please see Bug 362393 for more detail. We are testing different approaches to implement this with minimal impact. Hi Naci, we had the same problem for start and publish. It will be great if this can be done from the framework. However, this bug is for the same server type that publishes and then starts. Here the issue is that the resource change job is blocking the save operation. Though we do not see why the resource change job has to block the resource. Best regards, Dimitar |