geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@coredevelopers.net>
Subject Re: [example] deployment and dependency services
Date Mon, 25 Aug 2003 18:45:50 GMT
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
  *************************/


Mime
View raw message