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

Reply To: JNotify not found

$
0
0

I hope you find out of it soon.

/Petter


JRebel with wicket 6.x and jetty maven plugin doesn't reload anything at all

$
0
0

Hello guys,

I don’t know if i have missed something but, i’m trying JRebel in JDK8u65 based project runing jetty plugin via maven with wicket and spring… i added JRebel to the run configuration and at startup it show that the JRebel is monitoring the classes and all.. but when I make some changes nothing is reflected in jvm, any suggestions would be appreciated :)

Reply To: JRebel with wicket 6.x and jetty maven plugin doesn't reload anything at all

$
0
0

Hello Kace

In this case the .class file is not changed/recompiled or it is not done in correct location.

Can you do a reload test? Change and recompile the class and send jrebel.log after reproducing to support@zeroturnaround.com with absolute path of the .class file that you changed.

You can enable jrebel.log from you IDE JRebel Configuration view.

No email server – Problem sending link for verification

$
0
0

Hi,

I have a couple of users that when they try to get a license from the server, they get the following message:

Validation link sent to email provided. Click it to activate.

The problem is that the server is in a secure environment, and don’t have internet access.

Is there a way to activate them through the server? o delete their user and add it again.

Thanks in advance.

Regards

Reply To: No email server – Problem sending link for verification

$
0
0

Hello

Validation link is sent to e-mail only if the same license is used on second machine. If it is used only on one computer then no validation e-mails is sent.

If user wants to start using the license on different machine then the e-mail has to be validated. There are 2 alternatives for e-mail settings. First is to use ZeroTurnaround e-mail servers which does not work without external internet. Secondly you can use your own e-mail server in the internal network.

Does this information help you further or we need to try think of more options for you?

Reply To: Spring prototype beans not reloaded

$
0
0

Hi,

Sorry i must have misunderstood your initial request as changing existing beans.
Having a bean factory produce new instances of prototype beans using updated values is certainly a viable use-case.

I double checked and we have a feature request for getting new prototype bean instances with reloaded configuration. However we have not received much interest for this feature so it has not been implemented yet.

I will add you to the feature request list to raise the priority. However i can’t give any deadlines as of yet.

Can you also give a brief description in which scenarios you use the prototype beans, what other methods have you considered, the pros/cons between them and why you eventually decided to use prototype beans?
We are very interested in implementing this feature however would like to make sure we have a firm grasp of the possible use-cases.

  • This reply was modified 18 hours, 53 minutes ago by  Meelis.

Reply To: No email server – Problem sending link for verification

$
0
0

Hi,

thanks for the answer, but the problem is that the server don’t have access to an email server.

The users that presents the problem formatted their machine, thats probably why JRebel thinks they are trying to use it in another one.

Is there an option to delete the user from the license server so they can start again?

Reply To: No email server – Problem sending link for verification

$
0
0

Hello

If the license server cannot send the validation e-mail then right now only option is to use alternative e-mail.

Does this developer has any e-mail alias?

Old e-mail must be blocked in the license server when changing the e-mail.


Reply To: No email server – Problem sending link for verification

$
0
0

Yes, we have tried that too. The server said timeout and then the same message (Validation link sent to email provided. Click it to activate.)

Reply To: No email server – Problem sending link for verification

$
0
0

I did some more digging and actually there is one more alternative.

License server application log has something like this:
[2015-10-30 13:03:57.897] INFO [SeatReservationUtil] [play-akka.actor.default-dispatcher-470] – sending to firstname.lastname@zeroturnaround.com email confirmation url: ‘http://internal.license.server:9000/rebel-client/activate/56870c4e-1dc4-4aad-843b-d12809de4736’

If you open this link in 10 minutes after its printed to log then the you must be all set.

Reply To: No email server – Problem sending link for verification

$
0
0

Hi,

I took a look to the logs and this info is not there. The server has the zero turnaround option for mail server (that fail at the test connection), and the server version is 3.0.4

The only message that I get about email is this:

[2015-10-30 18:44:23.413] INFO [ZTMailServiceImpl] [play-akka.actor.default-dispatcher-11264] – got exception java.net.ConnectException: connection timed out: headless.zeroturnaround.com/50.17.201.131:443 to https://headless.zeroturnaround.com/public/api/email/add.php

I think that the message with the link is logged only if the email server is reachable

Reply To: No email server – Problem sending link for verification

Reply To: No email server – Problem sending link for verification

$
0
0

Perfect,

I upgraded the server and now I see the info.

Thank you so much for your help.

Regards

Error on Webserver starup

$
0
0

We have a high priority item:

