[JBoss JIRA] (JBIDE-19050) BrowserSim will not start with Oracle JDK 9 EA
by Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19050?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov commented on JBIDE-19050:
------------------------------------------------
Martin, please clarify your OS version
> BrowserSim will not start with Oracle JDK 9 EA
> ----------------------------------------------
>
> Key: JBIDE-19050
> URL: https://issues.jboss.org/browse/JBIDE-19050
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.2.Final
> Reporter: Martin Malina
>
> Today I briefly tried out Oracle JDK 9 Early Access from here:
> https://jdk9.java.net/download/
> {code}
> nattura:8.0.2 rasp$ java -version
> java version "1.9.0-ea"
> Java(TM) SE Runtime Environment (build 1.9.0-ea-b45)
> Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b45, mixed mode)
> {code}
> When I had JBDS 8.0.2 running with this Java and then clicked the BrowserSim button, I got this error:
> {code}
> javafx/embed/swt/FXCanvas
> Stack trace:
> java.lang.NoClassDefFoundError: javafx/embed/swt/FXCanvas
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:759)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> at org.jboss.tools.vpe.browsersim.browser.WebKitBrowserFactory.createBrowser(WebKitBrowserFactory.java:28)
> at org.jboss.tools.vpe.browsersim.ui.skin.ResizableSkin.createControls(ResizableSkin.java:92)
> at org.jboss.tools.vpe.browsersim.ui.BrowserSim.initSkin(BrowserSim.java:183)
> at org.jboss.tools.vpe.browsersim.ui.BrowserSim.open(BrowserSim.java:162)
> at org.jboss.tools.vpe.browsersim.ui.BrowserSim.open(BrowserSim.java:137)
> at org.jboss.tools.vpe.browsersim.BrowserSimRunner.main(BrowserSimRunner.java:105)
> Caused by: java.lang.ClassNotFoundException: javafx.embed.swt.FXCanvas
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> ... 18 more
> {code}
> This seems like JavaFX might be missing. But on the download page, there are many mentions of JavaFX, so I'm not sure.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19050) BrowserSim will not start with Oracle JDK 9 EA
by Martin Malina (JIRA)
Martin Malina created JBIDE-19050:
-------------------------------------
Summary: BrowserSim will not start with Oracle JDK 9 EA
Key: JBIDE-19050
URL: https://issues.jboss.org/browse/JBIDE-19050
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: browsersim
Affects Versions: 4.2.2.Final
Reporter: Martin Malina
Today I briefly tried out Oracle JDK 9 Early Access from here:
https://jdk9.java.net/download/
{code}
nattura:8.0.2 rasp$ java -version
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b45)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b45, mixed mode)
{code}
When I had JBDS 8.0.2 running with this Java and then clicked the BrowserSim button, I got this error:
{code}
javafx/embed/swt/FXCanvas
Stack trace:
java.lang.NoClassDefFoundError: javafx/embed/swt/FXCanvas
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:759)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at org.jboss.tools.vpe.browsersim.browser.WebKitBrowserFactory.createBrowser(WebKitBrowserFactory.java:28)
at org.jboss.tools.vpe.browsersim.ui.skin.ResizableSkin.createControls(ResizableSkin.java:92)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.initSkin(BrowserSim.java:183)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.open(BrowserSim.java:162)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.open(BrowserSim.java:137)
at org.jboss.tools.vpe.browsersim.BrowserSimRunner.main(BrowserSimRunner.java:105)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swt.FXCanvas
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 18 more
{code}
This seems like JavaFX might be missing. But on the download page, there are many mentions of JavaFX, so I'm not sure.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19049) Enable JBoss servers to run with java 9
by Martin Malina (JIRA)
Martin Malina created JBIDE-19049:
-------------------------------------
Summary: Enable JBoss servers to run with java 9
Key: JBIDE-19049
URL: https://issues.jboss.org/browse/JBIDE-19049
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: server
Affects Versions: 4.2.2.Final
Reporter: Martin Malina
Assignee: Rob Stryker
Fix For: 4.3.0.Alpha1
I briefly tried to use java 9 for our tooling and to run servers.
I downloaded it from here:
https://jdk9.java.net/download/
{code}
nattura:8.0.2 rasp$ java -version
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b45)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b45, mixed mode)
{code}
There are a couple of problems:
1. When I add a WildFly 8.2 server into JBDS 8.0.2, I cannot change the runtime to use java 9 - it seems we restrict that.
2. Even if I could, we need to make sure -XX:MaxPermSize is not used in the server launch command. When I tried to run WildFly 8.2 from the terminal, it wouldn't work unless I removed the max perm size argument. Apparently java 9 does not just ignore this parameter (as java 8 did), but it does not allow it at all.
{code}
nattura:bin rasp$ ./standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/rasp/jbossqa/runtimes/wildfly-8.2.0.Final
JAVA: /Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home/bin/java
JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
Unrecognized VM option 'MaxPermSize=256m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
{code}
Of course it's questionable if we should allow java 9 for current servers at all as they don't support it officially. But I would say there is no need to restrict it if it works.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19042) Cannot login via Openshift Explorer on Openshift "Can not verify User"
by Stylianos Koussouris (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19042?page=com.atlassian.jira.plugi... ]
Stylianos Koussouris commented on JBIDE-19042:
----------------------------------------------
Yes it always happens. I am unable to follow instructions to connect and upload my app on Openshift due to this issue.
I am using JBDS with the following version details
JBoss Developer Studio
Version: 7.0.0.GA
Build id: GA-v20130720-0044-B364
Build date: 20130720-0044
> Cannot login via Openshift Explorer on Openshift "Can not verify User"
> ----------------------------------------------------------------------
>
> Key: JBIDE-19042
> URL: https://issues.jboss.org/browse/JBIDE-19042
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.x, 4.2.x
> Environment: Win7, jdk7, Openshift Online
> Reporter: Stylianos Koussouris
> Assignee: Andre Dietisheim
> Priority: Critical
> Attachments: CannotVerifyUser.JPG
>
>
> Trying to connect via Openshift explorer to Openshift Online, the credentials are correct and working from the Web UI, I receive
> Unknown error, can not verify user
> and in the log
> !ENTRY org.jboss.tools.openshift.express.ui 4 4 2015-01-15 15:01:37.848
> !MESSAGE
> !STACK 0
> java.lang.NullPointerException
> at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:196)
> at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:113)
> at com.openshift.internal.client.RestService.request(RestService.java:151)
> at com.openshift.internal.client.RestService.request(RestService.java:107)
> at com.openshift.internal.client.RestService.request(RestService.java:100)
> at com.openshift.internal.client.RestService.request(RestService.java:81)
> at com.openshift.internal.client.AbstractOpenShiftConnectionFactory.getConnection(AbstractOpenShiftConnectionFactory.java:34)
> at com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:134)
> at com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:103)
> at org.jboss.tools.openshift.express.internal.core.connection.Connection.createUser(Connection.java:219)
> at org.jboss.tools.openshift.express.internal.core.connection.Connection.connect(Connection.java:199)
> at org.jboss.tools.openshift.express.internal.ui.wizard.connection.ConnectionWizardPageModel.connect(ConnectionWizardPageModel.java:252)
> at org.jboss.tools.openshift.express.internal.ui.wizard.connection.ConnectionWizardPage$ConnectJob.run(ConnectionWizardPage.java:474)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Similar Issue reported: https://forums.openshift.com/unknown-error-can-not-verify-user
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months