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

Reply To: Mac 10.13+Idea 2017.3+JRebel7.1.3

$
0
0

i had just fixed it!
preferences-jrebel-advenced,click ‘use jrebel.jar from the path specified’,select path ‘/Users/***/Library/Application Support/IntelliJIdea2017.3/jr-ide-idea/lib/jrebel/jrebel.jar’ instead ‘……/jrebel6/jrebel.jar’


JRebel has expired. No free seats available.

$
0
0

Hi,

I have the following problem :

– A couple of years ago we had floating JRebel licenses and a user acquired one floating JRebel license. He worked with JRebel for a while then no longer used it.
– Then zeroturnaround changed the license model. On our license server we switched to managed licenses and over time the floating licenses on the license server expired.
– Now the user needs JRebel for a new project. When he tries to get a seat from the license server he gets the error “JRebel has expired. No free seats available.” On the license server’s Web interface I can see the user show up under “floating”

The error message sort of makes sense as the floating licenses have expired, but there are several “managed seats” available.

How can I switch him over to “managed seats”???

I’m using the current license server version 3.3.7.

Any help on this is appreciated!

Thanks,
Ingo

Reply To: JRebel has expired. No free seats available.

$
0
0

Hello, Ingo!

Is it possible that the user is requesting the license against the URL of the floating seats group, instead of the URL of the group for managed seats? This seems like something that would explain the issue.

In this case you can send him a new URL to connect to the License Server. You can find Group URLs from the License Server Groups tab.

If that is not the case then please send us jrebel-licensing.log, jrebel-{ide}.log from your user’s machine and, if possible, application.log from license server installation directory. You can send the logs to support@zeroturnaround.com

Vita

ERROR Failed to load a ServletIntegrationPlugin: NullPointerException

$
0
0

Hi All,
Can someone please help me out, I’m getting an error when I try to start my application. I installed Jrebel from the eclipse marketplace.

