1.1.1

Table Of Contents
Use both mcast-port and -mcast-address, or use the -locators property to connect to a SQLFire
cluster as a peer client and perform the command.
The -name that you provide for the JAR must be an existing JAR le identier (created with sqlf install-jar).
You must include a schema name to qualify the identier.
SQLF removes the JAR le installation (and the unique identier) and unloads the JAR le classes.
See Storing and Loading JAR Files in SQLFire on page 125.
Examples
This command connects to a SQLFire network server running on localhost:1527, and removes the JAR installation
name APP.toursjar :
sqlf remove-jar -name=APP.toursjar
This command connects to a SQLFire network server running on myserver:1234 to remove the JAR le
installation:
sqlf remove-jar -name=APP.toursjar
-client-bind-address=myserver -client-port=1234
This command connects as a peer client to a SQLFire system running on multicast port 1234, and removes the
JAR le installation:
sqlf remove-jar -name=APP.toursjar
-mcast-port=1234 -extra-conn-props=host-data=false
sqlf replace-jar
Replaces an installed JAR le with the contents of a new JAR le. The classes in the new JAR le are
automatically loaded into the SQLFire class loader and they replace any classes that were previously installed
for the same JAR identier. SQLFire also recompiles objects that depend on the JAR le, such as installed
listener implementations.
Syntax
To replace an installed JAR le with the contents of a new JAR le, use the syntax:
sqlf replace-jar -file=<path or URL> -name=<identifier>
[-auth-provider=<name>]
[-bind-address=<address>]
[-client-bind-address=<address>]
[-client-port=<port>]
[-extra-conn-props=<properties>]
[-help] [-locators=<adresses>]
[-mcast-address=<address>]
[-mcast-port=<port>]
[-password[=<password>]]
[-user=<username>]
This table describes options for the sqlf replace-jar command. Default values are used if you do not specify an
option.
DescriptionOption
The local path of the new JAR le, or a URL that links to the JAR
le.
-le
This argument is required.
385
sqlf Launcher Commands