[JBoss JIRA] (JBIDE-23422) Server Adapter: Node.js debug session is terminated after ~1 minute and browser shows 502 error
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23422?page=com.atlassian.jira.plugi... ]
Ilya Buziuk commented on JBIDE-23422:
-------------------------------------
[~jeffmaury], [~adietish] Do you have any ideas how this can be tackled? the issue is not coupled with Node.js Debugger but rather with some routing logic / timeouts. As I recall it was said that this can be also reproducible for Java EE apps
> Server Adapter: Node.js debug session is terminated after ~1 minute and browser shows 502 error
> -----------------------------------------------------------------------------------------------
>
> Key: JBIDE-23422
> URL: https://issues.jboss.org/browse/JBIDE-23422
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: javascript, openshift
> Affects Versions: 4.4.2.AM2
> Environment: windows 10
> Fedora 24
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Priority: Critical
> Labels: nodejs, openshift_v3, server_adapter
> Fix For: 4.4.2.Final
>
>
> We've found, that when one is debugging (the code is stopeed at breakpoint, stepping through code, inspecting variables, ...) longer than ~1 minute, browser displays error code 502 and the debug session gets terminated. This makes this feature not very useful, because all debugging must be quicker than that timeout.
> The behavior is captured in this screencast: https://youtu.be/BJf7wcPqNmM (note how at the time 0:42 the page is finally loaded (502 error) and the debug session is terminated (in debug view)).
> We were able to reproduce this issue on F24 and Win10 (using CDK and console.engint.openshift.com)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4150) org.eclipse.thym.ui :: Could not load Hybrid Mobile quickstart: NoClassDefFound: org/apache/http/client/cache/HttpCacheStorage
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4150?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-4150:
----------------------------------
As expected this is caused by having these dupe IUs installed via central:
{code}for d in $(find /home/nboldt/.eclipse/org.eclipse.platform_*_linux_gtk_x86_64/plugins/ -name "*jar"); do
r=""; i=${d##*/}; i=${i%_*}; r="$(find /opt/rh -name "${i}*jar")"; if [[ $r ]]; then echo " == $i == ";
echo $d | grep $i; for rr in $r; do echo $rr | grep $i; done; echo ; fi; done
== javax.servlet ==
/home/nboldt/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/plugins/javax.servlet_3.1.0.v201410161800.jar
/opt/rh/rh-java-common/root/usr/share/java/glassfish-jsp/javax.servlet.jsp.jar
/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/plugins/javax.servlet.jsp_2.2.1.jar
/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/plugins/javax.servlet-api_3.1.0.jar
== org.apache.httpcomponents.httpclient ==
/home/nboldt/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/plugins/org.apache.httpcomponents.httpclient_4.3.6.v201511171540.jar
/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/plugins/org.apache.httpcomponents.httpclient_4.3.6.jar
{code}
So... problem seems to be:
* jbosstools-aerogear/feedhenry/plugins/org.jboss.tools.feedhenry.ui/META-INF/MANIFEST.MF - bundle require on org.apache.httpcomponents.httpclient;bundle-version="4.2.6"
* jbosstools-aerogear/cordovasim/plugins/org.jboss.tools.cordovasim.eclipse/META-INF/MANIFEST.MF - bundle require on javax.servlet;bundle-version="3.0.0"
> org.eclipse.thym.ui :: Could not load Hybrid Mobile quickstart: NoClassDefFound: org/apache/http/client/cache/HttpCacheStorage
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBDS-4150
> URL: https://issues.jboss.org/browse/JBDS-4150
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: aerogear-hybrid, build, rhscl, rpm, target-platform
> Affects Versions: 10.2.0.AM2
> Environment: Installed:
> {code}
> Installed Packages
> Name : rh-eclipse46-devstudio
> Arch : x86_64
> Epoch : 0
> Version : 10.2
> Release : 0.20161028.1959.el7
> Size : 371 M
> Repo : @System
> From repo : rh-eclipse46-devstudio-snapshot-10.2
> Summary : Red Hat Developer Studio
> URL : http://developers.redhat.com/products/devstudio/overview/
> License : EPL
> Description : Red Hat Developer Studio.
> {code}
> On Fedora 24 w/ JDK 8.
> Reporter: Nick Boldt
> Assignee: Gorkem Ercan
> Priority: Blocker
> Fix For: 10.2.0.GA
>
> Attachments: hybrid-mobile-quickstart-constraint-violation-ignored-seems-to-work.png, hybrid-mobile-quickstart-constraint-violation.png, jbds4150_irc_log.txt, o.a.httpcomponents.httpclient_rh-eclipse__vs__devstudio_tp.png
>
>
> Trying to run the *Hybrid Mobile Project* quickstart:
> {code}
> Unhandled event loop exception
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/apache/http/client/cache/HttpCacheStorage)
> at org.eclipse.swt.SWT.error(SWT.java:4533)
> at org.eclipse.swt.SWT.error(SWT.java:4448)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4528)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4146)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> Caused by: java.lang.NoClassDefFoundError: org/apache/http/client/cache/HttpCacheStorage
> at org.eclipse.thym.ui.plugins.internal.CordovaPluginSelectionPage.<init>(CordovaPluginSelectionPage.java:99)
> at org.eclipse.thym.ui.plugins.internal.CordovaPluginSelectionPage.<init>(CordovaPluginSelectionPage.java:129)
> at org.eclipse.thym.ui.wizard.project.NewHybridProjectWizard.addPages(NewHybridProjectWizard.java:183)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:585)
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
> at org.eclipse.jface.window.Window.open(Window.java:783)
> at org.jboss.tools.central.internal.WizardSupport.openWizard(WizardSupport.java:71)
> at org.jboss.tools.central.editors.GettingStartedHtmlPage$9.run(GettingStartedHtmlPage.java:431)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> ... 24 more
> Caused by: java.lang.ClassNotFoundException: org.apache.http.client.cache.HttpCacheStorage cannot be found by org.eclipse.thym.core_2.0.0.201607041526
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 35 more
> eclipse.buildId=4.6.1.v20160920-1429
> java.version=1.8.0_65
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
> Command-line arguments: -os linux -ws gtk -arch x86_64 -consolelog -console -debug -data /tmp/wksp-20161101-1105
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4150) org.eclipse.thym.ui :: Could not load Hybrid Mobile quickstart: NoClassDefFound: org/apache/http/client/cache/HttpCacheStorage
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4150?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-4150:
----------------------------------
Can no longer reproduce the 'org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/apache/http/client/cache/HttpCacheStorage)' error as of rpm build 10.2.0.20161115.1706.el7.
However... we're now getting some (new) uses constraint violations for
* org.eclipse.userstorage -> org.apache.httpcomponents.httpclient (4.3.6 vs 4.3.6.v201511171540)
* org.eclipse.epp.mpc.core -> org.apache.httpcomponents.httpclient (4.3.6 vs 4.3.6.v201511171540)
* org.eclipse.jgit.pgm -> javax.servlet(.api) (3.1.0 vs. 3.1.0.v201410161800)
* org.jboss.tools.browsersim.eclipse -> javax.servlet(.api) (3.1.0 vs. 3.1.0.v201410161800)
* org.jboss.tools.browsersim.ui -> javax.servlet(.api) (3.1.0 vs. 3.1.0.v201410161800)
* org.jboss.tools.livereload.core -> javax.servlet.(api) (3.1.0 vs. 3.1.0.v201410161800)
* org.jboss.tools.cordovasim.eclipse -> javax.servlet.(api) (3.1.0 vs. 3.1.0.v201410161800)
{code}
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.userstorage.ui [933]
Unresolved requirement: Require-Bundle: org.eclipse.userstorage; bundle-version="[1.0.0,2.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.userstorage; bundle-version="1.0.0.v20161013-0800"; singleton:="true"
org.eclipse.userstorage [932]
No resolution report for the bundle. Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.eclipse.userstorage [osgi.identity; osgi.identity="org.eclipse.userstorage"; type="osgi.bundle"; version:Version="1.0.0.v20161013-0800"; singleton:="true"] because it is exposed to package 'org.apache.http.client' from resources org.apache.httpcomponents.httpclient [osgi.identity; osgi.identity="org.apache.httpcomponents.httpclient"; type="osgi.bundle"; version:Version="4.3.6.v201511171540"] and org.apache.httpcomponents.httpclient [osgi.identity; osgi.identity="org.apache.httpcomponents.httpclient"; type="osgi.bundle"; version:Version="4.3.6"] via two dependency chains.
org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.browsersim.eclipse [1132]
Unresolved requirement: Require-Bundle: org.jboss.tools.browsersim.ui; bundle-version="3.8.0"
-> Bundle-SymbolicName: org.jboss.tools.browsersim.ui; bundle-version="3.8.2.v20161114-2256"; singleton:="true"
org.jboss.tools.browsersim.ui [1134]
No resolution report for the bundle. Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.jboss.tools.browsersim.ui [osgi.identity; osgi.identity="org.jboss.tools.browsersim.ui"; type="osgi.bundle"; version:Version="3.8.2.v20161114-2256"; singleton:="true"] because it is exposed to package 'javax.servlet' from resources javax.servlet [osgi.identity; osgi.identity="javax.servlet"; type="osgi.bundle"; version:Version="3.1.0.v201410161800"] and javax.servlet-api [osgi.identity; osgi.identity="javax.servlet-api"; type="osgi.bundle"; version:Version="3.1.0"] via two dependency chains.
{code}
> org.eclipse.thym.ui :: Could not load Hybrid Mobile quickstart: NoClassDefFound: org/apache/http/client/cache/HttpCacheStorage
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBDS-4150
> URL: https://issues.jboss.org/browse/JBDS-4150
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: aerogear-hybrid, build, rhscl, rpm, target-platform
> Affects Versions: 10.2.0.AM2
> Environment: Installed:
> {code}
> Installed Packages
> Name : rh-eclipse46-devstudio
> Arch : x86_64
> Epoch : 0
> Version : 10.2
> Release : 0.20161028.1959.el7
> Size : 371 M
> Repo : @System
> From repo : rh-eclipse46-devstudio-snapshot-10.2
> Summary : Red Hat Developer Studio
> URL : http://developers.redhat.com/products/devstudio/overview/
> License : EPL
> Description : Red Hat Developer Studio.
> {code}
> On Fedora 24 w/ JDK 8.
> Reporter: Nick Boldt
> Assignee: Gorkem Ercan
> Priority: Blocker
> Fix For: 10.2.0.GA
>
> Attachments: hybrid-mobile-quickstart-constraint-violation-ignored-seems-to-work.png, hybrid-mobile-quickstart-constraint-violation.png, jbds4150_irc_log.txt, o.a.httpcomponents.httpclient_rh-eclipse__vs__devstudio_tp.png
>
>
> Trying to run the *Hybrid Mobile Project* quickstart:
> {code}
> Unhandled event loop exception
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/apache/http/client/cache/HttpCacheStorage)
> at org.eclipse.swt.SWT.error(SWT.java:4533)
> at org.eclipse.swt.SWT.error(SWT.java:4448)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4528)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4146)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> Caused by: java.lang.NoClassDefFoundError: org/apache/http/client/cache/HttpCacheStorage
> at org.eclipse.thym.ui.plugins.internal.CordovaPluginSelectionPage.<init>(CordovaPluginSelectionPage.java:99)
> at org.eclipse.thym.ui.plugins.internal.CordovaPluginSelectionPage.<init>(CordovaPluginSelectionPage.java:129)
> at org.eclipse.thym.ui.wizard.project.NewHybridProjectWizard.addPages(NewHybridProjectWizard.java:183)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:585)
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
> at org.eclipse.jface.window.Window.open(Window.java:783)
> at org.jboss.tools.central.internal.WizardSupport.openWizard(WizardSupport.java:71)
> at org.jboss.tools.central.editors.GettingStartedHtmlPage$9.run(GettingStartedHtmlPage.java:431)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> ... 24 more
> Caused by: java.lang.ClassNotFoundException: org.apache.http.client.cache.HttpCacheStorage cannot be found by org.eclipse.thym.core_2.0.0.201607041526
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 35 more
> eclipse.buildId=4.6.1.v20160920-1429
> java.version=1.8.0_65
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
> Command-line arguments: -os linux -ws gtk -arch x86_64 -consolelog -console -debug -data /tmp/wksp-20161101-1105
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBIDE-22878) EAR deployed from DevStudio to EAP contains errorneously named ejbs
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22878?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-22878:
-------------------------------------
I make a patch for upstream to make the label provider check for archiveName in component xml...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=507563
But this is a purely cosmetic change.
> EAR deployed from DevStudio to EAP contains errorneously named ejbs
> -------------------------------------------------------------------
>
> Key: JBIDE-22878
> URL: https://issues.jboss.org/browse/JBIDE-22878
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.3.Final, 4.4.0.Final
> Environment: I've observed this problem on a Win7 64 bit machine with Oracle JRE 1.8.0_102 64 bit. It was present in both JBoss Developer Studio 8.1.0.GA and 10.0.0.GA when used in conjunction with embedded Maven installation and JBoss EAP 6.4 target runtime.
> Reporter: Mikhail Kalkov
> Assignee: Rob Stryker
> Fix For: 4.4.2.Final
>
> Attachments: JBIDE-22878-deployment-assembly.png, screendump.png, test-ear.ear, test-projects.zip
>
>
> I've created a maven-based EAR project that contains serveral ejb modules some of which come from workspace whereas others are downloaded from binary artifact repository. All modules have bundleFileName specified as module-name.jar in order to override the default module-name-version.jar.
> When I right-click on an EAR project and choose Export..., a correct EAR file is built, which looks exactly the same as when I build it from command line. However, when I add this project to an EAP 6.4 server, and check "Deploy projects as compressed archives" option, an EAR with erroneously named ejbs is deployed. the bundleFileName option is namely ignored for EJBs that come from binary artifact repository. See attached screenshot.
> This problem makes it extremely difficult to debug issues that arise only with zipped ear deployments. The only workaround is to comment out bundleFileName lines in test-ear pom.xml as well as possibly fix filenames in persistence.xml, and remember to revert these changes before committing!
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months