| Summary: | "timeout" on Web Services Explorer impacts development | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Webservices | Reporter: | Roger <rogern> | ||||||||
| Component: | wst.ws | Assignee: | Mark Hutchinson <mahutch> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | Keith Chong <keith.chong.ca> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | david_williams, yenlu | ||||||||
| Version: | unspecified | Keywords: | plan | ||||||||
| Target Milestone: | 3.2 M7 | Flags: | david_williams:
pmc_approved+
keith.chong.ca: pmc_approved? (raghunathan.srinivasan) keith.chong.ca: pmc_approved? (naci.dai) keith.chong.ca: pmc_approved? (deboer) keith.chong.ca: pmc_approved? (neil.hauge) keith.chong.ca: pmc_approved? (kaloyan) keith.chong.ca: review+ |
||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | PMC_approved | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Roger
Created attachment 162727 [details]
Configuration file showing level/version of installed plugins
This session time out was added in bug 217723 to fix a memory leak, so I can't remove the timeout completely, but I can make it configurable. This patch adds the hidden preference org.eclipse.wst.ws.explorer/sessionTimeout This preference represents the session timeout of the web service explorer in minutes. Entering a negative value will disable timeouts completely. If the preference is not set the default is still 30 minutes. This preference is not exposed through the user interface, but it can be set in two ways: at the product level you can edit your plugin_customization.ini file to add the line: org.eclipse.wst.ws.explorer/sessionTimeout=<timeout value> or at the workspace level you can add a line to this file (or create it if it does not exist) <workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.wst.ws.explorer.prefs that contains this line: sessionTimeout=<timeout value> Created attachment 164877 [details]
proposed patch
Keith and/or Yen, could you review this proposed patch, and commit it to HEAD if it meets your approval? Marking as P1 since the adopter is requesting this change. Created attachment 165610 [details]
proposed patch v2
It was requested that this also be settable in the config.ini. If for any reason both a "hidden preference" and a config.ini property are both set, the config.ini property will take precedence. The property to set in the config.ini is org.eclipse.wst.ws.exlorer.sessionTimeout
e.g. org.eclipse.wst.ws.exlorer.sessionTimeout=60
I changed a message property in the Web Services Explorer with this fix, so I think this might count as a UI change and would require PMC approval for M7. I changed: MSG_ERROR_SESSION_TIMED_OUT=This session of Web Service Explorer has timed out after 30 minutes of inactivity to free up memory resources. to: MSG_ERROR_SESSION_TIMED_OUT=This session of Web Service Explorer has timed out after %1 minutes of inactivity to free up memory resources. 1) Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. This fix is being requested by an adopter product 2) Is there a work-around? If so, why do you believe the work-around is insufficient? There is currently no workaround 3) How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? Manual testing 4) Give a brief technical overview. Who has reviewed this fix? What is the risk associated with this fix? Keith will review the fix. This is very low risk. This fix adds the ability to set the session timeout as a preference, or a config.ini property. If the user does not explicitly set this option, then the default timeout remains at 30 minutes. Looks good. I tested that the config.ini option works too. Just a minor typo to the patch. It should be org.eclipse.wst.ws.explorer.sessionTimeout Will check this change in when this gets approved. Patch released for 3.2M7. Closing |