Client activation¶
This section provides details on how to activate clients with Rebel Licenses On-Premise.
License activation rules¶
The license can be shared between devices. The same license cannot be used on different devices simultaneously. The following restrictions apply:
The previous device loses its seat within 60 minutes.
The license can be switched between devices only every 60 minutes.
Activating products with Rebel Licenses On-Premise¶
JRebel¶
XRebel¶
Offline seats¶
The offline seat mode allows Rebel Licenses On-Premise users to go offline for a predefined period of time. This is useful when working away from the office or in an offline environment. During this time, the active offline seat is locked on the Rebel Licenses On-Premise and the product can be used without an active Rebel Licenses On-Premise connection.
The offline seat mode has to be activated manually, in the IDE plugin, or by using a command line parameter. Taking the seat offline has to happen while still connected to the Rebel Licenses On-Premise. An offline seat will cease working as soon as the predefined duration elapses or once the user manually disables offline seat mode.
Eclipse¶
Open Help > JRebel Configuration.
Locate Licensing.
Set the desired duration and press Work offline.
You can cancel offline seat mode by pressing Work online whenever Rebel Licenses On-Premise connection is restored.
IntelliJ IDEA¶
Open File > Settings > JRebel > Offline mode.
Set the desired duration and press Work offline.
You can cancel offline seat mode by pressing Work online whenever Rebel Licenses On-Premise connection is restored.
NetBeans¶
Open Tools > Options > JRebel > Offline.
Set the desired duration and press Work offline.
You can cancel offline seat mode by pressing Work online whenever Rebel Licenses On-Premise connection is restored.
Visual Studio Code¶
Open JRebel > User Settings > Dashboard > Work Offline.
Click to select the Work Offline checkbox to set the desired duration.
Click to select the Auto-renew Offline Seats checkbox to auto-renew the offline seats.
You can cancel offline seat mode using the toggle button and switch to Work online whenever Rebel Licenses On-Premise connection is restored.
XRebel¶
Open Settings > About.
Set the desired duration and press Work offline.
You can cancel offline seat mode by pressing Work online whenever Rebel Licenses On-Premise connection is restored.
Offline seat with standalone configuration¶
Rebel Licenses On-Premise requires a connection to be maintained to the Rebel Licenses On-Premise at all times. If you need to work offline, you can acquire an offline seat:
$ java -Drebel.license.url=http://your.server:9000/01234abcd01234abcd -jar jrebel.jar -go-offline
The default offline seat will last for 24 hours. You can ask for an offline seat for a period up to 15 days by providing the desired number of days as the last argument:
$ java -Drebel.license.url=http://your.server:9000/01234abcd01234abcd -jar jrebel.jar -go-offline 7
Be aware that this will keep one license seat occupied on the server-side for the entire offline period. To delete your offline seat and release the seat for others to use, use -go-online
. This seat is reserved on the Rebel Licenses On-Premise until offline mode expiration or until the user manually deletes the offline seat.
$ java -Drebel.license.url=http://your.server:9000/01234abcd01234abcd -jar jrebel.jar -go-online
Should the -go-online
command fail for some reason, you may consider manually deleting the offline seat. Use the -delete-offline
command to force the deletion of your local offline seat.
Warning
Please note that this command should only be used as a last resort. Manually deleting an offline seat will remove the license from the local machine, but the seat will not be freed up on the server.
$ java -Drebel.license.url=http://your.server:9000/01234abcd01234abcd -jar jrebel.jar -delete-offline
Activating JRebel standalone with Rebel Licenses On-Premise¶
JRebel can be activated with Rebel Licenses On-Premise licensing with the command line command -activate
, i.e.:
$ java -jar jrebel.jar -activate http://license-server.mycompany.com/1a2b-3c4d-e56f-7gh8 john@mycompany.com
Tip
Alternatively, you can use the standalone activation wizard to activate standalone JRebel (executed by the script at bin/activate-gui.[sh|cmd]
).
Another way to activate JRebel with Rebel Licenses On-Premise is by directly setting the properties either in jrebel.properties
file or on command line. Set the property rebel.license.url
to your Team URL and property rebel.license.email
to your email:
rebel.license.url=http://license-server.mycompany.com/1a2b-3c4d-e56f-7gh8
rebel.license.email=john@mycompany.com
Standalone configuration options¶
Customize username¶
Rebel Licenses On-Premise displays the JRebel user name. This defaults to the operating system user name, but can be customized as:
rebel.user=john@company.com
Average deploy time¶
Rebel Licenses On-Premise uses the average deploy time reported by JRebel to calculate time saved. To specify the average deploy time (in seconds):
rebel.stats.time=120