Page 1 of 1

Query on oXygen license

Posted: Fri Aug 14, 2015 4:14 pm
by nagang
Hi Team,

We have floating license server downloaded from the oXygen site. I wish to know, if there is any option to set timeout for license acquired in oXygen client/license server if the client is non-active. Let's say after 2 hour, the license acquired by the oXygen client should be free if the user is not using the client.

Re: Query on oXygen license

Posted: Fri Aug 14, 2015 4:23 pm
by Costin
Hello,

It is not possible to set a timeout for the oXygen Floating licenses in use.
The mechanism was intended this way to avoid loosing the work in progress for users which did not saved the document before the timeout.

Therefore as the license remains allocated as long the user has its oXygen running, each user should make sure to close oXygen when he/she finishes the work and it is no more needed.

Best Regards,
Costin

Re: Query on oXygen license

Posted: Mon Aug 17, 2015 11:54 am
by nagang
Hi Costin,

Thanks for the response. Can you please also provide one small information on the license logging. We have observed that the logs (license server 17.0) are generated differently as compared to license server 16.0? Is this the expected behavior?

16.0 log message:

11-06-2015 03:30:21 INFO - User: username on: IP - MAC

17.0 log message

19-06-2015 15:59:08 INFO - username - MAC

Although, the log4j.properties file has the same configuration in both servers.

Re: Query on oXygen license

Posted: Mon Aug 17, 2015 12:09 pm
by nagang
Hi Costin,

I have one more query, Is there any refresh interval kind on scenario in which the oXygen client communicate with license server to get the license after sometime, say after every 15mins or so?

Re: Query on oXygen license

Posted: Mon Aug 17, 2015 6:29 pm
by ionela
Hi,

The initial maintenance builds of v17 license server don't have the same log format as it was in v16.1. Starting with maintenance build 2015061011 (released on June 10th, 2015) the messages from the log file are partially restored and the log format is very similar with v16.1. You can check the license server version in the log file:
License server version: 17.0.2015061011
If you have you have installed a maintenance build prior to the one above, you can download the latest one from our website:
http://www.oxygenxml.com/license_server.html

The client keeps the connection with the server and it sends a keep-alive message at every 30 seconds.

Let us know if you need additional information.

Regards,
Ionela

Re: Query on oXygen license

Posted: Tue Aug 18, 2015 7:54 am
by nagang
Hi,

Thanks for the response. What we have seen is, we are using the below licence server:

License server version: 17.0.2015050815.

But, while checking our old logs with License server version: 16.0.2014051618, we have seen that there are multiple log entries at the same time instant for a single user which in turn is showing more number of licenses used.

We are using eclipse version of oXygen author. I have observed that although I have only one session of oXygen eclipse active, I can see multiple entries with my username in the license log file resulting increase in number of License acquired.

We have done some analysis and found that although our total user were around 30 only, we have seen license usage of more than 95.

Is it the bug in the old server logging mechanism? or, is there any scenario in which from single machine, I can have multiple license acquired?

Re: Query on oXygen license

Posted: Tue Aug 18, 2015 11:23 am
by adrian
Hi,
Is it the bug in the old server logging mechanism? or, is there any scenario in which from single machine, I can have multiple license acquired?
If, on the same machine, you have multiple instances of Eclipse with Oxygen editor(s) open, or, for the standalone edition, multiple Oxygen tools started, or a combination of the two, it is possible for a single user to acquire more than one license.

However, I believe there was a bug in an old version of the license server that left a license dangling for the timeout period (30 seconds) after the client disconnected, instead of immediately releasing it. The license is always freed by the server after the timeout period (30 seconds), so this bug does not have a long term effect, but you may see an occasional spike in license usage within that 30 second interval.
This is especially visible in Eclipse where the license is frequently released/re-acquired if you work with one Oxygen editor at a time. It is released when you close the last Oxygen editor and re-acquired when you open the first editor. So, if you repeatedly close and reopen that last editor very fast (within that 30 seconds interval), it is possible for a user to consume a significant number of licenses, but it all settles down (dangling licenses are freed) after the timeout period of 30 seconds expires.

Note that this is no longer the case with the v17.0 server, it always releases the licenses immediately as they are freed by the client/user.

Regards,
Adrian

Re: Query on oXygen license

Posted: Thu Oct 08, 2015 9:47 am
by mu258770
Hi Adrian,

Thanks for your reply.

I have one more query related to license only.

We have oXygen-eclipse version with oXygen 17.0. As we have already stated we have the license server running on different machine as well. When I give the license server and port number, it gets the license from server and the same I can check by launching Eclipse and click on Window->Preferences->oXygen XML Author.

Now, if I close the eclipse session and delete the workspace folder. When I re-launch eclipse, I can still see that the oXygen license details are available. The oxygen server license details are not deleted.

Our query is, how do you manage to store the license information even after we delete all the folders related to eclipse session.

Re: Query on oXygen license

Posted: Thu Oct 08, 2015 10:30 am
by adrian
Hi,

The license information is stored in the user profile: Oxygen XML Editor Eclipse Plugin - Preferences
For the Eclipse plugin only the license information is stored there. If you also use the standalone edition of Oxygen, it uses the same license information and also keeps there its global options and file history.

Regards,
Adrian