jBoss坚持在netbeans开始并且从未开始

时间:2014-07-10 15:33:31

标签: java jboss7.x netbeans-8

我正在运行Java 8,NetBeans 8和jBoss 7.1.1-Final。

当我右键单击jboss应用程序服务器并选择“开始”时,它开始运行,然后永远不会完全启动。这是我的输出。

调用“C:\ Athabasca \ Comp 489 \ TME3 \ jBoss \ jboss-as-7.1.1.Final \ bin \ standalone.conf.bat”

“JAVA_OPTS已在环境中设置;使用值覆盖默认设置:-Xms128m -Xmx512m -XX:MaxPermSize = 256m”

JBoss Bootstrap环境

JBOSS_HOME:C:\ Athabasca \ Comp 489 \ TME3 \ jBoss \ jboss-as-7.1.1.Final

JAVA:C:\ Program Files \ Java \ jdk1.8.0_05 \ bin \ java

JAVA_OPTS:-XX:+ TieredCompilation -Dprogram.name = standalone.bat -Xms128m -Xmx512m -XX:MaxPermSize = 256m

=============================================== ================================

09:30:53,949 INFO [org.jboss.modules] JBoss Modules版本1.1.1.GA 09:30:54,056 INFO [org.jboss.msc] JBoss MSC版本1.0.2.GA 09:30:54,082 INFO [org.jboss.as] JBAS015899:JBoss AS 7.1.1.Final“Brontes”出发

这就是它永远存在的地方。有一次,它确实经历了很多东西然后被困在Bound数据源[java:jboss / datasources / ExampleDS]但是我已经能够让它再次做到这一点。

我尝试过使用jboss 7.1.1和jboss 7.1.0。 我使用管理员帐户登录到计算机。所有其他java程序工作正常。我也在系统中设置了JBOSS Home enviro变量。

下面是boot.log的副本,虽然它似乎没有显示任何有用的东西,据我所知。

10:56:44,294 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
10:56:44,414 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:56:44,441 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
10:56:44,442 DEBUG [org.jboss.as.config] Configured system properties:
    awt.toolkit = sun.awt.windows.WToolkit
    file.encoding = Cp1252
    file.encoding.pkg = sun.io
    file.separator = \
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\jboss-modules.jar
    java.class.version = 52.0
    java.endorsed.dirs = C:\Program Files\Java\jdk1.8.0_05\jre\lib\endorsed
    java.ext.dirs = C:\Program Files\Java\jdk1.8.0_05\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    java.home = C:\Program Files\Java\jdk1.8.0_05\jre
    java.io.tmpdir = C:\Users\ADMINI~1\AppData\Local\Temp\
    java.library.path = C:\Program Files\Java\jdk1.8.0_05\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\xampp\mysql\bin;C:\Program Files\Java\jdk1.8.0_05\bin\;.
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.8.0_05-b13
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 1.8
    java.util.logging.manager = org.jboss.logmanager.LogManager
    java.vendor = Oracle Corporation
    java.vendor.url = http://java.oracle.com/
    java.vendor.url.bug = http://bugreport.sun.com/bugreport/
    java.version = 1.8.0_05
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.8
    java.vm.vendor = Oracle Corporation
    java.vm.version = 25.5-b02
    javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
    javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
    javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
    javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
    javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
    javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
    javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
    javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
    javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
    javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
    jboss.home.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final
    jboss.host.name = master
    jboss.modules.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\modules
    jboss.node.name = master
    jboss.qualified.host.name = master
    jboss.server.base.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone
    jboss.server.config.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone\configuration
    jboss.server.data.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone\data
    jboss.server.deploy.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone\data\content
    jboss.server.log.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone\log
    jboss.server.name = master
    jboss.server.temp.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone\tmp
    line.separator = 

    logging.configuration = file:C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone/configuration/logging.properties
    module.path = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\modules
    org.jboss.boot.log.file = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone\log\boot.log
    org.xml.sax.driver = __redirected.__XMLReaderFactory
    os.arch = amd64
    os.name = Windows 7
    os.version = 6.1
    path.separator = ;
    program.name = standalone.bat
    sun.arch.data.model = 64
    sun.boot.class.path = C:\Program Files\Java\jdk1.8.0_05\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_05\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_05\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_05\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_05\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_05\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_05\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_05\jre\classes
    sun.boot.library.path = C:\Program Files\Java\jdk1.8.0_05\jre\bin
    sun.cpu.endian = little
    sun.cpu.isalist = amd64
    sun.desktop = windows
    sun.io.unicode.encoding = UnicodeLittle
    sun.java.command = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\jboss-modules.jar -mp C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = Cp1252
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level = Service Pack 1
    user.country = US
    user.dir = C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\bin
    user.home = C:\Users\Administrator
    user.language = en
    user.name = Administrator
    user.script = 
    user.timezone = America/Denver
    user.variant = 
10:56:44,448 DEBUG [org.jboss.as.config] VM Arguments: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms128m -Xmx512m -Dorg.jboss.boot.log.file=C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone\log\boot.log -Dlogging.configuration=file:C:\Athabasca\Comp 489\TME3\jBoss\jboss-as-7.1.1.Final\standalone/configuration/logging.properties 

1 个答案:

答案 0 :(得分:8)

这是作为Gimby提到的重复问题的答案而发布的,并且是解决方案。是的,几乎在同一时间我们都遇到了这个问题,这完全是巧合。

JBoss AS 7.x不支持Java 8。

我安装了jdk 7.x并将其设置为我的项目的java版本,之后它运行良好。