You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by raakula <ra...@nsn.com> on 2011/08/02 13:36:09 UTC

Bug in SMX4.3 instance creation script

Hi,
  I have installed SMX4.3 in linux and tried to create a new instance using
karaf
Command used : 
karaf@root> admin:create test_inst

It had created the files successfully.
Then I went to the instance bin directory and tried to start the instance
using ./karaf.
It gave an exception -->
Could not create framework: java.io.FileNotFoundException:
/var/tmp/ramu/apache-servicemix-4.3.0/system/org/apache/felix/org.apache.felix.framework/3.0.2/org.apache.felix.framework-3.0.2.jar
java.io.FileNotFoundException:
/var/tmp/ramu/apache-servicemix-4.3.0/system/org/apache/felix/org.apache.felix.framework/3.0.2/org.apache.felix.framework-3.0.2.jar

Then I peeped inside the
/var/tmp/ramu/apache-servicemix-4.3.0/system/org/apache/felix/org.apache.felix.framework
and found that 3.0.9 is being installed instead of 3.0.2

Where as the property files created inside the instance are referring to
version 3.0.2

<<<snap>>>
config.properties:karaf.framework.felix=${karaf.default.repository}/org/apache/felix/org.apache.felix.framework/3.0.2/org.apache.felix.framework-3.0.2.jar
startup.properties:org/apache/felix/org.apache.felix.fileinstall/3.0.2/org.apache.felix.fileinstall-3.0.2.jar=11
<<<snap>>>

This problem is being noticed in Windows binaries also.

regards,
Ramu


--
View this message in context: http://servicemix.396122.n5.nabble.com/Bug-in-SMX4-3-instance-creation-script-tp4658378p4658378.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Re: Bug in SMX4.3 instance creation script

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,


I suspect that this might be a side-effect of what we did in
https://issues.apache.org/jira/browse/SMX4-764 to upgrade to Felix 3.0.9 -
the admin: commands are part of Apache Karaf and probably are not aware of
the upgrade we did in the Apache ServiceMix project.


Regards,

Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/


On Wed, Aug 3, 2011 at 8:56 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Thanks for reporting this. It looks like a bug on the Windows distribution.
>
> I'm gonna raise a Jira to fix that.
>
> Regards
> JB
>
>
> On 08/02/2011 01:36 PM, raakula wrote:
>
>> Hi,
>>   I have installed SMX4.3 in linux and tried to create a new instance
>> using
>> karaf
>> Command used :
>> karaf@root>  admin:create test_inst
>>
>> It had created the files successfully.
>> Then I went to the instance bin directory and tried to start the instance
>> using ./karaf.
>> It gave an exception -->
>> Could not create framework: java.io.FileNotFoundException:
>> /var/tmp/ramu/apache-**servicemix-4.3.0/system/org/**
>> apache/felix/org.apache.felix.**framework/3.0.2/org.apache.**
>> felix.framework-3.0.2.jar
>> java.io.FileNotFoundException:
>> /var/tmp/ramu/apache-**servicemix-4.3.0/system/org/**
>> apache/felix/org.apache.felix.**framework/3.0.2/org.apache.**
>> felix.framework-3.0.2.jar
>>
>> Then I peeped inside the
>> /var/tmp/ramu/apache-**servicemix-4.3.0/system/org/**
>> apache/felix/org.apache.felix.**framework
>> and found that 3.0.9 is being installed instead of 3.0.2
>>
>> Where as the property files created inside the instance are referring to
>> version 3.0.2
>>
>> <<<snap>>>
>> config.properties:karaf.**framework.felix=${karaf.**
>> default.repository}/org/**apache/felix/org.apache.felix.**
>> framework/3.0.2/org.apache.**felix.framework-3.0.2.jar
>> startup.properties:org/apache/**felix/org.apache.felix.**
>> fileinstall/3.0.2/org.apache.**felix.fileinstall-3.0.2.jar=11
>> <<<snap>>>
>>
>> This problem is being noticed in Windows binaries also.
>>
>> regards,
>> Ramu
>>
>>
>> --
>> View this message in context: http://servicemix.396122.n5.**
>> nabble.com/Bug-in-SMX4-3-**instance-creation-script-**
>> tp4658378p4658378.html<http://servicemix.396122.n5.nabble.com/Bug-in-SMX4-3-instance-creation-script-tp4658378p4658378.html>
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Bug in SMX4.3 instance creation script

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks for reporting this. It looks like a bug on the Windows distribution.

I'm gonna raise a Jira to fix that.

Regards
JB

On 08/02/2011 01:36 PM, raakula wrote:
> Hi,
>    I have installed SMX4.3 in linux and tried to create a new instance using
> karaf
> Command used :
> karaf@root>  admin:create test_inst
>
> It had created the files successfully.
> Then I went to the instance bin directory and tried to start the instance
> using ./karaf.
> It gave an exception -->
> Could not create framework: java.io.FileNotFoundException:
> /var/tmp/ramu/apache-servicemix-4.3.0/system/org/apache/felix/org.apache.felix.framework/3.0.2/org.apache.felix.framework-3.0.2.jar
> java.io.FileNotFoundException:
> /var/tmp/ramu/apache-servicemix-4.3.0/system/org/apache/felix/org.apache.felix.framework/3.0.2/org.apache.felix.framework-3.0.2.jar
>
> Then I peeped inside the
> /var/tmp/ramu/apache-servicemix-4.3.0/system/org/apache/felix/org.apache.felix.framework
> and found that 3.0.9 is being installed instead of 3.0.2
>
> Where as the property files created inside the instance are referring to
> version 3.0.2
>
> <<<snap>>>
> config.properties:karaf.framework.felix=${karaf.default.repository}/org/apache/felix/org.apache.felix.framework/3.0.2/org.apache.felix.framework-3.0.2.jar
> startup.properties:org/apache/felix/org.apache.felix.fileinstall/3.0.2/org.apache.felix.fileinstall-3.0.2.jar=11
> <<<snap>>>
>
> This problem is being noticed in Windows binaries also.
>
> regards,
> Ramu
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Bug-in-SMX4-3-instance-creation-script-tp4658378p4658378.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com