Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339485 - Deploying Gemini Blueprint in a PAR produces different behaviour compared to plan deployment
Summary: Deploying Gemini Blueprint in a PAR produces different behaviour compared to ...
Status: CLOSED WONTFIX
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: 3.0.0.M01   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 05:08 EST by Borislav Kapukaranov CLA
Modified: 2011-03-10 07:01 EST (History)
0 users

See Also:


Attachments
blueprintTest.jar, consumes a service (2.73 KB, application/octet-stream)
2011-03-10 05:08 EST, Borislav Kapukaranov CLA
no flags Details
org.example.blueprint-1.0.0.jar, publishes a service (31.16 KB, application/octet-stream)
2011-03-10 05:09 EST, Borislav Kapukaranov CLA
no flags Details
blueprint.par (637.05 KB, application/octet-stream)
2011-03-10 05:10 EST, Borislav Kapukaranov CLA
no flags Details
blueprint.plan (622 bytes, application/octet-stream)
2011-03-10 05:10 EST, Borislav Kapukaranov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Borislav Kapukaranov CLA 2011-03-10 05:08:25 EST
Gemini Blueprint(GB) can be deployed to Virgo using several mechanisms. Either one-by-one, with a plan or with a PAR. 

When packing the GB bundles in a PAR and deploying it then both blueprintTest.jar and org.example.blueprint-1.0.0.jar can consume and publish a service using their GB xmls, after these test bundles were deployed.

When trying the same exercise with the GB bundles referenced from scoped plan however, produces a ClassNotFoundError for BlueprintNamespaceHandler - attached in trace.txt.

The classloading model of a plan should be identical to a PAR's.

Steps to reproduce:
Failing scenario:
1. Place the GB bundles in repository/usr
2. Deploy the attached here blueprint.plan
3. Deploy the attached here blueprintTest.jar

Passing scenario:
1. Deploy the attached here blueprint.par
2. Deploy the attached here blueprintTest.jar
Comment 1 Borislav Kapukaranov CLA 2011-03-10 05:08:49 EST
Created attachment 190838 [details]
blueprintTest.jar, consumes a service
Comment 2 Borislav Kapukaranov CLA 2011-03-10 05:09:10 EST
Created attachment 190839 [details]
org.example.blueprint-1.0.0.jar, publishes a service
Comment 3 Borislav Kapukaranov CLA 2011-03-10 05:10:09 EST
Created attachment 190840 [details]
blueprint.par
Comment 4 Borislav Kapukaranov CLA 2011-03-10 05:10:40 EST
Created attachment 190841 [details]
blueprint.plan
Comment 5 Borislav Kapukaranov CLA 2011-03-10 07:01:03 EST
Closing the bug. This issue seems to be reproducible also with PARs, although it happens more rarely. The cause might be some kind of a racing condition. Another bug will be raised if necessary.