[
https://issues.jboss.org/browse/JBDS-3345?page=com.atlassian.jira.plugin....
]
Rob Stryker commented on JBDS-3345:
-----------------------------------
So if java -version shows JDK 7 then the server starts correctly
JDK 8 then you will encounter problem which I reported
I am not able to replicate this at all.
my Path:
[rob@localhost eclipse]$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/rob/.rvm/bin:/home/rob/.local/bin:/home/rob/bin:/home/rob/.rvm/bin:/home/rob/.local/bin:/home/rob/bin
My default java:
[rob@localhost eclipse]$ java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
Eclipse is running with Java 8. I have configured my fsw6.0 runtime to use a java 7. It
starts without error.
My launch command:
rob 7834 31.9 6.1 1725904 995624 pts/0 Sl+ 12:24 1:18
/home/rob/apps/java/jdk1.7.0_67/bin/java -Dprogram.name=JBossTools: JBoss Fuse Service
Works 6.0 -server -Xms1024m -Xmx1024m -XX:MaxPermSize=256m
-Dorg.jboss.resolver.warning=true -Djava.net.preferIPv4Stack=true
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
-Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
-Dorg.jboss.boot.log.file=/home/rob/apps/jboss/fuse/fsw/installed/jboss-eap-6.1/standalone/log/boot.log
-Dlogging.configuration=file:/home/rob/apps/jboss/fuse/fsw/installed/jboss-eap-6.1/standalone/configuration/logging.properties
-Djboss.home.dir=/home/rob/apps/jboss/fuse/fsw/installed/jboss-eap-6.1
-Dorg.jboss.logmanager.nocolor=true -Djboss.bind.address.management=localhost
-Dfile.encoding=UTF-8 -classpath
/home/rob/apps/jboss/fuse/fsw/installed/jboss-eap-6.1/jboss-modules.jar
org.jboss.modules.Main -mp /home/rob/apps/jboss/fuse/fsw/installed/jboss-eap-6.1/modules
-jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -b localhost
--server-config=standalone.xml
-Djboss.server.base.dir=/home/rob/apps/jboss/fuse/fsw/installed/jboss-eap-6.1/standalone
I am not experiencing any error at all.
Errors when starting FSW 6.0.0.GA from JBDS 8.0.2.GA with JDK 1.8
-----------------------------------------------------------------
Key: JBDS-3345
URL:
https://issues.jboss.org/browse/JBDS-3345
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: server
Affects Versions: 8.0.2.GA
Environment: Fedora 21 x86_64
JBDS 8.0.2.GA with Oracle JDK 1.8.0_25 and Oracle JDK 1.7.0_71
Reporter: Andrej Podhradsky
Priority: Critical
Attachments: compiler.png, console.png, errors.txt, error_log.txt,
installed_jre.png, runtime_jre.png, server.log
FSW 6.0.0.GA supports java 6 and 7, so if we want to run this server on JBDS 8 with jdk 8
we need to add another jdk to the JBDS, e.g. jdk 7. But this doesn't work, see errors
in the attached file.
Moreover, we are not able to stop the server from IDE, the process is still alive and we
have to kill it manually.
Note that this happens only when we install JBDS 8.0.2 with jdk 8, if we install it with
jdk 7 the server works fine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)