You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Dain Sundstrom <da...@coredevelopers.net> on 2003/08/21 07:33:32 UTC

[example] deployment and dependency services

Hi all,

This is directions on how to install the examples which show off the  
deployment and dependency services.  This demo works on my apple  
laptop, but may not work on you machine.  If it doesn't, please respond  
to this post and I'll fix the problem.

Good Luck,

-dain



Download the current cvs tree:

[12:09:33] dain$ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic  
co -P incubator-geronimo
cvs server: Updating incubator-geronimo
U incubator-geronimo/.cvsignore
U incubator-geronimo/LICENSE.txt
<snip/>



Change directory to the new tree:

[12:10:01] dain$ cd incubator-geronimo/



Build geronimo:

[12:11:20] dain$ maven
  __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

Starting the reactor...
Our processing order:
Geronimo :: Common
Geronimo :: Java Transaction API Specification
<snip/>
BUILD SUCCESSFUL
Total time: 2 minutes 52 seconds



Down load the deploy.zip file from elba.sf.net/deploy.zip using wget or  
any web browser:

[12:10:05] dain$ wget elba.sf.net/deploy.zip
--00:10:32--  http://elba.sf.net/deploy.zip
            => `deploy.zip'
<snip>
00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]




Unzip the deploy.zip into the geronimo directory (this will create a  
deploy directory):

[12:15:58] dain$ jar -xf deploy.zip




Run geronimo:

[12:17:50] dain$ maven run
  __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

Starting the reactor...
Our processing order:
Geronimo :: Core
+----------------------------------------
| Executing (run): Geronimo :: Core
| Memory: 3M/4M
+----------------------------------------
Attempting to download mx4j-SNAPSHOT.jar.
Attempting to download mx4j-tools-SNAPSHOT.jar.
Attempting to download servletapi-SNAPSHOT.jar.
run:
modules:reactor:init:

modules:reactor:
run:
<snip/>
     [java] 00:18:14,376 DEBUG [Simple] geronimo.example:alignment=Good  
State changed from starting to running
     [java] 00:18:44,372 INFO  [Simple] Duuuh!  
geronimo.example:alignment=Evil
     [java] 00:19:14,373 INFO  [Simple] Duuuh!  
geronimo.example:alignment=Evil



Open http://localhost:8080/  in a browser and play with the start, stop  
and startRecusive methods on the following objects:

geronimo.example
     * alignment=Evil
     * alignment=Good
     * alignment=Neutral

geronimo.deployment  (these one will be named something like this)
     *  
role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/ 
incubator-geronimo/modules/core/../../deploy/example/dependency- 
service.xml"
     *  
role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/ 
incubator-geronimo/modules/core/../../deploy/example/test-service.xml"



If things don't work like you think they should, please respond to this  
email.

-dain

/*************************
  * Dain Sundstrom
  * Partner
  * Core Developers Network
  *************************/


Re: [example] deployment and dependency services

Posted by Dain Sundstrom <da...@coredevelopers.net>.
The relationship mbean I wrote can handle any relation with two roles,  
so you can have 1:1 1:n and n:m.  The relation service supports  
relation with 0-n roles, but to keep things simple my mbean will only  
work with a two role relation.

-dain

On Monday, August 25, 2003, at 07:44 AM, Jan Bartel wrote:

> It seems to be working now, thanks.
>
> Does the relationship model support 1-n relationships or is it  
> strictly 1-1?
>
> regards,
> Jan
>
>> That is what you should have.  My guess is Jason's latest commits   
>> changes the location where the server process starts, and the   
>> "../../deploy" path you see in boot-service.xml is relative to the   
>> server start location.
>> I am in the middle of some coding and don't want to update to Jason's  
>>  current changes right now, but I'll check it out later (unless you   
>> figure it out first).
>> -dain
>> On Sunday, August 24, 2003, at 04:08 PM, Jan Bartel wrote:
>>> Dain,
>>>
>>>> This is directions on how to install the examples which show off  
>>>> the   deployment and dependency services.  This demo works on my  
>>>> apple   laptop, but may not work on you machine.  If it doesn't,  
>>>> please  respond  to this post and I'll fix the problem.
>>>
>>> I've followed the instructions below, and I now have:
>>>
>>> $HOME/src/incubator-geronimo
>>>                    /deploy
>>>                           /example
>>>                           /jetty-hack
>>>                    /modules
>>>                    /etc
>>>                    /specs
>>>                    /xdoc
>>>
>>> If I run the "maven run" target, I don't see either of the example   
>>> service deployments being run. I've tried putting the deploy  
>>> directory  in various other places, but nothing happens other than  
>>> the bootstrap  services being started.
>>>
>>> Which directory should deploy live under?
>>>
>>> Jan
>>>
>>>> Good Luck,
>>>> -dain
>>>> Download the current cvs tree:
>>>> [12:09:33] dain$ cvs -d   
>>>> :pserver:anoncvs@cvs.apache.org:/home/cvspublic  co -P   
>>>> incubator-geronimo
>>>> cvs server: Updating incubator-geronimo
>>>> U incubator-geronimo/.cvsignore
>>>> U incubator-geronimo/LICENSE.txt
>>>> <snip/>
>>>> Change directory to the new tree:
>>>> [12:10:01] dain$ cd incubator-geronimo/
>>>> Build geronimo:
>>>> [12:11:20] dain$ maven
>>>>  __  __
>>>> |  \/  |__ _Apache__ ___
>>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>>>> Starting the reactor...
>>>> Our processing order:
>>>> Geronimo :: Common
>>>> Geronimo :: Java Transaction API Specification
>>>> <snip/>
>>>> BUILD SUCCESSFUL
>>>> Total time: 2 minutes 52 seconds
>>>> Down load the deploy.zip file from elba.sf.net/deploy.zip using  
>>>> wget  or  any web browser:
>>>> [12:10:05] dain$ wget elba.sf.net/deploy.zip
>>>> --00:10:32--  http://elba.sf.net/deploy.zip
>>>>            => `deploy.zip'
>>>> <snip>
>>>> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
>>>> Unzip the deploy.zip into the geronimo directory (this will create  
>>>> a   deploy directory):
>>>> [12:15:58] dain$ jar -xf deploy.zip
>>>> Run geronimo:
>>>> [12:17:50] dain$ maven run
>>>>  __  __
>>>> |  \/  |__ _Apache__ ___
>>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>>>> Starting the reactor...
>>>> Our processing order:
>>>> Geronimo :: Core
>>>> +----------------------------------------
>>>> | Executing (run): Geronimo :: Core
>>>> | Memory: 3M/4M
>>>> +----------------------------------------
>>>> Attempting to download mx4j-SNAPSHOT.jar.
>>>> Attempting to download mx4j-tools-SNAPSHOT.jar.
>>>> Attempting to download servletapi-SNAPSHOT.jar.
>>>> run:
>>>> modules:reactor:init:
>>>> modules:reactor:
>>>> run:
>>>> <snip/>
>>>>     [java] 00:18:14,376 DEBUG [Simple]   
>>>> geronimo.example:alignment=Good  State changed from starting to   
>>>> running
>>>>     [java] 00:18:44,372 INFO  [Simple] Duuuh!    
>>>> geronimo.example:alignment=Evil
>>>>     [java] 00:19:14,373 INFO  [Simple] Duuuh!    
>>>> geronimo.example:alignment=Evil
>>>> Open http://localhost:8080/  in a browser and play with the start,   
>>>> stop  and startRecusive methods on the following objects:
>>>> geronimo.example
>>>>     * alignment=Evil
>>>>     * alignment=Good
>>>>     * alignment=Neutral
>>>> geronimo.deployment  (these one will be named something like this)
>>>>     *    
>>>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/ 
>>>> geronimo/   
>>>> incubator-geronimo/modules/core/../../deploy/example/dependency-   
>>>> service.xml"
>>>>     *    
>>>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/ 
>>>> geronimo/   
>>>> incubator-geronimo/modules/core/../../deploy/example/test->>  
>>>> service.xml"
>>>> If things don't work like you think they should, please respond to   
>>>> this  email.
>>>> -dain
>>>> /*************************
>>>>  * Dain Sundstrom
>>>>  * Partner
>>>>  * Core Developers Network
>>>>  *************************/
>>>
>>>
>>>
>>>
>> /*************************
>>  * Dain Sundstrom
>>  * Partner
>>  * Core Developers Network
>>  *************************/
>
>
>

