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:[EMAIL PROTECTED]:/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 *************************/




Reply via email to