2009/3/17 cmoulliard <cmoulli...@gmail.com>

>
> I will create the ticket in JIRA. If I found time next week, I will have a
> look on that but I'm busy now with the redaction of the second part of my
> tutorial about SMX4 and Camel (here is the link of the first part :
> http://cwiki.apache.org/CAMEL/tutorial-osgi-camel-part1.html) + issue with
> camel-cxf. I would like to finalize it this week.
>
> Interesting what you suggest Guillaume. But one potential risk with the
> deploy folder concerns the moment at which the features or spring.xml files
> are loaded by SMX 4 during startup. I'm not really sure that SMX4 loads the
> content of the deploy folder after having loaded all the bundles defined in
> the startup.properties and config file of feature.cfg !!


If the features list the required dependencies, it should work without much
problems, but you're right, if some dependencies are missing, it could be a
problem.


>
>
> Remark : I have integrated SMX4 kernel yesterday with Spring DM 1.2-rc1.
> Everything seems to work correctly. I have done this by changing the name
> of
> the jar in the startup.properties file.
>

Good, I haven't had any time to try.  I was mostly concerned about the
change they made to register spring xml handlers when bundles are started
instead of resolved.


>
>
>
> gnodet wrote:
> >
> > Sounds good.  Please raise a JIRA on SMX4KNL.
> > If you want, we'd be more than happy to accept a patch ;-)
> >
> > Anyway, not sure if you are aware, but I have recently added another way
> > to
> > deploy features, which is to drop a feature descriptor in the deploy
> > folder.  All the features listed will be installed.
> > You can find an example in
> >
> >
> https://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk/examples/cluster/instances/smx1/deploy/cluster.xml
> > As you can see, it mostly refers to existing features and does not
> > redefine
> > the features.
> >
> > 2009/3/17 cmoulliard <cmoulli...@gmail.com>
> >
> >>
> >> Hi,
> >>
> >> I would like to suggest the following improvement for our users about
> the
> >> features mechanism available under SMX 4.
> >>
> >> Using the file org.apache.servicemix.features.cfg, a user can provide in
> >> an
> >> features.xml file the bundles that he/she wants to deploy on SMX4
> server.
> >> If
> >> during the installation process of the bundles defined in the
> >> features.xml
> >> file, a bundle cannot be retrieved (due to network problem with the
> maven
> >> repository, because the name of the bundle is wrong, ...) for different
> >> reasons, the installation process stops. If by example, three features
> >> have
> >> been declared : cxf,camel and hibernate and something happens during the
> >> installation of the cxg, than nothing will be installed for camel and
> >> hibernate.
> >>
> >> Suggestion : Warn the user on the console + LOG that features
> >> installation
> >> has failed due to
> >> - bundles missing, OR
> >> - wrong bundles, OR
> >> - ...
> >>
> >> This small modification will help users to better understand How SMX4
> >> works
> >> with features provisioning system :-)
> >>
> >> Regards,
> >>
> >>
> >>
> >> -----
> >> Charles Moulliard
> >> SOA Architect
> >>
> >> My Blog :  http://cmoulliard.blogspot.com/
> >> http://cmoulliard.blogspot.com/
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Suggestion-%3A-warn-user-in-the-console-log-when-bundle%28s%29-declared-in-the-features.xml-file-are-not-retrieved-tp22555455p22555455.html
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> > ------------------------
> > Open Source SOA
> > http://fusesource.com
> >
> >
>
>
> -----
> Charles Moulliard
> SOA Architect
>
> My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> --
> View this message in context:
> http://www.nabble.com/Suggestion-%3A-warn-user-in-the-console-log-when-bundle%28s%29-declared-in-the-features.xml-file-are-not-retrieved-tp22555455p22556492.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to