geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <james_strac...@yahoo.co.uk>
Subject Re: [example] deployment and dependency services
Date Thu, 21 Aug 2003 07:45:08 GMT
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/


Mime
View raw message