Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all articles
Browse latest Browse all 2540

License not being aquired

$
0
0

Hi.

From some time ago (at least two months) I am experiencing problems with JRebel Eclipse Plugin related to the license server. Today I am trying to investigate this problem, because it prevents us to use JRebel normally (we are forced to redeploy always our projects).

Eclipse version is 4.5.1
JRebel version is JRebel for Eclipse 6.2.5.RELEASE-201509301022
Java version is Java 8 u45 32bit.

I have a Glassfish 3.1.2 server on localhost configured to use JRebel. When I start this server from Eclipse, and after 10 seconds without any message, appears a notification message “License server licensing unavailable! Failed to acquire a seat from license server.” We have seen that really JRebel doesn’t work as expected. It happens always when starting Glassfish server. We are always forced to redeploy our applications.

By another side I have another domain of the Glassfish Server on this same machine configured for JRebel that is working perfectly, so I discard any network problems from my side. What can be wrong ?

Please, We have 2 licenses and we are not able to use them on the first server.

I send the configuration for the domain server specific to JRebel. I have also JRebel logs. If you need I can send you full logs.

Thank you.

–> jrebel-licensing.log

2015-10-13 16:27:57.727 INFO [Licensing] Current installation GUID is 33MQSJq/E1UT7FmKgqO1CWK4qIJxp77IEELe4opDXsI=
2015-10-13 16:27:58.033 INFO [Licensing] === Event: getCurrentLicense
2015-10-13 16:27:58.126 INFO [Licensing] Trying licenseServer licensing ..
2015-10-13 16:27:58.139 INFO [Licensing] Current installation GUID is 33MQSJq/E1UT7FmKgqO1CWK4qIJxp77IEELe4opDXsI=
2015-10-13 16:27:58.159 INFO [Licensing-LS] Created new LicenseServer client (com.zeroturnaround.javarebel.dI@10375b3[serverRootUrl=http://10.35.108.56:9000,token=d207ced4-7989-4b29-b8fc-f33fdee76fac,installationGuid=33MQSJq/E1UT7FmKgqO1CWK4qIJxp77IEELe4opDXsI=,username=dgisbert])
2015-10-13 16:27:58.163 INFO [Licensing-LS] doGetLicenseStatus to http://10.35.108.56:9000 ..
2015-10-13 16:27:58.586 INFO [Licensing] Successfully started with licenseServer licensing.
2015-10-13 16:28:09.915 INFO [Licensing] Current installation GUID is 33MQSJq/E1UT7FmKgqO1CWK4qIJxp77IEELe4opDXsI=
2015-10-13 16:28:09.928 INFO [Licensing] Using asynchronous license initialization.
2015-10-13 16:28:09.933 INFO [Licensing] Trying remoting licensing ..
2015-10-13 16:28:09.933 INFO [Licensing] –> This licensing source didn’t find valid licensing
2015-10-13 16:28:09.934 INFO [Licensing] Trying licenseServer licensing ..
2015-10-13 16:28:09.937 INFO [Licensing-LS] Created new LicenseServer client (com.zeroturnaround.javarebel.dI@fc59c2[serverRootUrl=http://10.35.108.56:9000,token=d207ced4-7989-4b29-b8fc-f33fdee76fac,installationGuid=33MQSJq/E1UT7FmKgqO1CWK4qIJxp77IEELe4opDXsI=,username=dgisbert])
2015-10-13 16:28:09.938 INFO [Licensing-LS] Contacting license server
2015-10-13 16:28:09.939 INFO [Licensing-LS] Acquiring a new lease from primary server .. (url: http://10.35.108.56:9000)
2015-10-13 16:28:20.710 ERROR [Licensing-LS] : java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at com.zeroturnaround.javarebel.zX.c(JRebel:149)
at com.zeroturnaround.javarebel.Ai.c(JRebel:111)
at com.zeroturnaround.javarebel.zX.a(JRebel:264)
at com.zeroturnaround.javarebel.yZ.a(JRebel:115)
at com.zeroturnaround.javarebel.yX.a(JRebel:98)
at com.zeroturnaround.javarebel.zV.a(JRebel:252)
at com.zeroturnaround.javarebel.xT.a(JRebel:282)
at com.zeroturnaround.javarebel.yU.a(JRebel:247)
at com.zeroturnaround.javarebel.yQ.a(JRebel:216)
at com.zeroturnaround.javarebel.AY.c(JRebel:298)
at com.zeroturnaround.javarebel.AY.a(JRebel:125)
at com.zeroturnaround.javarebel.yH.a(JRebel:647)
at com.zeroturnaround.javarebel.yH.a(JRebel:464)
at com.zeroturnaround.javarebel.yx.a(JRebel:820)
at com.zeroturnaround.javarebel.yx.a(JRebel:754)
at com.zeroturnaround.javarebel.yx.a(JRebel:732)
at com.zeroturnaround.javarebel.Ft.a(JRebel:111)
at com.zeroturnaround.javarebel.Ft.a(JRebel:102)
at com.zeroturnaround.javarebel.Fj.b(JRebel:53)
at com.zeroturnaround.javarebel.dI.a(JRebel:501)
at com.zeroturnaround.javarebel.dI.a(JRebel:459)
at com.zeroturnaround.javarebel.dG.a(JRebel:199)
at com.zeroturnaround.javarebel.dG.c(JRebel:177)
at com.zeroturnaround.javarebel.dG.a(JRebel:106)
at com.zeroturnaround.javarebel.ek.a(JRebel:95)
at com.zeroturnaround.javarebel.ek.a(JRebel:57)
at com.zeroturnaround.javarebel.eh.a(JRebel:103)
at com.zeroturnaround.javarebel.da.a(JRebel:215)
at com.zeroturnaround.javarebel.da.d(JRebel:144)
at com.zeroturnaround.javarebel.da.c(JRebel:44)
at com.zeroturnaround.javarebel.dd.run(JRebel:111)
at org.zeroturnaround.javarebel.integration.util.SecurityController.doWithoutSecurityManager(JRebel:33)
at com.zeroturnaround.javarebel.dc.run(JRebel:107)
at java.lang.Thread.run(Thread.java:745)

2015-10-13 16:28:20.710 WARN [Licensing-LS] Failed to acquire license server lease!
2015-10-13 16:28:20.710 INFO [Licensing-LS] Sending IDE notifications for ‘notifyLSInitializationFailed’.
2015-10-13 16:28:20.726 INFO [Licensing] –> This licensing source didn’t find valid licensing
2015-10-13 16:28:20.726 INFO [Licensing] Trying license file licensing ..
2015-10-13 16:28:20.726 INFO [Licensing] Attempting to load license file from: C:\Users\dgisbert\.jrebel\client.lic
2015-10-13 16:28:20.726 INFO [Licensing] Attempting to load license file from: C:\Users\dgisbert\.jrebel\jrebel.lic
2015-10-13 16:28:20.726 INFO [Licensing] Attempting to load license file from: C:\Users\dgisbert\.jrebel\javarebel.lic
2015-10-13 16:28:20.727 INFO [Licensing] Attempting to load license file from: C:\eclipse-4.5.0-x32\plugins\org.zeroturnaround.eclipse.embedder_6.2.5.RELEASE-201509301022\jrebel\client.lic
2015-10-13 16:28:20.727 INFO [Licensing] Attempting to load license file from: C:\eclipse-4.5.0-x32\plugins\org.zeroturnaround.eclipse.embedder_6.2.5.RELEASE-201509301022\jrebel\jrebel.lic
2015-10-13 16:28:20.727 INFO [Licensing] Attempting to load license file from: C:\eclipse-4.5.0-x32\plugins\org.zeroturnaround.eclipse.embedder_6.2.5.RELEASE-201509301022\jrebel\javarebel.lic
2015-10-13 16:28:20.727 INFO [Licensing] –> This licensing source didn’t find valid licensing
2015-10-13 16:28:20.727 INFO [Licensing] Trying myJRebel licensing ..
2015-10-13 16:28:20.727 INFO [Licensing] –> This licensing source didn’t find valid licensing
2015-10-13 16:28:20.727 WARN [Licensing] All licenses sources have failed!
2015-10-13 16:28:20.727 INFO [Licensing] Licensing exception: UNABLE TO INITIALIZE LICENSING – NO LICENSE FOUND
2015-10-13 16:28:20.727 INFO [Banner] Now: Tue Oct 13 16:28:20 CEST 2015
2015-10-13 16:28:20.727 INFO [Banner]
2015-10-13 16:28:20.727 INFO [Banner] #############################################################
2015-10-13 16:28:20.727 INFO [Banner]
2015-10-13 16:28:20.727 INFO [Banner] JRebel Legacy Agent 6.2.5 (201509291538)
2015-10-13 16:28:20.727 INFO [Banner] (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2015-10-13 16:28:20.730 INFO [Banner]
2015-10-13 16:28:20.730 INFO [Banner] Over the last 30 days JRebel prevented
2015-10-13 16:28:20.730 INFO [Banner] at least 3 redeploys/restarts saving you about 0,1 hours.
2015-10-13 16:28:20.730 INFO [Banner]
2015-10-13 16:28:20.730 INFO [Banner] Over the last 329 days JRebel prevented
2015-10-13 16:28:20.730 INFO [Banner] at least 1337 redeploys/restarts saving you about 33,4 hours.
2015-10-13 16:28:20.730 INFO [Banner]
2015-10-13 16:28:20.730 INFO [Banner] UNABLE TO INITIALIZE LICENSING – NO LICENSE FOUND
2015-10-13 16:28:20.730 INFO [Banner] Failed to acquire a seat from License Server!
2015-10-13 16:28:20.730 INFO [Banner]
2015-10-13 16:28:20.730 INFO [Banner] If you think this is an error, contact support@zeroturnaround.com.
2015-10-13 16:28:20.732 INFO [Banner]
2015-10-13 16:28:20.732 INFO [Banner]
2015-10-13 16:28:20.732 INFO [Banner] #############################################################
2015-10-13 16:28:20.732 INFO [Banner]
2015-10-13 16:28:20.732 INFO [Licensing] JRebel is running with the following internal licensing configuration:
2015-10-13 16:28:20.733 INFO [Licensing] License valid? false
2015-10-13 16:28:20.733 INFO [Licensing] License flags:
2015-10-13 16:28:20.733 INFO [Licensing] License type: UNLICENSED
2015-10-13 16:28:20.733 INFO [Licensing] License source: null
2015-10-13 16:28:20.733 INFO [Licensing] License valid from: null
2015-10-13 16:28:20.733 INFO [Licensing] License valid until: null
2015-10-13 16:28:46.627 INFO [Licensing] === Event: reserveSeat
2015-10-13 16:28:46.643 INFO [Licensing] Current installation GUID is 33MQSJq/E1UT7FmKgqO1CWK4qIJxp77IEELe4opDXsI=
2015-10-13 16:28:46.661 INFO [Licensing-LS] Created new LicenseServer client (com.zeroturnaround.javarebel.dI@b37bc[serverRootUrl=http://10.35.108.56:9000,token=d207ced4-7989-4b29-b8fc-f33fdee76fac,installationGuid=33MQSJq/E1UT7FmKgqO1CWK4qIJxp77IEELe4opDXsI=,username=dgisbert])
2015-10-13 16:28:46.666 INFO [Licensing-LS] Acquiring a new lease from primary server .. (url: http://10.35.108.56:9000)
2015-10-13 16:28:47.221 INFO [Licensing-LS] License registered to DBApparelSpain S.A.. License type: LS_FLOATING, License Server version: 3.1.0
2015-10-13 16:28:47.230 INFO [Licensing-LS] Lease successfully acquired. Lease: com.zeroturnaround.javarebel.dF@e6aa2[leaseId=1228,offline=false,clientRandomness=UOYEaFH5vko=,serverRandomness=mJTAcoLqS5M=,validFrom=Tue Oct 13 16:28:47 CEST 2015,validUntil=Tue Oct 13 16:30:47 CEST 2015]

–> jrebel.properties

#Saved by JRebel IDE Plugin
#Tue Oct 13 16:28:02 CEST 2015
rebel.log.request=true
rebel.stats.time=90
rebel.log=trace
rebel.preferred.license=1
rebel.log.file=C\:\\Users\\dgisbert\\.jrebel\\jrebel.log
rebel.disable_update=true
rebel.log.perf=true
rebel.usage_reporting=false
rebel.license.url=http\://10.35.108.56\:9000/d207ced4-7989-4b29-b8fc-f33fdee76fac
rebel.properties.version=2


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>