[JBoss JIRA] (JBIDE-26598) Unable to connect to "local" JMX process when instance launched with JDK 11
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi... ]
Ondrej Dockal commented on JBIDE-26598:
---------------------------------------
[~aurelien.pupier] With the last commit, second mentioned error is not appearing.
> Unable to connect to "local" JMX process when instance launched with JDK 11
> ---------------------------------------------------------------------------
>
> Key: JBIDE-26598
> URL: https://issues.jboss.org/browse/JBIDE-26598
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.11.0.Final
> Reporter: Aurélien Pupier
> Priority: Blocker
> Fix For: 4.11.0.Final
>
>
> {code}
> org.jboss.tools.jmx.local
> Error
> Wed Mar 27 09:25:29 CET 2019
> Unable to connect to jvm
> org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID: 9470)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
> at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
> at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (JBIDE-26598) Unable to connect to "local" JMX process when instance launched with JDK 11
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi... ]
Ondrej Dockal commented on JBIDE-26598:
---------------------------------------
[~aurelien.pupier] Did not have that one. Going to check it.
> Unable to connect to "local" JMX process when instance launched with JDK 11
> ---------------------------------------------------------------------------
>
> Key: JBIDE-26598
> URL: https://issues.jboss.org/browse/JBIDE-26598
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.11.0.Final
> Reporter: Aurélien Pupier
> Priority: Blocker
> Fix For: 4.11.0.Final
>
>
> {code}
> org.jboss.tools.jmx.local
> Error
> Wed Mar 27 09:25:29 CET 2019
> Unable to connect to jvm
> org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID: 9470)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
> at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
> at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (JBIDE-26598) Unable to connect to "local" JMX process when instance launched with JDK 11
by Aurélien Pupier (Jira)
[ https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi... ]
Aurélien Pupier edited comment on JBIDE-26598 at 3/28/19 6:38 AM:
------------------------------------------------------------------
I think this case has been handled with the last commit from Jeff https://github.com/jbosstools/jbosstools-base/pull/642/commits/b96b70dce3... Can you double-check that you have it?
was (Author: aurelien.pupier):
this case has been handled with the last commit from Jeff https://github.com/jbosstools/jbosstools-base/pull/642/commits/b96b70dce3... Can you double-check that you have it?
> Unable to connect to "local" JMX process when instance launched with JDK 11
> ---------------------------------------------------------------------------
>
> Key: JBIDE-26598
> URL: https://issues.jboss.org/browse/JBIDE-26598
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.11.0.Final
> Reporter: Aurélien Pupier
> Priority: Blocker
> Fix For: 4.11.0.Final
>
>
> {code}
> org.jboss.tools.jmx.local
> Error
> Wed Mar 27 09:25:29 CET 2019
> Unable to connect to jvm
> org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID: 9470)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
> at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
> at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (JBIDE-26598) Unable to connect to "local" JMX process when instance launched with JDK 11
by Aurélien Pupier (Jira)
[ https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-26598:
-----------------------------------------
this case has been handled with the last commit from Jeff https://github.com/jbosstools/jbosstools-base/pull/642/commits/b96b70dce3... Can you double-check that you have it?
> Unable to connect to "local" JMX process when instance launched with JDK 11
> ---------------------------------------------------------------------------
>
> Key: JBIDE-26598
> URL: https://issues.jboss.org/browse/JBIDE-26598
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.11.0.Final
> Reporter: Aurélien Pupier
> Priority: Blocker
> Fix For: 4.11.0.Final
>
>
> {code}
> org.jboss.tools.jmx.local
> Error
> Wed Mar 27 09:25:29 CET 2019
> Unable to connect to jvm
> org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID: 9470)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
> at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
> at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (JBIDE-26598) Unable to connect to "local" JMX process when instance launched with JDK 11
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi... ]
Ondrej Dockal commented on JBIDE-26598:
---------------------------------------
Except mentioned above corner case, I would like to mention that there is an error while connecting to local openJDK 11 process from openJDK 8 runtime.
{code}
null
org.jboss.tools.jmx.jvmmonitor.tools
Error
Thu Mar 28 11:26:57 CET 2019
Could not load agent jar file /home/odockal/git/jbosstools-server/jmx/plugins/org.jboss.tools.jmx.jvmmonitor.core/lib/jvmmonitor-agent.jar.
org.jboss.tools.common.jdt.debug.tools.ToolsCoreException: Non-numeric value found - int expected
at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeLoadAgent(Tools.java:423)
at org.jboss.tools.common.jdt.debug.tools.ToolsCore.loadAgent(ToolsCore.java:157)
at org.jboss.tools.jmx.jvmmonitor.internal.tools.AgentLoadHandler.loadAgent(AgentLoadHandler.java:56)
at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.attach(ActiveJvm.java:259)
at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:234)
at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
at org.jboss.tools.jmx.ui.internal.actions.DoubleClickAction$1.run(DoubleClickAction.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.reflect.InvocationTargetException
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:498)
at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeLoadAgent(Tools.java:406)
... 9 more
Caused by: java.io.IOException: Non-numeric value found - int expected
at sun.tools.attach.HotSpotVirtualMachine.readInt(HotSpotVirtualMachine.java:299)
at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:63)
at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:79)
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:103)
... 14 more
{code}
Nevertheless, I would create another jira for this two cases, as tooling works despite those errors.
> Unable to connect to "local" JMX process when instance launched with JDK 11
> ---------------------------------------------------------------------------
>
> Key: JBIDE-26598
> URL: https://issues.jboss.org/browse/JBIDE-26598
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.11.0.Final
> Reporter: Aurélien Pupier
> Priority: Blocker
> Fix For: 4.11.0.Final
>
>
> {code}
> org.jboss.tools.jmx.local
> Error
> Wed Mar 27 09:25:29 CET 2019
> Unable to connect to jvm
> org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID: 9470)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
> at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
> at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (JBIDE-26566) Add support for JPA 2.2
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26566?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-26566:
---------------------------------------
Thanks [~koen.aers]!
> Add support for JPA 2.2
> -----------------------
>
> Key: JBIDE-26566
> URL: https://issues.jboss.org/browse/JBIDE-26566
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.11.0.Final
> Reporter: Josef Kopriva
> Assignee: Koen Aers
> Priority: Critical
> Fix For: 4.11.x
>
> Attachments: image-2019-03-05-08-27-30-478.png
>
>
> I am not able to select JPA version 2.2 - only versions 1.0, 2.0 and 2.1 are available.
> !image-2019-03-05-08-27-30-478.png|thumbnail!
> cc: [~psrna] [~jeffmaury]
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (JBIDE-26598) Unable to connect to "local" JMX process when instance launched with JDK 11
by Aurélien Pupier (Jira)
[ https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-26598:
-----------------------------------------
I added another commit which is handling in a very dirty way (but i think we don't have another solution without a new JDK release...) https://github.com/jbosstools/jbosstools-base/pull/642/commits/0f6e2856a8...
> Unable to connect to "local" JMX process when instance launched with JDK 11
> ---------------------------------------------------------------------------
>
> Key: JBIDE-26598
> URL: https://issues.jboss.org/browse/JBIDE-26598
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.11.0.Final
> Reporter: Aurélien Pupier
> Priority: Blocker
> Fix For: 4.11.0.Final
>
>
> {code}
> org.jboss.tools.jmx.local
> Error
> Wed Mar 27 09:25:29 CET 2019
> Unable to connect to jvm
> org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID: 9470)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
> at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
> at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (JBIDE-26598) Unable to connect to "local" JMX process when instance launched with JDK 11
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi... ]
Ondrej Dockal updated JBIDE-26598:
----------------------------------
Steps to Reproduce:
Issue 1:
- launch Jboss Tools with JDK 11
- open JMX Navigator view
- try to connect to a local process running on Java 11
Issue 2:
- launch Jboss Tools with JDK 11
- open JMX Navigator view
- try to connect to a local process running on Java 8
Issue 3:
- launch JBT with JDK 8
- open JMX Navigator View
- try to connect to a local process running on Java 11
was:
Issue 1:
- launch Jboss Tools with JDK 11
- open JMX Navigator view
- try to connect to a local process running on Java 11
Issue 2:
- launch Jboss Tools with JDK 11
- open JMX Navigator view
- try to connect to a local process running on Java 8
> Unable to connect to "local" JMX process when instance launched with JDK 11
> ---------------------------------------------------------------------------
>
> Key: JBIDE-26598
> URL: https://issues.jboss.org/browse/JBIDE-26598
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.11.0.Final
> Reporter: Aurélien Pupier
> Priority: Blocker
> Fix For: 4.11.0.Final
>
>
> {code}
> org.jboss.tools.jmx.local
> Error
> Wed Mar 27 09:25:29 CET 2019
> Unable to connect to jvm
> org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID: 9470)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
> at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
> at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (JBIDE-26598) Unable to connect to "local" JMX process when instance launched with JDK 11
by Aurélien Pupier (Jira)
[ https://issues.jboss.org/browse/JBIDE-26598?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-26598:
-----------------------------------------
{quote}Great catch, Aurélien Pupier - {quote}
In fact, it is Fuse Tooling QE which caught the issue. So thanks for the catch [~tsedmik] and [~djelinek]
> Unable to connect to "local" JMX process when instance launched with JDK 11
> ---------------------------------------------------------------------------
>
> Key: JBIDE-26598
> URL: https://issues.jboss.org/browse/JBIDE-26598
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.11.0.Final
> Reporter: Aurélien Pupier
> Priority: Blocker
> Fix For: 4.11.0.Final
>
>
> {code}
> org.jboss.tools.jmx.local
> Error
> Wed Mar 27 09:25:29 CET 2019
> Unable to connect to jvm
> org.jboss.tools.jmx.jvmmonitor.core.JvmCoreException: Could not get JMX service URL (PID: 9470)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:462)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.initialize(ActiveJvm.java:445)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:233)
> at org.jboss.tools.jmx.jvmmonitor.internal.core.ActiveJvm.connect(ActiveJvm.java:213)
> at org.jboss.tools.jmx.local.internal.JvmConnectionWrapper.connect(JvmConnectionWrapper.java:118)
> at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months