Why does plan deplyment fails when uploading from the web console? [message #871732] |
Mon, 14 May 2012 15:02  |
Eclipse User |
|
|
|
Hi,
I created a very simple bundle (see attached):
Manifest-Version: 1.0
Bnd-LastModified: 1337021028726
Bundle-ManifestVersion: 2
Bundle-Name: test.dummy
Bundle-SymbolicName: test.dummy
Bundle-Version: 1.0.0
Created-By: 1.6.0_20 (Sun Microsystems Inc.)
Export-Package: test.dummy;version="1.0"
Import-Package: test.dummy;version="[1.0,2)"
Private-Package: test.dummy.impl
Tool: Bnd-1.51.0
Then I created a very simple plan:
<?xml version="1.0" encoding="UTF-8"?>
<plan name="test-dummy.plan" version="1.0.0" scoped="true" atomic="true"
xmlns="http://www.eclipse.org/virgo/schema/plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.eclipse.org/virgo/schema/plan
http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
<artifact type="bundle" name="test.dummy" version="[1.0.0, 2.0.0)" />
</plan>
I opened the Web console and uploaded the bundle first, and it has been deployed successfully.
Then I uploaded the plan file too, but I got the following error:
The result of the last operation is: Deployment Error 'bundle 'test.dummy' version '[1.0.0, 2.0.0)' not found'
Could you please let me know what I am doing wrong?
Best regards,
Marton
Virgo Tomcat Server 3.0.3
OpenJDK 64-Bit Server VM version "1.6.0_20"
Ubuntu 10.04 64 bit
|
|
|
|
|
|
Re: Why does plan deplyment fails when uploading from the web console? [message #872774 is a reply to message #872032] |
Wed, 16 May 2012 15:45  |
Eclipse User |
|
|
|
Thank you for your answers; the proposed solution worked.
I believe the fact, that artifacts uploaded via the web console not deployed into the provisioning repository, is a shortcoming that the Virgo development team should address.
I am experimenting the application isolation feature of Virgo; that's why I needed a plan.
Thanks again!
Marton
|
|
|
Powered by
FUDForum. Page generated in 0.02961 seconds