Questions asked by adamfhttps://answers.axonivy.com/questions/asked-by/869/adamf/?type=rssQuestions asked by <a href="/users/869/adamf" >adamf</a>enTue, 24 Sep 2019 02:58:44 -0400How to persist fields in ivy repo but not index in elastic?https://answers.axonivy.com/questions/4010/how-to-persist-fields-in-ivy-repo-but-not-index-in-elastic<p>For some projects it is interesting to store all data including files to the database so we can run such instances in docker and share the database. This way it would be possible to store the data in the business repo, even as we seen in <a href="https://answers.axonivy.com/questions/1779/how-can-i-persist-a-file-as-blob">https://answers.axonivy.com/questions/1779/how-can-i-persist-a-file-as-blob</a> it is not always efficient. But we would not need to index the base64 conent of the file in elastic. Is it possible?</p>adamfTue, 24 Sep 2019 02:58:44 -0400https://answers.axonivy.com/questions/4010/how-to-persist-fields-in-ivy-repo-but-not-index-in-elasticfilebusiness-dataelasticsearchpersistencerepositoryWhy does the JSF not reload when changing code in Axon.Ivy Developer 7.0?https://answers.axonivy.com/questions/3969/why-does-the-jsf-not-reload-when-changing-code-in-axon-ivy-developer-7-0<p>When working on JSF Views in the Axon.Ivy Desginer 7.0.11 I face sometimes the problem that need to completely restart the designer otherwise I do not see any changes in the browser. How can I solve this problem?</p>adamfThu, 12 Sep 2019 03:23:56 -0400https://answers.axonivy.com/questions/3969/why-does-the-jsf-not-reload-when-changing-code-in-axon-ivy-developer-7-0jsfdesignerHow to connect kibana with Axon.ivy designer`s internal elasticsearch server?https://answers.axonivy.com/questions/3967/how-to-connect-kibana-with-axon-ivy-designer-s-internal-elasticsearch-server<p>As a developer I would like to visualize elasticsearch data generated by the Axon.Ivy Desginer. This turns out not so easy because in Designer 7.0.x and 7.3 we use elasticsearch 5.5 without the x-pack plugin, and kibana 5.5 by default comes with x-pack plugin enabled. What is the best way to connect kibana to our elasticsearch ?</p>adamfWed, 11 Sep 2019 10:25:42 -0400https://answers.axonivy.com/questions/3967/how-to-connect-kibana-with-axon-ivy-designer-s-internal-elasticsearch-serverelasticsearchHow to change stage inside case map?https://answers.axonivy.com/questions/2889/how-to-change-stage-inside-case-map<p>I have a case map project with 3 stages, each having one process. It should be possible to jump from first process to last stage.</p> <p>Inside scirpt I call</p> <pre><code>ivy.case.getBusinessCase().setStageId(stageIdStr) </code></pre> <p>But get error:</p> <pre><code>IllegalStateException: Only business cases with no active sub cases can be finished Could not handle case map event 'STAGE_CHANGED' for business case '4' </code></pre> <p>Because I am inside the process my case is still active. </p> <p><strong>Summary</strong>: As Pointed out in the answer, this error can be ignored and only triggers when after changing stage all processes are finished.</p>adamfWed, 27 Sep 2017 09:54:22 -0400https://answers.axonivy.com/questions/2889/how-to-change-stage-inside-case-mapcaseprocessHow to load resources in IvyProject from Java?https://answers.axonivy.com/questions/2872/how-to-load-resources-in-ivyproject-from-java<p>In typical Java EE maven project I put resources in src/main/resources and access files with getResourceAsStream().</p> <p>How to work relative to the current class has been dicussed in <a href="https://discourse.axonivy.io/t/how-to-read-file-in-resources-folder-or-webcontent-in-an-axon-ivy-project/135/2" title="this thread">this thread</a>. However, I would need an absolute way to access resources. </p> <p>Background of this question is that I would like to use <a href="http://owner.aeonbits.org/" title="owner">owner</a> config <a href="http://owner.aeonbits.org/docs/loading-strategies/" title="with fallback">with fallback</a> to a classpath property file.</p> <p>Thanks for help.</p>adamfWed, 20 Sep 2017 06:42:11 -0400https://answers.axonivy.com/questions/2872/how-to-load-resources-in-ivyproject-from-javamavenjavaHow to avoid Error message on designer startuphttps://answers.axonivy.com/questions/2861/how-to-avoid-error-message-on-designer-startup<p>Hi Ivy team,</p> <p>each time when starting Axon Ivy Designer an error box welcomes with the following content:</p> <p>"An internal error occurred during: "Verify Web App Libraries". java.lang.NullPointerException". </p> <p>The Designer works after closing the error message, so this is not a real problem. What is the reason for the cryptic message? Tested with Axon Ivy designer 6.7.1 Rev 55496 on Windows and Linux. </p> <p><strong>EDIT:</strong></p> <p>Eclipse error log shows:</p> <p>eclipse.buildId=unknown java.version=1.8.0_144 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en Command-line arguments: -os win32 -ws win32 -arch x86_64</p> <pre><code>org.eclipse.core.jobs Error Mon Sep 11 11:28:53 CEST 2017 An internal error occurred during: "Verify Web App Libraries". java.lang.NullPointerException at org.eclipse.jst.common.jdt.internal.classpath.FlexibleProjectContainer.computeClasspathEntries(FlexibleProjectContainer.java:248) at org.eclipse.jst.j2ee.internal.web.classpath.WebAppLibrariesContainer.computeClasspathEntries(WebAppLibrariesContainer.java:195) at org.eclipse.jst.j2ee.internal.web.classpath.WebAppLibrariesContainer.isOutOfDate(WebAppLibrariesContainer.java:121) at org.eclipse.jst.j2ee.internal.web.classpath.WebAppLibrariesContainer.refresh(WebAppLibrariesContainer.java:138) at org.eclipse.jst.j2ee.internal.web.classpath.WebAppLibrariesContainer$1.run(WebAppLibrariesContainer.java:78) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) </code></pre> <p>In error log I see also two errors for starting BPM engine with ConnectivityDemos and QuickstartTutorial I made edits to. </p> <p><strong>EDIT 2:</strong></p> <p>Steps to reproduce:</p> <ol> <li>select a new workspace</li> <li>import all axonivy demo projects</li> <li>unpack connectivityDemos and edit some label.</li> <li>save close and restart designer</li> </ol> <p>Full error log is here [1]</p> <p>Best regards,</p> <p>Adam</p> <p>[1] <a href="http://pasted.co/c06415ae">http://pasted.co/c06415ae</a></p>adamfMon, 11 Sep 2017 05:53:38 -0400https://answers.axonivy.com/questions/2861/how-to-avoid-error-message-on-designer-startupwindowsdesignerlinux