...
-vv --veryverbose
Sets the console log level to DEBUG, resulting in even more console output.
Wiki Markup |
---|
*\-override \[*{*}{_}configId{_}{*}*\]* Overrides the configurations in *<geronimo_home>/var/config.xml* such that only the configurations listed on the command line will be started. Note that many J2EE features depend on certain configs being started, so you should be very careful what you omit. Any arguments after *\-override* are assumed to be configuration names. |
...
- Common commands
- Other commands
- Geronimo Plugins
Additionally, you can type help for further details on a given command, the syntax is as follows:
...
Encrypt
Use the encrypt command to encrypt a generate an encrypted string. The encrypt command This command takes use of org.apache.geronimo.util.EncryptionManager and has the following syntax:
<geronimo_home>/bin/deploy <general_options> encrypt <string>
Where <general_options> are common options that apply to all commands, <string> specifies the a string to get encrypted.
Examples:
Code Block |
---|
deploy -h localhost -p 1099 encrypt passw0rd
|
That command will encrypt the passw0rd string when the server is running.
Code Block |
---|
deploy -o encrypt passw0rd
|
Currently password strings are plain text in deployment plans, such as datasource or JMS deployment plans within an EAR. It might pose a security problem to store password strings as plain text even though the deployment plans are only used during the deployment process, and not at runtime. Starting from WASCE 2.1.1.4, users can encrypt passwords using the encrypt command and paste the encrypted strings into deployment plans as password.
Examples:
Use this syntax to encrypt string passw0rd
on an active server so that the encryption settings of that server will be used
Code Block |
---|
deploy --user myadmin --password mypassword encrypt passw0rd
|
Online encryption result:
Code Block |
---|
......
String to encrypt: passw0rd
Online encryption result:
{Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNv
ZGVkUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9s
YW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW0Ks8xf4BghU4AIAAHhwAAAAEG2NoqXONCcU
GqfK0reVCpVwdAADQUVT
|
Use this syntax to encrypt string passw0rd offline
Code Block |
---|
deploy --offline encrypt passw0rd
|
Offline encryption result:
Code Block |
---|
......
String to encrypt: passw0rd
Offline encryption result:
{Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNv
ZGVkUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9s
YW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW0Ks8xf4BghU4AIAAHhwAAAAEG2NoqXONCcU
GqfK0reVCpVwdAADQUVT
|
Note: Online encryption needs a running server to connect to and will use the encryption settings of that server, such as an encryption key, to do the encryption. As a result, the encrypted password usually can only be used for that particular server. Offline encryption uses the default encryption settings, and the encrypted password can be used by all servers. Offline encryption is thus less secure than online encryptionThat command will encrypt the passw0rd string when the server is not running.
Install-library
...
Wiki Markup |
---|
{{*<geronimo_home>/bin/deploy <general_options> list-modules \[\-*{}}}{{{}{*}{-}all\|\--started|\--{*}{}}}{-}started\|-\-stopped\]*}} |
- --all : is used by default when no other option is specified. It will list all the available modules.
- --started : this option will list only the modules that are running.
- --stopped : this option will list only the modules that are not running.
...