...
Similarly you can use the gshell GShell deploy/assemble command specifying the same information on the command line interactively. For more information about how to use deploy/assemble, please use --help as followed.
No Format bgColor #000000 borderStyle solid
User@server:/>deploy/assemble -help
assemble
--
--secure Use secure channel
-a (--artifact) VAL server artifact name
-f (--format) VAL zip or tar.gz
-g (--groupId) VAL server groupId
-h (--help) Display this help message
-l (--list) refresh plugin list
-m (--mode) VAL custom assembly mode
-p (--port) N Port, default 1099
-s (--hostname, --server) VAL Hostname, default localhost
-t (--path) VAL assembly location
-u (--username) VAL Username
-v (--version) VAL server version
-w (--password) VAL Password
By default, target location of newly assembled server is directory /var/temp/assembly
, target packge format is tar.gz and version number is 1.0. User will have to input groupId and artifactId.
No Format bgColor #000000 borderStyle solid
# run using ./bin/gsh
User@server:/>deploy/assemble -g org.apache.geronimo.asseblies -a testServer -v 1.0 -u system -w manager
Then gshell GShell will ask you with a list of assembly modes.
...
After you input your choice, you will have to select plugin or plugins group you intend to install and click Enter. A few seconds later, your assembly will be ready for use.
No Format bgColor #000000 borderStyle solid
**** Installation Complete!
Used existing: cglib/cglib-nodep/2.1_3/jar
...
Installed new: org.apache.geronimo.framework/jsr88-cli/2.2-SNAPSHOT/car
Downloaded 23085 kB in 25s (923 kB/s)
Go to <GERONIMO_HOME>/var/temp
, you will find the package of newly assembled server with minimizing footprint and the fewest components you need only. By copying and extracting the package to any places you like, you can start the assembly as an independent server. Startup duration and system modules loaded are greatly reduced. Here is a snapshot of an assembly only with framework plugin group selected after startup.
...