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

Reply To: device already activated. Contact license server administrator

$
0
0

Hello!

It’s Valerie from JRebel Support Team. Did you try to activate your computer with some other email before? You might need to ask your License Server admin to update License Server to the latest version and block and unblock your email that you used to activate.

Please let us know if it helps?

Kind regards,
Valerie


Reply To: Bug: JRebel and Primefaces/Atmosphere

$
0
0

I think you can add it to the resources folder in that case. for example in the maven project you add it to: /resources/META-INF/services/io.undertow.servlet.ServletExtension
and it will be relocated during build to the /WEB-INF/classes/META-INF/…

Runtime wrapper eating my checked exceptions

$
0
0

I’ve found that under certain cases my code’s checked Exceptions will fail to bubble up to the caller when I enable Jrebel’s Java agent on my Tomcat server.

I know that the corner case affected involves some combination Groovy and Java 8 Interfaces with default implementations. I finally found a stack trace for the Exception that I expected to see thrown in my application inside my jrebel.log:

2017-02-01 13:37:10.021 INFO  [18] [Core] We got an exception when calling the taget: There is something wrong with the input you have provided: com.guild.form.exception.InvalidFormException: There is something wrong with the input you have provided
        at com.guild.form.Validator.checkValidation(Validator.java:23)
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
        at com.zeroturnaround.javarebel.mB.__jr_selector__(JRebel:93)
...

When I decompiled the jrebel jar and looked at that Class, I found what I believe to be the problem:

  public Object __jr_selector__(int var1, Object var2, Object[] var3) {
    try {
      MethodHandle var4 = this.a.bindTo(var2);
      return var4.invokeWithArguments(var3);
    } catch (RuntimeException var5) {
      throw var5;
    } catch (Throwable var6) {
      fj.getInstance("Core").info("We got an exception when calling the taget: " + var6.getMessage(), var6);
      return new RuntimeException(var6);
    }
  }

It seems to me that when you wrap my checked Exception with your RuntimeException, you should throw it back up instead of returning it.

Reply To: Jrebel agent loads but can't read from eclipse directory

$
0
0

Hi Brad,

Sorry for the late response. This issue was continued over email and unfortunately was unresolved. It seemed to have something to do with file permissions but could we not figure out what since in the original issue all the directories had sufficient permissions.

We also tried checking if the issue could be caused by an access control list or a security manager but non of those seemed to lead to the cause.

This error comes from a code that is quite old and has been tested in battle for many years so this problem is quite surprising.

From what i understand, you managed to find the root cause of your issue and resolve it. Can you confirm?

All the best,
Risto

Eclipse Optimizer Registration Hangs

$
0
0

When I click “Start optimizing–>” I momentarily see a “sign up is in progress” message and then nothing happens.

  • This topic was modified 8 hours, 38 minutes ago by  schnitz.

Reply To: jRebel : Application Failed to Start

$
0
0

Hi,

Did you have any feedbacks for this issue ?

Reply To: jRebel : Application Failed to Start

$
0
0

Hi,

Sorry for the long silence!

We have now managed to reproduce the problem and have passed the development on to our developers.

However, we’re not yet sure how long the fix will take.

In my own sample application where I reproduced the problem, the problem seemed to only occur with the annotation @ConditionalOnSingleCandidate in combination with a custom scope so if that annotation is on one of your own classes, then you can try removing it for now and see if it helps.

I apologize for the inconvenience!
I’ll let you know as soon as a fix is available.

Reply To: JRebel and JDK 8 – Class JavaLaunchHelper is implemented in both…

$
0
0

Hi,

I’m using JDK jdk1.8.0_121 on a Mac running OS X El Capitan.

IDE: IntellJ Idea

when I use jrebel run the tomcat in debug , it always show:

