Home > Back-end >  Wildfly server installation problem
Wildfly server installation problem

Time:12-27

The following problems when starting JBOSS bosses solve

Calling "C: \ Program Files \ wildfly - 10.1.0 Final \ bin \ standalone conf. Bat"
Setting the JAVA property to "C: \ Program Files \ JAVA \ (x86) jdk1.8.0 _74 \ bin \ JAVA"
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: "C: \ Program Files \ wildfly - 10.1.0 Final"

JAVA: "C: \ Program Files \ JAVA \ (x86) jdk1.8.0 _74 \ bin \ JAVA"

JAVA_OPTS: - Dprogram. Name="standalone. The bat - Xms64M - Xmx512M - XX: MetaspaceSize=96 m - XX: MaxMetaspaceSize=256 m - Djava.net.preferIPv4Stack=true - Djboss modules. System. PKGS=org. Jboss. Byteman"

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

Java. Lang. IllegalArgumentException: Failed to instantiate the class "org. Jboss. That the logmanager. Handlers. PeriodicRotatingFileHandler" for handler "FILE"
The at org. Jboss. That the logmanager. Config. AbstractPropertyConfiguration $ConstructAction. Validate (AbstractPropertyConfiguration. Java: 116)
The at org. Jboss. That the logmanager. Config. LogContextConfigurationImpl. DoPrepare (LogContextConfigurationImpl. Java: 335)
The at org. Jboss. That the logmanager. Config. LogContextConfigurationImpl. Prepare (LogContextConfigurationImpl. Java: 288)
At MIT (297) LogContextConfigurationImpl. Java: org.jboss.logmanager.config.LogContextConfigurationImpl.com
The at org. Jboss. That the logmanager. PropertyConfigurator. Configure (PropertyConfigurator. Java: 546)
The at org. Jboss. That the logmanager. PropertyConfigurator. Configure (PropertyConfigurator. Java: 97)
The at org. Jboss. That the logmanager. That the logmanager. ReadConfiguration (514) that the logmanager. Java:
The at org. Jboss. That the logmanager. That the logmanager. ReadConfiguration (476) that the logmanager. Java:
The at Java. Util. Logging. That the LogManager $3. The run (399) that the LogManager. Java:
The at Java. Util. Logging. That the LogManager $3. The run (396) that the LogManager. Java:
The at Java. Security. The AccessController. DoPrivileged (Native Method)
The at Java. Util. Logging. That the LogManager. ReadPrimordialConfiguration (396) that the LogManager. Java:
The at Java. Util. Logging. That the LogManager. Access the $800 (145) that the LogManager. Java:
The at Java. Util. Logging. That the LogManager $2. The run (345) that the LogManager. Java:
The at Java. Security. The AccessController. DoPrivileged (Native Method)
The at Java. Util. Logging. That the LogManager. EnsureLogManagerInitialized (338) that the LogManager. Java:
The at Java. Util. Logging. That the LogManager. GetLogManager (378) that the LogManager. Java:
The at org. Jboss. Modules. The Main. The Main (480). The Main Java:
Under Caused by: Java. Lang. Reflect. InvocationTargetException
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance0 (Native Method)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance (NativeConstructorAccessorImpl. Java: 62)
At sun. Reflect. DelegatingConstructorAccessorImpl. NewInstance (DelegatingConstructorAccessorImpl. Java: 45)
The at Java. Lang. Reflect. Constructor. NewInstance (423) Constructor. Java:
The at org. Jboss. That the logmanager. Config. AbstractPropertyConfiguration $ConstructAction. Validate (AbstractPropertyConfiguration. Java: 114)
. 17 more
Under Caused by: Java. IO. FileNotFoundException: C: \ Program Files \ wildfly - 10.1.0. Final, standalone, log, server log (system could not find the path, refers to the fixed)
The at Java. IO. FileOutputStream. Open0 (Native Method)
The at Java. IO. FileOutputStream. Open (FileOutputStream. Java: 270)
The at Java. IO. FileOutputStream. & lt; init> (FileOutputStream. Java: 213)
The at org. Jboss. That the logmanager. Handlers. FileHandler. SetFile (FileHandler. Java: 151)
The at org. Jboss. That the logmanager. Handlers. PeriodicRotatingFileHandler. SetFile (PeriodicRotatingFileHandler. Java: 108)
The at org. Jboss. That the logmanager. Handlers. FileHandler. SetFileName (FileHandler. Java: 189)
The at org. Jboss. That the logmanager. Handlers. FileHandler. & lt; init> (FileHandler. Java: 119)
The at org. Jboss. That the logmanager. Handlers. PeriodicRotatingFileHandler. & lt; init> (PeriodicRotatingFileHandler. Java: 76)
. 22 more
Java. Lang. An IllegalStateException: WFLYSRV0124: Could not create server data directory: C: \ Program Files \ wildfly - 10.1.0 Final \ standalone \ data
The at org. Jboss. As. Server. ServerEnvironment. & lt; init> (ServerEnvironment. Java: 473)
The at org. Jboss. As. Server. Main. DetermineEnvironment (297). The Main Java:
The at org. Jboss. As. Server. Main. The Main (94). The Main Java:
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org. Jboss. Modules. The Module. The run (330) Module. Java:
The at org. Jboss. Modules. The Main. The Main (505). The Main Java:
Please press any key to continue...

CodePudding user response:

Has been solved,,

CodePudding user response:

How to solve?

CodePudding user response:

Do not put in the C: \ Program Files \, this directory have write access control, such as can't create the log file
  • Related