| Summary: | Enhancements to API used to install a module on server | ||
|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Rupam Kuehner <rsinha> |
| Component: | wst.server | Assignee: | Tim deBoer <deboer> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P4 | CC: | cbrealey, gorkem.ercan, kathy |
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 119165 | ||
|
Description
Rupam Kuehner
Hi, Since we're in the same office, please book a meeting to discuss. We can post further details here once we've had a chance to meet. Hi, Are you going to book a meeting or post further details? Is this requirement already covered? Response from Rupam and Chris via email indicates that this is not required until 1.5. Please note that we need at least Requirement 1 in order to properly enable/disable the EAR field for servers that can take Web module directly or in an EAR (e.g. Geronimo server). This is the problem reported in bug 119165. So I think we should at least consider the first requirement for WTP 1.5. I think what we need for WTP 2.0 is item #1 in bugzilla 111341. Item #2 is nice to have but we understand we might not get there soon. That is, in the case where a project or a server might or might not already exist, just given the project types/facets and server type, we would like to find out if the server: 1. Do not accept EAR (e.g. Tomcat). 2. Always require EAR (e.g. current implementation of WAS) 3. Accept both WAR and EAR (e.g. Geronimo) Keep in mind that we are collecting this information on page 1 of the Web service wizard. The project or server might or might not exist yet but we need to find out if we need to ask for EAR information (determine if it is required, optional or not required). The wizard is doing all the necessary project creation, EAR creation and server creation for the user. IRuntimeType.getModuleTypes() returns the types of modules that the server supports. Would it be enough if for each module type there was also way to tell whether it could normally be used as a 'root' module on the server? i.e., a flag that indicates that the module type can be added to the server directly: Tomcat Web - true WebSphere EAR - true Web - false EJB - false ... Note that any of this is a 'best-guess' at the point you're trying to get the information. Like IURLProvider, there is no way to determine absolutely if a module that hasn't been created can be added to a server that hasn't been created. Once both have been created and you'll still need to handle failure from canModifyModules() or modifyModules(). Yes. It looks like with this new piece of information, I can tell if a server would always require, can accept or do not accept EARs. So for Geronimo, it would return: EAR - true Web - true EJB - true Old bug, no plan to fix. Please reopen if this is still a problem. |