|Unable to find Library ( .libd ) file Error [message #835023]
||Mon, 02 April 2012 13:48
| Obiwan Kenobi
Registered: March 2012
I am running virgo tomcat server 3.0.1 version.I have deployed bundle which has manifest header for Import-Library given below,and it got deployed properly.
my libd file is present in the virgo/repository/ext.
When i deleted the work folder in virgo all together,restarted the server,and then tried to deploy the same bundle,I got the following error
Caused by: org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'hello-world' at version '1.0.0': A library with the name 'org.springframework.spring' and a version within the range '[3.0.5.RELEASE, 3.0.5.RELEASE]' could not be found
My LIBD file is present in the same location as it was (virgo/repository/ext).
I am puzzled by seeing this error.If I use Import-Bundle directly instead of library it worked properly.
Why Virgo is not able to read the .libd file present in the location.
Any help on this is appreciated.
|Re: Unable to find Library ( .libd ) file Error [message #836305 is a reply to message #836250]
||Wed, 04 April 2012 06:28
| Glyn Normington
Registered: July 2009
This is strange and unexpected. I presume you can re-create this problem when starting Virgo from the command line with the -clean switch (rather than starting Virgo in Eclipse)? If so, I wonder if you could try to recreate the issue with a fresh install of Virgo and a trivial bundle which simply imports the Spring library. If the problem re-creates, you could then raise a bug which we could look at.|
I was intrigued, so I tried to re-create the problem. I unzipped and started VTS 3.0.1.RELEASE, deployed a test bundle containing only the following manifest, stopped Virgo, deleted the work directory, and then re-started Virgo. The test bundle was successfully deployed, as expected. Perhaps you have modified the repository configuration?
Powered by FUDForum
. Page generated in 0.39319 seconds