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 #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 #860 (New): Support Apache Standard structurehttps://redmine.z2-environment.net/issues/8602012-07-23T15:23:05ZUdo Offermannudo.offermann@zfabrik.de
<p>so that java components can be polyglot in the future. Which also makes the name "java component" may be somewhat vague...</p>
<p>Maybe we should instead have scala components for as long as there is no integrated compiler.</p>
<p>so...</p>
<p>src/main/{java|scala}...<br />src/api/...<br />src/impl/...<br />src/test/...</p> z2-Environment - Feature #857 (New): Shortcut bean --> application context settinghttps://redmine.z2-environment.net/issues/8572012-07-23T15:23:04ZUdo Offermannudo.offermann@zfabrik.de
<p>if applicationContext=x and no / in x, it should refer to x in the module of the bean</p> z2-Environment - Feature #852 (New): Implement remoting feature for dev repohttps://redmine.z2-environment.net/issues/8522012-07-23T15:23:01ZUdo Offermannudo.offermann@zfabrik.de
<p>Suggestion:<br />- Eclipsoid pushes workspace changes to remote dev repo file system<br />- User locks project remotely<br />- Eclipsoid polls and retrieves log buffer from <home> process to client</p> z2-Environment - Feature #849 (New): eclipsoid: Project Validationhttps://redmine.z2-environment.net/issues/8492012-07-23T15:23:00ZUdo Offermannudo.offermann@zfabrik.de
<p>Pluggable project validation: Check components in project and run type specific validator. Java component validator, for example, would check for bad use of includes, possibly unnecessary references (in transitive closure) ... and more.</p>