[JBoss JIRA] (JBIDE-17829) Server adapter chooses wrong runtime for launches and validation is inconsistent
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17829?page=com.atlassian.jira.plugi... ]
Rob Stryker resolved JBIDE-17829.
---------------------------------
Resolution: Done
The validation fix has been committed. So far, nobody is able to replicate launching with java6. Please try again, and if you can replicate, open a new jira with clear steps.
> Server adapter chooses wrong runtime for launches and validation is inconsistent
> --------------------------------------------------------------------------------
>
> Key: JBIDE-17829
> URL: https://issues.jboss.org/browse/JBIDE-17829
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.0.Beta3
> Reporter: Max Rydahl Andersen
> Assignee: Rob Stryker
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.2.0.Beta3
>
>
> I have only Java 6 JDK in eclipse.
> Create server
> Wildfly 8 (download and install runtime now works sanely- yay!)
> gets error saying "No valid JRE's found for execution environment "JavaSE-1.8" even though I have "JavaSE-1.7" selected.
> and when I change to 1.8 it says it can't find one for 1.7...something is weird.
> Then I add Java 7, choose Java 7 and save.
> When opening launch configuration it has Java SE 6 as the JRE system library for bootstrap entries.
> So something is *really* wrong.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBIDE-17843) Connecting to a local JBoss AS process in JMX Navigator fails - java version
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17843?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-17843:
-------------------------------------
https://github.com/jbosstools/jbosstools-server/pull/248 - PR
[~fbricon] - need a +1
> Connecting to a local JBoss AS process in JMX Navigator fails - java version
> ----------------------------------------------------------------------------
>
> Key: JBIDE-17843
> URL: https://issues.jboss.org/browse/JBIDE-17843
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.2.0.Beta3
> Environment: JBDS 8.0.0.Beta3 B172 running with java 8
> JBoss AS 7.1 running with java 6
> workspace default is java 8
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Priority: Critical
> Labels: respin-a
> Fix For: 4.2.0.Beta3
>
>
> I started a local JBoss AS 7.1 server and then tried to connect to the java process in JMX Navigator in Local Processes.
> When I tried to connect, I got this in the server log:
> {code}
> Exception in thread "Attach Listener" 10:13:20,404 ERROR [stderr] (Attach Listener) java.lang.UnsupportedClassVersionError: org/jboss/tools/jmx/jvmmonitor/internal/agent/Agent : Unsupported major.minor version 51.0
> 10:13:20,405 ERROR [stderr] (Attach Listener) at java.lang.ClassLoader.defineClass1(Native Method)
> 10:13:20,405 ERROR [stderr] (Attach Listener) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
> 10:13:20,405 ERROR [stderr] (Attach Listener) at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
> 10:13:20,406 ERROR [stderr] (Attach Listener) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> 10:13:20,406 ERROR [stderr] (Attach Listener) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> 10:13:20,406 ERROR [stderr] (Attach Listener) at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> 10:13:20,406 ERROR [stderr] (Attach Listener) at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> 10:13:20,407 ERROR [stderr] (Attach Listener) at java.security.AccessController.doPrivileged(Native Method)
> 10:13:20,407 ERROR [stderr] (Attach Listener) at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 10:13:20,407 ERROR [stderr] (Attach Listener) at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 10:13:20,407 ERROR [stderr] (Attach Listener) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 10:13:20,408 ERROR [stderr] (Attach Listener) at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 10:13:20,408 ERROR [stderr] (Attach Listener) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:280)
> 10:13:20,408 ERROR [stderr] (Attach Listener) at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)
> Agent failed to start!
> {code}
> Java version 51.0 indicates Java SE 7. This is probably because the AS is running with java 6, but the attached agent jar is built with java 7.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBIDE-17633) AngularJS Eclipse plugin doesn't provide autocompletion OOTB on Windows x86_64
by Vlado Pakan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17633?page=com.atlassian.jira.plugi... ]
Vlado Pakan closed JBIDE-17633.
-------------------------------
Verified with JBDS 8.0.0.Beta3-v20140706-0939-B172
> AngularJS Eclipse plugin doesn't provide autocompletion OOTB on Windows x86_64
> ------------------------------------------------------------------------------
>
> Key: JBIDE-17633
> URL: https://issues.jboss.org/browse/JBIDE-17633
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Reporter: Fred Bricon
> Assignee: Nick Boldt
> Fix For: 4.2.0.Beta3
>
>
> If you install the AngularJS Eclipse plugin from Central on JBDS, on Windows 7 64bit, autocompletion will not work as expected (no angularjs elements will be proposed) and the error log will be polluted with errors like :
> {noformat}
> !MESSAGE Error while tern validator.
> !STACK 0
> tern.TernException: tern.server.nodejs.process.NodejsProcessException: java.io.IOException: Cannot run program "node" (in directory "D:\workspaces\runtime-hosted-rc4\web"): CreateProcess error=2, Le fichier spécifié est introuvable
> at tern.server.nodejs.NodejsTernServer.request(NodejsTernServer.java:307)
> at tern.eclipse.ide.core.IDETernProject.request(IDETernProject.java:745)
> at tern.eclipse.ide.core.IDETernProject.request(IDETernProject.java:739)
> at org.eclipse.angularjs.internal.ui.validation.HTMLAngularContentValidator.find(HTMLAngularContentValidator.java:122)
> at org.eclipse.angularjs.internal.ui.validation.HTMLAngularContentValidator.doValidate(HTMLAngularContentValidator.java:71)
> at org.eclipse.angularjs.internal.ui.validation.AbstractValidator.validate(AbstractValidator.java:142)
> at org.eclipse.angularjs.internal.ui.validation.AbstractValidator.validate(AbstractValidator.java:124)
> at org.eclipse.angularjs.internal.ui.validation.AbstractValidator.validate(AbstractValidator.java:108)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:381)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:259)
> at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
> at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
> at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
> at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
> Caused by: tern.server.nodejs.process.NodejsProcessException: java.io.IOException: Cannot run program "node" (in directory "D:\workspaces\runtime-hosted-rc4\web"): CreateProcess error=2, Le fichier spécifié est introuvable
> at tern.server.nodejs.process.NodejsProcess.start(NodejsProcess.java:302)
> at tern.server.nodejs.process.NodejsProcess.start(NodejsProcess.java:321)
> at tern.server.nodejs.NodejsTernServer.getBaseURL(NodejsTernServer.java:188)
> at tern.server.nodejs.NodejsTernServer.makeRequest(NodejsTernServer.java:160)
> at tern.server.nodejs.NodejsTernServer.request(NodejsTernServer.java:299)
> ... 14 more
> Caused by: java.io.IOException: Cannot run program "node" (in directory "D:\workspaces\runtime-hosted-rc4\web"): CreateProcess error=2, Le fichier spécifié est introuvable
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
> at tern.server.nodejs.process.NodejsProcess.start(NodejsProcess.java:289)
> ... 18 more
> Caused by: java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
> at java.lang.ProcessImpl.create(Native Method)
> at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
> at java.lang.ProcessImpl.start(ProcessImpl.java:137)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
> ... 19 more
> {noformat}
> The problem is no embedded NodeJS runtime is provided OOTB for Windows x86_64.
> This PR for tern.java would allow such runtime to be provided : https://github.com/angelozerr/tern.java/pull/73. It targets tern.java 0.3.0 so, unless we also pick up that version, we'll need to backport the fix for the 0.2.0 stream
> Moreover, org.jboss.tools.jst.jsdt/META-INF/MANIFEST.MF contains :
> {quote}
> tern.eclipse.ide.server.nodejs.embed.win32.win32.x86;bundle-version="[0.2.0.201405210810,0.2.0.201405210810]";resolution:=optional;x-installation:=greedy,{quote}
> So even if tern.java provides an new runtime for x86_64, it won't be installed automatically. The MANIFEST needs to be updated.
> In any case, target platforms and the JBDS installer need to be rebuilt.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months