Install failed for bundle ### version '0.0.0'. [message #640014] |
Thu, 18 November 2010 16:40 |
|
When deploying par to Virgo server, I get folloving. error:
[2010-11-18 17:25:17.267] TCP Connection(34)-127.0.0.1 <DE0003E> Install failed for bundle 'objectverse.core' version '0.0.0'.
[2010-11-18 17:25:17.271] TCP Connection(34)-127.0.0.1 <DE0003E> Install failed for bundle 'objectverse-1-objectverse.web' version '1.0.0'.
[2010-11-18 17:25:17.276] TCP Connection(34)-127.0.0.1 <DE0003E> Install failed for par 'objectverse' version '1.0.0'.
I checked all bundles and they all have version 1.0.0 defined.
Where could I search an error for objectverse.core 0.0.0. Why is bundle number wrong?
Best regrads,
Bojan
|
|
|
|
Re: Install failed for bundle ### version '0.0.0'. [message #640066 is a reply to message #640014] |
Thu, 18 November 2010 21:55 |
|
I found out why this happens. I'm using the same structure as the greenpages. I have META-INF directory in src/main/resources. The problem is when bundle is deployed into the Virgo server, the META-INF directory with the MANTIFEST.MF is deployed into the WEB-INF folder. I have no ideas why, I'm suspecting that .classpath file has some missconfiguration.
Did this happen to somebody else?
Thanx.
|
|
|
|
Re: Install failed for bundle ### version '0.0.0'. [message #640198 is a reply to message #640093] |
Fri, 19 November 2010 14:33 |
|
I tried your solution and it didn't work for me.
Anyway I was digging a little deeper and found out that there is a problem in the project file .settings/org.eclipse.wst.common.component. In this file there are following lines:
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="objectverse.web">
<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/resources"/>
<dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/objectverse.core/objectverse.core">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="objectverse"/>
<property name="java-output-path"/>
</wb-module>
</project-modules>
If deploy path is incorrect the files are deployed in the wrong directory. I corrected it and now everything works.
The case is that I didn't change this in the beggining, but I noticed several times that occasionaly something happens in Eclipse project files configuration. I don't know - maybe it is some sort of bug.
Hope it helps someone else.
Bojan
|
|
|
Re: Install failed for bundle ### version '0.0.0'. [message #760458 is a reply to message #640198] |
Fri, 02 December 2011 12:53 |
|
can you please help me now i am using virgo server and spring osgi technology it's working with fine for version 2.1.0 and 2.1.1 but still now i move to 3.0.0 and 3.0.2 version having bundle web application failed issue how can i solve it? please help me
I had create war file deploy the virgo 2.1.0 and 2.1.1 is load and working fine but i using higher version for 3.0.0 and 3.0.2 it's not working any workaround for my application or server side?
[Updated on: Fri, 02 December 2011 12:55] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04282 seconds