[JBoss JIRA] (JBIDE-18147) Port forwarding cause tearing down the session
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18147?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-18147:
----------------------------------
Summary: Port forwarding cause tearing down the session (was: Port forwarding cause tearing down the session.)
> Port forwarding cause tearing down the session
> ----------------------------------------------
>
> Key: JBIDE-18147
> URL: https://issues.jboss.org/browse/JBIDE-18147
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.CR1
> Reporter: Marián Labuda
>
> After starting and stopping port forwarding there happens something wrong with session / ssh calling. I found it in Environment variables shell after creating env. variable and clicking on Refresh button. Following error has shown in log and environment variable from table was not removed, although it should be (Refresh button update local environment variables to environment variable of an existing OpenShift application).
> {code}
> com.openshift.client.OpenShiftSSHOperationException: Failed to execute remote ssh command "eap"
> at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:871)
> at com.openshift.internal.client.ApplicationResource.loadPorts(ApplicationResource.java:840)
> at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:614)
> at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EditEnvironmentVariablesWizardModel.refreshEnvironmentVariables(EditEnvironmentVariablesWizardModel.java:35)
> at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EnvironmentVariablesWizardPage$RefreshEnvironmentVariablesJob.doRun(EnvironmentVariablesWizardPage.java:292)
> at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: com.jcraft.jsch.JSchException: session is down
> at com.jcraft.jsch.Session.openChannel(Session.java:843)
> at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:865)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18141) Include latest Tern 0.5.0.201408272110 into jbosstools TP
by Victor Rubezhny (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18141?page=com.atlassian.jira.plugi... ]
Victor Rubezhny edited comment on JBIDE-18141 at 8/28/14 9:29 AM:
------------------------------------------------------------------
The change looks good to me.
I've updated the issue with PR in order to force o.j.t.jst.jsdt to use Tern.java v.0.5.0.201408272110. See: https://github.com/jbosstools/jbosstools-jst/pull/378
was (Author: vrubezhny):
The change looks good to me.
> Include latest Tern 0.5.0.201408272110 into jbosstools TP
> ---------------------------------------------------------
>
> Key: JBIDE-18141
> URL: https://issues.jboss.org/browse/JBIDE-18141
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: target-platform
> Affects Versions: 4.2.0.CR1
> Reporter: Victor Rubezhny
> Assignee: Nick Boldt
> Priority: Blocker
> Labels: new_and_noteworthy
> Fix For: 4.2.0.CR1
>
>
> *Need to switch jst.jsdt to the latest tested Tern v.0.5.0. It contains the important fixes required for JBIDE-17992:
> *Reason:*
> jbosstools-jst is going to provide integration between torn.java and jsdt. torn.java is going to be used to improve JavaScript support
> *License and owner:*
> - Root License is EPL. Owner is Angelo ZERR.
> -- core
> --- org.json.simple - EPL (included into torn-feature below)
> ---- lib/json-simple-1.1.1.jar - Apache License 2.0 (see http://www.apache.org/licenses/LICENSE-2.0.txt)
> --- org.mozilla.javascript
> ---- lib/js.jar - Mozilla Public License Version 2.0 (see http://mozilla.org/MPL/2.0/)
> --- tern.core - EPL (included into tern-feature below)
> --- tern.server.nodejs - EPL (included into tern-server-nodejs-feature below)
> ---- tern.server.nodejs/node_modules/tern/LICENSE
> ----- node_modules/acorn/LICENSE
> ------ node_modules/codemirror/LICENSE
> ------ node_modules/glob/LICENSE
> ------- node_modules/inherits/LICENSE
> ------ node_modules/minimatch/LICENSE
> ------- node_modules/lru-cache/LICENSE
> ------- node_modules/sigmund/LICENSE
> ----- node_modules/typescript/LICENSE - Apache License v. 2.0
> --- tern.eclipse.ide.server.nodejs.ui - EPL (included into tern-server-nodejs-feature below)
> -- eclipse
> --- tern.eclipse.ide.core - EPL (included into tern-feature below)
> --- tern.eclipse.ide.jsdt - EPL (included into tern-jsdt-feature below)
> --- tern.eclipse.ide.server.nodejs.core - EPL (included into tern-server-nodejs-feature below)
> --- tern.eclipse.ide.server.nodejs.ui - EPL (included into tern-server-nodejs-feature below)
> --- tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86 - Supposed to be EPL but it is not included anywhere yet
> ---- node-v0.10.22-linux-x86.zip has several LICENSE files inside (download)
> ----- LICENSE
> ----- lib/node_modules/npm/LICENSE - The Artistic License 2.0
> ----- lib/node_modules/npm/node_modules/*/LICENSE
> --- tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86_64 - EPL (included into tern.eclipse.linux.gtk.x86.feature below)
> ---- node-v0.10.22-linux-x86_64.zip has several LICENSE files inside (download)
> ----- LICENSE
> ----- lib/node_modules/npm/LICENSE - The Artistic License 2.0
> ----- lib/node_modules/npm/node_modules/*/LICENSE
> --- tern.eclipse.ide.server.nodejs.embed.macosx.cocoa.x86_64 - EPL (included into tern.eclipse.macosx.cocoa.x86_64.feature below)
> ---- node-v0.10.22-macosx-x86_64.zip has several LICENSE files inside (download)
> ----- LICENSE
> ----- lib/node_modules/npm - The Artistic License 2.0
> ----- lib/node_modules/npm/node_modules/*/LICENSE
> --- tern.eclipse.ide.server.nodejs.embed.win32.win32.x86 - EPL (include into tern.eclipse.win32.win32.x86.feature below)
> ---- node-v0.10.22-win32-x86.zip has no LICENSE files inside (download)
> ----- node-v0.10.22-win32-x86/node.exe - see http://nodejs.org/download/ for licensing information for node.exe.
> --- tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64 - EPL (include into tern.eclipse.win32.win32.x86.feature below)
> ---- node-v0.10.22-win32-x86_64.zip has no LICENSE files inside (download)
> ----- node-v0.10.22-win32-x86_64/node.exe - see http://nodejs.org/download/ for licensing information for node.exe.
> --- tern.eclipse.ide.tools.core - EPL (included into tern.eclipse.ide.tools.feature below)
> --- tern.eclipse.ide.tools.ui - EPL (included into tern.eclipse.ide.tools.feature below)
> --- tern.eclipse.ide.ui - EPL (included into tern-feature below)
> --- tern.eclipse - EPL (included into tern-feature below)
> -- update-site
> --- tern-feature - EPL (see licens.httml)
> --- tern-jsdt-feature - EPL (see licens.httml)
> --- tern-server-nodejs-feature - EPL (see licens.httml)
> --- tern.eclipse.ide.tools.feature - EPL (see plicense.html)
> --- tern.eclipse.linux.gtk.x86_64.feature - EPL (see license.html)
> --- tern.eclipse.macosx.cocoa.x86_64.feature - EPL (see license.html)
> --- tern.eclipse.win32.win32.x86.feature - EPL (see license.html)
> *Original repo:* http://oss.opensagres.fr/tern.repository/0.5.0-SNAPSHOT/
> *JBoss mirror:* http://download.jboss.org/jbosstools/updates/requirements/tern/0.5.0.2014...
> *Sources:* https://github.com/angelozerr/tern.java
> *Affected projects:* jbosstools-jst, jbosstools-aerogear
> *Include in JBDS:* No
> *Type of dependency:* distribution
> *List of bundles added/removed:*
> {code}
> mistria@mistria--rh:~/git/jbosstools-target-platforms/jbosstools/multiple$ ~/git/p2diff/org.eclipse.equinox.p2.example.p2diff.packaging/target/products/org.eclipse.equinox.p2.example.p2diff.product/linux/gtk/x86_64/p2diff http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.4... file:$(pwd)/target/jbosstools-multiple.target.repo/
> < tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86_64 [0.4.0.201408101311]
> < tern.eclipse.ide.tools.core [0.4.0.201408101311]
> < tern.eclipse.ide.tools.feature.feature.group [0.4.0.201408101311]
> < tern-jsdt-feature.feature.group [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.feature.jar [0.4.0.201408101311]
> < tern.server.nodejs [0.4.0.201408101311]
> < tern-feature.feature.group [0.4.0.201408101311]
> < tern.core [0.4.0.201408101311]
> < tern.eclipse.ide.jsdt [0.4.0.201408101311]
> < tern-jsdt-feature.feature.jar [0.4.0.201408101311]
> < tern.eclipse.ide.ui [0.4.0.201408101311]
> < tern.eclipse.ide.tools.feature.feature.jar [0.4.0.201408101311]
> < tern-server-nodejs-feature.feature.jar [0.4.0.201408101311]
> < tern-feature.feature.jar [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86 [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.core [0.4.0.201408101311]
> < tern.eclipse.ide.tools.ui [0.4.0.201408101311]
> < tern-server-nodejs-feature.feature.group [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.ui [0.4.0.201408101311]
> < tern.eclipse.ide.core [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.feature.group [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.macosx.cocoa.x86_64 [0.4.0.201408101311]
> < tern.eclipse [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64 [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.win32.win32.x86 [0.4.0.201408101311]
> > tern.eclipse.ide.tools.feature.feature.group [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86_64 [0.5.0.201408272110]
> > tern.eclipse.ide.tools.core [0.5.0.201408272110]
> > tern-jsdt-feature.feature.group [0.5.0.201408272110]
> > tern-feature.feature.group [0.5.0.201408272110]
> > tern.server.nodejs [0.5.0.201408272110]
> > tern.core [0.5.0.201408272110]
> > tern.eclipse.ide.jsdt [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.feature.jar [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.feature.group [0.5.0.201408272110]
> > tern.eclipse [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.macosx.cocoa.x86_64 [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64 [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.win32.win32.x86 [0.5.0.201408272110]
> > tern.eclipse.ide.tools.ui [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.ui [0.5.0.201408272110]
> > tern-server-nodejs-feature.feature.group [0.5.0.201408272110]
> > tern.eclipse.ide.core [0.5.0.201408272110]
> > tern-jsdt-feature.feature.jar [0.5.0.201408272110]
> > tern.eclipse.ide.tools.feature.feature.jar [0.5.0.201408272110]
> > tern-server-nodejs-feature.feature.jar [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.core [0.5.0.201408272110]
> > tern.eclipse.ide.ui [0.5.0.201408272110]
> > tern-feature.feature.jar [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86 [0.5.0.201408272110]
> === Summary ===
> http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.4... contains 25 unique IUs
> file:/home/mistria/git/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo/ contains 25 unique IUs
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18147) Port forwarding cause tearing down the session.
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-18147:
-------------------------------------
Summary: Port forwarding cause tearing down the session.
Key: JBIDE-18147
URL: https://issues.jboss.org/browse/JBIDE-18147
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.2.0.CR1
Reporter: Marián Labuda
After starting and stopping port forwarding there happens something wrong with session / ssh calling. I found it in Environment variables shell after creating env. variable and clicking on Refresh button. Following error has shown in log and environment variable from table was not removed, although it should be (Refresh button update local environment variables to environment variable of an existing OpenShift application).
{code}
com.openshift.client.OpenShiftSSHOperationException: Failed to execute remote ssh command "eap"
at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:871)
at com.openshift.internal.client.ApplicationResource.loadPorts(ApplicationResource.java:840)
at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:614)
at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EditEnvironmentVariablesWizardModel.refreshEnvironmentVariables(EditEnvironmentVariablesWizardModel.java:35)
at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EnvironmentVariablesWizardPage$RefreshEnvironmentVariablesJob.doRun(EnvironmentVariablesWizardPage.java:292)
at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.jcraft.jsch.JSchException: session is down
at com.jcraft.jsch.Session.openChannel(Session.java:843)
at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:865)
... 6 more
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18093) Special character "®" in manifest.yml --> Description leads to errors when accessing OSE from JBDS
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18093?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-18093:
------------------------------------------
[~bleanhar] now changed the manifest in our test devenv according to the instructions given by the user.
Nevertheless I still cannot replicate the error. I can create an app with the special characters in manifest and have it displayed in OpenShift Explorer:
!mock1b.png!
> Special character "®" in manifest.yml --> Description leads to errors when accessing OSE from JBDS
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18093
> URL: https://issues.jboss.org/browse/JBIDE-18093
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Fix For: 4.2.0.CR1
>
> Attachments: mock1b.png, special-character-mock-cartridges.png
>
>
> Description of problem:
> I have developed a custom cartridge for OSE and placed the special character "®" (registered trademark) in the description field within my "manifest.yml". The cartridge could be installed correctly via WebUI and was also working fine from a technical point of view.
> However, when trying to access the OSE instance from JBDS via the Openshift Explorer plugin, I always got the following error:
> Invalid value for input string: "00ae"
> The string "00ae" is the unicode representation of my special character. After removing everything worked fine again. The OpenShift Explorer was completely unusable in this scenario! So only one installed cartridge with this special character can poison a whole installation and affect ALL users!!!
> Version-Release number of selected component (if applicable):
> OSE 2.2 (Developer Image)
> How reproducible:
> Yes.
> Steps to Reproduce:
> 1. Create a custom cartridge and add a "®" to the description field of your manifest.yml.
> 2. Install the cartridge according to doc.
> 3. Start JBDS and try to work with your OSE instance via the OpenShift Explorer plugin (e.g. try to add an application)
> Actual results:
> Expected results:
> Additional info:
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18093) Special character "®" in manifest.yml --> Description leads to errors when accessing OSE from JBDS
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18093?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-18093:
-------------------------------------
Attachment: mock1b.png
> Special character "®" in manifest.yml --> Description leads to errors when accessing OSE from JBDS
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18093
> URL: https://issues.jboss.org/browse/JBIDE-18093
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Fix For: 4.2.0.CR1
>
> Attachments: mock1b.png, special-character-mock-cartridges.png
>
>
> Description of problem:
> I have developed a custom cartridge for OSE and placed the special character "®" (registered trademark) in the description field within my "manifest.yml". The cartridge could be installed correctly via WebUI and was also working fine from a technical point of view.
> However, when trying to access the OSE instance from JBDS via the Openshift Explorer plugin, I always got the following error:
> Invalid value for input string: "00ae"
> The string "00ae" is the unicode representation of my special character. After removing everything worked fine again. The OpenShift Explorer was completely unusable in this scenario! So only one installed cartridge with this special character can poison a whole installation and affect ALL users!!!
> Version-Release number of selected component (if applicable):
> OSE 2.2 (Developer Image)
> How reproducible:
> Yes.
> Steps to Reproduce:
> 1. Create a custom cartridge and add a "®" to the description field of your manifest.yml.
> 2. Install the cartridge according to doc.
> 3. Start JBDS and try to work with your OSE instance via the OpenShift Explorer plugin (e.g. try to add an application)
> Actual results:
> Expected results:
> Additional info:
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18136) iBeacon plugin problem, can´t compile app
by eduardo de souza (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18136?page=com.atlassian.jira.plugi... ]
eduardo de souza commented on JBIDE-18136:
------------------------------------------
Here it goes, thanks in advance.
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"
id="teste.app3" version="1.0.0">
<name>Teste App3</name>
<description>
A sample Apache Cordova application that responds to the
deviceready
event.
</description>
<author href="http://aerogear.org/" email="aerogear-dev(a)lists.jboss.org">
JBoss by Red Hat
</author>
<content src="index.html" />
<access origin="*" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="true" />
<feature name="App">
<param name="android-package" value="org.apache.cordova.App" />
</feature>
<feature name="Attendease iBeacons">
<param name="id" value="com.attendease.ibeacons" />
</feature>
<feature name="iBeacon">
<param name="id" value="org.apache.cordova.ibeacon" />
</feature>
<feature name="IBeacon">
<param name="ios-package" value="CDVIBeacon" />
<param name="ios-package" value="CDVIBeacon" />
</feature>
</widget>
> iBeacon plugin problem, can´t compile app
> -----------------------------------------
>
> Key: JBIDE-18136
> URL: https://issues.jboss.org/browse/JBIDE-18136
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Reporter: eduardo de souza
> Assignee: Gorkem Ercan
> Priority: Critical
>
> I have created a Hybrid Mobile App, then added an iBeacon plugin:
> https://github.com/petermetz/cordova-plugin-ibeacon.git
> Then I tried to compile to see if there was any problem. I got this message:
> An internal error occurred during: "Launching TesteApp4 (Android Device)".
> java.lang.NullPointerException
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17020) EAP process on remote server is not terminated when you abort a server startup
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17020?page=com.atlassian.jira.plugi... ]
Rob Stryker resolved JBIDE-17020.
---------------------------------
Resolution: Done
I've tried this on two systems. Seems the logic I used to get the remote pid was slightly incorrect in string parsing. I was expecting the returned string to start with my custom string, but, sometimes the shell prompt is before my expected string. It's been fixed.
> EAP process on remote server is not terminated when you abort a server startup
> ------------------------------------------------------------------------------
>
> Key: JBIDE-17020
> URL: https://issues.jboss.org/browse/JBIDE-17020
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.0.Beta1
> Environment: JBDS 8.0.0.Beta1a B82
> EAP 6.2
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Fix For: 4.2.0.CR1
>
>
> When you set up a remote server (e.g. eap 6.2) with management (without a runtime, but that shouldn't really matter here) and during startup fail to enter the correct credentials the server is stuck on Starting. If you then press the Stop button twice, the server will be shown as stopped, but in fact the process will still be running on the server. This is a bug - the process should be terminated / killed in this case.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months