I’m about to move the Licensing Server to a new Linux server. I find lot of useful guidance in the documentation but I really miss a section for how to move the server. My approach will be the following and I’d like to hear your comments on this.
1. Upgrade current Licensing server to latest version
2. Install Licensing Server on the new server
3. Ask developers to ask for a Offline key to use during the migration
4. Close the old instance
5. Run a backup on the old instance
6. Restore the backup on the new instance
7. Activate the new instance using the .lic file
Is there some benefits of moving the distribution directory between the servers instead of running a clean install + db restore?
Or is there an even better way, where the developers won’t be affected?
Move Licensing Server
Reply To: disable ejb monitoring
Hello!
To achieve that just remove rebel.xml
file from your EJB module and JRebel won’t touch it then.
Kind regards,
Valerie
Reply To: disable ejb monitoring
thank you for replying
I have only 1 jar with rebel-remote.xml – the jar is not of specific ejb – it contains classes of several
removing the file , i will lose ability to update the code for other classes – besides the ejb
isn’t there any flag to “just disable ejb monitoring” ?
JRebel / Eclipse Oxygen.2 / Spring fails to start
Hi,
I’ve just done all the software updates on Eclipse Oxygen.2 (December 2017) and the jRebel 7.1.4 agent and now our application will not start and I get the following Stack Trace in the console
2017-12-21 16:27:21 JRebel: ERROR Class ‘org.springframework.security.config.http.AuthenticationConfigBuilder’ could not be processed by org.zeroturnaround.jrebel.integration.spring.security.cbp.AuthenticationConfigBuilderCBP@org.apache.catalina.loader.WebappClassLoader@413337f3: org.zeroturnaround.bundled.javassist.NotFoundException: createKey(..) is not found in org.springframework.security.config.http.AuthenticationConfigBuilder
at org.zeroturnaround.bundled.javassist.CtClassType.getDeclaredMethod(SourceFile:1277)
at org.zeroturnaround.jrebel.integration.spring.security.cbp.AuthenticationConfigBuilderCBP.process(AuthenticationConfigBuilderCBP.java:16)
at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:79)
at com.zeroturnaround.javarebel.vz.a(SourceFile:376)
at com.zeroturnaround.javarebel.vz.a(SourceFile:365)
at com.zeroturnaround.javarebel.vz.a(SourceFile:322)
at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:35)
at com.zeroturnaround.javarebel.tl.transform(SourceFile:107)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3196)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1373)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1861)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
at org.springframework.security.config.http.HttpSecurityBeanDefinitionParser.parse(HttpSecurityBeanDefinitionParser.java:103)
at org.springframework.security.config.SecurityNamespaceHandler.parse(SecurityNamespaceHandler.java:86)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1419)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1409)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
at org.springframework.context.support.AbstractRefreshableApplicationContext.__refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:436)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody0(SafeContextLoaderListener.java:62)
at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody1$advice(SafeContextLoaderListener.java:44)
at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:1)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
I’ve tried using the nightly (20171220) and the 7.1.4 Agent and I get the same error.
If I remove jRebel completely the application starts up normally.
Reply To: disable ejb monitoring
hi
any idea for anyway to disable the ejb monitoring ?
i just want jrebel to load the new classes
Reply To: Move Licensing Server
Hello!
Here you can find the missing part ;) http://manuals.zeroturnaround.com/license-server/support/faq.html#can-i-move-a-license-server-installation
Kind regards,
Valerie
Reply To: disable ejb monitoring
There is no such flag, unfortunately. But could you please tell us more about your project structure, so maybe we can suggest a workaround?
Kind regards,
Valerie
LIVE ESPNU Duke vs Northern Illinois Live Stream College Football bowl game 26 D
LIVE ESPNU Duke vs Northern Illinois Live Stream College Football bowl game 26 Dec 2017 Watch Online TV
Reply To: LIVE ESPNU Duke vs Northern Illinois Live Stream College Football bowl game 26 D
Watch.NCAA]] Virginia Tech vs Oklahoma State Live Online Camping World Bowl 28 December 2017
Watch.NCAA]] Virginia Tech vs Oklahoma State Live Online Camping World Bowl 28 D
Watch.NCAA]] Virginia Tech vs Oklahoma State Live Online Camping World Bowl 28 December 2017
Reply To: JRebel / Eclipse Oxygen.2 / Spring fails to start
This issue has now been fixed in our latest nightly build. You can download the latest nightly from here: https://zeroturnaround.com/software/jrebel/download/nightly-build/.
Reply To: disable ejb monitoring
Hi,
I’m Risto from JRebel support team.
You could try using exclude tag in your rebel.xml file to exclude the package that contains the EJBs. E.g.:
<classpath>
<dir name="[path/to]/target/classes">
<exclude name="com/yourapp/package1/ejbs/**"/>
</dir>
</classpath>
However, typically such exclude is not needed. Could you give me a brief description of why would you want to disable ejb monitoring?
Best regards,
Risto
JRebel plugin can't debug a grails project starting from IntelliJ IDEA 2017.3
Any Grails (3.x) project opened in IntelliJ IDEA 2017.3 starts regurarly, but the ‘Debug with JRebel’ command behave exaclty like the ‘Run with JRebel’ one: no breakpoint is “checked” or hit during execution.
I’ve tried the workaround suggested in https://zeroturnaround.com/forums/topic/jrebel-and-intellij-2017-3/, with no success.
Any help would be appreciated.
-
This topic was modified 7 hours, 10 minutes ago by
marcozim.
Reply To: JRebel plugin can't debug a grails project starting from IntelliJ IDEA 2017.3
Hi Marco,
Thanks for letting us know. I looked into it and it seems that by default Grails is forking the actual application process. With the latest IntelliJ we fail to pass all the necessary arguments. I’ll let you know as soon as it’s fixed!
Best,
Hannes
How to change xrebel log location or disable logs completely
Hi,
How do I change xrebel log location or disable logs completely. The logs are using up too much space in the root of our server where it seems to create the .xrebel folder by default.
How do I specify a different location for the log/.xrebel folder or disable the logs completely ?
Reply To: How to change xrebel log location or disable logs completely
Hello,
I am Tiit from XRebel Support team. Hope you’re doing great!
Should you wish to move the whole .xrebel
folder location, you can specify the path by setting the following JVM argument:
-Dxrebel.metadata.path=/path/to/new/.xrebel
Make sure to replace its value according to your environment. Should you wish to only move the log file path, you can do it so by using the following flag:
-Dxrebel.log.file=/path/to/new/xrebel.log
Should you wish to disable XRebel’s logging completely, you can accomplish this by appending the following option to your JVM arguments:
-Dxrebel.log=false
Hope I provided a sufficient answer to your question.
Please do let me know if I can be of any further assistance.
All the best,
Tiit
Reply To: How to change xrebel log location or disable logs completely
Thanks
Support for IntelliJ plugin development?
Hi.
I develop an IntelliJ IDEA plugin. To run it and have JR support I had to create a manual run configuration with the agent set in the VM options – see [1]. It should easier to accomplish. Why there are no toolbar buttons to run/debug with JR this type of module? Other non-plugin-module types (!=”PLUGIN_MODULE” in *.iml) have this support.
Best regards, Ben
Reply To: JRebel plugin can't debug a grails project starting from IntelliJ IDEA 2017.3
Hey again,
The issue should now be fixed, however it’s currently only available in our nightly build. Follow the instructions at https://zeroturnaround.com/software/jrebel/download/nightly-build/#!/intellij to try it out.
All the best,
Hannes
weblogic:bean is already undeployed
Hello everyone
I am calling a function from “struts action class” to bean. I am using weblogic 8.1 web server.i am able to call the function from action class,when i restart the server.But when i redeploy the .ear from weblogic ,i am getting error.
java.rmi.NoSuchObjectException: Bean is already undeployed.
i am not able to solve the problem.
Waiting for reply..
Thanks