Questions Tagged With jdkhttps://answers.axonivy.com/tags/jdk/?type=rssquestions tagged <span class="tag">jdk</span>enFri, 21 Dec 2018 09:02:47 -0500Java 8 is out of support: What can I do to still use my RIA clients in the Axon.ivy Engine?https://answers.axonivy.com/questions/3598/java-8-is-out-of-support-what-can-i-do-to-still-use-my-ria-clients-in-the-axon-ivy-engine<p>Oracle has decided that they will no longer will publish Update/Bug Fixes/Security Fixes for JDK 8 for free after January 2019. If you want such Update Release after January 2019 you have to buy support from Oracle.</p> <p>Moreover, Oracle will only publish free update releases for JDK 11 for at least 6 months. After the 6 months you can have update releases only if you buy support from Oracle.</p> <p>What does this mean for my Axon.ivy Engine? Do I need to pay for Oracle support now or are there other possible solutions that AXON Ivy suggests?</p>andreas_balsigerFri, 21 Dec 2018 09:02:47 -0500https://answers.axonivy.com/questions/3598/java-8-is-out-of-support-what-can-i-do-to-still-use-my-ria-clients-in-the-axon-ivy-engineoraclejrejavajdklicenseVisualVM's Memory Sampler is inactive for Axon.ivy Engine running as WIndows Servicehttps://answers.axonivy.com/questions/1516/visualvm-s-memory-sampler-is-inactive-for-axon-ivy-engine-running-as-windows-service<p>We have an Axon.ivy Engine running as a Window Service. The version of the Axon.ivy we are using is 5.1.4.48243. We intentionally installed JDK 1.7.0_60 in order to use the VisualVM to monitor and investigate some memory issue. The Axon.ivy Engine is configured with JMX port.</p> <p>We are able to view the Axon.ivy Enigne application in the VisualVM but the Memory Sampler is rendered inactive and the notification given to us is:</p> <p><code>Memory sampling: Not available. Cannot connect to target application. Make sure the application is running on a supported JDK 6 or JDK 7.</code></p> <p>If we run the Axon.ivy Engine as a non-service, everything works.</p> <p>We looked into the Axon.ivy Engine and discovered that it included a JRE inside which was also 1.7.0_60. We tried to configure the argument <code>ivy.dir.jre</code> to the JDK's <code>jre</code> but it still didn't work.</p> <p>We also discovered that the file <code>jre/bin/server/jvm.dll</code> in the JDK and the Axon.ivy Engine's JRE were different (using SHA-1 checksume) despite everything looks the same on the surface.</p> <p>The questions are:</p> <ul> <li>Is it possible to use Memory Sampler on VisualVM to the Axon.ivy Engine running as a Windows Service? How?</li> <li>Why we cannot start the Axon.ivy Engine when we change the argument <code>ivy.dir.jre</code>?</li> </ul> <p>Thanks</p> <p><strong>UPDATE</strong></p> <p>I managed to find a way to start both Axon.ivy Engine service and VisualVM both under Local System account using <a href="http://stackoverflow.com/questions/77528/how-do-you-run-cmd-exe-under-the-local-system-account">PSTools</a>. However, the result is still the same, the Memory Sampler is still inactive.</p> <p><img alt="VisualVM and Axon.ivy Engine service are both started under Local System account" src="http://s27.postimg.org/byxe5nb0j/visual_vm_and_axonivy_service_both_started_as_sy.png"> <img alt="Axon.ivy Engine JVM details" src="http://s27.postimg.org/8qswsloqr/axon_ivy_engine_jvm_details.png"> <img alt="VisualVM JVM details" src="http://s27.postimg.org/o22pt7m2r/visual_vm_jvm_details.png"></p>Genzer HawkerFri, 16 Oct 2015 11:06:17 -0400https://answers.axonivy.com/questions/1516/visualvm-s-memory-sampler-is-inactive-for-axon-ivy-engine-running-as-windows-serviceaxon.ivyenginevisualvmjdk