/*************************
  * Dain Sundstrom
  * Partner
  * Core Developers Network
  *************************/


Re: [example] deployment and dependency services

Posted by Jan Bartel <ja...@mortbay.com>.
It seems to be working now, thanks.

Does the relationship model support 1-n relationships or is it strictly 1-1?

regards,
Jan

> That is what you should have.  My guess is Jason's latest commits  
> changes the location where the server process starts, and the  
> "../../deploy" path you see in boot-service.xml is relative to the  
> server start location.
> 
> I am in the middle of some coding and don't want to update to Jason's  
> current changes right now, but I'll check it out later (unless you  
> figure it out first).
> 
> -dain
> 
> On Sunday, August 24, 2003, at 04:08 PM, Jan Bartel wrote:
> 
>> Dain,
>>
>>> This is directions on how to install the examples which show off 
>>> the   deployment and dependency services.  This demo works on my 
>>> apple   laptop, but may not work on you machine.  If it doesn't, 
>>> please  respond  to this post and I'll fix the problem.
>>
>> I've followed the instructions below, and I now have:
>>
>> $HOME/src/incubator-geronimo
>>                    /deploy
>>                           /example
>>                           /jetty-hack
>>                    /modules
>>                    /etc
>>                    /specs
>>                    /xdoc
>>
>> If I run the "maven run" target, I don't see either of the example  
>> service deployments being run. I've tried putting the deploy 
>> directory  in various other places, but nothing happens other than the 
>> bootstrap  services being started.
>>
>> Which directory should deploy live under?
>>
>> Jan
>>
>>> Good Luck,
>>> -dain
>>> Download the current cvs tree:
>>> [12:09:33] dain$ cvs -d  
>>> :pserver:anoncvs@cvs.apache.org:/home/cvspublic  co -P  
>>> incubator-geronimo
>>> cvs server: Updating incubator-geronimo
>>> U incubator-geronimo/.cvsignore
>>> U incubator-geronimo/LICENSE.txt
>>> <snip/>
>>> Change directory to the new tree:
>>> [12:10:01] dain$ cd incubator-geronimo/
>>> Build geronimo:
>>> [12:11:20] dain$ maven
>>>  __  __
>>> |  \/  |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>>> Starting the reactor...
>>> Our processing order:
>>> Geronimo :: Common
>>> Geronimo :: Java Transaction API Specification
>>> <snip/>
>>> BUILD SUCCESSFUL
>>> Total time: 2 minutes 52 seconds
>>> Down load the deploy.zip file from elba.sf.net/deploy.zip using wget  
>>> or  any web browser:
>>> [12:10:05] dain$ wget elba.sf.net/deploy.zip
>>> --00:10:32--  http://elba.sf.net/deploy.zip
>>>            => `deploy.zip'
>>> <snip>
>>> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
>>> Unzip the deploy.zip into the geronimo directory (this will create 
>>> a   deploy directory):
>>> [12:15:58] dain$ jar -xf deploy.zip
>>> Run geronimo:
>>> [12:17:50] dain$ maven run
>>>  __  __
>>> |  \/  |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>>> Starting the reactor...
>>> Our processing order:
>>> Geronimo :: Core
>>> +----------------------------------------
>>> | Executing (run): Geronimo :: Core
>>> | Memory: 3M/4M
>>> +----------------------------------------
>>> Attempting to download mx4j-SNAPSHOT.jar.
>>> Attempting to download mx4j-tools-SNAPSHOT.jar.
>>> Attempting to download servletapi-SNAPSHOT.jar.
>>> run:
>>> modules:reactor:init:
>>> modules:reactor:
>>> run:
>>> <snip/>
>>>     [java] 00:18:14,376 DEBUG [Simple]  
>>> geronimo.example:alignment=Good  State changed from starting to  running
>>>     [java] 00:18:44,372 INFO  [Simple] Duuuh!   
>>> geronimo.example:alignment=Evil
>>>     [java] 00:19:14,373 INFO  [Simple] Duuuh!   
>>> geronimo.example:alignment=Evil
>>> Open http://localhost:8080/  in a browser and play with the start,  
>>> stop  and startRecusive methods on the following objects:
>>> geronimo.example
>>>     * alignment=Evil
>>>     * alignment=Good
>>>     * alignment=Neutral
>>> geronimo.deployment  (these one will be named something like this)
>>>     *   
>>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/  
>>> incubator-geronimo/modules/core/../../deploy/example/dependency-  
>>> service.xml"
>>>     *   
>>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/  
>>> incubator-geronimo/modules/core/../../deploy/example/test->> 
>>> service.xml"
>>> If things don't work like you think they should, please respond to  
>>> this  email.
>>> -dain
>>> /*************************
>>>  * Dain Sundstrom
>>>  * Partner
>>>  * Core Developers Network
>>>  *************************/
>>
>>
>>
>>
> 
> /*************************
>  * Dain Sundstrom
>  * Partner
>  * Core Developers Network
>  *************************/



Re: [example] deployment and dependency services

Posted by Jason Dillon <ja...@coredevelopers.net>.
I ping'd him but have not heard back.  Short-term I added support for 
this in the initialize and create planner tasks.

--jason


On Monday, August 25, 2003, at 07:00  AM, Jeremy Boynes wrote:

> Sync with James - he was doing something similar.
>
> --
> Jeremy
>
>> -----Original Message-----
>> From: Jason Dillon [mailto:jason@coredevelopers.net]
>> Sent: Sunday, August 24, 2003 3:10 PM
>> To: geronimo-dev@incubator.apache.org
>> Subject: Re: [example] deployment and dependency services
>>
>>
>> Should be fixed.
>>
>> Is anyone working on the deployment code right now?  I would like to
>> add in general support for value parsing, but do not want to mess
>> anyones work up.
>>
>> --jason
>>
>>
>> On Monday, August 25, 2003, at 04:29  AM, Dain Sundstrom wrote:
>>
>>> That is what you should have.  My guess is Jason's latest commits
>>> changes the location where the server process starts, and the
>>> "../../deploy" path you see in boot-service.xml is relative to the
>>> server start location.
>>>
>>> I am in the middle of some coding and don't want to update to Jason's
>>> current changes right now, but I'll check it out later (unless you
>>> figure it out first).
>>>
>>> -dain
>>>
>>> On Sunday, August 24, 2003, at 04:08 PM, Jan Bartel wrote:
>>>
>>>> Dain,
>>>>> This is directions on how to install the examples which show off 
>>>>> the
>>>>>  deployment and dependency services.  This demo works on my apple
>>>>> laptop, but may not work on you machine.  If it doesn't, please
>>>>> respond  to this post and I'll fix the problem.
>>>> I've followed the instructions below, and I now have:
>>>>
>>>> $HOME/src/incubator-geronimo
>>>>                    /deploy
>>>>                           /example
>>>>                           /jetty-hack
>>>>                    /modules
>>>>                    /etc
>>>>                    /specs
>>>>                    /xdoc
>>>>
>>>> If I run the "maven run" target, I don't see either of the example
>>>> service deployments being run. I've tried putting the deploy
>>>> directory in various other places, but nothing happens other than 
>>>> the
>>>> bootstrap services being started.
>>>>
>>>> Which directory should deploy live under?
>>>>
>>>> Jan
>>>>
>>>>> Good Luck,
>>>>> -dain
>>>>> Download the current cvs tree:
>>>>> [12:09:33] dain$ cvs -d
>>>>> :pserver:anoncvs@cvs.apache.org:/home/cvspublic  co -P
>>>>> incubator-geronimo
>>>>> cvs server: Updating incubator-geronimo
>>>>> U incubator-geronimo/.cvsignore
>>>>> U incubator-geronimo/LICENSE.txt
>>>>> <snip/>
>>>>> Change directory to the new tree:
>>>>> [12:10:01] dain$ cd incubator-geronimo/
>>>>> Build geronimo:
>>>>> [12:11:20] dain$ maven
>>>>>  __  __
>>>>> |  \/  |__ _Apache__ ___
>>>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>>>>> Starting the reactor...
>>>>> Our processing order:
>>>>> Geronimo :: Common
>>>>> Geronimo :: Java Transaction API Specification
>>>>> <snip/>
>>>>> BUILD SUCCESSFUL
>>>>> Total time: 2 minutes 52 seconds
>>>>> Down load the deploy.zip file from elba.sf.net/deploy.zip using 
>>>>> wget
>>>>> or  any web browser:
>>>>> [12:10:05] dain$ wget elba.sf.net/deploy.zip
>>>>> --00:10:32--  http://elba.sf.net/deploy.zip
>>>>>            => `deploy.zip'
>>>>> <snip>
>>>>> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
>>>>> Unzip the deploy.zip into the geronimo directory (this will create 
>>>>> a
>>>>>  deploy directory):
>>>>> [12:15:58] dain$ jar -xf deploy.zip
>>>>> Run geronimo:
>>>>> [12:17:50] dain$ maven run
>>>>>  __  __
>>>>> |  \/  |__ _Apache__ ___
>>>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>>>>> Starting the reactor...
>>>>> Our processing order:
>>>>> Geronimo :: Core
>>>>> +----------------------------------------
>>>>> | Executing (run): Geronimo :: Core
>>>>> | Memory: 3M/4M
>>>>> +----------------------------------------
>>>>> Attempting to download mx4j-SNAPSHOT.jar.
>>>>> Attempting to download mx4j-tools-SNAPSHOT.jar.
>>>>> Attempting to download servletapi-SNAPSHOT.jar.
>>>>> run:
>>>>> modules:reactor:init:
>>>>> modules:reactor:
>>>>> run:
>>>>> <snip/>
>>>>>     [java] 00:18:14,376 DEBUG [Simple]
>>>>> geronimo.example:alignment=Good  State changed from starting to
>>>>> running
>>>>>     [java] 00:18:44,372 INFO  [Simple] Duuuh!
>>>>> geronimo.example:alignment=Evil
>>>>>     [java] 00:19:14,373 INFO  [Simple] Duuuh!
>>>>> geronimo.example:alignment=Evil
>>>>> Open http://localhost:8080/  in a browser and play with the start,
>>>>> stop  and startRecusive methods on the following objects:
>>>>> geronimo.example
>>>>>     * alignment=Evil
>>>>>     * alignment=Good
>>>>>     * alignment=Neutral
>>>>> geronimo.deployment  (these one will be named something like this)
>>>>>     *
>>>>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/
>>>>> geronimo/
>>>>> incubator-geronimo/modules/core/../../deploy/example/dependency-
>>>>> service.xml"
>>>>>     *
>>>>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/
>>>>> geronimo/
>>>>> incubator-geronimo/modules/core/../../deploy/example/test->>
>>>>> service.xml"
>>>>> If things don't work like you think they should, please respond to
>>>>> this  email.
>>>>> -dain
>>>>> /*************************
>>>>>  * Dain Sundstrom
>>>>>  * Partner
>>>>>  * Core Developers Network
>>>>>  *************************/
>>>>
>>>>
>>>>
>>>
>>> /*************************
>>>  * Dain Sundstrom
>>>  * Partner
>>>  * Core Developers Network
>>>  *************************/
>>>
>>
>>
>


