You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Michael Lee <mi...@d2see.com> on 2006/10/02 21:25:29 UTC

Step by Step Geronimo 1.1 integration

I can start with the good news - I'm happy to make a contribution to the
project by writing up some documentation covering a step by step guide to
getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a ServiceMix
newbie but a pretty good technical writer.....

The bad news is that I'm volunteering because I cannot get ServiceMix to
work.  After spending about a day going through the binary distribution and
the source from SVN I'm more confused than when I started about how to
actually get ServiceMix working.  I started with a fresh install of Geronimo
1.1, a fresh download of Maven (2.0.4), a fresh checkout of ServiceMix code
(from todays trunk), and I get a bunch of build failures when I run through
the:

 "mvn -Dmaven.test.skip=true -Dprofile=step1 install
mvn -Dmaven.test.skip=true -Dprofile=step" install"

sequence, and after this I'm not clear on what do actually do, i.e. which
directories are deployable, what actually needs to get deployed? are the
geronimo1-1 projects in the sandbox deployable?  is servicemix-web
deprecated? which Maven command should I run in the "geronimo" directory
after running the build process? etc. etc.

So the offer is there - if anyone can help me get through my install
problems I will write it up for the rest of the world.  I'll supply all
relevant Maven/ServiceMix/platform details if I get any takers

Thanks, Michael.

p.s I've been impressed with what I've seen of the architecture for
ServiceMix - really looking forward to having a working install to play
with.  I'm an Ant veteran but a newcomer to Maven so lots of what is taken
for granted in the docs is difficult for me to debug.


-- 
View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Step by Step Geronimo 1.1 integration

Posted by Michael Lee <mi...@d2see.com>.
I couldn't sign up to the Wiki (got an error for the number of users
exceeded), so I've attached the guide I produced.

M.


