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

Managed seat count doesn't match user list rows

$
0
0

I have a License Server V3.2 with 8 Managed License seats and we are using the JRebel 7.0.0 plugin in Eclipse. Today 1 user successfully acquired a licence having installed the Eclipse plugin but then Eclipse crashed and he had to redo the activation. Unfortunately, when he did so he inadvertently used a different email address resulting in 2 entries for him being shown in the License Server users table for the same ip address, though Eclipse just said that ‘Activation was in progress’. Having spotted this, I got him to close the activation window and resubmit with the correct email address. Eventually the Eclipse activation window said that the email had previously been changed for this device and could not be updated for 60 minutes, fair enough.

After a time (not 60 minutes) we resubmitted his activation request with the correct email and the licence was acquired successfully but the license server now appears to be in an inconsistent state:

In the Users-All User table there are entries for myself and another already activated user (expected) plus a single entry (showing the correct email address) for the user who made the mistake, i.e. 3 rows in total. In the JRebel Managed Seats link in the title bar however it shows 4/8 (i.e. 4 of 8 allocated) not 3/8 as I would expect. Is this just a bug of the UI element being out of step with the activated user database or have we now actually only got 4 licences left with 1 licence allocated to nobody? I also wondered if this state would correct itself after either of the timeout periods of 60 minutes or 30 days mentioned in the docs? Any insight or clarification would be appreciated.

Keith


Reply To: Managed seat count doesn't match user list rows

$
0
0

Hi Keith,

If you click the hyperlink in the title bar that says 4/8 you should see all the users currently occupying the licenses. If you only see three of them, it could be the case that one of the users is hidden. There is a hyperlink “Show hidden users” in the top right corner of the UI. When you click it, you should be able to see all of the users.
If you do, you can remove the license from the user who used an invalid email address by clicking “Block User” Button in the Actions column.

But if it happens that after clicking “Show hidden users”, the user is still not shown. Could you please send us screenshots of the License server UI with the issue to support@zeroturnaround.com so we could understand the problem a bit better.

Regarding the 1h wait before changing the license: It is implemented to avoid misuse of the licenses.

Please let me know how it works out.

All the best,
Risto

Reply To: Managed seat count doesn't match user list rows

$
0
0

Hi Risto,

Thanks for the prompt response. I did what you said but I must say I’m struggling to find the “Show hidden users” link so I’ll send a screenshot anyway.

With regard to the Block button, I read in the docs pages that using that to disable a user from within the License server not only disables that email address but also the ip of that machine. Is this correct as, in my case, if I did this it would block both the seats associated with the user’s machine, which would obviously be undesirable?

Keith

Reply To: Managed seat count doesn't match user list rows

$
0
0

Hi Keith,

Sorry for the confusion, “Show hidden users” is not there anymore in 3.2. Could you still send us a screenshot of the license server where it shows 4/8 occupied seats but only 3 users are shown in the all users table.

Regarding the blocking. If you were using latest version (3.2.1) the old email would disappear automatically. But for 3.2 it is safe to block older email if you have already activated with the correct email.

All the best,
Risto

Reply To: Changes on JSF composite components in jar not recognized

$
0
0

Hi Valerie and ZT,

Thanks for your reply.

Since first writing I have migrated my attempt at a JRebel-friendly modularised Java EE project to Maven (from Ant) and to use Maven Overlays, so that the JSF composite components from CoreWeb (Maven form) are included in the downstream SpecWeb (Maven form). I still can’t get composite component reloading working across web projects.

I have emailed support@zeroturnaround.com with a detailed description of the problem and setup and a sample NetBeans-8.2 multi-module project for download, including descriptions of the rebel.xml files for CoreWeb and SpecWeb (and some UML class diagrams showing the setup and the relationships between the various modules).

This new Maven-based sample project is easy to run out-of-the-box.

I will not being using Ant further for this task, so the Ant-based case is no longer relevant (need not be investigated further by your team unless somebody else needs it).

Many thanks,

Darren, Webel IT Australia

  • This reply was modified 10 hours, 4 minutes ago by  webel.

Reply To: Relative folder indicators fail in classpath rebel.xml

$
0
0

Thanks Meelis for your detailed explanation. For now I will continue using a root path property defined in ~/.jrebel/jrebel.properties, which enables easy distribution to other developers, who can then simply unpack my multi-module project somewhere and point to it be setting a root path property point at it. Webel.

Reply To: jrebel does not reload .xhtml files from /src/main/resources/META-INF/

Reply To: JRebel lose BeanFactoryPostProcessors bean customizations after reloading


JRebel: ERROR Class 'com.sun.facelets.FaceletViewHandler' could not be processed

$
0
0

Jrebel is running and reports that its watching a long list of classes, but reports an error on one class:

2016-12-05 03:46:34 JRebel: ERROR Class ‘com.sun.facelets.FaceletViewHandler’ could not be processed by org.zeroturnaround.jrebel.facelets.cbp.FaceletViewHandlerCBP@weblogic.utils.classloaders.GenericClassLoader@7d1e0956: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] no such field: developmentMode

