gpt4 book ai didi

java - jboss-as-7.1.1.Final 启动问题

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

我收到 JBAS015956:引导期间捕获异常:java.lang.IllegalStateException:JBAS014643:引导时无法删除/usr/share/jboss-as/standalone/configuration/standalone_xml_history/20130730-193027234/standalone.v1.xml Jboss AS服务器7.1.1.Final

谁能帮帮忙。以下是堆栈跟踪。

03:38:19,564 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting   Naming Service
03:38:19,779 INFO [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
03:38:19,900 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]
03:38:19,945 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA
03:38:20,354 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
03:38:21,385 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--0.0.0.0-8080
03:38:21,928 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /0.0.0.0:4447
03:38:21,933 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /0.0.0.0:9999
03:38:22,041 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /usr/share/jboss-as/standalone/deployments
03:38:22,056 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found tradecraftesb-1.0.0.war in deployment directory. To trigger deployment create a file called tradecraftesb-1.0.0.war.dodeploy
03:38:22,507 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
03:38:22,560 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: java.lang.IllegalStateException: JBAS014643: Could not delete /usr/share/jboss-as/standalone/configuration/standalone_xml_history/20130730-193027234/standalone.v1.xml
at org.jboss.as.controller.persistence.ConfigurationFile.deleteRecursive(ConfigurationFile.java:441) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.persistence.ConfigurationFile.deleteRecursive(ConfigurationFile.java:437) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.persistence.ConfigurationFile.createHistoryDirectory(ConfigurationFile.java:422) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.persistence.ConfigurationFile.successfulBoot(ConfigurationFile.java:273) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.successfulBoot(BackupXmlConfigurationPersister.java:65) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractControllerService.finishBoot(AbstractControllerService.java:195) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:268) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

03:38:22,573 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

提前致谢

最佳答案

这看起来像是权限问题。

请检查/usr/share/jboss-as/standalone/configuration/standalone_xml_history 文件夹的权限,该文件夹似乎不可写。

要解决此问题,请运行以下命令更改该文件夹的权限,然后尝试重新启动 Jboss。

sudo chmod +w usr/share/jboss-as/standalone/configuration/standalone_xml_history

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

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