gnodet wrote:
> 
> Just add a new wiki page and we can improve it later if needed.
> 
> On 10/4/06, Michael Lee <mi...@d2see.com> wrote:
>>
>> Thanks - trying now.
>>
>> Written a couple of pages of the howto so far - when this works : ), I
>> will
>> do a re-run of the entire process to prove it out then post.  Is it best
>> to
>> add a new page to the wiki directly
>> (http://goopen.org/confluence/display/SM/Geronimo+Integration) or to post
>> hear first to see if you think the documentation is reasonable?
>>
>> Thanks, M.
>>
>>
>> gnodet wrote:
>> >
>> > Just replace the
>> >
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating
>> > url by the 3.0 repo which is:
>> >   http://people.apache.org/repo/m2-incubating-repository/
>> >
>> > On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
>> >>
>> >> Tried from fresh source from
>> >>
>> https://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0
>> >> as
>> >> you suggested but no luck so far.
>> >>
>> >> I checked on the online sources and the file
>> >>
>> http://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0/geronimo/servicemix/src/resources/META-INF/geronimo-plugin.xml
>> >> does call out the
>> >>
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
>> >> repository
>> >>
>> >> I'm sure I completely deleted my maven repository for good measure,
>> and
>> >> did
>> >> a completely fresh checkout from source.  Maven compile seemed a lot
>> >> cleaner
>> >> than with the trunk, but it still failed with the same error message
>> as
>> >> before -
>> >>
>> >> Installation FAILED: Server returned HTTP response code: 500 for URL:
>> >>
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.0-incubating/servicemix-jbi-3.0-incubating.jar
>> >>
>> >> Having a go with the binary distribution tonight, but if anyone has a
>> >> sandox
>> >> area I'd be very keen to know if anyone else is having problems or
>> >> whether
>> >> I'm missing something obvious.....  I will write a step by step guide
>> for
>> >> what I've done so far to see whether anyone can spot the flaws, or
>> >> whether
>> >> there genuinely is a problem to start from scratch.
>> >>
>> >> Thanks, M.
>> >>
>> >>
>> >>
>> >> gnodet wrote:
>> >> >
>> >> > There's no reason why the repository
>> >> >
>> >>
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
>> >> > is used.  You should really try with a non snapshot version, as the
>> >> > geronimo plugin deployer does not really handle snapshot artifacts.
>> >> >
>> >> > So I would advise to checkout the 3.0 source tree and build it.
>> >> > Else, you will need to manually copy the snapshot dependencies
>> >> > to the geronimo repository.
>> >> >
>> >> > On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
>> >> >>
>> >> >> Thanks for your help - your responses to postings on this list are
>> >> >> amazingly
>> >> >> fast.
>> >> >>
>> >> >> I spent a few hours this morning reading the manual for Maven (to
>> get
>> >> >> past
>> >> >> the easy questions), successfully compiled the source for service
>> mix
>> >> >> using
>> >> >> the two step approach (after manually adding in the extra
>> repository
>> >> and
>> >> >> pluginRepository), and then tried to run the commands you suggested
>> >> >>
>> >> >> After running
>> >> >>
>> >> >> "java -jar bin/deploy.jar install-plugin
>> >> >> [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car"
>> >> >>
>> >> >> I get
>> >> >>
>> >> >> "Installation FAILED: Server returned HTTP response code: 500 for
>> URL:
>> >> >>
>> >>
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.1-incubating-SNAPSHOT/servicemix-jbi-3.1-incubating-SNAPSHOT.jar"
>> >> >>
>> >> >> Accessing
>> >> >>
>> >>
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/
>> >> >> works correctly, so I was wondering if there genuinely was
>> something
>> >> >> wrong
>> >> >> with the repository.
>> >> >>
>> >> >> I've tried modifying the geronimo-plugin.xml, and changing the
>> first
>> >> >> source
>> >> >> repository from it's default to my local repository, and it doesn't
>> >> seem
>> >> >> to
>> >> >> work...  Will try again later toinght
>> >> >>
>> >> >>
>> >> >>
>> >>
>> <source-repository>file:///S:/development/maven/repository/</source-repository>
>> >> >>
>> >> >>
>> >> >> gnodet wrote:
>> >> >> >
>> >> >> > Once you have succesfully built the whole ServiceMix source tree,
>> >> >> > two geronimo plugins are create in
>> >> >> >  geronimo/servicemix/target/servicemix-3.0-incubating.car
>> >> >> >  geronimo/deployer/target/deployer-3.0-incubating.car
>> >> >> >
>> >> >> > The following steps are needed in order to deploy these plugins
>> >> >> >   cd [geronimo-install-dir]
>> >> >> >   java -jar bin/deploy.jar install-plugin
>> >> >> > [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
>> >> >> >   java -jar bin/deploy.jar install-plugin
>> >> >> > [smx]/geronimo/deployer/target/deployer-3.0-incubating.car
>> >> >> >
>> >> >> > This will install the 2 plugins to geronimo, which should now
>> >> >> > be listed in the console.  Then, do install jbi artifacs, you
>> just
>> >> >> > need to drop the components / libraries / assemblies to the
>> >> >> > deploy dir of geronimo.
>> >> >> >
>> >> >> > These plugins should be uploaded to the m2 repository,
>> >> >> > but there is a bug in the geronimo plugin which currently
>> >> >> > prevent this.
>> >> >> >
>> >> >> > Glad you want to help, and ping the list for any problems.
>> >> >> >
>> >> >> >
>> >> >> > On 10/2/06, Michael Lee <mi...@d2see.com> wrote:
>> >> >> >>
>> >> >> >> I can start with the good news - I'm happy to make a
>> contribution
>> >> to
>> >> >> the
>> >> >> >> project by writing up some documentation covering a step by step
>> >> guide
>> >> >> to
>> >> >> >> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a
>> >> >> ServiceMix
>> >> >> >> newbie but a pretty good technical writer.....
>> >> >> >>
>> >> >> >> The bad news is that I'm volunteering because I cannot get
>> >> ServiceMix
>> >> >> to
>> >> >> >> work.  After spending about a day going through the binary
>> >> >> distribution
>> >> >> >> and
>> >> >> >> the source from SVN I'm more confused than when I started about
>> how
>> >> to
>> >> >> >> actually get ServiceMix working.  I started with a fresh install
>> of
>> >> >> >> Geronimo
>> >> >> >> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of
>> >> ServiceMix
>> >> >> >> code
>> >> >> >> (from todays trunk), and I get a bunch of build failures when I
>> run
>> >> >> >> through
>> >> >> >> the:
>> >> >> >>
>> >> >> >>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
>> >> >> >> mvn -Dmaven.test.skip=true -Dprofile=step" install"
>> >> >> >>
>> >> >> >> sequence, and after this I'm not clear on what do actually do,
>> i.e.
>> >> >> which
>> >> >> >> directories are deployable, what actually needs to get deployed?
>> >> are
>> >> >> the
>> >> >> >> geronimo1-1 projects in the sandbox deployable?  is
>> servicemix-web
>> >> >> >> deprecated? which Maven command should I run in the "geronimo"
>> >> >> directory
>> >> >> >> after running the build process? etc. etc.
>> >> >> >>
>> >> >> >> So the offer is there - if anyone can help me get through my
>> >> install
>> >> >> >> problems I will write it up for the rest of the world.  I'll
>> supply
>> >> >> all
>> >> >> >> relevant Maven/ServiceMix/platform details if I get any takers
>> >> >> >>
>> >> >> >> Thanks, Michael.
>> >> >> >>
>> >> >> >> p.s I've been impressed with what I've seen of the architecture
>> for
>> >> >> >> ServiceMix - really looking forward to having a working install
>> to
>> >> >> play
>> >> >> >> with.  I'm an Ant veteran but a newcomer to Maven so lots of
>> what
>> >> is
>> >> >> >> taken
>> >> >> >> for granted in the docs is difficult for me to debug.
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
>> >> >> >> Sent from the ServiceMix - User mailing list archive at
>> Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Cheers,
>> >> >> > Guillaume Nodet
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6621115
>> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Cheers,
>> >> > Guillaume Nodet
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6629281
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6635979
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 
http://www.nabble.com/file/334/servicemix.html servicemix.html 
http://www.nabble.com/file/334/servicemix.html servicemix.html 
-- 
View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6714232
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Step by Step Geronimo 1.1 integration

Posted by Guillaume Nodet <gn...@gmail.com>.
Just add a new wiki page and we can improve it later if needed.

On 10/4/06, Michael Lee <mi...@d2see.com> wrote:
>
> Thanks - trying now.
>
> Written a couple of pages of the howto so far - when this works : ), I will
> do a re-run of the entire process to prove it out then post.  Is it best to
> add a new page to the wiki directly
> (http://goopen.org/confluence/display/SM/Geronimo+Integration) or to post
> hear first to see if you think the documentation is reasonable?
>
> Thanks, M.
>
>
> gnodet wrote:
> >
> > Just replace the
> > http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating
> > url by the 3.0 repo which is:
> >   http://people.apache.org/repo/m2-incubating-repository/
> >
> > On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
> >>
> >> Tried from fresh source from
> >> https://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0
> >> as
> >> you suggested but no luck so far.
> >>
> >> I checked on the online sources and the file
> >> http://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0/geronimo/servicemix/src/resources/META-INF/geronimo-plugin.xml
> >> does call out the
> >> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
> >> repository
> >>
> >> I'm sure I completely deleted my maven repository for good measure, and
> >> did
> >> a completely fresh checkout from source.  Maven compile seemed a lot
> >> cleaner
> >> than with the trunk, but it still failed with the same error message as
> >> before -
> >>
> >> Installation FAILED: Server returned HTTP response code: 500 for URL:
> >> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.0-incubating/servicemix-jbi-3.0-incubating.jar
> >>
> >> Having a go with the binary distribution tonight, but if anyone has a
> >> sandox
> >> area I'd be very keen to know if anyone else is having problems or
> >> whether
> >> I'm missing something obvious.....  I will write a step by step guide for
> >> what I've done so far to see whether anyone can spot the flaws, or
> >> whether
> >> there genuinely is a problem to start from scratch.
> >>
> >> Thanks, M.
> >>
> >>
> >>
> >> gnodet wrote:
> >> >
> >> > There's no reason why the repository
> >> >
> >> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
> >> > is used.  You should really try with a non snapshot version, as the
> >> > geronimo plugin deployer does not really handle snapshot artifacts.
> >> >
> >> > So I would advise to checkout the 3.0 source tree and build it.
> >> > Else, you will need to manually copy the snapshot dependencies
> >> > to the geronimo repository.
> >> >
> >> > On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
> >> >>
> >> >> Thanks for your help - your responses to postings on this list are
> >> >> amazingly
> >> >> fast.
> >> >>
> >> >> I spent a few hours this morning reading the manual for Maven (to get
> >> >> past
> >> >> the easy questions), successfully compiled the source for service mix
> >> >> using
> >> >> the two step approach (after manually adding in the extra repository
> >> and
> >> >> pluginRepository), and then tried to run the commands you suggested
> >> >>
> >> >> After running
> >> >>
> >> >> "java -jar bin/deploy.jar install-plugin
> >> >> [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car"
> >> >>
> >> >> I get
> >> >>
> >> >> "Installation FAILED: Server returned HTTP response code: 500 for URL:
> >> >>
> >> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.1-incubating-SNAPSHOT/servicemix-jbi-3.1-incubating-SNAPSHOT.jar"
> >> >>
> >> >> Accessing
> >> >>
> >> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/
> >> >> works correctly, so I was wondering if there genuinely was something
> >> >> wrong
> >> >> with the repository.
> >> >>
> >> >> I've tried modifying the geronimo-plugin.xml, and changing the first
> >> >> source
> >> >> repository from it's default to my local repository, and it doesn't
> >> seem
> >> >> to
> >> >> work...  Will try again later toinght
> >> >>
> >> >>
> >> >>
> >> <source-repository>file:///S:/development/maven/repository/</source-repository>
> >> >>
> >> >>
> >> >> gnodet wrote:
> >> >> >
> >> >> > Once you have succesfully built the whole ServiceMix source tree,
> >> >> > two geronimo plugins are create in
> >> >> >  geronimo/servicemix/target/servicemix-3.0-incubating.car
> >> >> >  geronimo/deployer/target/deployer-3.0-incubating.car
> >> >> >
> >> >> > The following steps are needed in order to deploy these plugins
> >> >> >   cd [geronimo-install-dir]
> >> >> >   java -jar bin/deploy.jar install-plugin
> >> >> > [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
> >> >> >   java -jar bin/deploy.jar install-plugin
> >> >> > [smx]/geronimo/deployer/target/deployer-3.0-incubating.car
> >> >> >
> >> >> > This will install the 2 plugins to geronimo, which should now
> >> >> > be listed in the console.  Then, do install jbi artifacs, you just
> >> >> > need to drop the components / libraries / assemblies to the
> >> >> > deploy dir of geronimo.
> >> >> >
> >> >> > These plugins should be uploaded to the m2 repository,
> >> >> > but there is a bug in the geronimo plugin which currently
> >> >> > prevent this.
> >> >> >
> >> >> > Glad you want to help, and ping the list for any problems.
> >> >> >
> >> >> >
> >> >> > On 10/2/06, Michael Lee <mi...@d2see.com> wrote:
> >> >> >>
> >> >> >> I can start with the good news - I'm happy to make a contribution
> >> to
> >> >> the
> >> >> >> project by writing up some documentation covering a step by step
> >> guide
> >> >> to
> >> >> >> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a
> >> >> ServiceMix
> >> >> >> newbie but a pretty good technical writer.....
> >> >> >>
> >> >> >> The bad news is that I'm volunteering because I cannot get
> >> ServiceMix
> >> >> to
> >> >> >> work.  After spending about a day going through the binary
> >> >> distribution
> >> >> >> and
> >> >> >> the source from SVN I'm more confused than when I started about how
> >> to
> >> >> >> actually get ServiceMix working.  I started with a fresh install of
> >> >> >> Geronimo
> >> >> >> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of
> >> ServiceMix
> >> >> >> code
> >> >> >> (from todays trunk), and I get a bunch of build failures when I run
> >> >> >> through
> >> >> >> the:
> >> >> >>
> >> >> >>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
> >> >> >> mvn -Dmaven.test.skip=true -Dprofile=step" install"
> >> >> >>
> >> >> >> sequence, and after this I'm not clear on what do actually do, i.e.
> >> >> which
> >> >> >> directories are deployable, what actually needs to get deployed?
> >> are
> >> >> the
> >> >> >> geronimo1-1 projects in the sandbox deployable?  is servicemix-web
> >> >> >> deprecated? which Maven command should I run in the "geronimo"
> >> >> directory
> >> >> >> after running the build process? etc. etc.
> >> >> >>
> >> >> >> So the offer is there - if anyone can help me get through my
> >> install
> >> >> >> problems I will write it up for the rest of the world.  I'll supply
> >> >> all
> >> >> >> relevant Maven/ServiceMix/platform details if I get any takers
> >> >> >>
> >> >> >> Thanks, Michael.
> >> >> >>
> >> >> >> p.s I've been impressed with what I've seen of the architecture for
> >> >> >> ServiceMix - really looking forward to having a working install to
> >> >> play
> >> >> >> with.  I'm an Ant veteran but a newcomer to Maven so lots of what
> >> is
> >> >> >> taken
> >> >> >> for granted in the docs is difficult for me to debug.
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
> >> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Cheers,
> >> >> > Guillaume Nodet
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6621115
> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Cheers,
> >> > Guillaume Nodet
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6629281
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6635979
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: Step by Step Geronimo 1.1 integration

Posted by Michael Lee <mi...@d2see.com>.
Thanks - trying now.  

Written a couple of pages of the howto so far - when this works : ), I will
do a re-run of the entire process to prove it out then post.  Is it best to
add a new page to the wiki directly
(http://goopen.org/confluence/display/SM/Geronimo+Integration) or to post
hear first to see if you think the documentation is reasonable?

Thanks, M.


gnodet wrote:
> 
> Just replace the
> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating
> url by the 3.0 repo which is:
>   http://people.apache.org/repo/m2-incubating-repository/
> 
> On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
>>
>> Tried from fresh source from
>> https://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0
>> as
>> you suggested but no luck so far.
>>
>> I checked on the online sources and the file
>> http://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0/geronimo/servicemix/src/resources/META-INF/geronimo-plugin.xml
>> does call out the
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
>> repository
>>
>> I'm sure I completely deleted my maven repository for good measure, and
>> did
>> a completely fresh checkout from source.  Maven compile seemed a lot
>> cleaner
>> than with the trunk, but it still failed with the same error message as
>> before -
>>
>> Installation FAILED: Server returned HTTP response code: 500 for URL:
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.0-incubating/servicemix-jbi-3.0-incubating.jar
>>
>> Having a go with the binary distribution tonight, but if anyone has a
>> sandox
>> area I'd be very keen to know if anyone else is having problems or
>> whether
>> I'm missing something obvious.....  I will write a step by step guide for
>> what I've done so far to see whether anyone can spot the flaws, or
>> whether
>> there genuinely is a problem to start from scratch.
>>
>> Thanks, M.
>>
>>
>>
>> gnodet wrote:
>> >
>> > There's no reason why the repository
>> >
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
>> > is used.  You should really try with a non snapshot version, as the
>> > geronimo plugin deployer does not really handle snapshot artifacts.
>> >
>> > So I would advise to checkout the 3.0 source tree and build it.
>> > Else, you will need to manually copy the snapshot dependencies
>> > to the geronimo repository.
>> >
>> > On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
>> >>
>> >> Thanks for your help - your responses to postings on this list are
>> >> amazingly
>> >> fast.
>> >>
>> >> I spent a few hours this morning reading the manual for Maven (to get
>> >> past
>> >> the easy questions), successfully compiled the source for service mix
>> >> using
>> >> the two step approach (after manually adding in the extra repository
>> and
>> >> pluginRepository), and then tried to run the commands you suggested
>> >>
>> >> After running
>> >>
>> >> "java -jar bin/deploy.jar install-plugin
>> >> [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car"
>> >>
>> >> I get
>> >>
>> >> "Installation FAILED: Server returned HTTP response code: 500 for URL:
>> >>
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.1-incubating-SNAPSHOT/servicemix-jbi-3.1-incubating-SNAPSHOT.jar"
>> >>
>> >> Accessing
>> >>
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/
>> >> works correctly, so I was wondering if there genuinely was something
>> >> wrong
>> >> with the repository.
>> >>
>> >> I've tried modifying the geronimo-plugin.xml, and changing the first
>> >> source
>> >> repository from it's default to my local repository, and it doesn't
>> seem
>> >> to
>> >> work...  Will try again later toinght
>> >>
>> >>
>> >>
>> <source-repository>file:///S:/development/maven/repository/</source-repository>
>> >>
>> >>
>> >> gnodet wrote:
>> >> >
>> >> > Once you have succesfully built the whole ServiceMix source tree,
>> >> > two geronimo plugins are create in
>> >> >  geronimo/servicemix/target/servicemix-3.0-incubating.car
>> >> >  geronimo/deployer/target/deployer-3.0-incubating.car
>> >> >
>> >> > The following steps are needed in order to deploy these plugins
>> >> >   cd [geronimo-install-dir]
>> >> >   java -jar bin/deploy.jar install-plugin
>> >> > [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
>> >> >   java -jar bin/deploy.jar install-plugin
>> >> > [smx]/geronimo/deployer/target/deployer-3.0-incubating.car
>> >> >
>> >> > This will install the 2 plugins to geronimo, which should now
>> >> > be listed in the console.  Then, do install jbi artifacs, you just
>> >> > need to drop the components / libraries / assemblies to the
>> >> > deploy dir of geronimo.
>> >> >
>> >> > These plugins should be uploaded to the m2 repository,
>> >> > but there is a bug in the geronimo plugin which currently
>> >> > prevent this.
>> >> >
>> >> > Glad you want to help, and ping the list for any problems.
>> >> >
>> >> >
>> >> > On 10/2/06, Michael Lee <mi...@d2see.com> wrote:
>> >> >>
>> >> >> I can start with the good news - I'm happy to make a contribution
>> to
>> >> the
>> >> >> project by writing up some documentation covering a step by step
>> guide
>> >> to
>> >> >> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a
>> >> ServiceMix
>> >> >> newbie but a pretty good technical writer.....
>> >> >>
>> >> >> The bad news is that I'm volunteering because I cannot get
>> ServiceMix
>> >> to
>> >> >> work.  After spending about a day going through the binary
>> >> distribution
>> >> >> and
>> >> >> the source from SVN I'm more confused than when I started about how
>> to
>> >> >> actually get ServiceMix working.  I started with a fresh install of
>> >> >> Geronimo
>> >> >> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of
>> ServiceMix
>> >> >> code
>> >> >> (from todays trunk), and I get a bunch of build failures when I run
>> >> >> through
>> >> >> the:
>> >> >>
>> >> >>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
>> >> >> mvn -Dmaven.test.skip=true -Dprofile=step" install"
>> >> >>
>> >> >> sequence, and after this I'm not clear on what do actually do, i.e.
>> >> which
>> >> >> directories are deployable, what actually needs to get deployed?
>> are
>> >> the
>> >> >> geronimo1-1 projects in the sandbox deployable?  is servicemix-web
>> >> >> deprecated? which Maven command should I run in the "geronimo"
>> >> directory
>> >> >> after running the build process? etc. etc.
>> >> >>
>> >> >> So the offer is there - if anyone can help me get through my
>> install
>> >> >> problems I will write it up for the rest of the world.  I'll supply
>> >> all
>> >> >> relevant Maven/ServiceMix/platform details if I get any takers
>> >> >>
>> >> >> Thanks, Michael.
>> >> >>
>> >> >> p.s I've been impressed with what I've seen of the architecture for
>> >> >> ServiceMix - really looking forward to having a working install to
>> >> play
>> >> >> with.  I'm an Ant veteran but a newcomer to Maven so lots of what
>> is
>> >> >> taken
>> >> >> for granted in the docs is difficult for me to debug.
>> >> >>
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
>> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Cheers,
>> >> > Guillaume Nodet
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6621115
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6629281
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 

-- 
View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6635979
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Step by Step Geronimo 1.1 integration

Posted by Guillaume Nodet <gn...@gmail.com>.
Just replace the
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating
url by the 3.0 repo which is:
  http://people.apache.org/repo/m2-incubating-repository/

On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
>
> Tried from fresh source from
> https://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0 as
> you suggested but no luck so far.
>
> I checked on the online sources and the file
> http://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0/geronimo/servicemix/src/resources/META-INF/geronimo-plugin.xml
> does call out the
> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
> repository
>
> I'm sure I completely deleted my maven repository for good measure, and did
> a completely fresh checkout from source.  Maven compile seemed a lot cleaner
> than with the trunk, but it still failed with the same error message as
> before -
>
> Installation FAILED: Server returned HTTP response code: 500 for URL:
> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.0-incubating/servicemix-jbi-3.0-incubating.jar
>
> Having a go with the binary distribution tonight, but if anyone has a sandox
> area I'd be very keen to know if anyone else is having problems or whether
> I'm missing something obvious.....  I will write a step by step guide for
> what I've done so far to see whether anyone can spot the flaws, or whether
> there genuinely is a problem to start from scratch.
>
> Thanks, M.
>
>
>
> gnodet wrote:
> >
> > There's no reason why the repository
> > http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
> > is used.  You should really try with a non snapshot version, as the
> > geronimo plugin deployer does not really handle snapshot artifacts.
> >
> > So I would advise to checkout the 3.0 source tree and build it.
> > Else, you will need to manually copy the snapshot dependencies
> > to the geronimo repository.
> >
> > On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
> >>
> >> Thanks for your help - your responses to postings on this list are
> >> amazingly
> >> fast.
> >>
> >> I spent a few hours this morning reading the manual for Maven (to get
> >> past
> >> the easy questions), successfully compiled the source for service mix
> >> using
> >> the two step approach (after manually adding in the extra repository and
> >> pluginRepository), and then tried to run the commands you suggested
> >>
> >> After running
> >>
> >> "java -jar bin/deploy.jar install-plugin
> >> [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car"
> >>
> >> I get
> >>
> >> "Installation FAILED: Server returned HTTP response code: 500 for URL:
> >> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.1-incubating-SNAPSHOT/servicemix-jbi-3.1-incubating-SNAPSHOT.jar"
> >>
> >> Accessing
> >> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/
> >> works correctly, so I was wondering if there genuinely was something
> >> wrong
> >> with the repository.
> >>
> >> I've tried modifying the geronimo-plugin.xml, and changing the first
> >> source
> >> repository from it's default to my local repository, and it doesn't seem
> >> to
> >> work...  Will try again later toinght
> >>
> >>
> >> <source-repository>file:///S:/development/maven/repository/</source-repository>
> >>
> >>
> >> gnodet wrote:
> >> >
> >> > Once you have succesfully built the whole ServiceMix source tree,
> >> > two geronimo plugins are create in
> >> >  geronimo/servicemix/target/servicemix-3.0-incubating.car
> >> >  geronimo/deployer/target/deployer-3.0-incubating.car
> >> >
> >> > The following steps are needed in order to deploy these plugins
> >> >   cd [geronimo-install-dir]
> >> >   java -jar bin/deploy.jar install-plugin
> >> > [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
> >> >   java -jar bin/deploy.jar install-plugin
> >> > [smx]/geronimo/deployer/target/deployer-3.0-incubating.car
> >> >
> >> > This will install the 2 plugins to geronimo, which should now
> >> > be listed in the console.  Then, do install jbi artifacs, you just
> >> > need to drop the components / libraries / assemblies to the
> >> > deploy dir of geronimo.
> >> >
> >> > These plugins should be uploaded to the m2 repository,
> >> > but there is a bug in the geronimo plugin which currently
> >> > prevent this.
> >> >
> >> > Glad you want to help, and ping the list for any problems.
> >> >
> >> >
> >> > On 10/2/06, Michael Lee <mi...@d2see.com> wrote:
> >> >>
> >> >> I can start with the good news - I'm happy to make a contribution to
> >> the
> >> >> project by writing up some documentation covering a step by step guide
> >> to
> >> >> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a
> >> ServiceMix
> >> >> newbie but a pretty good technical writer.....
> >> >>
> >> >> The bad news is that I'm volunteering because I cannot get ServiceMix
> >> to
> >> >> work.  After spending about a day going through the binary
> >> distribution
> >> >> and
> >> >> the source from SVN I'm more confused than when I started about how to
> >> >> actually get ServiceMix working.  I started with a fresh install of
> >> >> Geronimo
> >> >> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of ServiceMix
> >> >> code
> >> >> (from todays trunk), and I get a bunch of build failures when I run
> >> >> through
> >> >> the:
> >> >>
> >> >>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
> >> >> mvn -Dmaven.test.skip=true -Dprofile=step" install"
> >> >>
> >> >> sequence, and after this I'm not clear on what do actually do, i.e.
> >> which
> >> >> directories are deployable, what actually needs to get deployed? are
> >> the
> >> >> geronimo1-1 projects in the sandbox deployable?  is servicemix-web
> >> >> deprecated? which Maven command should I run in the "geronimo"
> >> directory
> >> >> after running the build process? etc. etc.
> >> >>
> >> >> So the offer is there - if anyone can help me get through my install
> >> >> problems I will write it up for the rest of the world.  I'll supply
> >> all
> >> >> relevant Maven/ServiceMix/platform details if I get any takers
> >> >>
> >> >> Thanks, Michael.
> >> >>
> >> >> p.s I've been impressed with what I've seen of the architecture for
> >> >> ServiceMix - really looking forward to having a working install to
> >> play
> >> >> with.  I'm an Ant veteran but a newcomer to Maven so lots of what is
> >> >> taken
> >> >> for granted in the docs is difficult for me to debug.
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Cheers,
> >> > Guillaume Nodet
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6621115
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6629281
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: Step by Step Geronimo 1.1 integration

Posted by Michael Lee <mi...@d2see.com>.
Tried from fresh source from
https://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0 as
you suggested but no luck so far.  

I checked on the online sources and the file
http://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.0/geronimo/servicemix/src/resources/META-INF/geronimo-plugin.xml
does call out the
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
repository

I'm sure I completely deleted my maven repository for good measure, and did
a completely fresh checkout from source.  Maven compile seemed a lot cleaner
than with the trunk, but it still failed with the same error message as
before -

Installation FAILED: Server returned HTTP response code: 500 for URL:
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.0-incubating/servicemix-jbi-3.0-incubating.jar

Having a go with the binary distribution tonight, but if anyone has a sandox
area I'd be very keen to know if anyone else is having problems or whether
I'm missing something obvious.....  I will write a step by step guide for
what I've done so far to see whether anyone can spot the flaws, or whether
there genuinely is a problem to start from scratch.

Thanks, M.



gnodet wrote:
> 
> There's no reason why the repository
> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
> is used.  You should really try with a non snapshot version, as the
> geronimo plugin deployer does not really handle snapshot artifacts.
> 
> So I would advise to checkout the 3.0 source tree and build it.
> Else, you will need to manually copy the snapshot dependencies
> to the geronimo repository.
> 
> On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
>>
>> Thanks for your help - your responses to postings on this list are
>> amazingly
>> fast.
>>
>> I spent a few hours this morning reading the manual for Maven (to get
>> past
>> the easy questions), successfully compiled the source for service mix
>> using
>> the two step approach (after manually adding in the extra repository and
>> pluginRepository), and then tried to run the commands you suggested
>>
>> After running
>>
>> "java -jar bin/deploy.jar install-plugin
>> [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car"
>>
>> I get
>>
>> "Installation FAILED: Server returned HTTP response code: 500 for URL:
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.1-incubating-SNAPSHOT/servicemix-jbi-3.1-incubating-SNAPSHOT.jar"
>>
>> Accessing
>> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/
>> works correctly, so I was wondering if there genuinely was something
>> wrong
>> with the repository.
>>
>> I've tried modifying the geronimo-plugin.xml, and changing the first
>> source
>> repository from it's default to my local repository, and it doesn't seem
>> to
>> work...  Will try again later toinght
>>
>>
>> <source-repository>file:///S:/development/maven/repository/</source-repository>
>>
>>
>> gnodet wrote:
>> >
>> > Once you have succesfully built the whole ServiceMix source tree,
>> > two geronimo plugins are create in
>> >  geronimo/servicemix/target/servicemix-3.0-incubating.car
>> >  geronimo/deployer/target/deployer-3.0-incubating.car
>> >
>> > The following steps are needed in order to deploy these plugins
>> >   cd [geronimo-install-dir]
>> >   java -jar bin/deploy.jar install-plugin
>> > [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
>> >   java -jar bin/deploy.jar install-plugin
>> > [smx]/geronimo/deployer/target/deployer-3.0-incubating.car
>> >
>> > This will install the 2 plugins to geronimo, which should now
>> > be listed in the console.  Then, do install jbi artifacs, you just
>> > need to drop the components / libraries / assemblies to the
>> > deploy dir of geronimo.
>> >
>> > These plugins should be uploaded to the m2 repository,
>> > but there is a bug in the geronimo plugin which currently
>> > prevent this.
>> >
>> > Glad you want to help, and ping the list for any problems.
>> >
>> >
>> > On 10/2/06, Michael Lee <mi...@d2see.com> wrote:
>> >>
>> >> I can start with the good news - I'm happy to make a contribution to
>> the
>> >> project by writing up some documentation covering a step by step guide
>> to
>> >> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a
>> ServiceMix
>> >> newbie but a pretty good technical writer.....
>> >>
>> >> The bad news is that I'm volunteering because I cannot get ServiceMix
>> to
>> >> work.  After spending about a day going through the binary
>> distribution
>> >> and
>> >> the source from SVN I'm more confused than when I started about how to
>> >> actually get ServiceMix working.  I started with a fresh install of
>> >> Geronimo
>> >> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of ServiceMix
>> >> code
>> >> (from todays trunk), and I get a bunch of build failures when I run
>> >> through
>> >> the:
>> >>
>> >>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
>> >> mvn -Dmaven.test.skip=true -Dprofile=step" install"
>> >>
>> >> sequence, and after this I'm not clear on what do actually do, i.e.
>> which
>> >> directories are deployable, what actually needs to get deployed? are
>> the
>> >> geronimo1-1 projects in the sandbox deployable?  is servicemix-web
>> >> deprecated? which Maven command should I run in the "geronimo"
>> directory
>> >> after running the build process? etc. etc.
>> >>
>> >> So the offer is there - if anyone can help me get through my install
>> >> problems I will write it up for the rest of the world.  I'll supply
>> all
>> >> relevant Maven/ServiceMix/platform details if I get any takers
>> >>
>> >> Thanks, Michael.
>> >>
>> >> p.s I've been impressed with what I've seen of the architecture for
>> >> ServiceMix - really looking forward to having a working install to
>> play
>> >> with.  I'm an Ant veteran but a newcomer to Maven so lots of what is
>> >> taken
>> >> for granted in the docs is difficult for me to debug.
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6621115
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 

-- 
View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6629281
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Step by Step Geronimo 1.1 integration

Posted by Guillaume Nodet <gn...@gmail.com>.
There's no reason why the repository
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
is used.  You should really try with a non snapshot version, as the
geronimo plugin deployer does not really handle snapshot artifacts.

So I would advise to checkout the 3.0 source tree and build it.
Else, you will need to manually copy the snapshot dependencies
to the geronimo repository.

On 10/3/06, Michael Lee <mi...@d2see.com> wrote:
>
> Thanks for your help - your responses to postings on this list are amazingly
> fast.
>
> I spent a few hours this morning reading the manual for Maven (to get past
> the easy questions), successfully compiled the source for service mix using
> the two step approach (after manually adding in the extra repository and
> pluginRepository), and then tried to run the commands you suggested
>
> After running
>
> "java -jar bin/deploy.jar install-plugin
> [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car"
>
> I get
>
> "Installation FAILED: Server returned HTTP response code: 500 for URL:
> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.1-incubating-SNAPSHOT/servicemix-jbi-3.1-incubating-SNAPSHOT.jar"
>
> Accessing
> http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/
> works correctly, so I was wondering if there genuinely was something wrong
> with the repository.
>
> I've tried modifying the geronimo-plugin.xml, and changing the first source
> repository from it's default to my local repository, and it doesn't seem to
> work...  Will try again later toinght
>
>
> <source-repository>file:///S:/development/maven/repository/</source-repository>
>
>
> gnodet wrote:
> >
> > Once you have succesfully built the whole ServiceMix source tree,
> > two geronimo plugins are create in
> >  geronimo/servicemix/target/servicemix-3.0-incubating.car
> >  geronimo/deployer/target/deployer-3.0-incubating.car
> >
> > The following steps are needed in order to deploy these plugins
> >   cd [geronimo-install-dir]
> >   java -jar bin/deploy.jar install-plugin
> > [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
> >   java -jar bin/deploy.jar install-plugin
> > [smx]/geronimo/deployer/target/deployer-3.0-incubating.car
> >
> > This will install the 2 plugins to geronimo, which should now
> > be listed in the console.  Then, do install jbi artifacs, you just
> > need to drop the components / libraries / assemblies to the
> > deploy dir of geronimo.
> >
> > These plugins should be uploaded to the m2 repository,
> > but there is a bug in the geronimo plugin which currently
> > prevent this.
> >
> > Glad you want to help, and ping the list for any problems.
> >
> >
> > On 10/2/06, Michael Lee <mi...@d2see.com> wrote:
> >>
> >> I can start with the good news - I'm happy to make a contribution to the
> >> project by writing up some documentation covering a step by step guide to
> >> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a ServiceMix
> >> newbie but a pretty good technical writer.....
> >>
> >> The bad news is that I'm volunteering because I cannot get ServiceMix to
> >> work.  After spending about a day going through the binary distribution
> >> and
> >> the source from SVN I'm more confused than when I started about how to
> >> actually get ServiceMix working.  I started with a fresh install of
> >> Geronimo
> >> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of ServiceMix
> >> code
> >> (from todays trunk), and I get a bunch of build failures when I run
> >> through
> >> the:
> >>
> >>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
> >> mvn -Dmaven.test.skip=true -Dprofile=step" install"
> >>
> >> sequence, and after this I'm not clear on what do actually do, i.e. which
> >> directories are deployable, what actually needs to get deployed? are the
> >> geronimo1-1 projects in the sandbox deployable?  is servicemix-web
> >> deprecated? which Maven command should I run in the "geronimo" directory
> >> after running the build process? etc. etc.
> >>
> >> So the offer is there - if anyone can help me get through my install
> >> problems I will write it up for the rest of the world.  I'll supply all
> >> relevant Maven/ServiceMix/platform details if I get any takers
> >>
> >> Thanks, Michael.
> >>
> >> p.s I've been impressed with what I've seen of the architecture for
> >> ServiceMix - really looking forward to having a working install to play
> >> with.  I'm an Ant veteran but a newcomer to Maven so lots of what is
> >> taken
> >> for granted in the docs is difficult for me to debug.
> >>
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6621115
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: Step by Step Geronimo 1.1 integration

Posted by Michael Lee <mi...@d2see.com>.
Thanks for your help - your responses to postings on this list are amazingly
fast.

I spent a few hours this morning reading the manual for Maven (to get past
the easy questions), successfully compiled the source for service mix using
the two step approach (after manually adding in the extra repository and
pluginRepository), and then tried to run the commands you suggested

After running  

"java -jar bin/deploy.jar install-plugin
[smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car" 

I get 

"Installation FAILED: Server returned HTTP response code: 500 for URL:
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.1-incubating-SNAPSHOT/servicemix-jbi-3.1-incubating-SNAPSHOT.jar"

Accessing
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/
works correctly, so I was wondering if there genuinely was something wrong
with the repository.

I've tried modifying the geronimo-plugin.xml, and changing the first source
repository from it's default to my local repository, and it doesn't seem to
work...  Will try again later toinght


<source-repository>file:///S:/development/maven/repository/</source-repository>


gnodet wrote:
> 
> Once you have succesfully built the whole ServiceMix source tree,
> two geronimo plugins are create in
>  geronimo/servicemix/target/servicemix-3.0-incubating.car
>  geronimo/deployer/target/deployer-3.0-incubating.car
> 
> The following steps are needed in order to deploy these plugins
>   cd [geronimo-install-dir]
>   java -jar bin/deploy.jar install-plugin
> [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
>   java -jar bin/deploy.jar install-plugin
> [smx]/geronimo/deployer/target/deployer-3.0-incubating.car
> 
> This will install the 2 plugins to geronimo, which should now
> be listed in the console.  Then, do install jbi artifacs, you just
> need to drop the components / libraries / assemblies to the
> deploy dir of geronimo.
> 
> These plugins should be uploaded to the m2 repository,
> but there is a bug in the geronimo plugin which currently
> prevent this.
> 
> Glad you want to help, and ping the list for any problems.
> 
> 
> On 10/2/06, Michael Lee <mi...@d2see.com> wrote:
>>
>> I can start with the good news - I'm happy to make a contribution to the
>> project by writing up some documentation covering a step by step guide to
>> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a ServiceMix
>> newbie but a pretty good technical writer.....
>>
>> The bad news is that I'm volunteering because I cannot get ServiceMix to
>> work.  After spending about a day going through the binary distribution
>> and
>> the source from SVN I'm more confused than when I started about how to
>> actually get ServiceMix working.  I started with a fresh install of
>> Geronimo
>> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of ServiceMix
>> code
>> (from todays trunk), and I get a bunch of build failures when I run
>> through
>> the:
>>
>>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
>> mvn -Dmaven.test.skip=true -Dprofile=step" install"
>>
>> sequence, and after this I'm not clear on what do actually do, i.e. which
>> directories are deployable, what actually needs to get deployed? are the
>> geronimo1-1 projects in the sandbox deployable?  is servicemix-web
>> deprecated? which Maven command should I run in the "geronimo" directory
>> after running the build process? etc. etc.
>>
>> So the offer is there - if anyone can help me get through my install
>> problems I will write it up for the rest of the world.  I'll supply all
>> relevant Maven/ServiceMix/platform details if I get any takers
>>
>> Thanks, Michael.
>>
>> p.s I've been impressed with what I've seen of the architecture for
>> ServiceMix - really looking forward to having a working install to play
>> with.  I'm an Ant veteran but a newcomer to Maven so lots of what is
>> taken
>> for granted in the docs is difficult for me to debug.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 

-- 
View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6621115
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Step by Step Geronimo 1.1 integration

Posted by Guillaume Nodet <gn...@gmail.com>.
Once you have succesfully built the whole ServiceMix source tree,
two geronimo plugins are create in
 geronimo/servicemix/target/servicemix-3.0-incubating.car
 geronimo/deployer/target/deployer-3.0-incubating.car

The following steps are needed in order to deploy these plugins
  cd [geronimo-install-dir]
  java -jar bin/deploy.jar install-plugin
[smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
  java -jar bin/deploy.jar install-plugin
[smx]/geronimo/deployer/target/deployer-3.0-incubating.car

This will install the 2 plugins to geronimo, which should now
be listed in the console.  Then, do install jbi artifacs, you just
need to drop the components / libraries / assemblies to the
deploy dir of geronimo.

These plugins should be uploaded to the m2 repository,
but there is a bug in the geronimo plugin which currently
prevent this.

Glad you want to help, and ping the list for any problems.


On 10/2/06, Michael Lee <mi...@d2see.com> wrote:
>
> I can start with the good news - I'm happy to make a contribution to the
> project by writing up some documentation covering a step by step guide to
> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a ServiceMix
> newbie but a pretty good technical writer.....
>
> The bad news is that I'm volunteering because I cannot get ServiceMix to
> work.  After spending about a day going through the binary distribution and
> the source from SVN I'm more confused than when I started about how to
> actually get ServiceMix working.  I started with a fresh install of Geronimo
> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of ServiceMix code
> (from todays trunk), and I get a bunch of build failures when I run through
> the:
>
>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
> mvn -Dmaven.test.skip=true -Dprofile=step" install"
>
> sequence, and after this I'm not clear on what do actually do, i.e. which
> directories are deployable, what actually needs to get deployed? are the
> geronimo1-1 projects in the sandbox deployable?  is servicemix-web
> deprecated? which Maven command should I run in the "geronimo" directory
> after running the build process? etc. etc.
>
> So the offer is there - if anyone can help me get through my install
> problems I will write it up for the rest of the world.  I'll supply all
> relevant Maven/ServiceMix/platform details if I get any takers
>
> Thanks, Michael.
>
> p.s I've been impressed with what I've seen of the architecture for
> ServiceMix - really looking forward to having a working install to play
> with.  I'm an Ant veteran but a newcomer to Maven so lots of what is taken
> for granted in the docs is difficult for me to debug.
>
>
> --
> View this message in context: http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet