Hello Fang,

this is the output of ls -l for $SMX_HOME

eothein@upper:~/apache-servicemix-4.3.0$ ls -l
total 64
drwxrwxrwx  2 eothein GEYSERS-LICL   512 2011-02-27 11:19 ant
drwxrwxrwx  2 eothein GEYSERS-LICL   512 2013-01-09 10:18 bin
drwxrwxrwx  4 eothein GEYSERS-LICL   512 2013-01-09 10:18 data
drwxrwxrwx  2 eothein GEYSERS-LICL   512 2013-01-09 10:18 deploy
drwxrwxrwx  2 eothein GEYSERS-LICL  1024 2011-02-27 11:19 etc
drwxrwxrwx 23 eothein GEYSERS-LICL  1024 2013-01-09 10:18 examples
drwxrwxrwx  2 eothein GEYSERS-LICL   512 2013-01-09 10:18 instances
drwxrwxrwx  5 eothein GEYSERS-LICL   512 2013-01-09 10:18 lib
-rwxrwxrwx  1 eothein GEYSERS-LICL 27722 2011-02-27 11:19 LICENSE
drwxrwxrwx  2 eothein GEYSERS-LICL   512 2011-02-27 11:19 licenses
-rwxrwxrwx  1 eothein GEYSERS-LICL  1863 2011-02-27 11:19 NOTICE
-rwxrwxrwx  1 eothein GEYSERS-LICL  2379 2011-02-27 11:19 README
-rwxrwxrwx  1 eothein GEYSERS-LICL 10002 2011-02-27 11:19 RELEASE-NOTES
drwxrwxrwx  7 eothein GEYSERS-LICL   512 2011-02-27 11:19 system

So everybody has read, write and execute permissions.

Kind regards

Jens Buysse

Op 9/01/2013 10:40, Freeman Fang schreef:
Hi,

A quick question,
Do you have write permission to $SMX_HOME folder? It will write bundle cache to 
$SMX_HOME/data folder when start SMX.
-------------
Freeman(Yue) Fang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-1-9, at 下午5:32, Jens Buysse wrote:

Dear all,

I'm fairly new at the ESB apache servicemix. I have installed the Apache ServiceMix 
4.3.0 (tar.gz) 
<http://archive.apache.org/dist/servicemix/servicemix-4/4.3.0/apache-servicemix-4.3.0.tar.gz>
 on an Ubuntu Natty 11.04 distribution. After unpacking the tarball, I try to start 
the service mix (i.e. ./servicemix (not in superuser mode)) but if fails to start. I 
get the following exception (see below), which google does not seem to recognize. 
What should I do?

Kind regards

Jens Buysse

eothein@upper:~/apache-servicemix-4.3.0/bin$ ./servicemix -v
ERROR: Error creating bundle cache. (java.lang.Exception: Unable to lock bundle 
cache: java.io.IOException: Invalid argument)
java.lang.Exception: Unable to lock bundle cache: java.io.IOException: Invalid 
argument
        at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:152)
        at org.apache.felix.framework.Felix.init(Felix.java:600)
        at org.apache.felix.framework.Felix.start(Felix.java:795)
        at org.apache.karaf.main.Main.launch(Main.java:254)
        at org.apache.karaf.main.Main.main(Main.java:408)
Could not create framework: org.osgi.framework.BundleException: Error creating 
bundle cache.
org.osgi.framework.BundleException: Error creating bundle cache.
        at org.apache.felix.framework.Felix.init(Felix.java:605)
        at org.apache.felix.framework.Felix.start(Felix.java:795)
        at org.apache.karaf.main.Main.launch(Main.java:254)
        at org.apache.karaf.main.Main.main(Main.java:408)
Caused by: java.lang.Exception: Unable to lock bundle cache: 
java.io.IOException: Invalid argument
        at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:152)
        at org.apache.felix.framework.Felix.init(Felix.java:600)
        ... 3 more

--
Jens Buysse
Research Group Broadband Communication Networks (IBCN)
Department of Information Technology (INTEC), Ghent University/ iMinds
Gaston Crommenlaan 8 bus 201, B-9050 Gent, Belgium

tel             : +32 9 33 14 942
fax             : +32 9 33 14 899
mobile  : +32 479 32 21 72
e-mail  : [email protected]
skype   : jens.buysse

web             : http://ibcn.intec.ugent.be/
web             : www.myspace.com/aratf




--
Jens Buysse
Research Group Broadband Communication Networks (IBCN)
Department of Information Technology (INTEC), Ghent University/ iMinds
Gaston Crommenlaan 8 bus 201, B-9050 Gent, Belgium

tel             : +32 9 33 14 942
fax             : +32 9 33 14 899
mobile  : +32 479 32 21 72
e-mail  : [email protected]
skype   : jens.buysse

web             : http://ibcn.intec.ugent.be/
web             : www.myspace.com/aratf

Reply via email to