简体   繁体   English

启动 Wildfly 10.0.0.Final 时出错

[英]Error starting Wildfly 10.0.0.Final

I haven't been able to find a specific answer to what could be causing this issue though I am hoping it is something quite simple.尽管我希望这很简单,但我无法找到可能导致此问题的具体答案。

Issue .问题 I have installed version 10.0.0.Final from the Wildfly website and extracted into C:\\Program Files\\wildfly-10.0.0.Final.我已经安装的版本10.0.0.Final从Wildfly网站和提取到C:\\ Program Files文件\\ wildfly-10.0.0.Final。

I then navigate to C:\\Program Files\\wildfly-10.0.0.Final\\bin directory via windows command prompt and execute the standalone.bat command.然后我通过 Windows 命令提示符导航到 C:\\Program Files\\wildfly-10.0.0.Final\\bin 目录并执行 standalone.bat 命令。

Wildfly doesn't start and I get the following exception: Wildfly 未启动,出现以下异常:

java.lang.IllegalArgumentException: Failed to instantiate class "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for handler "FILE"

If anyone has encountered this error message before, then your guidance would be greatly appreciated.如果有人之前遇到过此错误消息,那么您的指导将不胜感激。

Thanks!谢谢!

Ben

The error appears to be a result of either file permissions on the JBoss home directory, lack of space available, or a missing directory.该错误似乎是由于 JBoss 主目录上的文件权限、可用空间不足或目录丢失所致。

Relevant posts include:相关帖子包括:

Starting WildFly 8.2 under a user with limited permissions 在具有有限权限的用户下启动 WildFly 8.2

Which suggests setting the JBOSS_BASE_DIR property to the root folder of the JBoss installation.这建议将 JBOSS_BASE_DIR 属性设置为 JBoss 安装的根文件夹。

https://github.com/jboss-dockerfiles/wildfly/issues/24 https://github.com/jboss-dockerfiles/wildfly/issues/24

Suggests this can occur if the root folder does not have enough space allocated for the user (typically running in Unix environments).如果根文件夹没有为用户分配足够的空间(通常在 Unix 环境中运行),则可能会发生这种情况。

Error in starting Wildfly 8.0 server with JDK 1.8 使用 JDK 1.8 启动 Wildfly 8.0 服务器时出错

The logs/boot.log didn't exist.日志/boot.log 不存在。 The author manually created the file which then revealed a permission issue on the log file (more likely on the entire Jboss installation folder).作者手动创建了该文件,然后在日志文件(更有可能在整个 Jboss 安装文件夹中)发现了权限问题。

The issue was caused due to the command prompt.该问题是由命令提示符引起的。 As I am using windows 10, I needed to be using Command Prompt (Admin),rather than just the normal cmd hence the permission issues alluded to previously by pczeus.当我使用 Windows 10 时,我需要使用命令提示符(管理员),而不仅仅是普通的 cmd,因此之前 pczeus 提到了权限问题。

After using Command Prompt (Admin), I was able to start the server.使用命令提示符(管理员)后,我能够启动服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM