You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Ying <Y....@morganstanley.com> on 2006/08/17 22:21:04 UTC

hot-deployment without lwcontainer

Hi,

I waswondering wether 3.0M2 has fully implemented jbi spec of
hot-deployment. All examples I tried (bpel and loan-broker) are actually
using lwcontainer to do the hot -deployment.

So my questions are:

1) Can we hot-deployment bc/se (components) without using lwcontainer?
2) How many ways can we use hot-deployment? I know two:
 a) copy to install/deploy dir
 b) use ant-task but have to manual start

Thanks in advance!
-Ying
-- 
View this message in context: http://www.nabble.com/hot-deployment-without-lwcontainer-tf2123749.html#a5858845
Sent from the ServiceMix - User forum at Nabble.com.


Re: hot-deployment without lwcontainer

Posted by Guillaume Nodet <gn...@gmail.com>.
Take a look at the soap-binding example or the wsdl-first example (if you
download a nightly distribution)

On 8/17/06, Zhao, Ying (IT) <Y....@morganstanley.com> wrote:
> So examples in M2 could be hot-deployed without lwconainer by just
> dropped to install/deploy dir.
>
> Can you point out some specific example names (those with src code (not
> the client) using JBI packing) so that I can try it?
>
> Thanks,
> -Ying
>
> -----Original Message-----
> From: Guillaume Nodet [mailto:gnodet@gmail.com]
> Sent: Thursday, August 17, 2006 5:18 PM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: hot-deployment without lwcontainer
>
> The container needs a servicemix.xml configuration file. that's true.
> But if you use the standard JBI packaging with SA/SU, you won't
> configure your components inside this main configuration file.
> You will just install your component and then deploy your service
> assemblies.
>
> Some examples in the distribution use the standard JBI packaging.  In
> M2, they still use a servicemix.xml configuration file, but it is not
> used for components, just to configure the container.
>
> On 8/17/06, Zhao, Ying (IT) <Y....@morganstanley.com> wrote:
> > But they (all the examples you pointed out) have to use a
> > servicemix.xml at the time container started up or got bounced, right?
>
> > Then that is not hot deployment. Did I miss something?
> >
> > -Ying
> >
> > -----Original Message-----
> > From: Philip Dodds [mailto:philip.dodds@gmail.com]
> > Sent: Thursday, August 17, 2006 4:25 PM
> > To: servicemix-users@geronimo.apache.org
> > Subject: Re: hot-deployment without lwcontainer
> >
> > There are other examples of SE/BC components that can be hotdeployed
> > beyond lwcontainer - have a look at :
> >
> > http://www.servicemix.org/site/servicemix-http.html
> > http://www.servicemix.org/site/servicemix-jms.html
> > http://www.servicemix.org/site/servicemix-eip.html
> > http://www.servicemix.org/site/servicemix-bpe.html
> > http://www.servicemix.org/site/servicemix-jsr181.html
> >
> > These are all based on the XBean infrastructure but are full
> > components and not components that require the lwcontainer.
> >
> > You are right that hot deployment can be through the file system
> > (install/deploy directory) and the ANT tasks - you can also use the
> > Maven tasks (which wrap ANT but can provide depedency resolution and
> > installation).
> >
> > P
> >
> > On 8/17/06, Ying <Y....@morganstanley.com> wrote:
> > >
> > > Hi,
> > >
> > > I waswondering wether 3.0M2 has fully implemented jbi spec of
> > > hot-deployment. All examples I tried (bpel and loan-broker) are
> > > actually using lwcontainer to do the hot -deployment.
> > >
> > > So my questions are:
> > >
> > > 1) Can we hot-deployment bc/se (components) without using
> lwcontainer?
> > > 2) How many ways can we use hot-deployment? I know two:
> > >  a) copy to install/deploy dir
> > >  b) use ant-task but have to manual start
> > >
> > > Thanks in advance!
> > > -Ying
> > > --
> > > View this message in context:
> > > http://www.nabble.com/hot-deployment-without-lwcontainer-tf2123749.h
> > > tm
> > > l#a5858845 Sent from the ServiceMix - User forum at Nabble.com.
> > >
> > >
> > --------------------------------------------------------
> >
> > NOTICE: If received in error, please destroy and notify sender. Sender
> does not intend to waive confidentiality or privilege. Use of this email
> is prohibited when received in error.
> >
>
>
> --
> Cheers,
> Guillaume Nodet
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
>


-- 
Cheers,
Guillaume Nodet

RE: hot-deployment without lwcontainer