1) I have noticed on the server connector properties that there is no longer an option for JRebel. Just classic, enhanced and In-Workspace. How to enable JRebel on server. I have enabled on all projects.

2) I am getting this error when trying to start Websphere:
[10/30/15 12:49:59:968 EDT] 00000000 LaunchCommand A ADML0004E: An exception occurred when attempting to expand variable ${jrebel_args.server.myeclipse:websphere7Server#SCS64} com.ibm.wsspi.runtime.variable.UndefinedVariableException: Undefined variable jrebel_args.server.myeclipse:websphere7Server#SCS64

My JVM arguments are as follows:

“-Drebel.log=true -Xshareclasses:none -Drebel.base=C:\Users\<UserName>\.jrebel -Drebel.env.ide.plugin.version=6.2.6.RELEASE-201510210725 -Drebel.env.ide.version=12.0.0 -Drebel.env.ide.product=MyEclipse_Blue_Edition -Drebel.env.ide=Eclipse -Drebel.notification.url=http://localhost:55899 -Drebel.workspace.path=<Workspace Dir> -Drebel.properties=C:\Users\<UserName>\.jrebel\jrebel.properties -agentpath:<UserName>\AppData\Local\MYECLI~2\plugins\org.zeroturnaround.eclipse.embedder_6.2.6.RELEASE-201510210725\jr6\jrebel\lib\jrebel64.dll

The angle brackets are just for hiding information…that is not actually on the JVM args. They have the right values.

JRebel & IntelliJ Webroot missing error

$
0
0

JRebel & IntelliJ Webroot missing error “Rebel Webroot is missing file:///Users/…/IdeaProjects/tapp/tapp/…/src/main/webapp”

I don’t have a Webroot in my ap. All my classes are REST call using exposed jersey annotations and the webapp war dynamically gets created by maven at the install time.


Reply To: Error on Webserver starup

$
0
0

Hello Matthew

Did the problem happen after upgrading JRebel to version 6.2.6? From your description it looks like there is a JRebel defect on your MyEclipse Blue 12.0.0

If this is the case the as a workaround you can try uninstalling and installing older version of JRebel plugin from http://update.zeroturnaround.com/update-site-archive/, for example 6.2.5 . Does this work as a workaround for you?

Until then we will take a deeper looks into what could have happened.

Reply To: JRebel & IntelliJ Webroot missing error

$
0
0

Could you perhaps enable TRACE logging for JRebel and then send the log files to us at support@zeroturnaround.com?

You can change JRebel logging settings inside IntelliJ in File -> Settings -> JRebel -> Advanced -> JRebel agent log level: Trace and JRebel IDE plugin log level:Trace

After running the application or trying to start it(in case the error doesn’t allow the application to start), find the jrebel.log and the jrebel-intellij.log files from the .jrebel folder which is under your home/user directory.

Then zip the files and send them to us.

Reply To: JRebel & IntelliJ Webroot missing error

$
0
0

Check your IntelliJ facet section for “web” facet. There should be illegal path defined there, pointing to a folder that doesn’t exist.

Reply To: JRebel not breaks our app after JRuby version upgrade

Strange startup errors

$
0
0

I’m getting the following error when starting from Intellij IDEA: 8I think it started with the 6.2.6 plugin update, but I’m not sure):

