z2-Environment: Issueshttps://redmine.z2-environment.net/https://redmine.z2-environment.net/favicon.ico?15813551872024-01-29T15:38:31Zz2-Environment
Redmine 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 - Bug #2136 (New): Z2-DataSourceWorkResource throws NPE on "isClosed" when connect...https://redmine.z2-environment.net/issues/21362022-01-31T11:40:53ZUdo Offermannudo.offermann@zfabrik.dez2-Environment - Feature #2118 (New): Expose Webapp Response Times via JMXhttps://redmine.z2-environment.net/issues/21182021-10-25T07:36:56ZUdo Offermannudo.offermann@zfabrik.de
<p>The WebApp MBeans zfabrik:type=com.zfabrik.impl.servletjsp.webapp.WebAppResource,name=com.gi-de.mts.workstation/web should be enriched by an attribute "responseTime" which contains the acumulated response time per webapp.</p> z2-Environment - Bug #2108 (In Progress): z2-resolve failed with exception when no z2 modules are...https://redmine.z2-environment.net/issues/21082021-09-16T12:27:37ZUdo Offermannudo.offermann@zfabrik.de
<p><code>Authentication_:</code></p>
<p><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">2021-09-16 11:08:33,414 [ 913426] ERROR - 2plugin.z2sync.ResolveZ2Action - z2-resolve failed</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">com.zfabrik.intellij.z2plugin.remote.ConnectionException: The credentials server</span> <a class="external" href="http://localhost:8080/eclipsoid/sync">http://localhost:8080/eclipsoid/sync</a> <span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">is asking for are not correct.</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient.request(Z2HttpClient.java:117)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.sync(Z2ResolverService.java:110)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.resolve(ResolveZ2Action.java:87)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.z2sync.Z2Mutex.runMutuallyExcluded(Z2Mutex.java:40)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.run(ResolveZ2Action.java:60)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:243)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.security.AccessController.doPrivileged(Native Method)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.lang.Thread.run(Thread.java:829)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">Caused by: javax.security.sasl.AuthenticationException: Basic Authentication failed for user null</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">... 23 more</span><br />Resolve:</p>
<p>2021-09-16 11:09:31,588 [ 971600] ERROR - 2plugin.z2sync.ResolveZ2Action - z2-resolve failed<br />java.nio.file.NoSuchFileException: /home/hb/workspace_intellij/zzz_hello/.z2env-library/z2refs.properties<br />at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)<br />at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)<br />at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)<br />at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)<br />at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)<br />at java.base/java.nio.file.Files.newOutputStream(Files.java:220)<br />at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.storeRefProps(Z2ResolverService.java:272)<br />at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.requestApiJars(Z2ResolverService.java:267)<br />at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.loadZ2Library(Z2ResolverService.java:128)<br />at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.resolve(ResolveZ2Action.java:97)<br />at com.zfabrik.intellij.z2plugin.z2sync.Z2Mutex.runMutuallyExcluded(Z2Mutex.java:40)<br />at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.run(ResolveZ2Action.java:60)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)<br />at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)<br />at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)<br />at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)<br />at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:243)<br />at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)<br />at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)<br />at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)<br />at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)<br />at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)<br />at java.base/java.security.AccessController.doPrivileged(Native Method)<br />at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)<br />at java.base/java.lang.Thread.run(Thread.java:829)</p> z2-Environment - Improvement #2107 (New): Set the default of the Jetty Directory Listsing feature...https://redmine.z2-environment.net/issues/21072021-09-15T08:55:29ZUdo Offermannudo.offermann@zfabrik.de
<p>When calling <a class="external" href="http://localhost:8080/eclipsoid/">http://localhost:8080/eclipsoid/</a> Jetty shows the content of the /WebContent directory.<br />This should be turned off by default - see <a class="external" href="https://stackoverflow.com/a/43328817/716834">https://stackoverflow.com/a/43328817/716834</a></p>
<p><img src="https://redmine.z2-environment.net/attachments/download/461/Jetty_Directory_Listing.png" style="height: 286px;width: 537px;" alt="" /></p> z2-Environment - Bug #2106 (Feedback): IntelliJ z2-plugin throws exception when pinging z2https://redmine.z2-environment.net/issues/21062021-09-15T08:29:00ZUdo Offermannudo.offermann@zfabrik.de
<p>The "Test connection" feature on the z2-plugin preference pane throws an exception when the server is not reachable.<br />IntelliJ catches the exception and treats it as a plugin problem.<br />The exception itself is ok, but it must not be propagated to the IDE.</p>
<pre>
z2-resolve failed
com.zfabrik.intellij.z2plugin.remote.ConnectionException: Server http://localhost:8080/eclipsoid/sync may be down or the connection settings are wrong.
at com.zfabrik.intellij.z2plugin.remote.ConnectionResult.<init>(ConnectionResult.java:24)
at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient$HttpConnection.getConnectionResult(Z2HttpClient.java:193)
at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient.request(Z2HttpClient.java:114)
at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.sync(Z2ResolverService.java:97)
at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.resolve(ResolveZ2Action.java:85)
at com.zfabrik.intellij.z2plugin.z2sync.Z2Mutex.runMutuallyExcluded(Z2Mutex.java:40)
at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.run(ResolveZ2Action.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:243)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.Socket.connect(Socket.java:609)
at java.base/java.net.Socket.connect(Socket.java:558)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:859)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient$HttpConnection.request(Z2HttpClient.java:171)
at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient.lambda$request$1(Z2HttpClient.java:95)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:265)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
... 7 more
</pre> z2-Environment - Feature #2101 (New): Z2-Info Pane as z2 webapphttps://redmine.z2-environment.net/issues/21012021-09-13T12:14:58ZUdo Offermannudo.offermann@zfabrik.de
Extend the z2-admin webapp by some useful development tools like
<ul>
<li>dependency resolver - show the dependencies of z2 components as well as "my dependent components" </li>
<li>component browser - shows all components and their types</li>
<li>z2-repository browser - shows all repositories and their z2-modules</li>
</ul>
<p>The idea is to replace the z2-plugin (Eclipsoid, z2-plugin for IntelliJ) info panes and embed these webapps into the IDE</p> z2-Environment - Improvement #2094 (New): Z2-Resolve must not synchttps://redmine.z2-environment.net/issues/20942021-03-29T11:47:13ZUdo Offermannudo.offermann@zfabrik.de
<p>Currently z2-resolve syncs the server and downloads the JARs.<br />Wen sync fails however, it is desirable that no sync takes place before the download. Thus resolve should only download whatever currently is available.</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 - Feature #1935 (New): z2-plugin showing arming state on modules in project view panehttps://redmine.z2-environment.net/issues/19352015-11-14T14:30:23ZUdo Offermannudo.offermann@zfabrik.dez2-Environment - Feature #1934 (New): z2-plugin "localhost mode"https://redmine.z2-environment.net/issues/19342015-11-13T09:32:20ZUdo Offermannudo.offermann@zfabrik.de
<p>if a z2-resolve request to localhost contains a target dir the z2-eclipsoid server can copy the required JARs directly to the target dir</p> z2-Environment - Feature #1933 (New): z2-resolve should not replace unchanged files https://redmine.z2-environment.net/issues/19332015-11-13T09:14:27ZUdo Offermannudo.offermann@zfabrik.de
<p>z2 resolve downloads JARs from z2 and stores them at the z2lib-dir.<br />Today the z2lib-dir is deleted and all JARs are stored again forcing IntelliJ to rescan all files including the unchanged ones.</p> z2-Environment - Feature #1932 (New): Selectable SVN version https://redmine.z2-environment.net/issues/19322015-11-13T09:04:04ZUdo Offermannudo.offermann@zfabrik.de
<p>provide a selection box in the z2-plugin settings where one can select the svn client version</p> z2-Environment - Feature #1931 (New): z2-plugin on IntelliJ14https://redmine.z2-environment.net/issues/19312015-11-13T09:02:02ZUdo Offermannudo.offermann@zfabrik.de
<p>z2-plugin on IntelliJ14</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>