Posted by "Zhao, Ying (IT)" <Y....@morganstanley.com>.
So examples in M2 could be hot-deployed without lwconainer by just
dropped to install/deploy dir.

Can you point out some specific example names (those with src code (not
the client) using JBI packing) so that I can try it?

Thanks,
-Ying

-----Original Message-----
From: Guillaume Nodet [mailto:gnodet@gmail.com] 
Sent: Thursday, August 17, 2006 5:18 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: hot-deployment without lwcontainer

The container needs a servicemix.xml configuration file. that's true.
But if you use the standard JBI packaging with SA/SU, you won't
configure your components inside this main configuration file.
You will just install your component and then deploy your service
assemblies.

Some examples in the distribution use the standard JBI packaging.  In
M2, they still use a servicemix.xml configuration file, but it is not
used for components, just to configure the container.

On 8/17/06, Zhao, Ying (IT) <Y....@morganstanley.com> wrote:
> But they (all the examples you pointed out) have to use a 
> servicemix.xml at the time container started up or got bounced, right?

> Then that is not hot deployment. Did I miss something?
>
> -Ying
>
> -----Original Message-----
> From: Philip Dodds [mailto:philip.dodds@gmail.com]
> Sent: Thursday, August 17, 2006 4:25 PM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: hot-deployment without lwcontainer
>
> There are other examples of SE/BC components that can be hotdeployed 
> beyond lwcontainer - have a look at :
>
> http://www.servicemix.org/site/servicemix-http.html
> http://www.servicemix.org/site/servicemix-jms.html
> http://www.servicemix.org/site/servicemix-eip.html
> http://www.servicemix.org/site/servicemix-bpe.html
> http://www.servicemix.org/site/servicemix-jsr181.html
>
> These are all based on the XBean infrastructure but are full 
> components and not components that require the lwcontainer.
>
> You are right that hot deployment can be through the file system 
> (install/deploy directory) and the ANT tasks - you can also use the 
> Maven tasks (which wrap ANT but can provide depedency resolution and 
> installation).
>
> P
>
> On 8/17/06, Ying <Y....@morganstanley.com> wrote:
> >
> > Hi,
> >
> > I waswondering wether 3.0M2 has fully implemented jbi spec of 
> > hot-deployment. All examples I tried (bpel and loan-broker) are 
> > actually using lwcontainer to do the hot -deployment.
> >
> > So my questions are:
> >
> > 1) Can we hot-deployment bc/se (components) without using
lwcontainer?
> > 2) How many ways can we use hot-deployment? I know two:
> >  a) copy to install/deploy dir
> >  b) use ant-task but have to manual start
> >
> > Thanks in advance!
> > -Ying
> > --
> > View this message in context:
> > http://www.nabble.com/hot-deployment-without-lwcontainer-tf2123749.h
> > tm
> > l#a5858845 Sent from the ServiceMix - User forum at Nabble.com.
> >
> >
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender
does not intend to waive confidentiality or privilege. Use of this email
is prohibited when received in error.
>


--
Cheers,
Guillaume Nodet
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

Re: hot-deployment without lwcontainer

Posted by Guillaume Nodet <gn...@gmail.com>.
The container needs a servicemix.xml configuration file. that's true.
But if you use the standard JBI packaging with SA/SU, you won't configure
your components inside this main configuration file.
You will just install your component and then deploy your service assemblies.

Some examples in the distribution use the standard JBI packaging.  In M2, they
still use a servicemix.xml configuration file, but it is not used for
components, just
to configure the container.

On 8/17/06, Zhao, Ying (IT) <Y....@morganstanley.com> wrote:
> But they (all the examples you pointed out) have to use a servicemix.xml
> at the time container started up or got bounced, right? Then that is not
> hot deployment. Did I miss something?
>
> -Ying
>
> -----Original Message-----
> From: Philip Dodds [mailto:philip.dodds@gmail.com]
> Sent: Thursday, August 17, 2006 4:25 PM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: hot-deployment without lwcontainer
>
> There are other examples of SE/BC components that can be hotdeployed
> beyond lwcontainer - have a look at :
>
> http://www.servicemix.org/site/servicemix-http.html
> http://www.servicemix.org/site/servicemix-jms.html
> http://www.servicemix.org/site/servicemix-eip.html
> http://www.servicemix.org/site/servicemix-bpe.html
> http://www.servicemix.org/site/servicemix-jsr181.html
>
> These are all based on the XBean infrastructure but are full components
> and not components that require the lwcontainer.
>
> You are right that hot deployment can be through the file system
> (install/deploy directory) and the ANT tasks - you can also use the
> Maven tasks (which wrap ANT but can provide depedency resolution and
> installation).
>
> P
>
> On 8/17/06, Ying <Y....@morganstanley.com> wrote:
> >
> > Hi,
> >
> > I waswondering wether 3.0M2 has fully implemented jbi spec of
> > hot-deployment. All examples I tried (bpel and loan-broker) are
> > actually using lwcontainer to do the hot -deployment.
> >
> > So my questions are:
> >
> > 1) Can we hot-deployment bc/se (components) without using lwcontainer?
> > 2) How many ways can we use hot-deployment? I know two:
> >  a) copy to install/deploy dir
> >  b) use ant-task but have to manual start
> >
> > Thanks in advance!
> > -Ying
> > --
> > View this message in context:
> > http://www.nabble.com/hot-deployment-without-lwcontainer-tf2123749.htm
> > l#a5858845 Sent from the ServiceMix - User forum at Nabble.com.
> >
> >
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
>


