geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <>
Subject [jira] Closed: (GERONIMO-2299) Unpack assemblies for easier development/testing
Date Sun, 03 Sep 2006 08:31:22 GMT
     [ ]

Jason Dillon closed GERONIMO-2299.

    Fix Version/s: 1.2
       Resolution: Fixed

I've added default assembly configuration for use with {{mvn geronimo:start}} (and {{mvn geronimo:stop}}).

Assembly ids:

 * jetty
 * jetty-minimal
 * tomcat
 * tomcat-minimal

Defaults to jetty.

To use, first build the tree:

mvn install

And then use the {{geronimo:start}} goal:

mvn geronimo:start

This should result in the {{geronimo-jetty-j2ee}} assembly being installed, extracted and

[INFO] [geronimo:start]
[INFO] Starting Geronimo server...
[INFO] Using assembly configuration: org.apache.geronimo.assemblies:geronimo-jetty-j2ee:bin:1.2-SNAPSHOT:zip
[INFO] Waiting for Geronimo server...
[INFO] Booting Geronimo Kernel (in Java 1.4.2_09)...
[INFO] Module  1/20 org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car              started
in   .398s
[INFO] Module  2/20 org.apache.geronimo.configs/j2ee-server/1.2-SNAPSHOT/car             started
in  1.084s
[INFO] Module  3/20 org.apache.geronimo.configs/j2ee-security/1.2-SNAPSHOT/car           started
in   .684s
[INFO] Module  4/20 org.apache.geronimo.configs/axis/1.2-SNAPSHOT/car                    started
in   .101s
[INFO] Geronimo Application Server started

Or to run {{geronimo-tomcat-j2ee}:

mvn geronimo:start -DassemblyId=tomcat

h3. NOTE

The logic to determine if the server has fully started is lossy... pending some better hooks
in the JMX tree to determine when this is actually done.  Also, the minimal assemblies may
never ack that the server has started because of no welcome app.

Due to this you may see logs like:

[INFO] Geronimo server started
[INFO] Waiting for Geronimo server to shutdown...

But the server has not really started until you see the port, module, webapp list and:

[INFO] Geronimo Application Server started

Hopefully this will be fixed soon.

> Unpack assemblies for easier development/testing
> ------------------------------------------------
>                 Key: GERONIMO-2299
>                 URL:
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 1.2
>            Reporter: Jason Dillon
>         Assigned To: Jason Dillon
>            Priority: Minor
>             Fix For: 1.2
> Should unpack the assemblies (or a given assembly) automatically to help ease development.
> Probably just need to add a new profile that will use antrun to unzip the archive.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message