objc[9214]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java (0x10eb9b4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10ecc64e0). One of the two will be used. Which one is undefined.`


Reply To: JRebel and JDK 8 – Class JavaLaunchHelper is implemented in both…

Reply To: myJRebel activation

$
0
0

Hi

I tried activating JRebel but getting below error. Could you please help if i am missing anything. I have got the activation key via subscribing through twitter.
Thanks in advance

bash-4.1$ java -Drebel.log=true -jar jrebel.jar -activate $1DNmAw2neypv2sNyNxboFCqys8k7PNBB35vED9ZvPw/UXFf60b7+4E3xWH8LbFk8qoLEsfu9TEwWJMoOzQXBIEdRrR5CWqBZ71z2sAFnwuzFGGVh/TfpRkwXxK0P4m4Cyoc8mg==
There was a problem activating JRebel with the data provided:
The license token had an incorrect format or the provided file did not exist.
bash-4.1$ java -Drebel.log=true -jar jrebel.jar -license
Querying license information
2017-02-07 14:11:38 JRebel: Starting logging to file: /home/atbajaj/.jrebel/jrebel.log
2017-02-07 14:11:38 JRebel:
2017-02-07 14:11:38 JRebel: #############################################################
2017-02-07 14:11:38 JRebel:
2017-02-07 14:11:38 JRebel: JRebel Agent 7.0.3 (201701191209)
2017-02-07 14:11:38 JRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2017-02-07 14:11:38 JRebel:
2017-02-07 14:11:38 JRebel: Over the last 1 days JRebel prevented
2017-02-07 14:11:38 JRebel: at least 0 redeploys/restarts saving you about 0 hours.
2017-02-07 14:11:38 JRebel:
2017-02-07 14:11:38 JRebel: UNABLE TO INITIALIZE LICENSING – NO LICENSE FOUND
2017-02-07 14:11:38 JRebel:
2017-02-07 14:11:38 JRebel: If you think this is an error, contact support@zeroturnaround.com.
2017-02-07 14:11:38 JRebel:
2017-02-07 14:11:38 JRebel:
2017-02-07 14:11:38 JRebel: #############################################################
2017-02-07 14:11:38 JRebel:
License type: UNLICENSED
bash-4.1$ java -Drebel.log=true -jar jrebel.jar -activate $1DNmAw2neypv2sNyNxboFCqys8k7PNBB35vED9ZvPw/UXFf60b7+4E3xWH8LbFk8qoLEsfu9TEwWJMoOzQXBIEdRrR5CWqBZ71z2sAFnwuzFGGVh/TfpRkwXxK0P4m4Cyoc8mg==
There was a problem activating JRebel with the data provided:
The license token had an incorrect format or the provided file did not exist.
bash-4.1$ java -Drebel.log=true -jar jrebel.jar -activate 1DNmAw2neypv2sNyNxboFCqys8k7PNBB35vED9ZvPw/UXFf60b7+4E3xWH8LbFk8qoLEsfu9TEwWJMoOzQXBIEdRrR5CWqBZ71z2sAFnwuzFGGVh/TfpRkwXxK0P4m4Cyoc8mg==
2017-02-07 14:12:13 JRebel: Contacting myJRebel server ..
There was a problem activating JRebel with the data provided:
Unable to connect to myJRebel.

Regards,
Atam Bajaj

Spoofed email & Phishing

$
0
0

Dear all,

Just got a spam/phishing email from ZeroTurnaround email address: peter.christensen@zeroturnaround.com.

Did you get hacked, infected or are you simply selling you customers’ private data?!?

I’ve forwarded the email to support and sales, but now I’m thinking it might end up in spam folder. Which would be correct.

Hence, I decided to write here as well. If the email’s source is needed, I can provide it.

Best regards.

Reply To: Spoofed email & Phishing

To run with JRebel Agent,use:-agentpath:/Users/…/.jrebel/lib/libjrebel64.dylib

$
0
0

HEllo,

I upgraded to jrebel 7.0, and after that i started getting that issue. even after adding the right configuration to the MAVEN_OPTS in my .bash_profile.

export MAVEN_OPTS="-agentpath:/Users/syeremy/.jrebel/lib/libjrebel64.dylib $MAVEN_OPTS"

This is the command is not working for me :
mvn -P cargo.run -D repo.path=storage -D jrebel

although this command works properly for me :

mvn clean verify -D jrebel

This is the complete log i am getting :

[INFO] [talledLocalContainer] To run with JRebel Agent, use: -agentpath:/Users/syeremy/.jrebel/lib/libjrebel64.dylib
[INFO] [talledLocalContainer] For more information, please read https://zeroturnaround.com/software/jrebel/jrebel7-agent-upgrade-cli/
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] JRebel Agent is building a bootclass cache to /Users/syeremy/dev/projects/.../target/tomcat8x/temp/rebelboot.jar
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] Check the instructions above to start using JRebel. The JVM will now exit.

Reply To: To run with JRebel Agent,use:-agentpath:/Users/…/.jrebel/lib/libjrebel64.dylib

$
0
0

Found the solution.

We can specify that property in the POM :

    <profile>
      <id>default</id>
      <activation>
        <activeByDefault>true</activeByDefault>
        <property>
          <name>jrebel</name>
        </property>
      </activation>
      <properties>
        <javaagent>-agentpath:/Users/syeremy/.jrebel/lib/libjrebel64.dylib</javaagent>
      </properties>
    </profile>

and because that is a configuration specific for my laptop, i needed to move it from my project POM to my %USER_HOME%/.m2/settings.xml configuration.

Hope that can help to someone else

Reply To: jRebel : Application Failed to Start

$
0
0

Hi,

I have good news for you! Our developers have now pushed a fix to the nightly.

Download and extract JRebel standalone nightly build from here: https://zeroturnaround.com/software/jrebel/download/nightly-build/

If you’re starting your application with an IDE, then in the IDE go to Help > JRebel > Configuration > Advanced > Use jrebel.jar from custom location and point it to the extracted nightly.

If you’re starting your application from command line, then just change your agentpath or javaagent argument to point to the nightly location.

Please let me know if the nightly fixes the problem for you.


Reply To: jRebel : Application Failed to Start

$
0
0

Hello Veiko,

Well done guys !! It is working now.
I have been using the nightly version 7.0.5-SNAPSHOT of the jRebel agent.

I will let you if i encounter another issue. If the right bean is used in the right scope, etc …

Again really appreciate your help.

Fatih

  • This reply was modified 1 hour, 23 minutes ago by  Fatih.

Reply To: JRebel and JDK 8 – Class JavaLaunchHelper is implemented in both…

$
0
0

Hello!

This is just a notification, it shouldn’t break anything so don’t worry about it :) Does everything else work with JRebel?

Kind regards,
Valerie

Serious problem with EAP 6.4.12 and EJB

$
0
0

Dear Support Team,

we have updated our JBoss EAP Servers to version 6.4.12 and now we have serious problems with changes in EJB’s.

I’am using Eclipse 4.6.0 (Red Hat JBoss Developer Studio 10.1) and JRebel 6.5.2.

In my web application I’am using CDI Bean controller (DeltaSpike) which are including EJB’s. If I change something simple like a new log statement in an EJB, the reloading of the EJB will be showed in the console. But if I invoke the EJB after JRebel reloading I get an exception and the EJB is not usable. It seems its the same problem like that one:
https://zeroturnaround.com/forums/topic/jrebel-not-working-at-jboss-eap-6-4-11-3/

For me and my colleagues JRebel is not usable anymore, please provide me a solution asap.

Thats my Exception:

Caused by: java.lang.IllegalStateException
at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
at org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory.create(ManagedReferenceFieldInjectionInterceptorFactory.java:59)
at org.jboss.as.ee.component.AbstractComponentConfigurator$1.create(AbstractComponentConfigurator.java:39)
at org.jboss.invocation.ChainedInterceptorFactory.create(ChainedInterceptorFactory.java:52)
at org.jboss.as.ee.component.BasicComponent.createInterceptors(BasicComponent.java:235)
at org.jboss.as.ee.component.BasicComponent.waitForComponentStart(BasicComponent.java)
at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:184)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
at de.dakosy.pcs.prise.biz.services.hvcc.ntk.NtkPriseDataService$$$view95.findPriseDataByArrival(Unknown Source)
at de.dakosy.pcs.prise.web.controller.hvcc.ntk.NtkFolder2BerthAnnoController.prepareBerthAnnoDialog(NtkFolder2BerthAnnoController.java:83)
at de.dakosy.pcs.prise.web.controller.hvcc.ntk.NtkFolder2BerthAnnoController$Proxy$_$$_WeldClientProxy.prepareBerthAnnoDialog(NtkFolder2BerthAnnoController$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.GeneratedMethodAccessor2286.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.el.parser.AstValue.invoke(AstValue.java:258)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at com.sun.faces.facelets.el.ContextualCompositeMethodExpression.invoke(ContextualCompositeMethodExpression.java:192)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
… 40 more

Reply To: Serious problem with EAP 6.4.12 and EJB

Reply To: Serious problem with EAP 6.4.12 and EJB

$
0
0

Hi,

is JRebel version 7.0.5-snapshot compatible with Eclipse 4.6.0?

Viewing all 2540 articles
Browse latest View live


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