Questions asked by vinh_https://answers.axonivy.com/questions/asked-by/722/vinh_/?type=rssQuestions asked by <a href="/users/722/vinh_" >vinh_</a>enThu, 09 Jul 2020 03:54:24 -0400axis2 libraries not found in Axon.ivy 8 Enginehttps://answers.axonivy.com/questions/4634/axis2-libraries-not-found-in-axon-ivy-8-engine<p>Hi Ivy Team,</p> <p>I try to build Ivy 8 project with project-build-plugin-8.0.3 and Axon.ivy Engine 8.0.6 Slim All and found that I cannot build the project because <code>org.apache.axis2.client.Options</code> could not be resolved (some class in my project import this class).</p> <p>The libraries exist on Designer under container Axon.ivy WS Call, no compile error within Designer but I could not find them on <code>engine-path/system/plugins</code> of the Engine.</p>vinh_Thu, 09 Jul 2020 03:54:24 -0400https://answers.axonivy.com/questions/4634/axis2-libraries-not-found-in-axon-ivy-8-engineengineproject-build-pluginivyWhere does Axon.ivy Engine 8 store deployed files?https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files<p>Hi Ivy Team,</p> <p>Axon.ivy Engine 8 comes with different deployment behavior. To keep the state of Ivy Application running on Container, I need to know where does it store deployed files, to mount those paths into persistent volumes.</p> <p>In other word, how many places I need to mount into persistent volumes to make Axon.ivy works on Container environment?</p>vinh_Fri, 19 Jun 2020 01:24:49 -0400https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-filesenginedockerivyAxon.ivy Engine 8 could not start on OpenShift with DeploymentConfighttps://answers.axonivy.com/questions/4599/axon-ivy-engine-8-could-not-start-on-openshift-with-deploymentconfig<p>Hi Ivy Team,</p> <p>I'm trying to run Axon.ivy Engine on OpenShift, the first try with a Pod is working. Then I try to use DeploymentConfig to automate the Pod creation, it could not run because the running user didn't have permission on Axon.ivy Engine directory.</p> <p>Here is the error detail:</p> <pre><code>&lt;title&gt;Invalid Configuration Location&lt;/title&gt;The configuration area at '/usr/lib/axonivy-engine-8/?/.eclipse/1939981958_linux_gtk_x86_64/configuration' could not be created. Please choose a writable location using the '-configuration' command line option. </code></pre> <p>I guest OpenShift runs Axon.ivy Engine by a different user than the one defined in Docker Image.</p> <p>I think fixing the permission of <code>/usr/lib/axonivy-engine-8</code> may solve the issue. By adding these line into Dockerfile</p> <pre><code>RUN chown -R ivy:root /usr/lib/axonivy-engine-8 &amp;&amp; chmod 775 -R /usr/lib/axonivy-engine-8 </code></pre> <p>Do you have any suggestion?</p> <p><strong>Update:</strong></p> <p>After fixing permission, I faced another issue, it's definitely related to OpenShift using different user.</p> <pre><code>java.lang.RuntimeException: Error initializing storage. at org.eclipse.osgi.internal.framework.EquinoxContainer.&lt;init&gt;(EquinoxContainer.java:84) at org.eclipse.osgi.launch.Equinox.&lt;init&gt;(Equinox.java:34) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:315) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597) at org.eclipse.equinox.launcher.Main.run(Main.java:1468) at org.eclipse.equinox.launcher.Main.main(Main.java:1441) Caused by: java.io.IOException: Unable to create lock manager. at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:713) at org.eclipse.osgi.storage.Storage.getChildStorageManager(Storage.java:2168) at org.eclipse.osgi.storage.Storage.getInfoInputStream(Storage.java:2185) at org.eclipse.osgi.storage.Storage.&lt;init&gt;(Storage.java:241) at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:176) at org.eclipse.osgi.internal.framework.EquinoxContainer.&lt;init&gt;(EquinoxContainer.java:82) ... 11 more An error has occurred. See the log file null. </code></pre>vinh_Thu, 18 Jun 2020 21:10:54 -0400https://answers.axonivy.com/questions/4599/axon-ivy-engine-8-could-not-start-on-openshift-with-deploymentconfigengineivyopenshiftConfigure Administrators by Environment variable in Axon.ivy 8https://answers.axonivy.com/questions/4586/configure-administrators-by-environment-variable-in-axon-ivy-8<p>Hi Ivy Team,</p> <p>I would like to configure Administrators by using Environment variable, I can configure <code>systemdb:url</code> by using <code>IVY_SYSTEMDB_URL</code>. But the structure Administrators config is different:</p> <p>YAML:</p> <pre><code>Administrators: admin: Password: "${hash:mySecret}" Email: info@localhost.com </code></pre> <p>Can I create Environment variables like following:</p> <pre><code>IVY_ADMINISTRATORS_ADMIN=&lt;value??&gt; IVY_ADMINISTRATORS_ADMIN_PASSWORD=&lt;password&gt; IVY_ADMINISTRATORS_ADMIN_EMAIL=info@localhost.com </code></pre> <p>I use Environment variable because I'm running Axon.ivy Engine within Containerized environment, and Environment variable is the suitable way to store configuration.</p> <p>I could see the Global Variables, Security System face the same issue.</p> <p>Thank for your support.</p>vinh_Wed, 17 Jun 2020 00:17:03 -0400https://answers.axonivy.com/questions/4586/configure-administrators-by-environment-variable-in-axon-ivy-8engineconfigurationivyAre you interested in developing Axon.ivy on IntelliJ?https://answers.axonivy.com/questions/4459/are-you-interested-in-developing-axon-ivy-on-intellij<p>Hello everyone, it had been several months since I start the idea of Coding Ivy in IntelliJ, here is some result I would like to share.</p> <p>A demo: <a href="https://www.youtube.com/watch?v=k-C6I7nT6Ic">https://www.youtube.com/watch?v=k-C6I7nT6Ic</a></p> <p>Github repository: <a href="https://github.com/saigonwithlove/ivy-intellij">https://github.com/saigonwithlove/ivy-intellij</a></p>vinh_Fri, 20 Mar 2020 01:43:55 -0400https://answers.axonivy.com/questions/4459/are-you-interested-in-developing-axon-ivy-on-intellijintellijivypluginReload Process Model programmatically?https://answers.axonivy.com/questions/3880/reload-process-model-programmatically<p>Hi IvyTeam,</p> <p>I sometime manually replace the deployed classes by the new one. Is there anyway to tell Ivy Engine reload the Process Model contains these classes? Just like when we deploy new Process Model Version.</p> <p>FYI: I'm using Ivy Engine for my local development, everytime I build the modules, I need to copy the iar to deploy folder (or use Admin Tool to deploy), It's really take time, I want to automate it.</p>vinh_Tue, 09 Jul 2019 10:32:06 -0400https://answers.axonivy.com/questions/3880/reload-process-model-programmaticallyenginebuildivydeploymentIvy WorkflowSystemEvent was not fired when session timeout?https://answers.axonivy.com/questions/3776/ivy-workflowsystemevent-was-not-fired-when-session-timeout<p>Hi IvyTeam,</p> <p>We are working on project that listen on WorkflowSystemEvent to know when the Ivy Task was created/changed. Everything working fine if we are actively change the Ivy Task, but when the user are opening the task and then his session timeout, Ivy is able to reset the Task state to SUSPENDED, but it doesn't fire the WorkflowSystemEvent, cause our application don't know the Ivy Task had changed its state to SUSPENDED.</p> <p>We are working on Axon.ivy 7.0.8</p>vinh_Thu, 18 Apr 2019 04:04:31 -0400https://answers.axonivy.com/questions/3776/ivy-workflowsystemevent-was-not-fired-when-session-timeouteventtaskivyworkflowKeep BusinessRepo separate between Ivy Applicationshttps://answers.axonivy.com/questions/3628/keep-businessrepo-separate-between-ivy-applications<p>We are deploying 2 applications which has a Class with the same canonical name (e.g. com.example.BusinessObject), we stored instances of this class to Business Repo, now every time I load the instances of BusinessObject, I see all instances from two different applications.</p> <p>Is there any way to limit Business Repo only load instances from the current applications? Is it a bug in Ivy Engine related to this?</p>vinh_Tue, 22 Jan 2019 03:58:10 -0500https://answers.axonivy.com/questions/3628/keep-businessrepo-separate-between-ivy-applicationsbusiness-dataivyIs there anyway to run Ivy Designer 7.0 on MacOS?https://answers.axonivy.com/questions/3156/is-there-anyway-to-run-ivy-designer-7-0-on-macos<p>Hello Support Team,</p> <p>I'm an Ivy Developer for years, like other developers, I refer Linux or MacOS rather than Windows. I have many useful command line tools that Windows is missing. I'm happy that you still release an unofficial Linux version of Ivy Designer and it works really well (except WebEditor). It would be great if I can run a MacOS version of Ivy Designer, is there any chance for me?</p> <p>UPDATE:</p> <ul> <li>You can run AxonIvy Designer 7.0 on Docker: <a href="https://github.com/cavoirom/axonivy-designer">https://github.com/cavoirom/axonivy-designer</a></li> <li>For 7.3 and newer there exist an official beta: <a href="https://answers.axonivy.com/questions/3664/official-mac-designer-beta-experience">https://answers.axonivy.com/questions/3664/official-mac-designer-beta-experience</a></li> </ul>vinh_Wed, 28 Mar 2018 14:13:47 -0400https://answers.axonivy.com/questions/3156/is-there-anyway-to-run-ivy-designer-7-0-on-macosdockerdesignerivyCannot start Axon Ivy Engine by ROOT user on Linuxhttps://answers.axonivy.com/questions/2167/cannot-start-axon-ivy-engine-by-root-user-on-linux<p>Hi IvyTeam, I'm currently setting up an Ivy Engine on Linux server. The process is working fine except when it automatically start on startup. Because when it run by ROOT user, I got an exception related to Elasticsearch.</p> <p>The Ivy Engine version is 6.3.0</p> <p>[ 82%] Starting BusinessData manager 04:27:39.038 ERROR [...asticSearchServer] java.lang.RuntimeException: don't run elasticsearch as root. 04:27:39.038 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:93) 04:27:39.039 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:144) 04:27:39.039 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270) 04:27:39.039 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35) 04:27:39.039 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.IvyElasticsearchStarterStopper.main(IvyElasticsearchStarterStopper.java:27) 04:27:39.039 ERROR [...asticSearchServer] Refer to the log for complete error details. Error while starting Axon.ivy Engine</p>vinh_Tue, 08 Nov 2016 05:32:55 -0500https://answers.axonivy.com/questions/2167/cannot-start-axon-ivy-engine-by-root-user-on-linuxengineivy