RE: [example] deployment and dependency services

Posted by Jeremy Boynes <je...@coredevelopers.net>.
Sync with James - he was doing something similar.

--
Jeremy

> -----Original Message-----
> From: Jason Dillon [mailto:jason@coredevelopers.net]
> Sent: Sunday, August 24, 2003 3:10 PM
> To: geronimo-dev@incubator.apache.org
> Subject: Re: [example] deployment and dependency services
>
>
> Should be fixed.
>
> Is anyone working on the deployment code right now?  I would like to
> add in general support for value parsing, but do not want to mess
> anyones work up.
>
> --jason
>
>
> On Monday, August 25, 2003, at 04:29  AM, Dain Sundstrom wrote:
>
> > That is what you should have.  My guess is Jason's latest commits
> > changes the location where the server process starts, and the
> > "../../deploy" path you see in boot-service.xml is relative to the
> > server start location.
> >
> > I am in the middle of some coding and don't want to update to Jason's
> > current changes right now, but I'll check it out later (unless you
> > figure it out first).
> >
> > -dain
> >
> > On Sunday, August 24, 2003, at 04:08 PM, Jan Bartel wrote:
> >
> >> Dain,
> >>> This is directions on how to install the examples which show off the
> >>>  deployment and dependency services.  This demo works on my apple
> >>> laptop, but may not work on you machine.  If it doesn't, please
> >>> respond  to this post and I'll fix the problem.
> >> I've followed the instructions below, and I now have:
> >>
> >> $HOME/src/incubator-geronimo
> >>                    /deploy
> >>                           /example
> >>                           /jetty-hack
> >>                    /modules
> >>                    /etc
> >>                    /specs
> >>                    /xdoc
> >>
> >> If I run the "maven run" target, I don't see either of the example
> >> service deployments being run. I've tried putting the deploy
> >> directory in various other places, but nothing happens other than the
> >> bootstrap services being started.
> >>
> >> Which directory should deploy live under?
> >>
> >> Jan
> >>
> >>> Good Luck,
> >>> -dain
> >>> Download the current cvs tree:
> >>> [12:09:33] dain$ cvs -d
> >>> :pserver:anoncvs@cvs.apache.org:/home/cvspublic  co -P
> >>> incubator-geronimo
> >>> cvs server: Updating incubator-geronimo
> >>> U incubator-geronimo/.cvsignore
> >>> U incubator-geronimo/LICENSE.txt
> >>> <snip/>
> >>> Change directory to the new tree:
> >>> [12:10:01] dain$ cd incubator-geronimo/
> >>> Build geronimo:
> >>> [12:11:20] dain$ maven
> >>>  __  __
> >>> |  \/  |__ _Apache__ ___
> >>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> >>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
> >>> Starting the reactor...
> >>> Our processing order:
> >>> Geronimo :: Common
> >>> Geronimo :: Java Transaction API Specification
> >>> <snip/>
> >>> BUILD SUCCESSFUL
> >>> Total time: 2 minutes 52 seconds
> >>> Down load the deploy.zip file from elba.sf.net/deploy.zip using wget
> >>> or  any web browser:
> >>> [12:10:05] dain$ wget elba.sf.net/deploy.zip
> >>> --00:10:32--  http://elba.sf.net/deploy.zip
> >>>            => `deploy.zip'
> >>> <snip>
> >>> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
> >>> Unzip the deploy.zip into the geronimo directory (this will create a
> >>>  deploy directory):
> >>> [12:15:58] dain$ jar -xf deploy.zip
> >>> Run geronimo:
> >>> [12:17:50] dain$ maven run
> >>>  __  __
> >>> |  \/  |__ _Apache__ ___
> >>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> >>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
> >>> Starting the reactor...
> >>> Our processing order:
> >>> Geronimo :: Core
> >>> +----------------------------------------
> >>> | Executing (run): Geronimo :: Core
> >>> | Memory: 3M/4M
> >>> +----------------------------------------
> >>> Attempting to download mx4j-SNAPSHOT.jar.
> >>> Attempting to download mx4j-tools-SNAPSHOT.jar.
> >>> Attempting to download servletapi-SNAPSHOT.jar.
> >>> run:
> >>> modules:reactor:init:
> >>> modules:reactor:
> >>> run:
> >>> <snip/>
> >>>     [java] 00:18:14,376 DEBUG [Simple]
> >>> geronimo.example:alignment=Good  State changed from starting to
> >>> running
> >>>     [java] 00:18:44,372 INFO  [Simple] Duuuh!
> >>> geronimo.example:alignment=Evil
> >>>     [java] 00:19:14,373 INFO  [Simple] Duuuh!
> >>> geronimo.example:alignment=Evil
> >>> Open http://localhost:8080/  in a browser and play with the start,
> >>> stop  and startRecusive methods on the following objects:
> >>> geronimo.example
> >>>     * alignment=Evil
> >>>     * alignment=Good
> >>>     * alignment=Neutral
> >>> geronimo.deployment  (these one will be named something like this)
> >>>     *
> >>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/
> >>> geronimo/
> >>> incubator-geronimo/modules/core/../../deploy/example/dependency-
> >>> service.xml"
> >>>     *
> >>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/
> >>> geronimo/
> >>> incubator-geronimo/modules/core/../../deploy/example/test->>
> >>> service.xml"
> >>> If things don't work like you think they should, please respond to
> >>> this  email.
> >>> -dain
> >>> /*************************
> >>>  * Dain Sundstrom
> >>>  * Partner
> >>>  * Core Developers Network
> >>>  *************************/
> >>
> >>
> >>
> >
> > /*************************
> >  * Dain Sundstrom
> >  * Partner
> >  * Core Developers Network
> >  *************************/
> >
>
>


Re: [example] deployment and dependency services

Posted by Jason Dillon <ja...@coredevelopers.net>.
Should be fixed.

Is anyone working on the deployment code right now?  I would like to  
add in general support for value parsing, but do not want to mess  
anyones work up.

--jason


On Monday, August 25, 2003, at 04:29  AM, Dain Sundstrom wrote:

> That is what you should have.  My guess is Jason's latest commits  
> changes the location where the server process starts, and the  
> "../../deploy" path you see in boot-service.xml is relative to the  
> server start location.
>
> I am in the middle of some coding and don't want to update to Jason's  
> current changes right now, but I'll check it out later (unless you  
> figure it out first).
>
> -dain
>
> On Sunday, August 24, 2003, at 04:08 PM, Jan Bartel wrote:
>
>> Dain,
>>> This is directions on how to install the examples which show off the  
>>>  deployment and dependency services.  This demo works on my apple   
>>> laptop, but may not work on you machine.  If it doesn't, please  
>>> respond  to this post and I'll fix the problem.
>> I've followed the instructions below, and I now have:
>>
>> $HOME/src/incubator-geronimo
>>                    /deploy
>>                           /example
>>                           /jetty-hack
>>                    /modules
>>                    /etc
>>                    /specs
>>                    /xdoc
>>
>> If I run the "maven run" target, I don't see either of the example  
>> service deployments being run. I've tried putting the deploy  
>> directory in various other places, but nothing happens other than the  
>> bootstrap services being started.
>>
>> Which directory should deploy live under?
>>
>> Jan
>>
>>> Good Luck,
>>> -dain
>>> Download the current cvs tree:
>>> [12:09:33] dain$ cvs -d  
>>> :pserver:anoncvs@cvs.apache.org:/home/cvspublic  co -P  
>>> incubator-geronimo
>>> cvs server: Updating incubator-geronimo
>>> U incubator-geronimo/.cvsignore
>>> U incubator-geronimo/LICENSE.txt
>>> <snip/>
>>> Change directory to the new tree:
>>> [12:10:01] dain$ cd incubator-geronimo/
>>> Build geronimo:
>>> [12:11:20] dain$ maven
>>>  __  __
>>> |  \/  |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>>> Starting the reactor...
>>> Our processing order:
>>> Geronimo :: Common
>>> Geronimo :: Java Transaction API Specification
>>> <snip/>
>>> BUILD SUCCESSFUL
>>> Total time: 2 minutes 52 seconds
>>> Down load the deploy.zip file from elba.sf.net/deploy.zip using wget  
>>> or  any web browser:
>>> [12:10:05] dain$ wget elba.sf.net/deploy.zip
>>> --00:10:32--  http://elba.sf.net/deploy.zip
>>>            => `deploy.zip'
>>> <snip>
>>> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
>>> Unzip the deploy.zip into the geronimo directory (this will create a  
>>>  deploy directory):
>>> [12:15:58] dain$ jar -xf deploy.zip
>>> Run geronimo:
>>> [12:17:50] dain$ maven run
>>>  __  __
>>> |  \/  |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>>> Starting the reactor...
>>> Our processing order:
>>> Geronimo :: Core
>>> +----------------------------------------
>>> | Executing (run): Geronimo :: Core
>>> | Memory: 3M/4M
>>> +----------------------------------------
>>> Attempting to download mx4j-SNAPSHOT.jar.
>>> Attempting to download mx4j-tools-SNAPSHOT.jar.
>>> Attempting to download servletapi-SNAPSHOT.jar.
>>> run:
>>> modules:reactor:init:
>>> modules:reactor:
>>> run:
>>> <snip/>
>>>     [java] 00:18:14,376 DEBUG [Simple]  
>>> geronimo.example:alignment=Good  State changed from starting to  
>>> running
>>>     [java] 00:18:44,372 INFO  [Simple] Duuuh!   
>>> geronimo.example:alignment=Evil
>>>     [java] 00:19:14,373 INFO  [Simple] Duuuh!   
>>> geronimo.example:alignment=Evil
>>> Open http://localhost:8080/  in a browser and play with the start,  
>>> stop  and startRecusive methods on the following objects:
>>> geronimo.example
>>>     * alignment=Evil
>>>     * alignment=Good
>>>     * alignment=Neutral
>>> geronimo.deployment  (these one will be named something like this)
>>>     *   
>>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/ 
>>> geronimo/  
>>> incubator-geronimo/modules/core/../../deploy/example/dependency-  
>>> service.xml"
>>>     *   
>>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/ 
>>> geronimo/  
>>> incubator-geronimo/modules/core/../../deploy/example/test->>  
>>> service.xml"
>>> If things don't work like you think they should, please respond to  
>>> this  email.
>>> -dain
>>> /*************************
>>>  * Dain Sundstrom
>>>  * Partner
>>>  * Core Developers Network
>>>  *************************/
>>
>>
>>
>
> /*************************
>  * Dain Sundstrom
>  * Partner
>  * Core Developers Network
>  *************************/
>