What is the error message telling me, and how to fix it?

Reply To: JRebel: ERROR Class 'com.sun.facelets.FaceletViewHandler' could not be processed

$
0
0

Hello!

This error is caused by JRebel when it failed to correctly process the FaceletViewHandler class. This is likely due to missing integrations with the JSF Facelets version you’re using. Please note that we officially support JSF Facelets versions 1.1.15.B1 and newer.

Could you please reproduce this issue and after that, send the jrebel.log file to support@zeroturnaround.com

The log itself should end up in your ${USER_HOME}/.jrebel/ directory.

If possible, please also include the jsf-facelets.jar archive as well.

All the best,
Tiit

Jrebel, swagger, and spring mvc

$
0
0

I have read that Jrebel has support for swagger now, but for some reason when I make changes to my Spring MVC controllers, I am not seeing changes in the generated documentation from swagger. Is there some sort of config I need to add some place to get swagger to reload annotations? I end up having to re-deploy the class itself.

Reply To: Managed seat count doesn't match user list rows

$
0
0

Hi Keith

Have not received a screenshot from you yet. Did you manage to fix the problem?

All the best,
Risto

Reply To: Problem with TomEE 7.0.2 Plume

$
0
0

Hi Tiit
I’m glad you are looking into this. I will however ask you to be a little more specific on when you expect this to be solved. Renewing our Jrebel licenses doesn’t really make much sense as long as the product we are now using isn’t supported.

Kind regards
Kenneth

Reply To: Jrebel, swagger, and spring mvc

$
0
0

Meant to add that I am using:
IntelliJ IDEA 2016.3
JRebel 7.0.0

Can't add a JRebel Remote Server in IntelliJ

$
0
0

In “IntelliJ: Settings>JRebel>Remote Servers”, I’m getting a RemotingException when I click on “Test Connection” after defining a server.

I made sure that my Weblogic 11g was started with the right java options.

I’m running JRevel 7.0.1 in a standalone WLS, and the same version of the IntelliJ plugin.

Here’s the full stacktrace from the jrebel-intellij.log:

2016-12-05 12:53:36.238 ERROR [pool-24-thread-1] InfoRequestUtil - Error validating connection to remote server: Cannot initialize HTTP Client.
com.zeroturnaround.jrebel.remoting.RemotingException: Cannot initialize HTTP Client.
	at com.zeroturnaround.jrebel.remoting.net.HttpClientHelper.initClient(JRebelRemoting:103) ~[na:7.0.1]
	at com.zeroturnaround.jrebel.remoting.net.HttpClientHelper.getClient(JRebelRemoting:55) ~[na:7.0.1]
	at com.zeroturnaround.jrebel.remoting.net.HttpClientHelper.makePostRequest(JRebelRemoting:180) ~[na:7.0.1]
	at com.zeroturnaround.jrebel.remoting.net.HttpClientHelper.makePostRequest(JRebelRemoting:139) ~[na:7.0.1]
	at com.zeroturnaround.jrebel.remoting.net.HttpClientHelper.makePostRequest(JRebelRemoting:135) ~[na:7.0.1]
	at com.zeroturnaround.jrebel.remoting.requests.RemotingRequest.queryRemoteServer(JRebelRemoting:69) ~[na:7.0.1]
	at com.zeroturnaround.jrebel.remoting.requests.RemotingRequest.submit(JRebelRemoting:47) ~[na:7.0.1]
	at com.zeroturnaround.jrebel.remoting.util.InfoRequestUtil$a.run(JRebelRemoting:66) ~[na:7.0.1]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_76-release]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_76-release]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_76-release]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_76-release]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_76-release]
Caused by: java.lang.NullPointerException: null
	at java.lang.String.<init>(String.java:166) ~[na:1.8.0_76-release]
	at com.zeroturnaround.jrebel.remoting.net.HttpClientHelper.initClient(JRebelRemoting:94) ~[na:7.0.1]
	... 12 common frames omitted

An image is worth thousand words:

Screenshot from intellij


Reply To: Jrebel, swagger, and spring mvc

$
0
0

Hello!

To see what went wrong with Swagger integration, we would need a bit mroe information from your side. Could you please send your trace level jrebel.log file after reproducing the issue to support@zeroturnaround.com with the link to this forum topic? To generate it just add -Drebel.log=trace to your VM arguments, restart your server and try to make some related changes.

Kind regards,
Valerie

Reply To: Jrebel, swagger, and spring mvc

$
0
0

No problem. I’ll do that now. Thank you.

Reply To: Jrebel, swagger, and spring mvc

Reply To: Problem with TomEE 7.0.2 Plume

$
0
0

Hi Kenneth!

The fix for this issue should be available in approximately one week.
We’ll keep you informed and let you know when the fix is in the nightly build.

All the best,
Tiit

Reply To: Problem with TomEE 7.0.2 Plume

$
0
0

Hi Tiit
That’s good news. We look will forward to the update.

Thanks
Kenneth

Viewing all 2540 articles
Browse latest View live


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