Unanswered Questionshttps://answers.axonivy.com/questions/unanswered/?type=rssopen questions without an accepted answerenFri, 21 Aug 2020 03:23:27 -0400The Q&A is dead, long live the communityhttps://answers.axonivy.com/questions/4666/the-q-a-is-dead-long-live-the-community<p>This Q&amp;A served us well for many years and it contains hundreds of threads which have been read thousands of times. Thank you so much for contributing to this space! Here we all shared our knowledge and inspired others by asking questions that really matter. </p> <p>However, the Q&amp;A as a platform has grown old and hit many technical limitations. Therefore, we decided to try something new. We still believe that joint efforts lead to highly effective projects. And we also love to experiment with extended collaboration features.</p> <p>As a result, we moved to a completely new space on <a href="http://community.axonivy.com">http://community.axonivy.com</a> . We hope to see you there soon. Right now is the perfect time to migrate: <a href="https://community.axonivy.com/d/33-share-your-pleasure-with-axonivy-and-win">share your passion</a> with us and, with some luck, you may win a fine local specialty from Zug.</p>Reguel WermelingerFri, 21 Aug 2020 03:23:27 -0400https://answers.axonivy.com/questions/4666/the-q-a-is-dead-long-live-the-communitymigrationProblem with Primefaces SelectCheckboxMenuhttps://answers.axonivy.com/questions/4640/problem-with-primefaces-selectcheckboxmenu<p>Hello, When we use a selectCheckboxMenu and submit it, the pills/selected values change from the label to the value. This has been fixed in primefaces in this issue</p> <p><a href="https://github.com/primefaces/primefaces/issues/3678">https://github.com/primefaces/primefaces/issues/3678</a></p> <p>but the problem is still here on axon ivy <img alt="alt text" src="https://answers.axonivy.com/upfiles/image-2020-07-07-12-52-47-990.png"></p>TareqKThu, 16 Jul 2020 06:52:59 -0400https://answers.axonivy.com/questions/4640/problem-with-primefaces-selectcheckboxmenuhtmluserdialogprimefacesConfig ivy log in GCPhttps://answers.axonivy.com/questions/4623/config-ivy-log-in-gcp<h2>Dear ivy team support,</h2> <p>Currently, I'm doing some configuration for the ivy log in GCP environment. Here is my config:</p> <hr> <pre><code> &lt;appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender"&gt; &lt;param name="Threshold" value="INFO"/&gt; &lt;param name="Target" value="System.out" /&gt; &lt;layout class="ch.ivyteam.log.layout.IvyLog4jLayout"&gt; &lt;param name="DateFormat" value="yyyy-MM-dd HH:mm:ss.SSS"/&gt; &lt;/layout&gt; &lt;filter class="org.apache.log4j.varia.LevelRangeFilter"&gt; &lt;param name="LevelMin" value="INFO"/&gt; &lt;param name="LevelMax" value="WARN"/&gt; &lt;param name="AcceptOnMatch" value="true"/&gt; &lt;/filter&gt; &lt;/appender&gt; &lt;!-- appender that writes log messages with priority ERROR or higher to stderr --&gt; &lt;appender name="ConsoleAppenderError" class="org.apache.log4j.ConsoleAppender"&gt; &lt;param name="Threshold" value="ERROR"/&gt; &lt;param name="Target" value="System.err" /&gt; &lt;layout class="ch.ivyteam.log.layout.IvyLog4jLayout"&gt; &lt;param name="DateFormat" value="yyyy-MM-dd HH:mm:ss.SSS"/&gt; &lt;/layout&gt; &lt;/appender&gt; &lt;!-- Disable CXF warning at startup (missing META-INF/cxf/cxf.xml) --&gt; &lt;category name="org.apache.cxf.bus.spring" class="ch.ivyteam.log.Logger"&gt; &lt;priority value="ERROR"/&gt; &lt;/category&gt; </code></pre> <hr> <p>But I got the problem: With the exception, it will print each line of exception in the stackDriver log like this picture:</p> <p><img src="https://serving.photos.photobox.com/28132375a8296995992fcbb28aeb802497fe58244761b0962f9f3903c8a51ecd38b4598a.jpg"></p> <hr> <p>We use fluentd and Stackdriver to display the log. <br> As I understood, we have 2 steps to display the log in the GCP <br></p> <ol> <li>Step 1: Base on the configuration in the log4jconfig.xml, Ivy will print the log to the console with the corresponding format so that fluentd can read it and display in the log view<br></li> <li>Step 2: fluentd will read that log and display in the log view.<br></li> </ol> <p>When I check step 2, it is correct because the fluentd displayed exactly the result of step 1. <br> But step 1 got a problem, it prints incorrectly the entry log. I have 1 block exception but it prints to multiline log entries. <br> My expectation: each exception case will be visualized by only 1 entry log so that developer can easier trace the exception reason and find the solution. <br> Could you please give me some advice? <br></p> <p>Thank you</p>nndiemTue, 30 Jun 2020 00:38:52 -0400https://answers.axonivy.com/questions/4623/config-ivy-log-in-gcpdockerSwitching the environment to a new physical hardwarehttps://answers.axonivy.com/questions/4621/switching-the-environment-to-a-new-physical-hardware<p>Hi Ivy team, </p> <p>We are facing the challenge, that our customer will switch the PROD-Enviornment to a new physical hardware within the next few month. </p> <p>We used ivy business data, task data and case data for storing the user data. We also create some folder inside the application folder and keep some pdf, image, doc file.....</p> <p>The question is - How can we switch the database from the old environment to the new one? - Can we export the DB from the old ivy instance and import it to the new one? - Is there any document / guide on how to do that?</p> <p>Thank you!</p>khanh11166Mon, 29 Jun 2020 04:14:40 -0400https://answers.axonivy.com/questions/4621/switching-the-environment-to-a-new-physical-hardwareengineenvironmentswitchmigrationREST http method PATCHhttps://answers.axonivy.com/questions/4613/rest-http-method-patch<p>Hi all We want to call a REST API with the method PATCH. But in the selector there is no such option. Is there a way to do it anyway? Thanks for the help. </p>renatostalderSun, 21 Jun 2020 06:22:29 -0400https://answers.axonivy.com/questions/4613/rest-http-method-patchapirestAxon.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-deploymentconfigengineivyopenshiftDeployment errorhttps://answers.axonivy.com/questions/4594/deployment-error<p>When trying to deploy the application on the engine we encountered following error:</p> <p>java.lang.ClassCastException: ch.ivyteam.ivy.application.internal.globalvariable.GlobalVariableConfig cannot be cast to ch.ivyteam.ivy.application.internal.GlobalVariable</p> <p>Can ayone help?</p>FX GarageThu, 18 Jun 2020 08:37:11 -0400https://answers.axonivy.com/questions/4594/deployment-errordeploymentName of process modelhttps://answers.axonivy.com/questions/4582/name-of-process-model<p>Hi, ivy team support, May we ask you what is the way ivy server build process model name and put it inside table iwa_processmodel?. I saw sometimes it is uppercase, sometimes it is lowercase.</p> <p>Thanks</p>nndiemThu, 11 Jun 2020 06:19:42 -0400https://answers.axonivy.com/questions/4582/name-of-process-modelprocessPortal 8 - custom subMenu highlighthttps://answers.axonivy.com/questions/4579/portal-8-custom-submenu-highlight<p>In Portal 7 - I can highlight my custom SubMenu item with this code: <strong><em>administration.views.add("Administration.xhtml");</em></strong></p> <pre><code>SubMenuItem administration = new SubMenuItem(); administration.setMenuKind(MenuKind.CUSTOM); administration.setIcon("fa fa-database"); administration.setLabel("Administration")); administration.setLink(UrlUtils.getUrlByRequestID("17235FB212434858/administration.ivp")); administration.views.add("Administration.xhtml"); in.subMenuItems.add(administration); </code></pre> <p>But I see it not work in portal8. So the first question is how I can highlight my custom subMenu in portal8? </p> <p>Second point that How I can highlight my subMenu If my page start with IFrame? Because the view always <strong>ch.ivy.addon.portal.generic.iframe.TaskTemplateIFrame/TaskTemplateIFrame.xhtml</strong> </p>nbthongMon, 01 Jun 2020 05:52:04 -0400https://answers.axonivy.com/questions/4579/portal-8-custom-submenu-highlightportalivyCreate Logger with Category for Runtime Loghttps://answers.axonivy.com/questions/4578/create-logger-with-category-for-runtime-log<p>Hi,</p> <p>I would like to create loggers, which behave like Ivy.log() i.e. which log to ivy.log and are also shown in the Designer Runtime Log) but use a custom category (instead of "user_code").</p> <p>For example:</p> <p><strong>Runtime Log:</strong> <img alt="alt text" src="https://answers.axonivy.com/upfiles/runtimelog.png"></p> <p><strong>ivy.log:</strong> <img alt="alt text" src="https://answers.axonivy.com/upfiles/ivylog_2iUORD5.png"></p> <p>Also a "dirty trick" would do, as I will encapsulate the logic at a single place.</p> <p>Is it possible to create such loggers?</p> <p>TIA</p>petersFri, 29 May 2020 12:27:31 -0400https://answers.axonivy.com/questions/4578/create-logger-with-category-for-runtime-logdesignerloggingPrimefaces Upload In Dialog Issueshttps://answers.axonivy.com/questions/4544/primefaces-upload-in-dialog-issues<p>Hello, We are trying to use primefaces upload inside a dialog/modal. On chrome, it is asking for a file twice, and on firefox nothing is showing at all. Has this ever happened before?</p> <p><a href="https://stackoverflow.com/questions/61496181/problems-with-primefaces-upload-inside-dialogs">https://stackoverflow.com/questions/61496181/problems-with-primefaces-upload-inside-dialogs</a></p>TareqKWed, 29 Apr 2020 03:18:53 -0400https://answers.axonivy.com/questions/4544/primefaces-upload-in-dialog-issueshtmluserdialogjsfprimefacesUsing Derby Database in Axon.ivyhttps://answers.axonivy.com/questions/4494/using-derby-database-in-axon-ivy<p>Hello, Is there any way to use the apache derby database in AxonIvy platform 8.0? I tried adding the driver to the project buildpath and configuring the database, but it isnt working through the editor. Is there something that i need to do for it to work?</p>TareqKWed, 08 Apr 2020 04:49:27 -0400https://answers.axonivy.com/questions/4494/using-derby-database-in-axon-ivydatabaseError on calling triggerhttps://answers.axonivy.com/questions/4482/error-on-calling-trigger<p>Hello all, </p> <p>We have the following error when calling a trigger: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Error_ON_Calling_Trigger.PNG"> The process works perfectly fine on the designer, but on the engine it throws this error. We use engine version 8.0.2. Any ideas what might be the cause and eventually the solution?</p> <p>Thanks, Alex</p>a_v_aWed, 01 Apr 2020 05:31:22 -0400https://answers.axonivy.com/questions/4482/error-on-calling-triggerprocesstriggerIs there a way to transfer/save permissions mapping for external authentication sources?https://answers.axonivy.com/questions/4477/is-there-a-way-to-transfer-save-permissions-mapping-for-external-authentication-sources<p>I have a couple of servers that do authentication via some LDAP, ActiveDirectory or something. There is a permission mapping in place between the user groups and Axon.ivy permissions. If I want to change said mapping, do I have to manually do so on each server, or is there a file/table that I can write to? Question also applies for new installations.</p>sorinMon, 30 Mar 2020 06:46:58 -0400https://answers.axonivy.com/questions/4477/is-there-a-way-to-transfer-save-permissions-mapping-for-external-authentication-sourcesldapFound legacy application path parameter {applicationName}https://answers.axonivy.com/questions/4471/found-legacy-application-path-parameter-applicationname<p>I get the following warning: </p> <pre><code>Found legacy application path parameter {applicationName} which was required for REST endpoints prior to 7.0.0. Please remove the parameter from your @Path annotation or it can not be deployed to multiple applications. </code></pre> <p>However when I just remove the applicationName from my path @Path("{applicationName}/XYZ") that information is missing. I was hoping I'd be able to configure it via the @ApplicationPath annotation from javax but I don't know where/if AxonIvy puts the main Application. How would I go about fixing this warning properly?</p>mergoWed, 25 Mar 2020 10:56:18 -0400https://answers.axonivy.com/questions/4471/found-legacy-application-path-parameter-applicationnamepathapplicationCan I define REST API endpoint in a jar file?https://answers.axonivy.com/questions/4470/can-i-define-rest-api-endpoint-in-a-jar-file<p>Hello everyone,</p> <p>I have a <strong>maven project</strong> (<strong>jar</strong>), for example, my-api. In this project, I defined a REST API endpoint:</p> <pre><code>@Path("/v1/dossiers") public class MyAPI { @Path("/") public Response getDossiers() { // our logic return response; } } </code></pre> <p>I have an <strong>ivy project</strong>, for example, my-app and I added the jar dependency <strong>my-api</strong>. I can't access the API above from client</p> <p>But, I tried to create a <strong>my-api</strong> as an ivy project (<strong>iar</strong>) and added it as an iar dependency my-app. It works well.</p> <p>My question is: Can I define the REST API endpoint in a jar file? If yes, how can I do that?</p> <p>P/s: We're using Ivy 7.0.11</p>ptgiangWed, 25 Mar 2020 04:40:40 -0400https://answers.axonivy.com/questions/4470/can-i-define-rest-api-endpoint-in-a-jar-fileivyrestAre 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-intellijintellijivypluginUsing the Dialog REST api for Datahttps://answers.axonivy.com/questions/4458/using-the-dialog-rest-api-for-data<p>Hello, So as I know, each HTML dialog has a rest api to access its methods using the /rest/method/methodName relative to the dialog base. I was wondering if it is possible to do the same with data, using /rest/data/dataParam in the same way. </p>TareqKThu, 19 Mar 2020 05:56:52 -0400https://answers.axonivy.com/questions/4458/using-the-dialog-rest-api-for-datahtmluserdialogrestStatic JSF pages not found after updating to 8.0.4 / 9.1.0https://answers.axonivy.com/questions/4457/static-jsf-pages-not-found-after-updating-to-8-0-4-9-1-0<p>Since 8.0 you can create static JSF pages. Those pages can be accessed directly via a URL without being in an an HtmlDialog context. And until 8.0.3 they were still located in the <code>webContent</code> folder.</p> <p><strong>Are you affected?</strong></p> <p>If you used static pages and you upgrade to 8.0.4 your page will no longer be found by the engine.</p> <p><strong>What have changed?</strong></p> <p>To improve security, we changed the location to <code>webContent/view</code>. This helps you to decide which pages should be static and can be accessed directly. </p> <p><strong>How should your webContent folder look like?</strong></p> <p>If you use static pages, you should have a <code>view</code> folder, and if not, please do not use this folder. Your structure could look like something like the this:</p> <pre><code>webContent - META-INF/ - WEB-INF/ - view/ (static JSF pages -&gt; direct call possible) - includes/ (templates, dialogs, etc -&gt; no direct call allowed) - resources/ (images, css, js, etc. -&gt; no direct call allowed) </code></pre> <p><strong>Additional info</strong></p> <p>If you use static pages, you should consider securing them with a login.</p>Lukas LiebWed, 18 Mar 2020 03:02:35 -0400https://answers.axonivy.com/questions/4457/static-jsf-pages-not-found-after-updating-to-8-0-4-9-1-0securityjsfAXIS web service client calls LinkageError with Policyhttps://answers.axonivy.com/questions/4451/axis-web-service-client-calls-linkageerror-with-policy<p>Since Axon.ivy 8.0 you may have problems with AXIS web service client calls, which you will notice in the log as follows:</p> <pre><code>LinkageError: loader constraint violation: loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4797c3e2 wants to load class org.apache.neethi.Policy. A different class with the same name was previously loaded by org.eclipse.osgi.internal.loader.EquinoxClassLoader @59b5251d. (org.apache.neethi.Policy is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @59b5251d, parent loader 'platform') </code></pre> <p>This problem occurs in combination with web service policies. To fix this issue, you need to migrate to the CXF Web Service Client technology - the AXIS stack is deprecated.</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/1583991754-603005-image.png"></p> <p>We have invested heavily in the new CXF technology in the Web Service Call Stack . If you have any problems with CXF, please contact us. We will take our time and make the CXF stack even better 💪!</p>Alex SuterThu, 12 Mar 2020 01:45:20 -0400https://answers.axonivy.com/questions/4451/axis-web-service-client-calls-linkageerror-with-policywebservicecxfaxisTrigger LDAP/AD role mapping by APIhttps://answers.axonivy.com/questions/4448/trigger-ldap-ad-role-mapping-by-api<p>Cheers,</p> <p>is there any way to trigger the synchronization with the LDAP / ActiveDirectory by calling an API endpoint? Or can I schedule the cron to run more than once daily?</p> <p>The background is that a customer might be modifying some role mappings on demand or shortly before starting a workflow.</p> <p>The version in question unfortunately is still 7.2.1, which contains a sync button in the RIA only. </p>mhoffmannTue, 10 Mar 2020 04:57:14 -0400https://answers.axonivy.com/questions/4448/trigger-ldap-ad-role-mapping-by-apiapiroleldapLoading ES6 imports and Moduleshttps://answers.axonivy.com/questions/4431/loading-es6-imports-and-modules<p>Hello, So i was follwoing the xample in the HTMLDialogDemos, and I tried to create an es6 module and import it. This worked, however, the imports that my module require are not being imported correctly. This is due to the fact that ES6 imports dont automatically ad the "ln=xpertivy-3-webContent" query param that its calling module got. </p> <p>To be clear, i imported page.js via </p> <pre><code>&lt;h:outputScript a:type="module" library="js/PureHtmlDialog" name="page.js"&gt; &lt;/h:outputScript&gt; </code></pre> <p>which gets the file at</p> <pre><code><a href="http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/PureHtmlDialog/page.js?ln=xpertivy-3-webContent&amp;xv=124700577218">http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/PureHtmlDialog/page.js?ln=xpertivy-3-webContent&amp;xv=124700577218</a> </code></pre> <p>which attempts to import </p> <pre><code>import {Button,Column,Header} from "../component.js"; </code></pre> <p>which in turn gets the URL</p> <pre><code><a href="http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/component.js">http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/component.js</a> </code></pre> <p>if I try to visit the URL</p> <pre><code><a href="http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/component.js?ln=xpertivy-3-webContent">http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/component.js?ln=xpertivy-3-webContent</a> </code></pre> <p>then i can see the file correctly. </p> <p>I also tried to, inside the folder of the HTML dialog itself, to put a javascript file and import it with a plain script tag. This didnt work, and actually crashed the page. </p> <p>Is there a better way to do javascript file imports and es6 imports?</p>TareqKFri, 28 Feb 2020 07:44:51 -0500https://answers.axonivy.com/questions/4431/loading-es6-imports-and-moduleshtmluserdialoghtmldialogjavascriptXpert.ivy Server Version 3.9 Build 52 Patch 6 on modern Windows Server OS and MS SQLhttps://answers.axonivy.com/questions/4419/xpert-ivy-server-version-3-9-build-52-patch-6-on-modern-windows-server-os-and-ms-sql<p>Hello,</p> <p>We have Xpert.ivy Server Version 3.9 Build 52 Patch 6 running on an old Windows Server 2003. Is it possible to install this on a modern server OS? In the install guide they say it will run up to Windows Server 2008 R2. Is it possible to install on Windows Server 2019? Have anyone other tried this? Can Axon.ivy give some support for this configuration?</p> <p>Also is it possible to use a newer MS SQL Server? Should support up to 2008 R2. When we can do a rebuild on a mordern server OS we will also upgrade our database server to a newer SQL like MS SQL Server 2019.</p> <p>Thanks Regards sys-adm</p>sys-admWed, 26 Feb 2020 07:27:38 -0500https://answers.axonivy.com/questions/4419/xpert-ivy-server-version-3-9-build-52-patch-6-on-modern-windows-server-os-and-ms-sqlwindowsservermssql3.9Some problems when build with maven-compiler-plugin version 3.8.0https://answers.axonivy.com/questions/4414/some-problems-when-build-with-maven-compiler-plugin-version-3-8-0<p>Hello Ivy team In my project I'm using Designer 8.0.2, Engine 8.0.2, JDK 11, project-build-plugin version 8.0.0, maven 3.6.3 and maven-compiler-plugin version 3.8.0.</p> <p>When I build project with maven I have some problems as maven cannot find class belong to reference libraries <img alt="alt text" src="https://answers.axonivy.com/upfiles/1_XmB4vbD.JPG"></p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/2_0Ibod4O.JPG"></p> <p>Or some libraries of Axon.ivy Libraries as <img alt="alt text" src="https://answers.axonivy.com/upfiles/3_jUwKtPm.JPG"> <img alt="alt text" src="https://answers.axonivy.com/upfiles/4_u9hVbbi.JPG"></p> <p>Plugins in my pom.xml</p> <pre><code>&lt;pluginManagement&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt; &lt;version&gt;3.1.0&lt;/version&gt; &lt;configuration&gt; &lt;filesets&gt; &lt;fileset&gt; &lt;directory&gt;src_test&lt;/directory&gt; &lt;includes&gt; &lt;include&gt;**/beans/*_.java&lt;/include&gt; &lt;/includes&gt; &lt;/fileset&gt; &lt;/filesets&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt; &lt;version&gt;3.1.0&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;process-resources&lt;/id&gt; &lt;goals&gt; &lt;goal&gt;resources&lt;/goal&gt; &lt;goal&gt;testResources&lt;/goal&gt; &lt;/goals&gt; &lt;phase&gt;process-test-resources&lt;/phase&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; &lt;version&gt;3.1.0&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;iar-as-property&lt;/id&gt; &lt;goals&gt; &lt;goal&gt;properties&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt; &lt;configuration&gt; &lt;release&gt;11&lt;/release&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;com.axonivy.ivy.ci&lt;/groupId&gt; &lt;artifactId&gt;project-build-plugin&lt;/artifactId&gt; &lt;version&gt;${build.plugin.version}&lt;/version&gt; &lt;extensions&gt;true&lt;/extensions&gt; &lt;executions&gt; &lt;execution&gt; &lt;phase&gt;initialize&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;share-engine-core-classpath&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;execution&gt; &lt;id&gt;default-ivy-test-properties&lt;/id&gt; &lt;configuration&gt; &lt;skipTest&gt;true&lt;/skipTest&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt; &lt;version&gt;3.8.0&lt;/version&gt; &lt;configuration&gt; &lt;release&gt;11&lt;/release&gt; &lt;/configuration&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;org.ow2.asm&lt;/groupId&gt; &lt;artifactId&gt;asm&lt;/artifactId&gt; &lt;version&gt;6.2&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;process-meta-model&lt;/id&gt; &lt;goals&gt; &lt;goal&gt;compile&lt;/goal&gt; &lt;/goals&gt; &lt;phase&gt;generate-sources&lt;/phase&gt; &lt;configuration&gt; &lt;classpathElements&gt;${maven.processor.classpath}&lt;/classpathElements&gt; &lt;annotationProcessorPaths&gt; &lt;path&gt; &lt;groupId&gt;org.hibernate&lt;/groupId&gt; &lt;artifactId&gt;hibernate-jpamodelgen&lt;/artifactId&gt; &lt;version&gt;5.4.12.Final&lt;/version&gt; &lt;/path&gt; &lt;/annotationProcessorPaths&gt; &lt;proc&gt;only&lt;/proc&gt; &lt;includes&gt; &lt;include&gt;**/beans/*&lt;/include&gt; &lt;/includes&gt; &lt;generatedSourcesDirectory&gt;${project.build.directory}/.apt_generated&lt;/generatedSourcesDirectory&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;execution&gt; &lt;id&gt;process-test-meta-model&lt;/id&gt; &lt;goals&gt; &lt;goal&gt;testCompile&lt;/goal&gt; &lt;/goals&gt; &lt;phase&gt;generate-test-sources&lt;/phase&gt; &lt;configuration&gt; &lt;classpathElements&gt;${project.build.outputDirectory},${maven.processor.classpath},${org.jmockit:jmockit:jar},${junit:junit:jar},${org.hamcrest:hamcrest-core:jar},${log4j:log4j:jar}&lt;/classpathElements&gt; &lt;annotationProcessorPaths&gt; &lt;path&gt; &lt;groupId&gt;org.hibernate&lt;/groupId&gt; &lt;artifactId&gt;hibernate-jpamodelgen&lt;/artifactId&gt; &lt;version&gt;5.4.12.Final&lt;/version&gt; &lt;/path&gt; &lt;/annotationProcessorPaths&gt; &lt;proc&gt;only&lt;/proc&gt; &lt;includes&gt; &lt;include&gt;**/beans/*&lt;/include&gt; &lt;/includes&gt; &lt;generatedTestSourcesDirectory&gt;${project.build.testSourceDirectory}&lt;/generatedTestSourcesDirectory&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt; &lt;version&gt;3.0.0-M1&lt;/version&gt; &lt;configuration&gt; &lt;checkModificationExcludes&gt; &lt;checkModificationExclude&gt;${project}/pom.xml&lt;/checkModificationExclude&gt; &lt;/checkModificationExcludes&gt; &lt;commitByProject&gt;true&lt;/commitByProject&gt; &lt;autoversionsubmodules&gt;true&lt;/autoversionsubmodules&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/pluginManagement&gt; </code></pre> <p>Please help me to resolve it. Thanks</p>anhleTue, 25 Feb 2020 05:00:38 -0500https://answers.axonivy.com/questions/4414/some-problems-when-build-with-maven-compiler-plugin-version-3-8-0mavenaxon.ivylibraryThe hibernate jpamodelgen cannot generate entities extended from a dependency projecthttps://answers.axonivy.com/questions/4407/the-hibernate-jpamodelgen-cannot-generate-entities-extended-from-a-dependency-project<p>I have 2 project A and B. Project A dependency project B. Project B have a "ToggleableEntity" class and Project A have a "OrganizationalUnit" class</p> <p>"OrganizationalUnit" class extend "ToggleableEntity" class. When I build with maven and using hibernate jpamodelgen to generate "OrganizationalUnit_" class then ToggleableEntity missed in "OrganizationalUnit_" class</p> <p>The pom.xml file <img alt="alt text" src="https://answers.axonivy.com/upfiles/demo_3.JPG"></p> <p>The result: <img alt="alt text" src="https://answers.axonivy.com/upfiles/demo_1.png"></p> <p>The expected <img alt="alt text" src="https://answers.axonivy.com/upfiles/demo_4.JPG"></p>anhleFri, 21 Feb 2020 04:08:26 -0500https://answers.axonivy.com/questions/4407/the-hibernate-jpamodelgen-cannot-generate-entities-extended-from-a-dependency-projectmavenhibernateEngine Docker contrainer startup failure MAChttps://answers.axonivy.com/questions/4377/engine-docker-contrainer-startup-failure-mac<p>Hello,</p> <p>I'm using a MAC and I try to start a docker engine image First I pull the image using this command : docker pull axonivy/axonivy-engine, and then I try to run with this command : docker run -p 8080:8080 axonivy/axonivy-engine, but when I execute it I get the following error: /usr/lib/axonivy-engine/bin/docker-entrypoint.sh: line 11: /usr/lib/axonivy-engine-9/bin/AxonIvyEngine: No such file or directory I checked in my /usr/lib and I don't have any axonivy-engine nor axonivy-engine-9 folders</p>MariusFri, 07 Feb 2020 01:47:55 -0500https://answers.axonivy.com/questions/4377/engine-docker-contrainer-startup-failure-macdockeraxis2 socket max timeout valuehttps://answers.axonivy.com/questions/4366/axis2-socket-max-timeout-value<p>Hi,</p> <p>I have a max timeout on socket connection with Ivy 5.1 when I use a web service node. Is it a way to modify this value in this version of Ivy ?</p> <p>I tried with web.xml and java option but do nothing.. And I can't find anything in the server variable configuration..</p> <p>Any hint will be very appreciate.</p> <p>Thanks in advance.</p> <p>Fabien Duay</p>fabienTue, 04 Feb 2020 09:26:48 -0500https://answers.axonivy.com/questions/4366/axis2-socket-max-timeout-valueivywebserviceDoes HTML Dialogs support Java Class extended CompositeObject in Ivy 8 ?https://answers.axonivy.com/questions/4344/does-html-dialogs-support-java-class-extended-compositeobject-in-ivy-8<p>In Ivy 7, sometimes I use Java Class as a Caller Data for HTML Dialogs like the following picture, and it used to work perfectly <img alt="alt" src="https://i.ibb.co/48QXn7B/Screenshot-2.png"> Then I try to migrate my project to Ivy 8 and I realize that in the components that I am using JavaClass face this error <strong>Process data class 'Class Name' does not exist</strong></p> <p><img alt="alt text" src="https://i.ibb.co/zrVy7Wt/Screenshot-4.png"></p> <p>I also tried to create the new component but Ivy cannot find the JavaClass either </p> <p><img alt="alt text" src="https://i.ibb.co/cx0C9Dc/Screenshot-3.png"></p> <p>So in Ivy 8, does HTML Dialogs still support Java Class extended Composite Object ?. In case not, is there any alternative solution ? Thank you.</p>tdtinThu, 30 Jan 2020 01:47:40 -0500https://answers.axonivy.com/questions/4344/does-html-dialogs-support-java-class-extended-compositeobject-in-ivy-8migrationivyResources (css, js, images) in Ivy - performance impact ?https://answers.axonivy.com/questions/4328/resources-css-js-images-in-ivy-performance-impact<p>Dear Ivy Team</p> <p>Usually the static web content such as css, js, images etc are offloaded and put in a web proxy in order to reduce the data load for the app server. Of course these files must be cached on the browser side. But still they must expire on a daily basis (since hotfixes can come in on a daily basis).</p> <p>Any ideas ?</p> <p>Regards John</p>John MoserTue, 28 Jan 2020 04:16:07 -0500https://answers.axonivy.com/questions/4328/resources-css-js-images-in-ivy-performance-impactivyMigrate running cases to new PMVhttps://answers.axonivy.com/questions/4323/migrate-running-cases-to-new-pmv<p>Hi Ivy team</p> <p>At the moment, we deploy our application with multiple PMVs, each PMV has its own running case. And now we change our mind, we don't want to deploy multiple PMV anymore, we want to make sure the Ivy engine contains only the lastest PMV. For that reason, we want to remove the old PMV first.</p> <p>But when we remove the deprecated pmv, adminUI throws the message that I can't remove deprecated PMV. We know that we should resolve all running tasks to make deprecated PMV become archived and removable. But the are a ton of running tasks for PMV. </p> <p>So our question is: Is there any way to remove/resolve those tasks automatically or at least migrate that task to the lastest PMV? Thank for any help</p>lphieuFri, 17 Jan 2020 01:36:26 -0500https://answers.axonivy.com/questions/4323/migrate-running-cases-to-new-pmvpmvivy