Re: [example] deployment and dependency services

Posted by Dain Sundstrom <da...@coredevelopers.net>.
That is what you should have.  My guess is Jason's latest commits  
changes the location where the server process starts, and the  
"../../deploy" path you see in boot-service.xml is relative to the  
server start location.

I am in the middle of some coding and don't want to update to Jason's  
current changes right now, but I'll check it out later (unless you  
figure it out first).

-dain

On Sunday, August 24, 2003, at 04:08 PM, Jan Bartel wrote:

> Dain,
>> This is directions on how to install the examples which show off the   
>> deployment and dependency services.  This demo works on my apple   
>> laptop, but may not work on you machine.  If it doesn't, please  
>> respond  to this post and I'll fix the problem.
> I've followed the instructions below, and I now have:
>
> $HOME/src/incubator-geronimo
>                    /deploy
>                           /example
>                           /jetty-hack
>                    /modules
>                    /etc
>                    /specs
>                    /xdoc
>
> If I run the "maven run" target, I don't see either of the example  
> service deployments being run. I've tried putting the deploy directory  
> in various other places, but nothing happens other than the bootstrap  
> services being started.
>
> Which directory should deploy live under?
>
> Jan
>
>> Good Luck,
>> -dain
>> Download the current cvs tree:
>> [12:09:33] dain$ cvs -d  
>> :pserver:anoncvs@cvs.apache.org:/home/cvspublic  co -P  
>> incubator-geronimo
>> cvs server: Updating incubator-geronimo
>> U incubator-geronimo/.cvsignore
>> U incubator-geronimo/LICENSE.txt
>> <snip/>
>> Change directory to the new tree:
>> [12:10:01] dain$ cd incubator-geronimo/
>> Build geronimo:
>> [12:11:20] dain$ maven
>>  __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>> Starting the reactor...
>> Our processing order:
>> Geronimo :: Common
>> Geronimo :: Java Transaction API Specification
>> <snip/>
>> BUILD SUCCESSFUL
>> Total time: 2 minutes 52 seconds
>> Down load the deploy.zip file from elba.sf.net/deploy.zip using wget  
>> or  any web browser:
>> [12:10:05] dain$ wget elba.sf.net/deploy.zip
>> --00:10:32--  http://elba.sf.net/deploy.zip
>>            => `deploy.zip'
>> <snip>
>> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
>> Unzip the deploy.zip into the geronimo directory (this will create a   
>> deploy directory):
>> [12:15:58] dain$ jar -xf deploy.zip
>> Run geronimo:
>> [12:17:50] dain$ maven run
>>  __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>> Starting the reactor...
>> Our processing order:
>> Geronimo :: Core
>> +----------------------------------------
>> | Executing (run): Geronimo :: Core
>> | Memory: 3M/4M
>> +----------------------------------------
>> Attempting to download mx4j-SNAPSHOT.jar.
>> Attempting to download mx4j-tools-SNAPSHOT.jar.
>> Attempting to download servletapi-SNAPSHOT.jar.
>> run:
>> modules:reactor:init:
>> modules:reactor:
>> run:
>> <snip/>
>>     [java] 00:18:14,376 DEBUG [Simple]  
>> geronimo.example:alignment=Good  State changed from starting to  
>> running
>>     [java] 00:18:44,372 INFO  [Simple] Duuuh!   
>> geronimo.example:alignment=Evil
>>     [java] 00:19:14,373 INFO  [Simple] Duuuh!   
>> geronimo.example:alignment=Evil
>> Open http://localhost:8080/  in a browser and play with the start,  
>> stop  and startRecusive methods on the following objects:
>> geronimo.example
>>     * alignment=Evil
>>     * alignment=Good
>>     * alignment=Neutral
>> geronimo.deployment  (these one will be named something like this)
>>     *   
>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/  
>> incubator-geronimo/modules/core/../../deploy/example/dependency-  
>> service.xml"
>>     *   
>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/  
>> incubator-geronimo/modules/core/../../deploy/example/test->> service.xml"
>> If things don't work like you think they should, please respond to  
>> this  email.
>> -dain
>> /*************************
>>  * Dain Sundstrom
>>  * Partner
>>  * Core Developers Network
>>  *************************/
>
>
>

/*************************
  * Dain Sundstrom
  * Partner
  * Core Developers Network
  *************************/


Re: [example] deployment and dependency services

Posted by Jason Dillon <ja...@coredevelopers.net>.
Sync, build & then put the deploy directory in target/geronimo-DEV/

I changed the scanner to root under twiddle.home for now, will  
eventually get a geronimo.home property set for the same effect, but  
this will work for now.

The value parsing is only a hack until I can figure out where the  
deployment config code is and move it there, so only DeploymentScanner  
will process ${whatever} directives right now.

--jason


On Monday, August 25, 2003, at 04:08  AM, Jan Bartel wrote:

> Dain,
>> This is directions on how to install the examples which show off the   
>> deployment and dependency services.  This demo works on my apple   
>> laptop, but may not work on you machine.  If it doesn't, please  
>> respond  to this post and I'll fix the problem.
> I've followed the instructions below, and I now have:
>
> $HOME/src/incubator-geronimo
>                    /deploy
>                           /example
>                           /jetty-hack
>                    /modules
>                    /etc
>                    /specs
>                    /xdoc
>
> If I run the "maven run" target, I don't see either of the example  
> service deployments being run. I've tried putting the deploy directory  
> in various other places, but nothing happens other than the bootstrap  
> services being started.
>
> Which directory should deploy live under?
>
> Jan
>
>> Good Luck,
>> -dain
>> Download the current cvs tree:
>> [12:09:33] dain$ cvs -d  
>> :pserver:anoncvs@cvs.apache.org:/home/cvspublic  co -P  
>> incubator-geronimo
>> cvs server: Updating incubator-geronimo
>> U incubator-geronimo/.cvsignore
>> U incubator-geronimo/LICENSE.txt
>> <snip/>
>> Change directory to the new tree:
>> [12:10:01] dain$ cd incubator-geronimo/
>> Build geronimo:
>> [12:11:20] dain$ maven
>>  __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>> Starting the reactor...
>> Our processing order:
>> Geronimo :: Common
>> Geronimo :: Java Transaction API Specification
>> <snip/>
>> BUILD SUCCESSFUL
>> Total time: 2 minutes 52 seconds
>> Down load the deploy.zip file from elba.sf.net/deploy.zip using wget  
>> or  any web browser:
>> [12:10:05] dain$ wget elba.sf.net/deploy.zip
>> --00:10:32--  http://elba.sf.net/deploy.zip
>>            => `deploy.zip'
>> <snip>
>> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
>> Unzip the deploy.zip into the geronimo directory (this will create a   
>> deploy directory):
>> [12:15:58] dain$ jar -xf deploy.zip
>> Run geronimo:
>> [12:17:50] dain$ maven run
>>  __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>> Starting the reactor...
>> Our processing order:
>> Geronimo :: Core
>> +----------------------------------------
>> | Executing (run): Geronimo :: Core
>> | Memory: 3M/4M
>> +----------------------------------------
>> Attempting to download mx4j-SNAPSHOT.jar.
>> Attempting to download mx4j-tools-SNAPSHOT.jar.
>> Attempting to download servletapi-SNAPSHOT.jar.
>> run:
>> modules:reactor:init:
>> modules:reactor:
>> run:
>> <snip/>
>>     [java] 00:18:14,376 DEBUG [Simple]  
>> geronimo.example:alignment=Good  State changed from starting to  
>> running
>>     [java] 00:18:44,372 INFO  [Simple] Duuuh!   
>> geronimo.example:alignment=Evil
>>     [java] 00:19:14,373 INFO  [Simple] Duuuh!   
>> geronimo.example:alignment=Evil
>> Open http://localhost:8080/  in a browser and play with the start,  
>> stop  and startRecusive methods on the following objects:
>> geronimo.example
>>     * alignment=Evil
>>     * alignment=Good
>>     * alignment=Neutral
>> geronimo.deployment  (these one will be named something like this)
>>     *   
>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/  
>> incubator-geronimo/modules/core/../../deploy/example/dependency-  
>> service.xml"
>>     *   
>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/  
>> incubator-geronimo/modules/core/../../deploy/example/test->> service.xml"
>> If things don't work like you think they should, please respond to  
>> this  email.
>> -dain
>> /*************************
>>  * Dain Sundstrom
>>  * Partner
>>  * Core Developers Network
>>  *************************/
>
>


