Questions asked by Geraldhttps://answers.axonivy.com/questions/asked-by/705/gerald/?type=rssQuestions asked by <a href="/users/705/gerald" >Gerald</a>enTue, 21 Nov 2017 08:06:27 -0500Temporary file is not stored in a session subfolderhttps://answers.axonivy.com/questions/2993/temporary-file-is-not-stored-in-a-session-subfolder<p>Hi,</p> <p>we are using the ch.ivyteam.ivy.scripting.objects.File object to create a temporary file, which we want to use as a source for a stream. This seems to work fine and we have no troubles in our development environment. </p> <p>In our productive environment, however, we expierence sometimes a "file not found" exception. As far as I know, the temporary files should be stored in a temp folder like /files/sessions/{sessionID}/ .</p> <p>In our environment, these files are not in a session subfolder but can be found directly in the folder /session/tempfileXYZ. We therefore assume that whenever we close a session, the whole tempfolder is deleted, which will result in our "file not found" exception for other users.</p> <p>Is there any way to enable that files will be stored in session folders again?</p> <p>Thx,</p> <p>Gerald</p>GeraldTue, 21 Nov 2017 08:06:27 -0500https://answers.axonivy.com/questions/2993/temporary-file-is-not-stored-in-a-session-subfolderfile64bit Server and 32bit Clientshttps://answers.axonivy.com/questions/2921/64bit-server-and-32bit-clients<p>Hi all,</p> <p>I was wondering if I can use a 64-bit Engine with increased java memory (we used 8GB in the server config file) in combination with 32-bit Clients. </p> <p>We are using an Ivy application with ULC, the engine is running on version 6.0.11 and struggle with the situation that we can run the server but clients will not start. It looks like that the 8GB configuration of the server is transfered to the clients which cannot use that amount of memory (32-bit) and therefore fail to start.</p> <p>Do I miss something here or is this combination of 64-bit server and 32-bit clients not possible.</p> <p>Thx and BR,</p> <p>Gerald</p>GeraldFri, 20 Oct 2017 07:18:27 -0400https://answers.axonivy.com/questions/2921/64bit-server-and-32bit-clientsserverAdd library with pom.xmlhttps://answers.axonivy.com/questions/2089/add-library-with-pom-xml<p>Hi,</p> <p>I just tried to add a dependency by inserting the reference found here ( <a href="https://mvnrepository.com/artifact/com.opencsv/opencsv/3.8)">https://mvnrepository.com/artifact/com.opencsv/opencsv/3.8)</a> into the pom.xml of the project (using Axon Ivy Designer 6.0.4)</p> <p>I tried to build it with "mvn install" in the command line and got an error that the library is missing (CSVWriter cannot be resolved to a type)</p> <p>Executing the following command shows me that the artifact ist downloaded.</p> <p>"mvn dependency:get -Dartifact=com.opencsv:opencsv:3.8"</p> <p><code> [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building xapf_customer 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.8:get (default-cli) @ xapf_customer --- [INFO] Resolving com.opencsv:opencsv:jar:3.8 with transitive dependencies [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.068 s [INFO] Finished at: 2016-10-10T18:35:23+02:00 [INFO] Final Memory: 9M/22M [INFO] ------------------------------------------------------------------------ </code></p> <p>Adding the library in the Axon Ivy Environment removes the errors in the IDE. But the error still exits if I want to execute a "maven install". </p> <p>Is there anything I'm missing? </p> <p>BR and thx, Gerald</p> <p>POM File: <code> &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;project xsi:schemalocation="http://maven.apache.org/POM/4.0.0 &amp;lt;a href=" http:="" maven.apache.org="" xsd="" maven-4.0.0.xsd""=""&gt;http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;modelversion&gt;4.0.0&lt;/modelversion&gt; &lt;groupid&gt;xapf_customer_csv_export&lt;/groupid&gt; &lt;artifactid&gt;xapf_customer_csv_export&lt;/artifactid&gt; &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt; &lt;packaging&gt;iar&lt;/packaging&gt; &lt;description&gt;Based on Template Version 1.1.0&lt;/description&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupid&gt;xapf_persistence&lt;/groupid&gt; &lt;artifactid&gt;xapf_persistence&lt;/artifactid&gt; &lt;version&gt;[1.0.0-SNAPSHOT,)&lt;/version&gt; &lt;type&gt;iar&lt;/type&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupid&gt;ch.soreco.xapf.engine&lt;/groupid&gt; &lt;artifactid&gt;ch.soreco.xapf.engine&lt;/artifactid&gt; &lt;version&gt;[3.0.0-SNAPSHOT,)&lt;/version&gt; &lt;type&gt;iar&lt;/type&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupid&gt;ch.soreco.xapf.masterdata&lt;/groupid&gt; &lt;artifactid&gt;ch.soreco.xapf.masterdata&lt;/artifactid&gt; &lt;version&gt;[3.0.0-SNAPSHOT,)&lt;/version&gt; &lt;type&gt;iar&lt;/type&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupid&gt;xapf_archive_d3&lt;/groupid&gt; &lt;artifactid&gt;xapf_archive_d3&lt;/artifactid&gt; &lt;version&gt;[1.0.0-SNAPSHOT,)&lt;/version&gt; &lt;type&gt;iar&lt;/type&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupid&gt;com.opencsv&lt;/groupid&gt; &lt;artifactid&gt;opencsv&lt;/artifactid&gt; &lt;scope&gt;compile&lt;/scope&gt; &lt;type&gt;jar&lt;/type&gt; &lt;version&gt;3.8&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;build&gt; &lt;plugins&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;6.0.0&lt;/version&gt; &lt;extensions&gt;true&lt;/extensions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupid&gt;org.apache.maven.plugins&lt;/groupid&gt; &lt;artifactid&gt;maven-jar-plugin&lt;/artifactid&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; &lt;/project&gt;</code></p><code> </code><p><code></code></p>GeraldMon, 10 Oct 2016 18:45:47 -0400https://answers.axonivy.com/questions/2089/add-library-with-pom-xmlmaven