Hi,
Basically SMX4 leverage pax-url to look up artifacts during runtime,
you can take a look at etc/org.ops4j.pax.url.mvn.cfg to get ideas
where pax-url will try to find the artifacts, roughly the sequence is
SMX4_HOME/system folder
your maven local repo folder
org.ops4j.pax.url.mvn.repositories listed in etc/
org.ops4j.pax.url.mvn.cfg
so if it can't find it locally, it will use remote url to download.
Once find and install the bundle, it will cache it in SMX4_HOME/data
folder, so unless you remove the data folder, it won't try to find the
artifacts which already get installed.
So if you don't have internet connection, you need ensure your maven
local repo have all necessary bundles, or the nexus as I mentioned
before is also a popularly used solution, only this nexus server can
access internet but your production server is still in the intranet.
Btw, FuseSource provide offline repo with each FUSE ESB release which
typically address the concern you encountered here, but it's not free.
Freeman
On 2011-9-25, at 下午6:53, bhawnav wrote:
Hi Freeman,
I could understand this issue from other similar post.
But my concern is:
a) Does SMX4 require internet connectivity every time it restarts or
only on
first startup it downloads all necessary artifacts and does not need
it
later.
b) Is there any manual way of providing artifacts to SMX4?
Because if SMX4 downloads artifacts at runtime then it may take
more time
(which can be variable based on internet speed). But, as per
requirement our
complete solution should come-up within a given time.
c) In my complex production environment, I doubt that production
systems
will be connected to public internet. Is there any way SMX4 can be
bundled
as out-of-box/complete solution within our solution?
Regards,
Bhavana
--
View this message in context:
http://servicemix.396122.n5.nabble.com/ServiceMix-4-3-examples-simple-wsn-xml-not-working-due-to-unresolved-dependencies-tp4837810p4838200.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com