Re: [example] deployment and dependency services

Posted by Jason Dillon <ja...@coredevelopers.net>.
My guess is that the scanner is not rooting properly due to the recent  
twiddle change.  I will have a look.

--jason


On Monday, August 25, 2003, at 04:08  AM, Jan Bartel wrote:

> Dain,
>> This is directions on how to install the examples which show off the   
>> deployment and dependency services.  This demo works on my apple   
>> laptop, but may not work on you machine.  If it doesn't, please  
>> respond  to this post and I'll fix the problem.
> I've followed the instructions below, and I now have:
>
> $HOME/src/incubator-geronimo
>                    /deploy
>                           /example
>                           /jetty-hack
>                    /modules
>                    /etc
>                    /specs
>                    /xdoc
>
> If I run the "maven run" target, I don't see either of the example  
> service deployments being run. I've tried putting the deploy directory  
> in various other places, but nothing happens other than the bootstrap  
> services being started.
>
> Which directory should deploy live under?
>
> Jan
>
>> Good Luck,
>> -dain
>> Download the current cvs tree:
>> [12:09:33] dain$ cvs -d  
>> :pserver:anoncvs@cvs.apache.org:/home/cvspublic  co -P  
>> incubator-geronimo
>> cvs server: Updating incubator-geronimo
>> U incubator-geronimo/.cvsignore
>> U incubator-geronimo/LICENSE.txt
>> <snip/>
>> Change directory to the new tree:
>> [12:10:01] dain$ cd incubator-geronimo/
>> Build geronimo:
>> [12:11:20] dain$ maven
>>  __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>> Starting the reactor...
>> Our processing order:
>> Geronimo :: Common
>> Geronimo :: Java Transaction API Specification
>> <snip/>
>> BUILD SUCCESSFUL
>> Total time: 2 minutes 52 seconds
>> Down load the deploy.zip file from elba.sf.net/deploy.zip using wget  
>> or  any web browser:
>> [12:10:05] dain$ wget elba.sf.net/deploy.zip
>> --00:10:32--  http://elba.sf.net/deploy.zip
>>            => `deploy.zip'
>> <snip>
>> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
>> Unzip the deploy.zip into the geronimo directory (this will create a   
>> deploy directory):
>> [12:15:58] dain$ jar -xf deploy.zip
>> Run geronimo:
>> [12:17:50] dain$ maven run
>>  __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>> Starting the reactor...
>> Our processing order:
>> Geronimo :: Core
>> +----------------------------------------
>> | Executing (run): Geronimo :: Core
>> | Memory: 3M/4M
>> +----------------------------------------
>> Attempting to download mx4j-SNAPSHOT.jar.
>> Attempting to download mx4j-tools-SNAPSHOT.jar.
>> Attempting to download servletapi-SNAPSHOT.jar.
>> run:
>> modules:reactor:init:
>> modules:reactor:
>> run:
>> <snip/>
>>     [java] 00:18:14,376 DEBUG [Simple]  
>> geronimo.example:alignment=Good  State changed from starting to  
>> running
>>     [java] 00:18:44,372 INFO  [Simple] Duuuh!   
>> geronimo.example:alignment=Evil
>>     [java] 00:19:14,373 INFO  [Simple] Duuuh!   
>> geronimo.example:alignment=Evil
>> Open http://localhost:8080/  in a browser and play with the start,  
>> stop  and startRecusive methods on the following objects:
>> geronimo.example
>>     * alignment=Evil
>>     * alignment=Good
>>     * alignment=Neutral
>> geronimo.deployment  (these one will be named something like this)
>>     *   
>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/  
>> incubator-geronimo/modules/core/../../deploy/example/dependency-  
>> service.xml"
>>     *   
>> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/  
>> incubator-geronimo/modules/core/../../deploy/example/test->> service.xml"
>> If things don't work like you think they should, please respond to  
>> this  email.
>> -dain
>> /*************************
>>  * Dain Sundstrom
>>  * Partner
>>  * Core Developers Network
>>  *************************/
>
>


Re: [example] deployment and dependency services

Posted by Jan Bartel <ja...@mortbay.com>.
Dain,
> This is directions on how to install the examples which show off the  
> deployment and dependency services.  This demo works on my apple  
> laptop, but may not work on you machine.  If it doesn't, please respond  
> to this post and I'll fix the problem.
I've followed the instructions below, and I now have:

$HOME/src/incubator-geronimo
                    /deploy
                           /example
                           /jetty-hack
                    /modules
                    /etc
                    /specs
                    /xdoc

If I run the "maven run" target, I don't see either of the example 
service deployments being run. I've tried putting the deploy directory 
in various other places, but nothing happens other than the bootstrap 
services being started.

Which directory should deploy live under?

Jan

> 
> Good Luck,
> 
> -dain
> 
> 
> 
> Download the current cvs tree:
> 
> [12:09:33] dain$ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic  
> co -P incubator-geronimo
> cvs server: Updating incubator-geronimo
> U incubator-geronimo/.cvsignore
> U incubator-geronimo/LICENSE.txt
> <snip/>
> 
> 
> 
> Change directory to the new tree:
> 
> [12:10:01] dain$ cd incubator-geronimo/
> 
> 
> 
> Build geronimo:
> 
> [12:11:20] dain$ maven
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
> 
> Starting the reactor...
> Our processing order:
> Geronimo :: Common
> Geronimo :: Java Transaction API Specification
> <snip/>
> BUILD SUCCESSFUL
> Total time: 2 minutes 52 seconds
> 
> 
> 
> Down load the deploy.zip file from elba.sf.net/deploy.zip using wget or  
> any web browser:
> 
> [12:10:05] dain$ wget elba.sf.net/deploy.zip
> --00:10:32--  http://elba.sf.net/deploy.zip
>            => `deploy.zip'
> <snip>
> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
> 
> 
> 
> 
> Unzip the deploy.zip into the geronimo directory (this will create a  
> deploy directory):
> 
> [12:15:58] dain$ jar -xf deploy.zip
> 
> 
> 
> 
> Run geronimo:
> 
> [12:17:50] dain$ maven run
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
> 
> Starting the reactor...
> Our processing order:
> Geronimo :: Core
> +----------------------------------------
> | Executing (run): Geronimo :: Core
> | Memory: 3M/4M
> +----------------------------------------
> Attempting to download mx4j-SNAPSHOT.jar.
> Attempting to download mx4j-tools-SNAPSHOT.jar.
> Attempting to download servletapi-SNAPSHOT.jar.
> run:
> modules:reactor:init:
> 
> modules:reactor:
> run:
> <snip/>
>     [java] 00:18:14,376 DEBUG [Simple] geronimo.example:alignment=Good  
> State changed from starting to running
>     [java] 00:18:44,372 INFO  [Simple] Duuuh!  
> geronimo.example:alignment=Evil
>     [java] 00:19:14,373 INFO  [Simple] Duuuh!  
> geronimo.example:alignment=Evil
> 
> 
> 
> Open http://localhost:8080/  in a browser and play with the start, stop  
> and startRecusive methods on the following objects:
> 
> geronimo.example
>     * alignment=Evil
>     * alignment=Good
>     * alignment=Neutral
> 
> geronimo.deployment  (these one will be named something like this)
>     *  
> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/ 
> incubator-geronimo/modules/core/../../deploy/example/dependency- 
> service.xml"
>     *  
> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/ 
> incubator-geronimo/modules/core/../../deploy/example/test-service.xml"
> 
> 
> 
> If things don't work like you think they should, please respond to this  
> email.
> 
> -dain
> 
> /*************************
>  * Dain Sundstrom
>  * Partner
>  * Core Developers Network
>  *************************/



