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 #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 - 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 - Bug #2119 (In Progress): Eclipsoid Version Resolve (incorrectly) assumes an int ...https://redmine.z2-environment.net/issues/21192021-10-25T10:57:59ZHenning Blohmhenning.blohm@zfabrik.de
<p>See VersionRetriever and</p>
<pre>
java.lang.IllegalArgumentException: invalid version "v2.9.1b-202110191117": non-numeric "v2"
at org.osgi.framework.Version.parseInt(Version.java:169)
at org.osgi.framework.Version.<init>(Version.java:126)
at org.osgi.framework.Version.valueOf(Version.java:255)
at org.osgi.framework.Version.parseVersion(Version.java:226)
at com.zfabrik.z2info.plugin.model.Z2InfoModel.getVersion(Z2InfoModel.java:23)
at com.zfabrik.z2info.plugin.views.Z2InfoViewContentProvider.getRootNode(Z2InfoViewContentProvider.java:65)
at com.zfabrik.z2info.plugin.views.Z2InfoViewContentProvider.getElements(Z2InfoViewContentProvider.java:34)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:949)
at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:704)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1411)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:350)
</pre> 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 #2070 (New): Eclipsoid dependency view to include test referenceshttps://redmine.z2-environment.net/issues/20702020-05-11T10:53:01ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently the view is not including test references, but test references can be important aspects in cycle detection.</p>
<p>Therefore test references should be included in the transitive reference closure of the dependency viewer.</p> z2-Environment - Bug #2060 (New): Eclipsoid shows no or wrong z2 version at connection testhttps://redmine.z2-environment.net/issues/20602020-03-15T22:34:03ZHenning Blohmhenning.blohm@zfabrik.de
<p>It says</p>
<p><img src="https://redmine.z2-environment.net/attachments/download/427/clipboard-202003152333-csx0o.png" alt="" /></p>
<p>Remaining reasons are that eclipsoid actually parses the version expecting a dot-separated sequence of numbers - which is not always true.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>The version parsing in com.zfabrik.eclipsoid.plugin.preferences.EclipsoidPreferencePage is dropped</li>
<li>The backend supplied version is show as is.</li>
</ul>
<a name="Implementation-Hint"></a>
<h2 >Implementation Hint<a href="#Implementation-Hint" class="wiki-anchor">¶</a></h2>
<ul>
<li>Use <code>curl -u "z*":z http://localhost:8080/eclipsoid/z2info</code> to test the backend.</li>
</ul> 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 - Bug #1922 (New): Eclipsoid info views not working in Eclipse > Keplerhttps://redmine.z2-environment.net/issues/19222015-09-10T11:18:39ZHenning Blohmhenning.blohm@zfabrik.de
<p>Fortunately sync and resolve still work.</p>
<p>Exception noted: ClassNotFoundException w.r.t some JGit classes.</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>