-
Notifications
You must be signed in to change notification settings - Fork 0
ConfigNow Command Reference for Extensions
TABLE OF CONTENTS
Each Jboss command is listed in the following section with parameters and properties used, as well as example output.
Install_boss command installs JBoss from a zip file to the nominated location.
ConfigNOW install_jboss <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.zip | Yes | Location of JBoss EAP zip installer location |
redhat.jboss.root.dir=C:/ redhat.jboss.home=${redhat.jboss.root.dir}/jboss-eap-6.4 redhat.jboss.zip=C:/installers/jboss-eap-6.4.0.zip |
os_prompt> ConfigNOW install_jboss local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 Environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml install_jboss: [unzip] Expanding: C:\installers\Downloads\jboss-eap-6.4.0.zip into C:\ [echo] jboss installed successfully at C:/ INFO Command completed. BUILD SUCCESS |
Add_user command creates a management user in the nominated JBoss home.
ConfigNOW add_user <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the management user account name and passward |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.admin.user | Yes | management user name |
redhat.jboss.admin.password | Yes | Management user password |
redhat.jboss.root.dir=C:/ redhat.jboss.home=${redhat.jboss.root.dir}/jboss-eap-6.4 redhat.jboss.zip=C:/installers/jboss-eap-6.4.0.zip redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 |
Os_prompt>ConfigNOW add_user local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml add_user: [echo] Adding management user as specified by redhat.jboss.admin.user and redhat.jboss.admin.password properties INFO Command completed. BUILD SUCCESS |
start_jboss command starts the given JBoss standalone server.
ConfigNOW start_jboss <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.admin.user | Yes | management user name to connect to JBoss server |
redhat.jboss.admin.password | Yes | Management user password to connect to JBoss server |
redhat.jboss.root.dir=C:/ redhat.jboss.home=${redhat.jboss.root.dir}/jboss-eap-6.4 redhat.jboss.zip=C:/installers/jboss-eap-6.4.0.zip redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 |
Os_prompt>ConfigNOW start_jboss local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml start_jboss: [echo] --------------------------------------- [echo] - starting jboss [echo] --------------------------------------- [echo] server started successfully INFO Command completed. BUILD SUCCESS |
stop_jboss command stops the given JBoss standalone server.
ConfigNOW stop_jboss <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.admin.user | Yes | management user name to connect to Jboss server |
redhat.jboss.admin.password | Yes | Management user password to connect to Jboss server |
redhat.jboss.root.dir=C:/ redhat.jboss.home=${redhat.jboss.root.dir}/jboss-eap-6.4 redhat.jboss.zip=C:/installers/jboss-eap-6.4.0.zip redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 |
Os_prompt>ConfigNOW stop_jboss local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml stop_jboss: [echo] --------------------------------------- [echo] - stopping jboss [echo] --------------------------------------- [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 [jboss-cli] INFO [org.jboss.as.cli.CommandContext] {"outcome" => "success"} [jboss-cli] {"outcome" => "success"} [echo] server stopped successfully INFO Command completed. BUILD SUCCESS |
deploy_jboss_app command deploys an application to local JBoss instance
ConfigNOW deploy_boss_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection and deployment details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.admin.user | Yes | management user name to connect to Jboss server |
redhat.jboss.admin.password | Yes | Management user password to connect to JBoss server |
redhat.jboss.appdeployment.dir | Yes | Deployments directory of local JBoss server |
redhat.jboss.appdeployment.war.location | Yes | Location of the war file to be deployed |
redhat.jboss.appdeployment.filename | Yes | Filename of the deployment archive |
redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 redhat.jboss.appdeployment.dir=${redhat.jboss.home}/standalone/deployments redhat.jboss.appdeployment.war.location=../../resources/examples redhat.jboss.appdeployment.filename=sample.war |
Os_prompt>ConfigNOW deploy_jboss_app local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml deploy_jboss_app: [copy] Copying 1 file to C:\EAP-7.0.0\standalone\deployments [echo] start deployment ... [touch] Creating C:\EAP-7.0.0\standalone\deployments\sample.war.dodeploy [echo] sample.war is deployed successfully ! INFO Command completed. BUILD SUCCESS |
undeploy_jboss_app command undeploys an application from local jboss instance
ConfigNOW undeploy_boss_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection and deployment details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.admin.user | Yes | management user name to connect to Jboss server |
redhat.jboss.admin.password | Yes | Management user password to connect to Jboss server |
redhat.jboss.appdeployment.filename | Yes | Filename of the deployment archive |
redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 redhat.jboss.appdeployment.dir=${redhat.jboss.home}/standalone/deployments redhat.jboss.appdeployment.war.location=../../resources/examples redhat.jboss.appdeployment.filename=sample.war |
Os_prompt>ConfigNOW undeploy_jboss_app local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml undeploy_jboss_app: [delete] Deleting: C:\EAP-7.0.0\standalone\deployments\sample.war.deployed [echo] sample.war is undeployed successfully ! INFO Command completed. BUILD SUCCESS |
list_deployed_apps command lists all the application deployments in a jboss instance
ConfigNOW list_deployed_apps <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection and deployment details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.admin.user | Yes | management user name to connect to Jboss server |
redhat.jboss.admin.password | Yes | Management user password to connect to Jboss server |
redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 |
Os_prompt> ConfigNOW list_deployed_apps local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml list_deployed_apps: [echo] Listing Deployed applications from jBoss server ..... [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 [jboss-cli] ERROR [org.jboss.as.cli.CommandContext] NAME RUNTIME-NAME ENABLED STATUS [jboss-cli] oracle oracle true OK [jboss-cli] sample.war sample.war true OK [jboss-cli] [jboss-cli] NAME RUNTIME-NAME ENABLED STATUS [jboss-cli] oracle oracle true OK [jboss-cli] sample.war sample.war true OK [jboss-cli] [jboss-cli] Java Result: 1 INFO Command completed. BUILD SUCCESS |
remote_deploy_app command deploys an application to remote jboss instance via jboss-cli
ConfigNOW remote_deploy_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection and deployment details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.admin.hostname | Yes | Hostname for remote JBoss server |
redhat.jboss.admin.port | Yes | Port for remote JBoss server |
redhat.jboss.admin.user | Yes | management user name to connect to Jboss server |
redhat.jboss.admin.password | Yes | Management user password to connect to Jboss server |
redhat.jboss.appdeployment.filename | Yes | filename of the deployment |
redhat.jboss.appdeployment.war.location | Yes | Location of the war file |
redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 redhat.jboss.admin.hostname=localhost redhat.jboss.admin.port=9990 redhat.jboss.appdeployment.war.location=../../resources/examples redhat.jboss.appdeployment.filename=sample.war |
Os_prompt>ConfigNOW remote_deploy_app local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml remote_deploy_app: [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 [echo] sample.war is deployed successfully ! INFO Command completed. BUILD SUCCESS |
remote_undeploy_app command undeploys an application from remote jboss instance via jboss-cli
ConfigNOW remote_undeploy_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection and deployment details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.home | Yes | JBoss EAP home directory |
redhat.jboss.admin.hostname | Yes | Hostname for remote JBoss server |
redhat.jboss.admin.port | Yes | Port for remote JBoss server |
redhat.jboss.admin.user | Yes | management user name to connect to Jboss server |
redhat.jboss.admin.password | Yes | Management user password to connect to Jboss server |
redhat.jboss.appdeployment.filename | Yes | Name of the deployment file |
redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 redhat.jboss.admin.hostname=localhost redhat.jboss.admin.port=9990 redhat.jboss.appdeployment.war.location=../../resources/examples redhat.jboss.appdeployment.filename=sample.war |
Os_prompt>ConfigNOW remote_undeploy_app local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml remote_undeploy_app: [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 [echo] sample.war is undeployed successfully ! INFO Command completed. BUILD SUCCESS |
Run_cli command executes a cli script against a remote jboss instance via jboss-cli –f option
ConfigNOW run_cli <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection and deployment details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.admin.hostname | Yes | Hostname for remote JBoss server |
redhat.jboss.admin.port | Yes | Port for remote JBoss server |
redhat.jboss.admin.user | Yes | management user name to connect to Jboss server |
redhat.jboss.admin.password | Yes | Management user password to connect to Jboss server |
redhat.jboss.custom.cli.script | Yes | Jboss cli script to execute |
redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 redhat.jboss.admin.hostname=localhost redhat.jboss.admin.port=9990 redhat.jboss.custom.cli.script=create_datasource.cli |
Os_prompt >ConfigNOW run_cli local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml run_cli: [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 INFO Command completed. BUILD SUCCESS |
Configure_datasource command configures a datasource and associated drivers in a remote jboss instance via jboss-cli
ConfigNOW configure_datasource <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment name to select JBoss instance |
Config | Yes | Configuration file to read the JBoss connection and datasource details for the specific environment |
Property | Required | Description |
---|---|---|
redhat.jboss.admin.hostname | Yes | Hostname for remote JBoss server |
redhat.jboss.admin.port | Yes | Port for remote JBoss server |
redhat.jboss.admin.user | Yes | management user name to connect to Jboss server |
redhat.jboss.admin.password | Yes | Management user password to connect to Jboss server |
redhat.jboss.jdbc.datasources | Yes | List of all datasources |
redhat.jboss.jdbc.MyOracleDS.name | Yes | Datasource name |
redhat.jboss.jdbc.MyOracleDS.Jndi | Yes | JNDI name for the new datasource |
redhat.jboss.jdbc.MyOracleDS.url | Yes | Connection URL for the database |
redhat.jboss.jdbc.MyOracleDS.username | Yes | Database Username |
redhat.jboss.jdbc.MyOracleDS.password | Yes | Database Password |
redhat.jboss.admin.user=adminj redhat.jboss.admin.password=admin123 redhat.jboss.admin.hostname=localhost redhat.jboss.admin.port=9990 redhat.jboss.jdbc.datasources=MyOracleDS redhat.jboss.jdbc.MyOracleDS.name=myoracleds1 redhat.jboss.jdbc.MyOracleDS.Jndi=myoracleds redhat.jboss.jdbc.MyOracleDS.url=${oracle_ds_url} redhat.jboss.jdbc.MyOracleDS.username=oracle redhat.jboss.jdbc.MyOracleDS.password=oracle |
Os_prompt >ConfigNOW configure_datasource local jboss_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\jboss_example.properties INFO WLST support: False INFO Running command custom\commands\ant\jboss_commands.xml as ant target in build file: custom\commands\ant\jboss_com mands.xml configure_datasource: [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 [jboss-cli] ERROR [org.jboss.as.cli.CommandContext] WFLYCTL0216: Management resource '[ [jboss-cli] ("subsystem" => "datasources"), [jboss-cli] ("data-source" => "myoracleds2") [jboss-cli] ]' not found [jboss-cli] WFLYCTL0216: Management resource '[ [jboss-cli] ("subsystem" => "datasources"), [jboss-cli] ("data-source" => "myoracleds2") [jboss-cli] ]' not found [jboss-cli] Java Result: 1 [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 [echo] Datasource myoracleds2 successfully deployed [echo] Enabling Datasource myoracleds2 [jboss-cli] INFO [org.jboss.modules] JBoss Modules version 1.5.1.Final-redhat-1 [jboss-cli] WARN: can't find jboss-cli.xml. Using default configuration values. [jboss-cli] INFO [org.xnio] XNIO version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.6.Final-redhat-1 [jboss-cli] INFO [org.jboss.remoting] JBoss Remoting version 4.0.18.Final-redhat-1 [jboss-cli] INFO [org.jboss.as.cli.CommandContext] operation-requires-reload: true [jboss-cli] process-state: reload-required [jboss-cli] operation-requires-reload: true [jboss-cli] process-state: reload-required INFO Command completed. BUILD SUCCESS |
Each Fuse command is listed in the following section with parameters and properties used, as well as example output.
Install_fuse command installs Jboss Fuse from a zip file to the nominated location.
ConfigNOW install_fuse <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.fuse.root.dir | Yes | JBoss Fuse home directory |
redhat.fuse.home | Yes | Jboss Fuse home directory |
redhat.fuse.zip | Yes | Location of the Jboss fuse installer |
redhat.fuse.root.dir=C:/jboss_fuse redhat.fuse.home=${redhat.fuse.root.dir}/jboss-fuse-6.2.1.redhat-084 redhat.fuse.zip=C:/installers/jboss-fuse-full-6.2.1.redhat-084.zip |
Os_prompt > ConfigNOW install_fuse local fuse_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\fuse_example.properties INFO WLST support: False INFO Running command custom\commands\ant\fuse_commands.xml as ant target in build file: custom\commands\ant\fuse_comma nds.xml install_fuse: [unzip] Expanding: C:\installers\jboss-fuse-full-6.2.1.redhat-084.zip into C:\jboss_fuse [echo] JBoss Fuse installed successfully at C:/jboss_fuse/jboss-fuse-6.2.1.redhat-084. INFO Command completed. BUILD SUCCESS |
status_fuse command checks the status of the Jboss Fuse.
ConfigNOW status_fuse <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.fuse.admin.hostname | Yes | Hostname for connecting to Jboss fuse server |
redhat.fuse.admin.port | Yes | Port number to connect to Jboss Fuse server |
redhat.fuse.admin.user | Yes | Admin user to connect to Fuse management interface |
redhat.fuse.admin.password | Yes | Password for admin user |
redhat.fuse.admin.password=redhat01$ redhat.fuse.admin.user=admin redhat.fuse.admin.hostname=localhost redhat.fuse.admin.port=8181 redhat.fuse.admin.url=http://${redhat.fuse.admin.hostname}:${redhat.fuse.admin.port} |
Os_prompt > ConfigNOW status_fuse local fuse_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\fuse_example.properties INFO WLST support: False INFO Running command custom\commands\ant\fuse_commands.xml as ant target in build file: custom\commands\ant\fuse_comma nds.xml status_fuse: [echo] Checking JBoss Fuse Status [echo] Server not running. INFO Command completed. BUILD SUCCESS |
stop_fuse command stops the Jboss Fuse server.
ConfigNOW stop_fuse <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.fuse.admin.hostname | Yes | Hostname for connecting to Jboss fuse server |
redhat.fuse.admin.port | Yes | Port number to connect to Jboss Fuse server |
redhat.fuse.admin.user | Yes | Admin user to connect to Fuse management interface |
redhat.fuse.admin.password | Yes | Password for admin user |
redhat.fuse.admin.password=redhat01$ redhat.fuse.admin.user=admin redhat.fuse.admin.hostname=localhost redhat.fuse.admin.port=8181 redhat.fuse.admin.url=http://${redhat.fuse.admin.hostname}:${redhat.fuse.admin.port} |
Os_prompt > ConfigNOW stop_fuse local fuse_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\fuse_example.properties INFO WLST support: False INFO Running command custom\commands\ant\fuse_commands.xml as ant target in build file: custom\commands\ant\fuse_comma nds.xml stop_fuse: [echo] --------------------------------------- [echo] =========== Stopping JBoss Fuse =========== [echo] --------------------------------------- [echo] Executing JBoss Fuse Stop Script... [exec] karaf.bat: Ignoring predefined value for KARAF_HOME [exec] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0 [exec] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 [echo] Server successfully shut down. INFO Command completed. BUILD SUCCESS |
start_karaf_session command starts a Karaf session for the given Jboss Fuse server.
ConfigNOW start_karaf_session <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.fuse.admin.hostname | Yes | Hostname for connecting to Jboss fuse server |
redhat.fuse.admin.port | Yes | Port number to connect to Jboss Fuse server |
redhat.fuse.admin.user | Yes | Admin user to connect to Fuse management interface |
redhat.fuse.admin.password | Yes | Password for admin user |
redhat.fuse.admin.password=redhat01$ redhat.fuse.admin.user=admin redhat.fuse.admin.hostname=localhost redhat.fuse.admin.port=8181 redhat.fuse.admin.url=http://${redhat.fuse.admin.hostname}:${redhat.fuse.admin.port} |
Os_prompt > ConfigNOW start_karaf_session local fuse_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\fuse_example.properties INFO WLST support: False INFO Running command custom\commands\ant\fuse_commands.xml as ant target in build file: custom\commands\ant\fuse_comma nds.xml start_karaf_session: INFO Command completed. BUILD SUCCESS |
deploy_fuse_app command deploys the given application to the nominated Jboss Fuse server.
ConfigNOW deploy_fuse_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.fuse.admin.hostname | Yes | Hostname for connecting to Jboss fuse server |
redhat.fuse.admin.port | Yes | Port number to connect to Jboss Fuse server |
redhat.fuse.admin.user | Yes | Admin user to connect to Fuse management interface |
redhat.fuse.admin.password | Yes | Password for admin user |
redhat.fuse.appdeployment.filename | Yes | Deployment filename |
redhat.fuse.appdeployment.war.location | Yes | Location of the deployment file |
redhat.fuse.admin.password=redhat01$ redhat.fuse.admin.user=admin redhat.fuse.admin.hostname=localhost redhat.fuse.admin.port=8181 redhat.fuse.admin.url=http://${redhat.fuse.admin.hostname}:${redhat.fuse.admin.port} redhat.fuse.appdeployment.war.location=../../resources/examples redhat.fuse.appdeployment.filename=sample.war redhat.fuse.appdeployment.name=sample |
Os_prompt > ConfigNOW deploy_fuse_app local fuse_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\fuse_example.properties INFO WLST support: False INFO Running command custom\commands\ant\fuse_commands.xml as ant target in build file: custom\commands\ant\fuse_comma nds.xml deploy_fuse_app: [echo] Deploying sample.war: C:/jboss_fuse/jboss-fuse-6.2.1.redhat-084/standalone/deployments [copy] Copying 1 file to C:\jboss_fuse\jboss-fuse-6.2.1.redhat-084\deploy [copy] Copying C:\work\ConfigNOW-4.3_new\custom\resources\examples\sample.war to C:\jboss_fuse\jboss -fuse-6.2.1.redhat-084\deploy\sample.war [echo] sample deployed. INFO Command completed. BUILD SUCCESS |
undeploy_fuse_app command undeploys the given application from the nominated Jboss Fuse server.
ConfigNOW undeploy_fuse_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.fuse.admin.hostname | Yes | Hostname for connecting to Jboss fuse server |
redhat.fuse.admin.port | Yes | Port number to connect to Jboss Fuse server |
redhat.fuse.admin.user | Yes | Admin user to connect to Fuse management interface |
redhat.fuse.admin.password | Yes | Password for admin user |
redhat.fuse.appdeployment.name | Yes | Deployment name that need to be undeployed |
redhat.fuse.admin.password=redhat01$ redhat.fuse.admin.user=admin redhat.fuse.admin.hostname=localhost redhat.fuse.admin.port=8181 redhat.fuse.admin.url=http://${redhat.fuse.admin.hostname}:${redhat.fuse.admin.port} redhat.fuse.appdeployment.war.location=../../resources/examples redhat.fuse.appdeployment.filename=sample.war redhat.fuse.appdeployment.name=sample |
Os_prompt > ConfigNOW undeploy_fuse_app local fuse_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\fuse_example.properties INFO WLST support: False INFO Running command custom\commands\ant\fuse_commands.xml as ant target in build file: custom\commands\ant\fuse_comma nds.xml undeploy_fuse_app: [delete] Deleting: C:\jboss_fuse\jboss-fuse-6.2.1.redhat-084\deploy\sample.war [echo] sample removed. INFO Command completed. BUILD SUCCESS |
start_fuse command starts the Jboss Fuse server.
ConfigNOW start_fuse <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.fuse.admin.hostname | Yes | Hostname for connecting to Jboss fuse server |
redhat.fuse.admin.port | Yes | Port number to connect to Jboss Fuse server |
redhat.fuse.admin.user | Yes | Admin user to connect to Fuse management interface |
redhat.fuse.admin.password | Yes | Password for admin user |
redhat.fuse.admin.password=redhat01$ redhat.fuse.admin.user=admin redhat.fuse.admin.hostname=localhost redhat.fuse.admin.port=8181 redhat.fuse.admin.url=http://${redhat.fuse.admin.hostname}:${redhat.fuse.admin.port} |
Os_prompt > ConfigNOW start_fuse local fuse_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\fuse_example.properties INFO WLST support: False INFO Running command custom\commands\ant\fuse_commands.xml as ant target in build file: custom\commands\ant\fuse_comma nds.xml start_fuse: [echo] --------------------------------------- [echo] =========== Starting JBoss Fuse =========== [echo] --------------------------------------- [echo] Executing JBoss Fuse Start Script... [echo] Server started successfully INFO Command completed. BUILD SUCCESS |
Each Active MQ command is listed in the following section with parameters and properties used, as well as example output.
install_activemq command installs Active MQ from a zip file to the nominated location.
ConfigNOW install_activemq <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.amq.root.dir | Yes | Active MQ root directory |
redhat.amq.home | Yes | Active MQ home directory |
redhat.amq.zip | Yes | Active MQ zip installer |
redhat.amq.root.dir=C:/TEST/AMQ redhat.amq.home=${redhat.amq.root.dir}/jboss-a-mq-6.2.0.redhat-133 redhat.amq.zip=C:/installers/jboss-a-mq-6.2.0.redhat-133.zip |
os_prompt> ConfigNOW install_activemq local amq_example running jython INFO ===================================================================== INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\amq_example.properties INFO WLST support: False INFO Running command custom\commands\ant\amq_commands.xml as ant target in build file: custom\commands\ant\amq_command s.xml install_activemq: [unzip] Expanding: C:\installers\jboss-a-mq-6.2.0.redhat-133.zip into C:\TEST\AMQ [echo] ActiveMQ installed successfully at C:/TEST/AMQ INFO Command completed. BUILD SUCCESS |
start_amq command starts a given Active MQ instance.
ConfigNOW start_amq <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.amq.root.dir | Yes | Active MQ root directory |
redhat.amq.home | Yes | Active MQ home directory |
redhat.amq.admin.hostname | Yes | Hostname where Active MQ lives |
redhat.amq.admin.port | Yes | Port number on which Active MQ listens |
redhat.amq.admin.user | Yes | Admin user to connect to Active MQ server |
redhat.amq.admin.password | Yes | Password for Active MQ admin user |
redhat.amq.root.dir=C:/TEST/AMQ redhat.amq.home=${redhat.amq.root.dir}/jboss-a-mq-6.2.0.redhat-133 redhat.amq.admin.user=admin redhat.amq.admin.password=@dmin123 redhat.amq.admin.hostname=localhost redhat.amq.admin.port=8181 |
Os_prompt > ConfigNOW start_amq local amq_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\amq_example.properties INFO WLST support: False INFO Running command custom\commands\ant\amq_commands.xml as ant target in build file: custom\commands\ant\amq_command s.xml start_amq: [echo] --------------------------------------- [echo] - starting Active MQ [echo] --------------------------------------- [echo] ActiveMQ server started successfully INFO Command completed. BUILD SUCCESS |
stop_amq command stops a given Active MQ instance.
ConfigNOW stop_amq <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
redhat.amq.root.dir | Yes | Active MQ root directory |
redhat.amq.home | Yes | Active MQ home directory |
redhat.amq.admin.hostname | Yes | Hostname where Active MQ lives |
redhat.amq.admin.port | Yes | Port number on which Active MQ listens |
redhat.amq.admin.user | Yes | Admin user to connect to Active MQ server |
redhat.amq.admin.password | Yes | Password for Active MQ admin user |
redhat.amq.root.dir=C:/TEST/AMQ redhat.amq.home=${redhat.amq.root.dir}/jboss-a-mq-6.2.0.redhat-133 redhat.amq.admin.user=admin redhat.amq.admin.password=@dmin123 redhat.amq.admin.hostname=localhost redhat.amq.admin.port=8181 |
Os_prompt > ConfigNOW stop_amq local amq_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\amq_example.properties INFO WLST support: False INFO Running command custom\commands\ant\amq_commands.xml as ant target in build file: custom\commands\ant\amq_command s.xml stop_amq: [echo] --------------------------------------- [echo] =========== Stopping Active MQ =========== [echo] --------------------------------------- [exec] karaf.bat: Ignoring predefined value for KARAF_HOME [exec] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0 [echo] Server successfully shut down. INFO Command completed. BUILD SUCCESS |
Each Tomcat command is listed in the following section with parameters and properties used, as well as example output.
install_tomcat command installs Tomcat from a zip file to the nominated location.
ConfigNOW install_tomcat <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.zip | Yes | Location of Tomcat zip installer |
apache.tomcat.zip=C:/installers/apache-tomcat-9.0.0.M9.zip apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.bin.dir=${apache.tomcat.home}/apache-tomcat-9.0.0.M9/bin apache.tomcat.lib.dir=${apache.tomcat.home}/apache-tomcat-9.0.0.M9/lib |
os_prompt> ConfigNOW install_tomcat local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml install_tomcat: [unzip] Expanding: C:\installers\apache-tomcat-9.0.0.M9.zip into C:\test\apache-tomcat-9.0.0.M9 [echo] Tomcat installed successfully at C:/test/apache-tomcat-9.0.0.M9 INFO Command completed. BUILD SUCCESS |
---|
start_tomcat command starts the given Tomcat server.
ConfigNOW start_tomcat <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.admin.hostname | Yes | Hostname where Tomcat server is running |
apache.tomcat.admin.port | Yes | Port on which Tomcat is listening for management requests. |
apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.admin.user=admin apache.tomcat.admin.password=tomcat apache.tomcat.admin.hostname=localhost apache.tomcat.admin.port=8080 |
Os_prompt >ConfigNOW start_tomcat local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml start_tomcat: [echo] --------------------------------------- [echo] - starting tomcat [echo] --------------------------------------- [echo] server started successfully INFO Command completed. BUILD SUCCESS |
---|
stop_tomcat command stops the given Tomcat server.
ConfigNOW stop_tomcat <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the installation properties |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.admin.hostname | Yes | Hostname where Tomcat server is running |
apache.tomcat.admin.port | Yes | Port on which Tomcat is listening for management requests. |
apache.tomcat.admin.user | Yes | Admin user to connect to Tomcat server |
apache.tomcat.admin.password | Yes | Password for Admin user to connect to Tomcat server |
apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.admin.user=admin apache.tomcat.admin.password=tomcat apache.tomcat.admin.hostname=localhost apache.tomcat.admin.port=8080 |
Os_prompt > ConfigNOW stop_tomcat local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml stop_tomcat: [echo] --------------------------------------- [echo] - stopping tomcat [echo] --------------------------------------- [echo] server stopped successfully INFO Command completed. BUILD SUCCESS |
add_tomcat_user command adds a management user to the given Tomcat server.
ConfigNOW add_tomcat_user <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the Tomcat installation details |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.admin.user | Yes | Admin user to connect to Tomcat server |
apache.tomcat.admin.password | Yes | Password for Admin user to connect to Tomcat server |
apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.admin.user=admin apache.tomcat.admin.password=tomcat apache.tomcat.admin.hostname=localhost apache.tomcat.admin.port=8080 |
Os_prompt > ConfigNOW add_tomcat_user local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml add_tomcat_user: [echo] --------------------------------------- [echo] -Creating Admin User for Tomcat [echo] --------------------------------------- INFO Command completed. BUILD SUCCESS |
deploy_tomcat_app command deploys the given application to the Tomcat server.
ConfigNOW deploy_tomcat_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the Tomcat installation details |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.admin.user | Yes | Admin user to connect to Tomcat server |
apache.tomcat.admin.password | Yes | Password for Admin user to connect to Tomcat server |
apache.tomcat.appdeployment.path | Yes | Context path for the application to be deployed |
apache.tomcat.appdeployment.war.location | Yes | Location of the deployment war file |
apache.tomcat.admin.url | Yes | URL for Tomcat management interface |
apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.admin.user=admin apache.tomcat.admin.password=tomcat apache.tomcat.admin.hostname=localhost apache.tomcat.admin.port=8080 |
apache.tomcat.appdeployment.path=/exampleapp apache.tomcat.appdeployment.war.location=C:/work/confignow_tomcat_POC/ConfigNOW/custom/resources/examples/sample.war apache.tomcat.admin.url= http://${apache.tomcat.admin.hostname}:${apache.tomcat.admin.port}/manager/text |
Os_prompt > ConfigNOW deploy_tomcat_app local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml deploy_tomcat_app: [deploy] OK - Deployed application at context path /exampleapp INFO OK - Deployed application at context path /exampleapp INFO Command completed. BUILD SUCCESS |
---|
undeploy_tomcat_app command undeploys the given application from the Tomcat server.
ConfigNOW undeploy_tomcat_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the Tomcat installation details |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.admin.user | Yes | Admin user to connect to Tomcat server |
apache.tomcat.admin.password | Yes | Password for Admin user to connect to Tomcat server |
apache.tomcat.appdeployment.path | Yes | Context path for the application to be deployed |
apache.tomcat.appdeployment.war.location | Yes | Location of the deployment war file |
apache.tomcat.admin.url | Yes | URL for Tomcat management interface |
apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.admin.user=admin apache.tomcat.admin.password=tomcat apache.tomcat.admin.hostname=localhost apache.tomcat.admin.port=8080 |
apache.tomcat.appdeployment.path=/exampleapp apache.tomcat.appdeployment.war.location=C:/work/confignow_tomcat_POC/ConfigNOW/custom/resources/examples/sample.war apache.tomcat.admin.url= http://${apache.tomcat.admin.hostname}:${apache.tomcat.admin.port}/manager/text |
Os_prompt > ConfigNOW undeploy_tomcat_app local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml undeploy_tomcat_app: [undeploy] OK - Undeployed application at context path /exampleapp INFO OK - Undeployed application at context path /exampleapp INFO Command completed. BUILD SUCCESS |
reload_tomcat_app command redeploys the given application in the Tomcat server.
ConfigNOW reload_tomcat_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the Tomcat installation details |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.admin.user | Yes | Admin user to connect to Tomcat server |
apache.tomcat.admin.password | Yes | Password for Admin user to connect to Tomcat server |
apache.tomcat.appdeployment.path | Yes | Context path for the application to be deployed |
apache.tomcat.appdeployment.war.location | Yes | Location of the deployment war file |
apache.tomcat.admin.url | Yes | URL for Tomcat management interface |
apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.admin.user=admin apache.tomcat.admin.password=tomcat apache.tomcat.admin.hostname=localhost apache.tomcat.admin.port=8080 |
apache.tomcat.appdeployment.path=/exampleapp apache.tomcat.appdeployment.war.location=C:/work/confignow_tomcat_POC/ConfigNOW/custom/resources/examples/sample.war apache.tomcat.admin.url= http://${apache.tomcat.admin.hostname}:${apache.tomcat.admin.port}/manager/text |
Os_prompt > ConfigNOW reload_tomcat_app local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml reload_tomcat_app: [reload] OK - Reloaded application at context path /exampleapp INFO OK - Reloaded application at context path /exampleapp INFO Command completed. BUILD SUCCESS |
reload_tomcat_app command redeploys the given application in the Tomcat server.
ConfigNOW reload_tomcat_app <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the Tomcat installation details |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.admin.user | Yes | Admin user to connect to Tomcat server |
apache.tomcat.admin.password | Yes | Password for Admin user to connect to Tomcat server |
apache.tomcat.appdeployment.path | Yes | Context path for the application to be deployed |
apache.tomcat.appdeployment.war.location | Yes | Location of the deployment war file |
apache.tomcat.admin.url | Yes | URL for Tomcat management interface |
apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.admin.user=admin apache.tomcat.admin.password=tomcat apache.tomcat.admin.hostname=localhost apache.tomcat.admin.port=8080 |
apache.tomcat.appdeployment.path=/exampleapp apache.tomcat.appdeployment.war.location=C:/work/confignow_tomcat_POC/ConfigNOW/custom/resources/examples/sample.war apache.tomcat.admin.url= http://${apache.tomcat.admin.hostname}:${apache.tomcat.admin.port}/manager/text |
Os_prompt > ConfigNOW reload_tomcat_app local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml reload_tomcat_app: [reload] OK - Reloaded application at context path /exampleapp INFO OK - Reloaded application at context path /exampleapp INFO Command completed. BUILD SUCCESS |
list_deployed_apps_tomcat command lists all the deployed applications in the Tomcat server.
ConfigNOW list_deployed_apps_tomcat <env> <config> |
Property | Required | Description |
---|---|---|
Env | Yes | Environment to use to pickup properties file from |
Config | Yes | Configuration file to read the Tomcat installation details |
Property | Required | Description |
---|---|---|
apache.tomcat.home | Yes | Tomcat home directory |
apache.tomcat.admin.user | Yes | Admin user to connect to Tomcat server |
apache.tomcat.admin.password | Yes | Password for Admin user to connect to Tomcat server |
apache.tomcat.admin.url | Yes | URL for Tomcat management interface |
apache.tomcat.home=C:/test/apache-tomcat-9.0.0.M9 apache.tomcat.admin.user=admin apache.tomcat.admin.password=tomcat apache.tomcat.admin.hostname=localhost apache.tomcat.admin.port=8080 |
apache.tomcat.admin.url= http://${apache.tomcat.admin.hostname}:${apache.tomcat.admin.port}/manager/text |
Os_prompt > ConfigNOW list_deployed_apps_tomcat local tomcat_example running jython INFO ========================================================================= INFO ConfigNOW 4.3 INFO ConfigNOW command line version is available under open source licence and hence is available free for use up to 3 environments. INFO If you are intending to use ConfigNOW for more than 3 environments, please get in touch with us via product@inte graltech.com.au. INFO ========================================================================= 1.8.0_111 INFO Loading configuration from file: config\environments\local\tomcat_example.properties INFO WLST support: False INFO Running command custom\commands\ant\tomcat_commands.xml as ant target in build file: custom\commands\ant\tomcat_c ommands.xml list_deployed_apps_tomcat: [list] OK - Listed applications for virtual host localhost INFO OK - Listed applications for virtual host localhost [list] /:running:0:ROOT INFO /:running:0:ROOT [list] /examples:running:0:examples INFO /examples:running:0:examples [list] /exampleapp:running:0:exampleapp INFO /exampleapp:running:0:exampleapp [list] /host-manager:running:0:host-manager INFO /host-manager:running:0:host-manager [list] /manager:running:0:manager INFO /manager:running:0:manager [list] /docs:running:0:docs INFO /docs:running:0:docs INFO Command completed. BUILD SUCCESS |