Questions asked by RemiMorinhttps://answers.axonivy.com/questions/asked-by/711/remimorin/?type=rssQuestions asked by <a href="/users/711/remimorin" >RemiMorin</a>enWed, 01 Feb 2017 17:17:36 -0500start ControlCenter.sh in headless modehttps://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode<p>I try to start the ControlCenter in headless mode, but I hit this error: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.</p> <p>There is no XServer on this machine so the error does make sens. Documentation mention we can start it in command line mode: <a href="http://developer.axonivy.com/doc/latest/EngineGuideHtml/misc.html#misc-toolreference-servercontrolcenter">http://developer.axonivy.com/doc/latest/EngineGuideHtml/misc.html#misc-toolreference-servercontrolcenter</a></p> <p>But I can't manage to make it work. I've try various switch and various syntax (-headless, -h) and try to display an help file somehow (-?,?... )</p> <p>I've try to figure it out by looking at ControlCenter.sh content, control.conf and launcher.sh. Didn't find anything relevant. This is on our version of engine 6.0.5. I've try to run the 6.3 version as well (present on this server) and I got the same exception.</p>RemiMorinWed, 01 Feb 2017 17:17:36 -0500https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-modeconfigurationserverMaven complete setup for buildhttps://answers.axonivy.com/questions/2281/maven-complete-setup-for-build<p>Hi, I'm setting up a build environment, a simple linux. I have experience with build environment and maven.</p> <p>I try to setup a build environment instead of building final IAR from designer. I've ask a few question already: <a href="http://answers.axonivy.com/questions/2279/is-there-an-axon-ivy-repository-for-maven">http://answers.axonivy.com/questions/2279/is-there-an-axon-ivy-repository-for-maven</a><br> <a href="http://answers.axonivy.com/questions/2219/504-gateway-time-out-on-guidelines-axonivy-com-projects-guides-wiki-continues_integration">http://answers.axonivy.com/questions/2219/504-gateway-time-out-on-guidelines-axonivy-com-projects-guides-wiki-continues_integration</a></p> <ul> <li>I've read the thin document on Maven plugin: <a href="https://axonivy.github.io/project-build-plugin/release/6.4/index.html">https://axonivy.github.io/project-build-plugin/release/6.4/index.html</a></li> <li>Continuous integration here: <a href="http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#ivy-ci">http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#ivy-ci</a></li> <li>I've try (and failed) to launch example projects: <a href="https://github.com/axonivy/project-build-examples/tree/master">https://github.com/axonivy/project-build-examples/tree/master</a></li> </ul> <p>I have several idea what I need to do to get these work, but instead or forging a custom solution I would like to used a recommended one. Last thing I've try the ensureInstalledEngine was trying to download the windows version of AxonIvyEngine on my build machine. I can install the engine, is it necessary? do I need to install multiple engine to build project of multiple version? We want to get things right because this application is deploy, we have several clients on our solutions and we need to support them and do maintenance. We have to deploy new version and we want to be sure what we are doing (hence setup a controlled build environment) and avoid interference between project (like we experience in Designer). </p> <pre><code>[INFO] --- project-build-plugin:6.0.0:ensureInstalledEngine (default-ensureInstalledEngine) @ MyProject --- [INFO] Compiling project for ivy version 6.0.0 [INFO] Installed engine has version 'null' instead of expected '6.0.0' [INFO] Starting engine download from <a href="http://download.axonivy.com/6.0.0/AxonIvyEngine6.0.0.50515_Windows_x64.zip">http://download.axonivy.com/6.0.0/AxonIvyEngine6.0.0.50515_Windows_x64.zip</a> </code></pre> <p>Thanks!</p>RemiMorinMon, 12 Dec 2016 19:33:33 -0500https://answers.axonivy.com/questions/2281/maven-complete-setup-for-buildmavenbuildIs there an Axon Ivy repository for maven?https://answers.axonivy.com/questions/2279/is-there-an-axon-ivy-repository-for-maven<p>I try to setup a maven build workflow both for continuous integration and for build release. So I try to build present project with Maven but face this issue</p> <pre><code>Failed to execute goal on project MyProject: Could not resolve dependencies for project MyProject:MyProject:iar:9.0.0-SNAPSHOT: Failed to collect dependencies at ch.ivyteam.ivy.addons:ch.ivyteam.ivy.addons:iar:[6000000.0.0-SNAPSHOT,): No versions available for ch.ivyteam.ivy.addons:ch.ivyteam.ivy.addons:iar:[6000000.0.0-SNAPSHOT,) within specified range -&gt; [Help 1] </code></pre> <p>I've try several combination of version but I I think the issue is only that there is no repository know to my maven installation containing ivy.addons. </p> <p>I can hack it by installing ivy.addons locally but this kind of suck since we will have to manually install them forever, it kinda kill the idea of automatic dependence resolution if we have to install them every time. So is there a repository for Maven to download Axon dependencies?</p> <p>Thanks!</p>RemiMorinMon, 12 Dec 2016 16:09:08 -0500https://answers.axonivy.com/questions/2279/is-there-an-axon-ivy-repository-for-mavenmavenIs there something managing user concurrent sessions?https://answers.axonivy.com/questions/2272/is-there-something-managing-user-concurrent-sessions<p>We need to implement a security enabling a user to be logged only in one session. We will either prevent him to log twice or kill any other session on login. </p> <p>Is there already something to support that (aka sessiob listener or session filter). </p>RemiMorinFri, 09 Dec 2016 21:54:58 -0500https://answers.axonivy.com/questions/2272/is-there-something-managing-user-concurrent-sessionssecurityauthentication504 Gateway Time-out on guidelines.axonivy.com/projects/guides/wiki/Continues_Integrationhttps://answers.axonivy.com/questions/2219/504-gateway-time-out-on-guidelines-axonivy-com-projects-guides-wiki-continues_integration<p><a href="https://guidelines.axonivy.com/projects/guides/wiki/Continues_Integration">https://guidelines.axonivy.com/projects/guides/wiki/Continues_Integration</a></p> <p>I'm looking to implement unit test, integration test and continuous integration so looking for guidelines, I thought I found it but look like the wiki is not working.</p>RemiMorinFri, 25 Nov 2016 19:31:00 -0500https://answers.axonivy.com/questions/2219/504-gateway-time-out-on-guidelines-axonivy-com-projects-guides-wiki-continues_integrationtestunit-testcibuildHow to debug Ivy Script?https://answers.axonivy.com/questions/2183/how-to-debug-ivy-script<p>Hi, I'm currently extending a existing Ivy application. I face the problem of being unable to debug (trace) Ivy script.</p> <p>Is there some tooling? maybe some trick to output directly into the "runtime log" of the designer?</p> <p>I've already hack the logger to display SQL and such. I'm familiar with web development, java, tomcat and most of the ecosystem. I just have hard time tracing the logic in process. I currently have a bug with Ivy add on, I replace all parameter values one by one with hardcoded values to see what is going on. I've figure out which variable is erroneous but can't figure out what's in it.</p>RemiMorinMon, 14 Nov 2016 20:41:45 -0500https://answers.axonivy.com/questions/2183/how-to-debug-ivy-scriptdebuggingivyscriptdesigner