| Summary: | Eclipse Juno SR2 HTTP Preview server does not start | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Dev Deviskec <deviskec> | ||||||
| Component: | wst.server | Assignee: | Steven Hung <sghung> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Elson Yuen <eyuen7> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | amirco, leo, mike, sghung | ||||||
| Version: | 3.4.2 | Flags: | eyuen7:
review+
|
||||||
| Target Milestone: | 3.4.2 P | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| See Also: | https://git.eclipse.org/r/109159 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dev Deviskec
Created attachment 228229 [details]
Patch v1.0
In org.eclipse.wst.server.preview.adapter.internal.core.PreviewLaunchConfigurationDelegate, the REQUIRED_BUNDLE_IDS list is missing "org.eclipse.jetty.webapp" and "org.eclipse.jetty.servlet"
After adding these two plug-ins to the REQUIRED_BUNDLE_IDS, the Preview Server can be started properly and I can run a static web page.
Committed to Master Thank you very much for the fix! Will test as soon as I can, think I need to recompile the module though and I don't have the source code checked out currently. *** Bug 402364 has been marked as a duplicate of this bug. *** Created attachment 229828 [details]
Patch v1.0 for 3.4.2p
I have created a patch based on 3.4.2p
I ran the following test:
1. Ensured the HTTP Preview server can be started successfully
2. Ensured that my static web project can be published and the HTML file can be run
Resolving, committed changes to 3.4.2p. Verified with patch build: http://download.eclipse.org/webtools/patches/drops/R3.4.2/P-3.4.2-20130506185528/patches32x-P-3.4.2-20130506185528.zip The HTTP Preview server now starts successfully (In reply to Steven Hung from comment #7) > Verified with patch build: > http://download.eclipse.org/webtools/patches/drops/R3.4.2/P-3.4.2- > 20130506185528/patches32x-P-3.4.2-20130506185528.zip The HTTP Preview > server now starts successfully Hello Steven, thank you for this patch. Could you please direct me to instructions on how to apply patches to my eclipse? Thanks in advance. Leo. Leo, which Eclipse are you using? Is it Juno SR2? If you are using Juno SR2, you apply the patch by extracting the contents of the zip into your eclipse directory. You want the plugins and features in the zip to add to the plugins and features in your eclipse directory. New Gerrit change created: https://git.eclipse.org/r/109159 |