Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 267180

Summary: pde.export re-jars org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar leading to problems in deploying to app servers (JBoss 5, Glassfish 3)
Product: [Eclipse Project] PDE Reporter: Steven Dick <steven>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: aniefer
Version: 3.4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Steven Dick CLA 2009-03-05 06:21:57 EST
Build ID: M20090211-1700

Steps To Reproduce:
I am experimenting with server-side Equinox and used the  org.eclipse.equinox.servletbridge project's webappBuilder.xml Ant script to create a WAR structure.

Deploying to an application server causes problem because  org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar contains another jar called org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar.

I checked the original org.eclipse.osgi jar in my Eclipse directory and it does not contain another jar, instead it has the expected packages, so I assume this has been done by the call to pde.export.

Manually copying over the original org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar solves the app server deployment problem.

More information:
I did not experience this problem with Eclipse 3.4.1.
Comment 1 Andrew Niefer CLA 2009-06-19 16:39:26 EDT
work around is to not import the osgi jar into your workspace.

*** This bug has been marked as a duplicate of bug 240821 ***