Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324641 - [WAR products] Adding servletbridge does not work reliable
Summary: [WAR products] Adding servletbridge does not work reliable
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Libra (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Holger Staudacher CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 06:59 EDT by Dmitry Egorov CLA
Modified: 2022-02-24 11:24 EST (History)
5 users (show)

See Also:


Attachments
Eclipse target definition (353 bytes, application/octet-stream)
2010-09-07 07:01 EDT, Dmitry Egorov CLA
no flags Details
Screen Shot of Validation Problem (209.04 KB, image/jpeg)
2010-10-12 11:40 EDT, David Ellis CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Egorov CLA 2010-09-07 06:59:57 EDT
Build Identifier: 

I works under Windows XP, Eclipse Helios and RAP 1.3
When i try to use RAP WAR Deployment tool have some problem after “War Product Configuration” wizard complete :
1. in my case, wizard generate instead name eclipse.equinox.servletbridge_1.2.0.v20091026.jar strange name: .jar
2. respectively, when i try validate project i got message:
“Library doesn’t exist at location .jar
Missing library org.eclipse.equinox.servletbridge.jar”
I try my project and demo RAP mail template with the same result.


Reproducible: Always

Steps to Reproduce:
Steps to reproduce this erorrs:
1. Create new workspace;
2. New/Project/Plug-in Project, in wizard select RAP Mail Template
3. New/Other/Plug-in Development/War product Configuration, select RAP mail demo (step.2), 
"file name"- export, 
"use launch configuration" - RAP mail demo.
finish
4. file export.warproduct      
see tab "Configuration", label "Libraries"
5. Press button "validate"
Comment 1 Dmitry Egorov CLA 2010-09-07 07:01:44 EDT
Created attachment 178309 [details]
Eclipse target definition

target definition
Comment 2 David Ellis CLA 2010-10-12 11:39:30 EDT
I had the same issue.

When I went to Validate Bundles it could not find the library org.eclipse.equinox.servletbridge_xx.jar in the expected location. I worked around this by taking a copy of this jar from the runtime bundles into my project’s “lib” folder, and then removing and re-adding this in the WAR Product Configuration, and it then validated OK.

I captured a screen shot which I will attach.
Comment 3 David Ellis CLA 2010-10-12 11:40:45 EDT
Created attachment 180678 [details]
Screen Shot of Validation Problem
Comment 4 Miles Parker CLA 2010-12-29 21:27:58 EST
Same issue here. I tried David's workaround but wasn't able to get it to work. :(
Comment 5 Ricky de Klerck CLA 2011-01-07 05:42:14 EST
(In reply to comment #4)
> Same issue here. I tried David's workaround but wasn't able to get it to work.
> :(

The workaround worked fine for me.

These are the steps:

- create lib folder in your project
- copy jar's from requiredbundles.zip to lib folder
- go to your warproduct configuration
- In section 'libraries' remove the library listed here
- add libraries from the lib folder
- validate