-- 
Cheers,
Guillaume Nodet

RE: hot-deployment without lwcontainer

Posted by "Zhao, Ying (IT)" <Y....@morganstanley.com>.
But they (all the examples you pointed out) have to use a servicemix.xml
at the time container started up or got bounced, right? Then that is not
hot deployment. Did I miss something?

-Ying

-----Original Message-----
From: Philip Dodds [mailto:philip.dodds@gmail.com] 
Sent: Thursday, August 17, 2006 4:25 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: hot-deployment without lwcontainer

There are other examples of SE/BC components that can be hotdeployed
beyond lwcontainer - have a look at :

http://www.servicemix.org/site/servicemix-http.html
http://www.servicemix.org/site/servicemix-jms.html
http://www.servicemix.org/site/servicemix-eip.html
http://www.servicemix.org/site/servicemix-bpe.html
http://www.servicemix.org/site/servicemix-jsr181.html

These are all based on the XBean infrastructure but are full components
and not components that require the lwcontainer.

You are right that hot deployment can be through the file system
(install/deploy directory) and the ANT tasks - you can also use the
Maven tasks (which wrap ANT but can provide depedency resolution and
installation).

P

On 8/17/06, Ying <Y....@morganstanley.com> wrote:
>
> Hi,
>
> I waswondering wether 3.0M2 has fully implemented jbi spec of 
> hot-deployment. All examples I tried (bpel and loan-broker) are 
> actually using lwcontainer to do the hot -deployment.
>
> So my questions are:
>
> 1) Can we hot-deployment bc/se (components) without using lwcontainer?
> 2) How many ways can we use hot-deployment? I know two:
>  a) copy to install/deploy dir
>  b) use ant-task but have to manual start
>
> Thanks in advance!
> -Ying
> --
> View this message in context: 
> http://www.nabble.com/hot-deployment-without-lwcontainer-tf2123749.htm
> l#a5858845 Sent from the ServiceMix - User forum at Nabble.com.
>
>
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

Re: hot-deployment without lwcontainer

Posted by Philip Dodds <ph...@gmail.com>.
There are other examples of SE/BC components that can be hotdeployed
beyond lwcontainer - have a look at :

http://www.servicemix.org/site/servicemix-http.html
http://www.servicemix.org/site/servicemix-jms.html
http://www.servicemix.org/site/servicemix-eip.html
http://www.servicemix.org/site/servicemix-bpe.html
http://www.servicemix.org/site/servicemix-jsr181.html

These are all based on the XBean infrastructure but are full
components and not components that require the lwcontainer.

You are right that hot deployment can be through the file system
(install/deploy directory) and the ANT tasks - you can also use the
Maven tasks (which wrap ANT but can provide depedency resolution and
installation).

P

On 8/17/06, Ying <Y....@morganstanley.com> wrote:
>
> Hi,
>
> I waswondering wether 3.0M2 has fully implemented jbi spec of
> hot-deployment. All examples I tried (bpel and loan-broker) are actually
> using lwcontainer to do the hot -deployment.
>
> So my questions are:
>
> 1) Can we hot-deployment bc/se (components) without using lwcontainer?
> 2) How many ways can we use hot-deployment? I know two:
>  a) copy to install/deploy dir
>  b) use ant-task but have to manual start
>
> Thanks in advance!
> -Ying
> --
> View this message in context: http://www.nabble.com/hot-deployment-without-lwcontainer-tf2123749.html#a5858845
> Sent from the ServiceMix - User forum at Nabble.com.
>
>