启动jboss 7.1

时间:2016-08-24 20:01:45

标签: eclipse java-ee jboss

无法在类org.jboss.logmanager.handlers.FileHandler上设置属性fileName:java.lang.reflect.InvocationTargetException     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     在org.jboss.logmanager.PropertyConfigurator.configureProperties(PropertyConfigurator.java:187)     在org.jboss.logmanager.PropertyConfigurator.configureHandler(PropertyConfigurator.java:312)     在org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:128)     在org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:86)     在org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:246)     在org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:231)     在java.util.logging.LogManager $ 3.run(LogManager.java:399)     在java.util.logging.LogManager $ 3.run(LogManager.java:396)     at java.security.AccessController.doPrivileged(Native Method)     在java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:396)     at java.util.logging.LogManager.access $ 800(LogManager.java:145)     在java.util.logging.LogManager $ 2.run(LogManager.java:345)     at java.security.AccessController.doPrivileged(Native Method)     在java.util.logging.LogManager.ensureLogManagerInitialized(LogManager.java:338)     在java.util.logging.LogManager.getLogManager(LogManager.java:378)     在org.jboss.modules.Main.main(Main.java:275) 引起:java.io.FileNotFoundException:C:\ Program Files \ jboss-as-7.1.1.Final \ standalone \ log \ boot.log(Le chemin d'accèsspécifiéestintrouvable)     at java.io.FileOutputStream.open0(Native Method)     在java.io.FileOutputStream.open(FileOutputStream.java:270)     在java.io.FileOutputStream。(FileOutputStream.java:213)     在org.jboss.logmanager.handlers.FileHandler.setFile(FileHandler.java:152)     在org.jboss.logmanager.handlers.FileHandler.setFileName(FileHandler.java:183)     ......还有20个 20:48:27,119 INFOS [org.jboss.modules] JBoss Modules版本1.1.1.GA java.lang.IllegalStateException:JBAS018704:无法创建服务器数据目录:C:\ Program Files \ jboss-as-7.1.1.Final \ standalone \ data     在org.jboss.as.server.ServerEnvironment。(ServerEnvironment.java:388)     在org.jboss.as.server.Main.determineEnvironment(Main.java:242)     在org.jboss.as.server.Main.main(Main.java:83)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     在org.jboss.modules.Module.run(Module.java:260)     在org.jboss.modules.Main.main(Main.java:291) Java HotSpot(TM)64位服务器VM警告:忽略选项MaxPermSize = 256m;支持已在8.0中删除

1 个答案:

答案 0 :(得分:0)

使用Java 1.8无法成功启动JBoss AS 7.1。 here 问题的论坛主题。如果你真的需要使用Java 1.8,请考虑使用WildFly 通过粘贴 C:/

中新的WildFly目录