[JBoss JIRA] (JBIDE-19013) Displaying HTTP encoded characters in JAX-RS Web Services explorer
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19013?page=com.atlassian.jira.plugi... ]
Xavier Coulon reassigned JBIDE-19013:
-------------------------------------
Assignee: Xavier Coulon
> Displaying HTTP encoded characters in JAX-RS Web Services explorer
> ------------------------------------------------------------------
>
> Key: JBIDE-19013
> URL: https://issues.jboss.org/browse/JBIDE-19013
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.2.1.Final
> Reporter: Marián Labuda
> Assignee: Xavier Coulon
> Priority: Minor
> Labels: jax-rs
> Fix For: 4.3.x
>
>
> Some special characters are encoded in URL. E.g. "&" is encoded as "%26". Using such encoded character In JAX-RS Resource (for example in Path) could be shown in explorer as "&" instead of "%26".
> Also having 2 methods with same Path and Mediatype distinguished only be format of special characters (first one would have & and second one %26) could show warning on having ambigous paths.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19014) JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19014?page=com.atlassian.jira.plugi... ]
Xavier Coulon reassigned JBIDE-19014:
-------------------------------------
Assignee: Xavier Coulon
> JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-19014
> URL: https://issues.jboss.org/browse/JBIDE-19014
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.1.Final
> Reporter: Marián Labuda
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: 4.3.x
>
>
> I am having abstract class and it's descendant with following code.
> {code:title=AbstractResource.java}
> @Path("/resource")
> public abstract class AbstractResource {
> @GET
> public abstract void getSomeObject();
> }
> {code}
> {code:title=SpecificResource.java}
> public class SpecificResource extends AbstractResource {
> @GET
> @Path("specific-object")
> @Override
> public void getSomeObject() {
> // some code
> }
> }
> {code}
> Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class _/resource_ instead of _/resource/specific-object_.
--
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 Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19050?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov commented on JBIDE-19050:
------------------------------------------------
[~mmalina] I download Java9 for Linux and notice that there is different folders structure than it was. So we should fix it for BrowserSim.
Could you please send me a screenshot with Java9 folders structure on Mac to ensure that each os have the same directory structure?
> 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
> Assignee: Konstantin Marmalyukov
> Fix For: 4.3.0.Alpha1
>
>
> 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)
[ https://issues.jboss.org/browse/JBIDE-19049?page=com.atlassian.jira.plugi... ]
Martin Malina updated JBIDE-19049:
----------------------------------
Description:
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}
I use OS X 10.10 Yosemite.
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.
was:
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.
> 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}
> I use OS X 10.10 Yosemite.
> 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-19050) BrowserSim will not start with Oracle JDK 9 EA
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19050?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-19050:
---------------------------------------
Sorry about that. I use OS X 10.10 Yosemite.
> 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
> Assignee: Konstantin Marmalyukov
> Fix For: 4.3.0.Alpha1
>
>
> 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 Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19050?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov reassigned JBIDE-19050:
----------------------------------------------
Assignee: Konstantin Marmalyukov
> 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
> Assignee: Konstantin Marmalyukov
> Fix For: 4.3.0.Alpha1
>
>
> 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 Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19050?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov updated JBIDE-19050:
-------------------------------------------
Fix Version/s: 4.3.0.Alpha1
> 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
> Assignee: Konstantin Marmalyukov
> Fix For: 4.3.0.Alpha1
>
>
> 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