Re: [example] deployment and dependency services

Posted by James Strachan <ja...@yahoo.co.uk>.
Cool beans! Nice work Dain.

We should put the simple example into cvs somewhere. Maybe we should  
have an examples module where we can put various example services in?  
Then we could put your instructions on the website for how to run an  
example etc.


On Thursday, August 21, 2003, at 06:33  am, Dain Sundstrom wrote:

> Hi all,
>
> This is directions on how to install the examples which show off the  
> deployment and dependency services.  This demo works on my apple  
> laptop, but may not work on you machine.  If it doesn't, please  
> respond to this post and I'll fix the problem.
>
> Good Luck,
>
> -dain
>
>
>
> Download the current cvs tree:
>
> [12:09:33] dain$ cvs -d  
> :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -P  
> incubator-geronimo
> cvs server: Updating incubator-geronimo
> U incubator-geronimo/.cvsignore
> U incubator-geronimo/LICENSE.txt
> <snip/>
>
>
>
> Change directory to the new tree:
>
> [12:10:01] dain$ cd incubator-geronimo/
>
>
>
> Build geronimo:
>
> [12:11:20] dain$ maven
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>
> Starting the reactor...
> Our processing order:
> Geronimo :: Common
> Geronimo :: Java Transaction API Specification
> <snip/>
> BUILD SUCCESSFUL
> Total time: 2 minutes 52 seconds
>
>
>
> Down load the deploy.zip file from elba.sf.net/deploy.zip using wget  
> or any web browser:
>
> [12:10:05] dain$ wget elba.sf.net/deploy.zip
> --00:10:32--  http://elba.sf.net/deploy.zip
>            => `deploy.zip'
> <snip>
> 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623]
>
>
>
>
> Unzip the deploy.zip into the geronimo directory (this will create a  
> deploy directory):
>
> [12:15:58] dain$ jar -xf deploy.zip
>
>
>
>
> Run geronimo:
>
> [12:17:50] dain$ maven run
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>
> Starting the reactor...
> Our processing order:
> Geronimo :: Core
> +----------------------------------------
> | Executing (run): Geronimo :: Core
> | Memory: 3M/4M
> +----------------------------------------
> Attempting to download mx4j-SNAPSHOT.jar.
> Attempting to download mx4j-tools-SNAPSHOT.jar.
> Attempting to download servletapi-SNAPSHOT.jar.
> run:
> modules:reactor:init:
>
> modules:reactor:
> run:
> <snip/>
>     [java] 00:18:14,376 DEBUG [Simple] geronimo.example:alignment=Good  
> State changed from starting to running
>     [java] 00:18:44,372 INFO  [Simple] Duuuh!  
> geronimo.example:alignment=Evil
>     [java] 00:19:14,373 INFO  [Simple] Duuuh!  
> geronimo.example:alignment=Evil
>
>
>
> Open http://localhost:8080/  in a browser and play with the start,  
> stop and startRecusive methods on the following objects:
>
> geronimo.example
>     * alignment=Evil
>     * alignment=Good
>     * alignment=Neutral
>
> geronimo.deployment  (these one will be named something like this)
>     *  
> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/ 
> incubator-geronimo/modules/core/../../deploy/example/dependency- 
> service.xml"
>     *  
> role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/ 
> incubator-geronimo/modules/core/../../deploy/example/test-service.xml"
>
>
>
> If things don't work like you think they should, please respond to  
> this email.
>
> -dain
>
> /*************************
>  * Dain Sundstrom
>  * Partner
>  * Core Developers Network
>  *************************/
>
>

James
-------
http://radio.weblogs.com/0112098/