User Commands

Top  Previous  Next

The following are the commands that are used by the User (acct1).

NOTE: Please see the Examples section for more commands.

 

-command=installappserver

Install a specific application server for a user JVM.

Parameters

Usage

Description

Is

Required

?

appservername

-appservername=Tomcat

The name of the Application Server

YES

appserverversion

-appserverversion=6.0.14

Application Server Version

YES

jdkversion

-jdkversion=JDK6.0.03

The JDK Version

NO

start

-start=true

Whether to start application server.

Default is true.

NO

ipaddress

-ipaddress=172.16.0.35

The IP address (from the IP Pool

assigned by the Administrator) to assign

to the Application Server to Listen on.

NO

jvmid

-jvmid=1

The JVM Id. Relevant if the maxjvms

value is set to greater than 1. Defaults to

1.

NO

 

 

-command=installapplication

Install a specific application (based on information in a properties file on the server).

Parameters

Usage

Description

Is

Required

?

applicationname

-applicationname=app1

The name of the Application

YES

email_to

-email_to=sales@mysaas.com,billing@customer.com

Email list for sending confirmation to.

NO

clonedfrom

-clonedfrom=myrealapp

Cloning enables running multiple copies

of the same application under the same

JVM.

NO

jvmid

-jvmid=1

The JVM Id. Relevant if the maxjvms

value is set to greater than 1. Defaults to

1.

NO

set_hibernate_dialect_to_db

-set_hibernate_dialect_to_db=true

If true, the Database Dialect in the Hibernate configuration file is automatically set to correspond to the

Database type of the DataSource.

NO

template_files

-template_files=WEB-INF/myconf.properties

Similar substitutions like the email confirmation template as described in the saasguide pdf document.

NO

saas.type

-saas.type=sear

Default is swar (SaaS Web Application Archive). Options include sear (SaaS Enterprise Application Archive) for an application comprised of more than 1 individual applications and sbar (SaaS Bundled Application Archive) for an application bundled with an embedded

application server.

NO

webapps

-webapps=app1,app2

Lists the applications in a SEAR.

NO

multiple_instances

-multiple_instances=true

Enables multiple instances of the application under the same JVM.

NO

mysql.version

-mysql.version=5

Determines the specific versions of MySQL supported by the application.

NO

 

 

-command=listapplications

List installed applications for the User Account.

Parameters

Usage

Description

Is

Required

?

jvmid

-jvmid=1

The JVM Id. Relevant if the maxjvms

value is set to greater than 1. Defaults to

1.

NO

 

 

-command=removeapplication

Remove a specific application (based on information in a properties file on the server).

Parameters

Usage

Description

Is

Required

?

applicationname

-applicationname=app1

The name of the Application

YES

jvmid

-jvmid=1

The JVM Id. Relevant if the maxjvms

value is set to greater than 1. Defaults to

1.

NO

delete_upon_removal

-delete_upon_removal=myapp.log,mydatadir

Delete the specified files/directories upon application removal.

NO

 

NOTE: Please see the Examples section for more commands.