z2-Environment: Issueshttps://redmine.z2-environment.net/https://redmine.z2-environment.net/favicon.ico?15813551872024-03-27T13:16:37Zz2-Environment
Redmine z2-Environment - Bug #2174 (New): Cannot install eclipsoid in base eclipsehttps://redmine.z2-environment.net/issues/21742024-03-27T13:16:37ZHenning Blohmhenning.blohm@zfabrik.dez2-Environment - Bug #2173 (New): All exceptions thrown in class Z2JupiterTestServlet should be l...https://redmine.z2-environment.net/issues/21732024-03-07T15:07:18ZJonas Basslbusiness@bassl.de
<p>In class Z2JupiterTestServlet#service, only IllegalArgumentExceptions are being caught and therefore also logged.<br />Other exceptions are just "thrown away".<br />We should change that, so also other exceptions show up in the log, if it happens.</p> z2-Environment - Bug #2169 (Feedback): Cleanup of collected resources may remove good resource entryhttps://redmine.z2-environment.net/issues/21692024-02-29T13:35:07ZHenning Blohmhenning.blohm@zfabrik.de
<p>The following sequence of events may lead to untracking of a still valid resource:</p>
<p>1. In NamespaceImpl _getResourceHandleImplNonNull we find a vh!=null && rh==null and (in another loop) put the vh directly into the invQ.<br />2. A subsequent tick() removes the vh.getKey() from the resource map and we can bind a new entry</p>
<p>Later:</p>
<p>3. In another tick we ingest the gc queue from the resource map into invQ. Because only now the GC noted the collected value, we get the same vh from above again in the invQ and the tick removes the key again from the resource map.</p>
<a name="Solution"></a>
<h2 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h2>
<ul>
<li>In tick make sure to check for value holders that are still bound in the map</li>
<li>Only remove from the map, if it is still bound.</li>
</ul> z2-Environment - Feature #2165 (New): Anzeige des Prozess-Environments in der adm Web-Apphttps://redmine.z2-environment.net/issues/21652024-01-29T15:38:31ZUdo Offermannudo.offermann@zfabrik.de
<p>Analog zu der Anzeige der "System Properties" sollte es eine Anzeige für die Environment Variablen der einzelnen Prozesse <home>, environment/*Worker usw. geben.</p> z2-Environment - Improvement #2164 (Feedback): CLI / shell script cleanuphttps://redmine.z2-environment.net/issues/21642024-01-27T18:15:31ZHenning Blohmhenning.blohm@zfabrik.de
<p>The bin scripts need to be revisited for more consistency and use multiple modes made more accessible.</p> z2-Environment - Bug #2161 (In Progress): Application Threadpool gets confused on interruptionhttps://redmine.z2-environment.net/issues/21612024-01-02T13:22:19ZHenning Blohmhenning.blohm@zfabrik.de
<p>When interrupting a thread in the thread pool, it will terminate but still be in the pool. This happens in WorkerThread.java:</p>
<pre><code class="java syntaxhl"> <span class="k">if</span> <span class="o">(</span><span class="k">this</span><span class="o">.</span><span class="na">wm</span><span class="o">.</span><span class="na">taskCompleted</span><span class="o">(</span><span class="k">this</span><span class="o">))</span> <span class="o">{</span>
<span class="kd">synchronized</span> <span class="o">(</span><span class="k">this</span><span class="o">)</span> <span class="o">{</span>
<span class="k">if</span> <span class="o">(!</span><span class="k">this</span><span class="o">.</span><span class="na">kicked</span><span class="o">)</span> <span class="o">{</span>
<span class="c1">// only if not having been kicked between being put into</span>
<span class="c1">// the pool and entering this block</span>
<span class="n">waiting</span> <span class="o">=</span> <span class="kc">true</span><span class="o">;</span>
<span class="k">try</span> <span class="o">{</span>
<span class="k">this</span><span class="o">.</span><span class="na">wait</span><span class="o">();</span>
<span class="o">}</span> <span class="k">catch</span> <span class="o">(</span><span class="nc">InterruptedException</span> <span class="n">e</span><span class="o">)</span> <span class="o">{</span>
<span class="n">logger</span><span class="o">.</span><span class="na">fine</span><span class="o">(</span><span class="s">"Thread interrupted: "</span><span class="o">+</span><span class="k">this</span><span class="o">);</span>
<span class="o">}</span> <span class="k">finally</span> <span class="o">{</span>
<span class="k">this</span><span class="o">.</span><span class="na">waiting</span> <span class="o">=</span> <span class="kc">false</span><span class="o">;</span>
<span class="o">}</span>
<span class="o">}</span> <span class="k">else</span>
<span class="k">this</span><span class="o">.</span><span class="na">kicked</span> <span class="o">=</span> <span class="kc">false</span><span class="o">;</span>
<span class="o">}</span>
<span class="o">}</span> <span class="k">else</span>
<span class="kd">synchronized</span> <span class="o">(</span><span class="k">this</span><span class="o">)</span> <span class="o">{}</span> <span class="c1">// also to comply to the memory model</span>
</code></pre>
<p>The code is super outdated and far to complex.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>The ThreadPool code is simplified with less concurrency spaghetti code</li>
<li>When a thread is interrupted, it is terminating and remove from the pool</li>
<li>The fix is merged into master</li>
</ul> z2-Environment - Improvement #2149 (New): Clean up the web site and repo structurehttps://redmine.z2-environment.net/issues/21492023-01-01T16:00:36ZHenning Blohmhenning.blohm@zfabrik.de
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>there is only the z2 project and z2.core / z2.base repos.</li>
<li>there is no sample code in z2.base.</li>
<li>The calculator sample is integrated with the sample repos</li>
<li>The documentation <a class="wiki-page" href="https://redmine.z2-environment.net/projects/z2-environment/wiki/Step_3_-_First_steps_with_Z2_on_Git">Step_3_-_First_steps_with_Z2_on_Git</a> is updated</li>
</ul> z2-Environment - Improvement #2086 (New): Adapt Jakarta EE 9 and Java 16https://redmine.z2-environment.net/issues/20862021-03-19T17:35:10ZHenning Blohmhenning.blohm@zfabrik.de
<p>See also <a class="issue tracker-5 status-3 priority-4 priority-default closed" title="Improvement: Upgrade to Jetty 9.4.24 (Resolved)" href="https://redmine.z2-environment.net/issues/2052">#2052</a> for the previous update.</p>
<p>With this ticket, we adapt Jakarta EE 8 w.r.t. the Servlet API and JTA.</p>
<p>This is unfortunately implied by the upgrade to Jetty 11.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>the jakarta.servlet and the jakarta.transaction namespace is adapted in
<ul>
<li>com.zfabrik.servletjsp</li>
<li>com.zfabrik.jta</li>
<li>All internal web apps</li>
<li>All samples</li>
</ul></li>
</ul> z2-Environment - Improvement #2079 (New): Devise a method to reduce dependencieshttps://redmine.z2-environment.net/issues/20792020-08-18T13:34:17ZHenning Blohmhenning.blohm@zfabrik.de
<p>Reducing module dependencies to a minimum is a tricky task that is hardly ever looked at as it is cumbersome with little immediate merits.</p>
<p>It would be good to have a way of knowing what dependencies were actually used at some point in time. E.g. via a classloading based tracking of effective dependencies and a JMX or web adm based display of these.</p> z2-Environment - Improvement #2078 (New): Drop gitcr compatibility handling of refs/remotes/origin/https://redmine.z2-environment.net/issues/20782020-08-14T18:28:50ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently a ref spec with that prefix will be changed to refs/heads/... due to compatibility considerations with previous versions.</p>
<p>That however breaks use of tracking branches of local repos as source for z2 and so, as it is not used anymore, should simply be removed.</p> z2-Environment - Improvement #2026 (New): Add more performance logging datahttps://redmine.z2-environment.net/issues/20262018-12-27T10:47:51ZHenning Blohmhenning.blohm@zfabrik.de
<p>In particular use the same format to report</p>
<ul>
<li>download</li>
<li>make</li>
<li>load of component</li>
<li>sync</li>
</ul> z2-Environment - Improvement #1961 (To Be Documented): Document distribution exporterhttps://redmine.z2-environment.net/issues/19612016-12-21T08:56:42ZHenning Blohmhenning.blohm@zfabrik.de
<p>It should be documented in the reference documentation just it is noted here:</p>
<p><a class="external" href="http://z2-environment.net/javadoc/com.zfabrik.dev.util!2Fjava/impl/com/zfabrik/impl/dev/DistributionExporter.html">http://z2-environment.net/javadoc/com.zfabrik.dev.util!2Fjava/impl/com/zfabrik/impl/dev/DistributionExporter.html</a></p> z2-Environment - Feature #1936 (New): com.zfabrik.intellij.z2plugin shall reuse existing .iml fil...https://redmine.z2-environment.net/issues/19362015-12-23T14:21:22ZUdo Offermannudo.offermann@zfabrik.de
<p>z2-Plugin should reuse existing (i.e. checked-in) iml files when creating z2 Modules</p> z2-Environment - Improvement #1061 (New): Document standard modularized Spring application structurehttps://redmine.z2-environment.net/issues/10612013-05-24T15:26:34ZHenning Blohmhenning.blohm@zfabrik.de
<p>We have a standard spring application layout by now. Built upon domain modules, aspectj integration, etc.</p>
<p>We should have a documentation page that allows a simple repetition beyond copying the samples.</p> z2-Environment - Feature #946 (New): Eclipsoid - provide an API-View displaying all APIs provided...https://redmine.z2-environment.net/issues/9462012-10-23T10:10:24ZUdo Offermannudo.offermann@zfabrik.de
<p>Provide an Eclipsoid view that lists all Java components and their API-jars</p>