2017-12-11 10:18:24 JRebel: ERROR Failed to load a plugin from org.zeroturnaround.javarebel.integration.servlet.ServletIntegrationPlugin: java.lang.NullPointerException
at org.zeroturnaround.javarebel.integration.servlet.ServletIntegrationPlugin.pluginAlreadyLoaded(ServletIntegrationPlugin.java:122)
at org.zeroturnaround.javarebel.integration.servlet.ServletIntegrationPlugin.checkDependencies(ServletIntegrationPlugin.java:112)
at com.zeroturnaround.javarebel.os.a(SourceFile:605)
at com.zeroturnaround.javarebel.os.a(SourceFile:430)
at com.zeroturnaround.javarebel.vc.h(SourceFile:147)
at com.zeroturnaround.javarebel.vc.e(SourceFile:173)
at com.zeroturnaround.javarebel.vc.a(SourceFile:101)
at com.zeroturnaround.javarebel.tn.ensureInitialized(SourceFile:152)
at java.lang.ClassLoader.getClassLoadingLock(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.util.ResourceBundle$RBClassLoader.loadClass(Unknown Source)
at java.util.ResourceBundle$Control.newBundle(Unknown Source)
at java.util.ResourceBundle.loadBundle(Unknown Source)
at java.util.ResourceBundle.findBundle(Unknown Source)
at java.util.ResourceBundle.findBundle(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at sun.util.resources.LocaleData$1.run(Unknown Source)
at sun.util.resources.LocaleData$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.util.resources.LocaleData.getBundle(Unknown Source)

Reply To: JRebel has expired. No free seats available.

$
0
0

Hi Vita,

you were right!

I had asked the user to take the URL from the documentation, which is in our Wiki.

But instead of taking the correct URL from our Wiki he used the old URL he had saved in his “documentation” – a text file on his system. Which was the URL for the floating licenses.

Using the correct URL fixed the user’s problem.

And I will try to remember : Always double-check! ;-)

Thanks a lot!
Ingo

Reply To: ERROR Failed to load a ServletIntegrationPlugin: NullPointerException

$
0
0

Hello,

From investigating the stack trace a bit further, it looks like the servlet-api library has been loaded with bootstrap classloader which likely means that you have included the servlet-api library in your endorsed directories (java.endorsed.dirs).

Letting you know that we are currently working on the fix for this issue and will keep you informed when there are updates regarding this.

All the best,
Tiit

hibernate-validator reloading cannot take effort

$
0
0

I used the hibernate-validator which integrated with spring framework.When I appended some hibernate-validator annotation in a Controller class.The console showed that JRebel reloaded the class.But the validation didn’t take effort!The code is shown below:
`
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Min;
//something other import

@RestController
@Validated
public class MyController {
@GetMapping(“/dogs/”)
public RemindPageResult listDogs(@RequestParam(required = false) @Min(1) Integer curPage, @RequestParam(required = false) Integer pageSize){
//something
}
}
`
What I appended is “@Validated” and “@Min(1)”.
Any suggestion?Thanks in advance!

Does it seem likely that spring should re-inject the bean?

  • This topic was modified 6 hours, 30 minutes ago by  Elliot Mok.

Reply To: java.lang.OutOfMemoryError: PermGen space

$
0
0

Java applications are only allowed to use a limited amount of memory. This limit is specified during application startup. Java heap space indicates object could not be allocated in the Java heap. With -Xmx you can configure more memory for you JVM. To be sure that you don’t leak or waste memory.

example

Starting a JVM like below will start it with 256MB of memory, and will allow the process to use up to 2048MB of memory:

java -Xmx2048m -Xms256m


Reply To: Invalid ProtectionDomain

Reply To: RestEasy JaxRsActivator not automatically triggering new Service instantiation

$
0
0

The issue is fixed in Nighlty build, reloading new resources using RestEasy and JAX-RS will be added to JRebel 7.1.4 release.

Reply To: JRebel has expired. No free seats available.

$
0
0

Hi Ingo!

It is great to hear the issue is fixed, I’m glad I could help!

Vita

Minimum API change on JRebel for Android?

$
0
0

Hello,

I just upgraded to Android Studio 3.0.1 and the latest JRebel plugin version (2.5.10), and tried to run my application, and I got the following error message:

jrebel error

It still says on your website that the minimum supported API version is 15. Have you dropped support for API levels below 21?

Thanks

Reply To: Minimum API change on JRebel for Android?

$
0
0

Hey Eric,

Indeed we’re not supporting devices running with Dalvik VM (SDK < 21) in the newer releases. However the application’s minSdkVersion can still be lower. Hopefully you can just use a different device or an emulator to overcome this limitation.

All the best,
Hannes

Reply To: Minimum API change on JRebel for Android?

$
0
0

Hi Hannes,

Thanks for the reply. Unfortunately for us, we are stuck on API 15 for the foreseeable future for an embedded project. I’ll see if I can use an older version of the plugin.

Thanks

Reply To: JRebel not reloading mybatis xml map files

$
0
0

it seem not available in 7.1.3 yet.


Reply To: JRebel not reloading mybatis xml map files

$
0
0

oh. It work. It’s other plugin cause the xml not build.

Reply To: JRebel, XRebel and Intellij 2017.3

$
0
0

Thanks for your help. It works for me.

JRebel client can't connect to License Server

$
0
0

Hi,

I’m having some trouble trying to activate a JRebel license in eclipse IDE (oxygen).

I’ve updated our license server from 3.1.3 to 3.3.7, verified the logs to make sure liquibase updated the database, and successfully updated the ZT RebelSuite license file for managed seats.

However when I try to activate the license through eclipse in the “Connect to License Server” option I always get the message:

“Activation failed. Unable to connect to license server host. Check your network connection and/or VPN settings. (Server address: http://192.168.1.4:5000)”

Also running via command line I get the following errors from jrebel-licensing.log:

2017-12-20 13:53:16.716 INFO [rebel-lwatch] Licensing – === Event: getCurrentLicense
2017-12-20 13:53:16.722 INFO [rebel-lwatch] Licensing – Trying licenseServer licensing
2017-12-20 13:53:16.888 INFO [rebel-lwatch] Licensing-LS – Created new LicenseServer client (com.zeroturnaround.javarebel.z@5f223811[serverRootUrl=http://192.168.1.4:5000,token=8bf9b879-d834-4019-b4a3-da1c69d4e56e,installationGuid=WrhH0P3G5PrHcBXlQp22vaNJyvCU4KWuALga7am75Pg=])
2017-12-20 13:53:16.900 INFO [rebel-lwatch] Licensing-LS – Trying to update lease with the License Server. null
2017-12-20 13:53:16.901 INFO [rebel-lwatch] Licensing-LS – Lease update failed (lease = ‘null’). Trying to recover by requesting a new lease .. 1
2017-12-20 13:53:16.901 INFO [rebel-lwatch] Licensing-LS – doAcquireLease to http://192.168.1.4:5000, offline: -1
2017-12-20 13:53:27.065 WARN [rebel-lwatch] Licensing-LS – Http Request failed: POST http://192.168.1.4:5000/jrebel/leases HTTP/1.1
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at com.zeroturnaround.javarebel.z.a(JRebel:608)
at com.zeroturnaround.javarebel.z.a(JRebel:310)
at com.zeroturnaround.javarebel.z.a(JRebel:288)
at com.zeroturnaround.javarebel.y.a(JRebel:2156)
at com.zeroturnaround.javarebel.y.a(JRebel:85)
at com.zeroturnaround.javarebel.y.a(JRebel:2071)
at com.zeroturnaround.javarebel.x.a(JRebel:212)
at com.zeroturnaround.javarebel.bb.a(JRebel:32)
at com.zeroturnaround.javarebel.ay.a(JRebel:70)
at com.zeroturnaround.javarebel.SDKLicensingImpl.findAndValidateLicenseFromSource(JRebel:546)
at com.zeroturnaround.javarebel.SDKLicensingImpl.getCurrentLicense(JRebel:86)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingCLI.getLicensingStatusDirectly(JRebelLicensingCLI.java:150)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingCLI.doCarefulWithFirstVersionOfLS3(JRebelLicensingCLI.java:136)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingCLI.getLicensingStatus(JRebelLicensingCLI.java:107)
at org.zeroturnaround.jrebel.client.licensing.Watcher.refreshLicenseStatus(Watcher.java:125)
at org.zeroturnaround.jrebel.client.licensing.Watcher.access$300(Watcher.java:22)
at org.zeroturnaround.jrebel.client.licensing.Watcher$1.run(Watcher.java:65)
at java.lang.Thread.run(Thread.java:748)
2017-12-20 13:53:27.066 INFO [rebel-lwatch] Licensing-LS – First lease create failed: Unable to connect to license server host. Check your network connection and/or VPN settings.

If needed I have the server logs.

Thank you very much,
Susana

jrebel unable to run,but android studio native can run.

$
0
0

:app:processDebugResourceserror: failed to create directory ‘C:\Users\Administrator\.jrebel-android\gradle\0\debug\build-dir\xxx\app\build\generated\source\r\debug\xxx\xxx\xxx’.
Failed to execute aapt
com.android.ide.common.process.ProcessException: Failed to execute aapt
at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)
at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)
at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)
at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)
at sun.reflect.GeneratedMethodAccessor382.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482)
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794)
… 47 more
Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462)
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
… 1 more
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:463)
at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:415)
at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332)
at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)
Error:Execution failed for task ‘:app:processDebugResources’.
> Failed to execute aapt
* Get more help at https://help.gradle.org
Information:BUILD FAILED in 1s
12 actionable tasks: 1 executed, 11 up-to-date

  • This topic was modified 5 hours, 14 minutes ago by  oldjin.

disable ejb monitoring

$
0
0

hi

i want to disable jrebel from monitoring my ejb

[12/21/17 12:24:41:518 IST] 00000114 SystemOut O 2017-12-21 12:24:41 JRebel: Watching EJB ‘xxxx’ for changes

how can i do that ?

Viewing all 2540 articles
Browse latest View live


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