gpt4 book ai didi

java - 无法启动 JBoss 7.1.1 Final

转载 作者:行者123 更新时间:2023-11-30 03:03:24 29 4
gpt4 key购买 nike

我无法启动 Jboss 7.1.1 Final。既不是来自 eclipse,也不是来自standalone.bat。我设置了 JAVA_HOME 和 JBOSS_HOME (如其他线程中的建议)。我得到以下跟踪:

18:33:42,651 INFORMATION [org.jboss.modules] JBoss Modules version 1.1.1.GA
18:33:42,760 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
18:33:42,788 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

然后就什么都没有发生了。超时后,服务器停止(它从未启动(一直在启动))。这是启动配置:

程序参数

-mp "C:/dev/jboss-as-7.1.1.Final/modules" -jaxpmodule javax.xml.jaxp-provider -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -b localhost --server-config=standalone.xml -Djboss.server.base.dir=C:\dev\jboss-as-7.1.1.Final\standalone 

虚拟机参数:

"-Dprogram.name=JBossTools: JBoss AS 7.1" -server -Xms64m -Xmx512m -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=C:/dev/jboss-as-7.1.1.Final/standalone/log/boot.log" "-Dlogging.configuration=file:/C:/dev/jboss-as-7.1.1.Final/standalone/configuration/logging.properties" "-Djboss.home.dir=C:/dev/jboss-as-7.1.1.Final" -Djboss.bind.address.management=localhost 

这是来自独立/日志目录的日志:

17:23:23,520 INFORMATION [org.jboss.modules] JBoss Modules version 1.1.1.GA
17:23:23,972 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
17:23:24,000 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
17:23:24,000 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.headless = true
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\dev\jboss-as-7.1.1.Final\jboss-modules.jar
java.class.version = 52.0
java.endorsed.dirs = C:\dev\Java\jdk1.8.0_73\jre\lib\endorsed
java.ext.dirs = C:\dev\Java\jdk1.8.0_73\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home = C:\dev\Java\jdk1.8.0_73\jre
java.io.tmpdir = C:\Users\CHRIST~1\AppData\Local\Temp\
java.library.path = C:\dev\Java\jdk1.8.0_73\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;native;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;.
java.net.preferIPv4Stack = true
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.8.0_73-b02
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_73
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.73-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.bind.address = localhost
jboss.bind.address.management = localhost
jboss.home.dir = C:\dev\jboss-as-7.1.1.Final
jboss.host.name = cc03
jboss.modules.dir = C:\dev\jboss-as-7.1.1.Final\modules
jboss.modules.system.pkgs = org.jboss.byteman
jboss.node.name = cc03
jboss.qualified.host.name = cc03
jboss.server.base.dir = C:\dev\jboss-as-7.1.1.Final\standalone
jboss.server.config.dir = C:\dev\jboss-as-7.1.1.Final\standalone\configuration
jboss.server.data.dir = C:\dev\jboss-as-7.1.1.Final\standalone\data
jboss.server.deploy.dir = C:\dev\jboss-as-7.1.1.Final\standalone\data\content
jboss.server.log.dir = C:\dev\jboss-as-7.1.1.Final\standalone\log
jboss.server.name = cc03
jboss.server.temp.dir = C:\dev\jboss-as-7.1.1.Final\standalone\tmp
line.separator =

logging.configuration = file:/C:/dev/jboss-as-7.1.1.Final/standalone/configuration/logging.properties
module.path = C:/dev/jboss-as-7.1.1.Final/modules
org.jboss.boot.log.file = C:/dev/jboss-as-7.1.1.Final/standalone/log/boot.log
org.jboss.resolver.warning = true
org.xml.sax.driver = __redirected.__XMLReaderFactory
os.arch = amd64
os.name = Windows 10
os.version = 10.0
path.separator = ;
program.name = JBossTools: JBoss AS 7.1
sun.arch.data.model = 64
sun.boot.class.path = C:\dev\Java\jdk1.8.0_73\jre\lib\resources.jar;C:\dev\Java\jdk1.8.0_73\jre\lib\rt.jar;C:\dev\Java\jdk1.8.0_73\jre\lib\sunrsasign.jar;C:\dev\Java\jdk1.8.0_73\jre\lib\jsse.jar;C:\dev\Java\jdk1.8.0_73\jre\lib\jce.jar;C:\dev\Java\jdk1.8.0_73\jre\lib\charsets.jar;C:\dev\Java\jdk1.8.0_73\jre\lib\jfr.jar;C:\dev\Java\jdk1.8.0_73\jre\classes
sun.boot.library.path = C:\dev\Java\jdk1.8.0_73\jre\bin
sun.cpu.endian = little
sun.cpu.isalist = amd64
sun.desktop = windows
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = org.jboss.modules.Main -mp C:/dev/jboss-as-7.1.1.Final/modules -jaxpmodule javax.xml.jaxp-provider -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -b localhost --server-config=standalone.xml -Djboss.server.base.dir=C:\dev\jboss-as-7.1.1.Final\standalone
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = Cp1252
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level =
sun.rmi.dgc.client.gcInterval = 3600000
sun.rmi.dgc.server.gcInterval = 3600000
user.country = DE
user.dir = C:\dev\jboss-as-7.1.1.Final\bin
user.home = C:\Users\Christian
user.language = de
user.name = Christian
user.script =
user.timezone = Europe/Berlin
user.variant =
17:23:24,008 DEBUG [org.jboss.as.config] VM Arguments: -Dprogram.name=JBossTools: JBoss AS 7.1 -Xms64m -Xmx512m -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=C:/dev/jboss-as-7.1.1.Final/standalone/log/boot.log -Dlogging.configuration=file:/C:/dev/jboss-as-7.1.1.Final/standalone/configuration/logging.properties -Djboss.home.dir=C:/dev/jboss-as-7.1.1.Final -Djboss.bind.address.management=localhost -Dfile.encoding=Cp1252

这是 eclipse 错误:

Server JBoss AS 7.1 was unable to start within 30 seconds. If the server requires more time, try increasing the timeout in the server editor.

但我认为这与启动超时无关。最初是500左右。我也遇到了同样的错误。

最佳答案

AccordingTomaz Cerar ,WildFly 和 JBoss EAP 的开发者:

There have been some changes in JDK8 that prevent AS7 and current version of EAP6 to start under JDK8.

We have many JDK8 related fixes in WildFly so I would recommend you to use that. As for EAP goes, the start up on JDK8 is fixed in upcoming 6.2 release.

...

AS7.1.1 wont start on JDK8.

另外,使用JDK 8JBoss AS 7.1不允许启动的问题可以参见here .

为了使用JDK 8is advisable升级到 Wildfly 8.2.0.Final

关于java - 无法启动 JBoss 7.1.1 Final,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35394901/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com