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 >