2015-11-03 12:17:24 JRebel: ERROR Class ‘org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider’ could not be processed by org.zeroturnaround.javarebel.integration.spring.cbp.annotations.ClassPathScanningCandidateComponentProviderCBP@sun.misc.Launcher$AppClassLoader@dad5dc: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] cannot find constructor org.zeroturnaround.javarebel.support.FileResource(File)
at org.zeroturnaround.bundled.javassist.expr.MethodCall.replace(SourceFile:241)
at org.zeroturnaround.javarebel.integration.spring.cbp.annotations.ClassPathScanningCandidateComponentProviderCBP$2.edit(ClassPathScanningCandidateComponentProviderCBP.java:86)
at org.zeroturnaround.bundled.javassist.expr.ExprEditor.loopBody(SourceFile:192)
at org.zeroturnaround.bundled.javassist.expr.ExprEditor.doit(SourceFile:91)
at org.zeroturnaround.bundled.javassist.CtBehavior.instrument(SourceFile:712)
at org.zeroturnaround.javarebel.integration.spring.cbp.annotations.ClassPathScanningCandidateComponentProviderCBP.patchFindCandidateComponents(ClassPathScanningCandidateComponentProviderCBP.java:82)
at org.zeroturnaround.javarebel.integration.spring.cbp.annotations.ClassPathScanningCandidateComponentProviderCBP.process(ClassPathScanningCandidateComponentProviderCBP.java:48)
at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:107)
at com.zeroturnaround.javarebel.id.a(SourceFile:344)
at com.zeroturnaround.javarebel.id.a(SourceFile:333)
at com.zeroturnaround.javarebel.id.a(SourceFile:311)
at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:33)
at com.zeroturnaround.javarebel.hi.transform(SourceFile:88)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.zeroturnaround.javarebel.hn.a(SourceFile:91)
at com.zeroturnaround.javarebel.hn.a(SourceFile:257)
at com.zeroturnaround.javarebel.hi.transform(SourceFile:104)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:62)
Caused by: compile error: cannot find constructor org.zeroturnaround.javarebel.support.FileResource(File)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(SourceFile:749)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atNewExpr(SourceFile:149)
at org.zeroturnaround.bundled.javassist.compiler.ast.NewExpr.accept(SourceFile:73)
at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atMethodArgs(SourceFile:221)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(SourceFile:735)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atNewExpr(SourceFile:149)
at org.zeroturnaround.bundled.javassist.compiler.ast.NewExpr.accept(SourceFile:73)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atVariableAssign(SourceFile:249)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atAssignExpr(SourceFile:218)
at org.zeroturnaround.bundled.javassist.compiler.ast.AssignExpr.accept(SourceFile:39)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck(SourceFile:242)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:330)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atIfStmnt(SourceFile:398)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:355)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atIfStmnt(SourceFile:398)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:355)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.MemberCodeGen.atTryStmnt(SourceFile:204)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:367)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atIfStmnt(SourceFile:398)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:355)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.Javac.compileStmnt(SourceFile:569)
at org.zeroturnaround.bundled.javassist.expr.MethodCall.replace(SourceFile:235)
… 53 more

And a while later I get this error:
java.lang.ClassCastException: org.springframework.context.annotation.ClassPathBeanDefinitionScanner cannot be cast to org.zeroturnaround.javarebel.integration.spring.annotations.JrClassPathScanningCandidateComponentProvider
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:248)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.scan(ClassPathBeanDefinitionScanner.java:226)
at org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions(AnnotationConfigWebApplicationContext.java:237)
at org.springframework.context.support.AbstractRefreshableApplicationContext.__refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:604)
at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:509)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)

In addition I get such errors:
2015-11-03 12:25:24 JRebel: ERROR Class ‘org.apache.jasper.compiler.TldLocationsCache’ could not be processed by org.zeroturnaround.javarebel.integration.jasper.tagfile.TldLocationsCacheCBP@sun.misc.Launcher$AppClassLoader@dad5dc: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] listFiles() not found in File
at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:79)
at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:45)
at org.zeroturnaround.javarebel.integration.jasper.tagfile.TldLocationsCacheCBP.genScanDirMethod(TldLocationsCacheCBP.java:299)
at org.zeroturnaround.javarebel.integration.jasper.tagfile.TldLocationsCacheCBP.processTldScanJar(TldLocationsCacheCBP.java:388)
at org.zeroturnaround.javarebel.integration.jasper.tagfile.TldLocationsCacheCBP.process(TldLocationsCacheCBP.java:51)
at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:107)
at com.zeroturnaround.javarebel.id.a(SourceFile:344)
at com.zeroturnaround.javarebel.id.a(SourceFile:333)
at com.zeroturnaround.javarebel.id.a(SourceFile:311)
at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:33)
at com.zeroturnaround.javarebel.hi.transform(SourceFile:88)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
Caused by: compile error: listFiles() not found in File
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(SourceFile:749)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atCallExpr(SourceFile:695)
at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atCallExpr(SourceFile:157)
at org.zeroturnaround.bundled.javassist.compiler.ast.CallExpr.accept(SourceFile:46)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck(SourceFile:242)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atDeclarator(SourceFile:743)
at org.zeroturnaround.bundled.javassist.compiler.ast.Declarator.accept(SourceFile:100)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atMethodBody(SourceFile:292)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atMethodDecl(SourceFile:274)
at org.zeroturnaround.bundled.javassist.compiler.ast.MethodDecl.accept(SourceFile:44)
at org.zeroturnaround.bundled.javassist.compiler.Javac.compileMethod(SourceFile:169)
at org.zeroturnaround.bundled.javassist.compiler.Javac.compile(SourceFile:95)
at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:74)
… 35 more

(which I got rid of by disabling the Jasper plugin).

Viewing all 2540 articles
Browse latest View live


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