[JBoss JIRA] (WFLY-11803) Capabilities registered when the model is being populated are not recorded in the Galleon feature-spec
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-11803?page=com.atlassian.jira.plugin... ]
Brian Stansberry commented on WFLY-11803:
-----------------------------------------
This is not a bug. Feature specs are part of the feature pack and there is no effective model in a feature pack. A feature pack include features, feature-groups and layers, all of which are possible elements in an effective model, but there's no way to know which the user will use in their config. And it's certainly possible that different features, feature-groups and layers in a feature pack will use different config values, so even trying to use those somehow, there is no 'correct' value for the feature pack.
> Capabilities registered when the model is being populated are not recorded in the Galleon feature-spec
> ------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11803
> URL: https://issues.jboss.org/browse/WFLY-11803
> Project: WildFly
> Issue Type: Bug
> Reporter: Yeray Borges
> Assignee: Yeray Borges
> Priority: Major
>
> Specifically, capabilities registered in recordCapabilitiesAndRequirements are not recorded in the Galleon feature-specs.
> The reason is Galleon generates the feature specs using the metamodel instead of the effective model. The metamodel is the resource definitions and the effective model is the current configuration created once the model is populated with all the attribute values.
> recordCapabilitiesAndRequirements is executed when the model is populated, then, capabilities defined there are not exposed in the Galleon feature-specs.
> The goal here is to identify which capabilities are affected and rework them, for example moving them to the resource definition itself, to allow Galleon to record them in the feature-specs.
> Some capabilities could require a different work if they cannot be moved out from recordCapabilitiesAndRequirements.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (WFLY-11815) Wildfly 14, Java.nio.file.AccessDeniedException Issue
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-11815?page=com.atlassian.jira.plugin... ]
Brian Stansberry commented on WFLY-11815:
-----------------------------------------
I'm going to move this to the JBoss Modules JIRA as an Enhancement. They can determine there if trying to configure filtering is meant to avoid this kind of problem (in which case it's a Bug) or they can decide if they will consider the RFE.
> Wildfly 14, Java.nio.file.AccessDeniedException Issue
> -----------------------------------------------------
>
> Key: WFLY-11815
> URL: https://issues.jboss.org/browse/WFLY-11815
> Project: WildFly
> Issue Type: Enhancement
> Reporter: Jijo Nemera
> Assignee: Brian Stansberry
> Priority: Major
>
> Wildfly 14
> Java version: Java 8
> relates to: https://developer.jboss.org/message/987731#987731
> I create a custom module for Wildfly configuration and I am having hard time starting service. The issue is when the module is loaded and initialized I get an exception Java.nio.file.AccessDeniedException message. The reason is in the Resource-root directory there are some files(owned by root, with 700 file restriction) which are restricted to other user. I tried to add a filter to skip this file from being red, apparently the filters didn’t work, because the exception is being thrown before the filters are even applied. This class is where the module is loaded and initialized.(https://github.com/jboss-modules/jboss-modules/blob/1.x/src/... (line 194) in this method it has the resource root and filter definitions from the XML – it applies the path filter in line 200, unfortunately the exception occurs in line 199 which performs a walk around of the folder tree pointed by the resource root.
> Exception stacktrace from the log file
> -------------------------------------------------
> {code}
> 2019-01-22 12:10:47,293 TRACE [org.jboss.modules] (Thread-2 (ActiveMQ-client-global-threads)) Loading class org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXARecoveryLogger_$logger locally from Module "org.apache.activemq.artemis" version 2.6.3.jbossorg-001 from local module loader @26653222 (finder: local module finder @3532ec19 (roots: /opt/Infor/Wildfly14/modules,/opt/Infor/Wildfly14/modules/system/layers/base,/tspenv1/gen,/tspenv1/law))
> 2019-01-22 12:10:47,294 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "cluster-services.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.cluster-services.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.cluster-services.ear.services-cluster.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear.services-cluster.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
> }}
> 2019-01-22 12:10:47,295 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "IOS-ws.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.IOS-ws.ear.services-ejb.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.IOS-ws.ear\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.IOS-ws.ear.services-ejb3.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb3.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.IOS-ws.ear.IOS.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
> }}
> 2019-01-22 12:10:47,296 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "business.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.business.ear.bpm.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.business.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.business.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
> }}
> 2019-01-22 12:10:47,298 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "security.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.security.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.security.ear.sso.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.security.ear.rmwebapp.war\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear.rmwebapp.war
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.security.ear.scwebapp.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.security.ear.ssoconfig.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (WFLY-11815) Wildfly 14, Java.nio.file.AccessDeniedException Issue
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-11815?page=com.atlassian.jira.plugin... ]
Brian Stansberry updated WFLY-11815:
------------------------------------
Issue Type: Enhancement (was: Feature Request)
> Wildfly 14, Java.nio.file.AccessDeniedException Issue
> -----------------------------------------------------
>
> Key: WFLY-11815
> URL: https://issues.jboss.org/browse/WFLY-11815
> Project: WildFly
> Issue Type: Enhancement
> Reporter: Jijo Nemera
> Assignee: Brian Stansberry
> Priority: Major
>
> Wildfly 14
> Java version: Java 8
> relates to: https://developer.jboss.org/message/987731#987731
> I create a custom module for Wildfly configuration and I am having hard time starting service. The issue is when the module is loaded and initialized I get an exception Java.nio.file.AccessDeniedException message. The reason is in the Resource-root directory there are some files(owned by root, with 700 file restriction) which are restricted to other user. I tried to add a filter to skip this file from being red, apparently the filters didn’t work, because the exception is being thrown before the filters are even applied. This class is where the module is loaded and initialized.(https://github.com/jboss-modules/jboss-modules/blob/1.x/src/... (line 194) in this method it has the resource root and filter definitions from the XML – it applies the path filter in line 200, unfortunately the exception occurs in line 199 which performs a walk around of the folder tree pointed by the resource root.
> Exception stacktrace from the log file
> -------------------------------------------------
> {code}
> 2019-01-22 12:10:47,293 TRACE [org.jboss.modules] (Thread-2 (ActiveMQ-client-global-threads)) Loading class org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXARecoveryLogger_$logger locally from Module "org.apache.activemq.artemis" version 2.6.3.jbossorg-001 from local module loader @26653222 (finder: local module finder @3532ec19 (roots: /opt/Infor/Wildfly14/modules,/opt/Infor/Wildfly14/modules/system/layers/base,/tspenv1/gen,/tspenv1/law))
> 2019-01-22 12:10:47,294 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "cluster-services.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.cluster-services.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.cluster-services.ear.services-cluster.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear.services-cluster.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
> }}
> 2019-01-22 12:10:47,295 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "IOS-ws.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.IOS-ws.ear.services-ejb.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.IOS-ws.ear\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.IOS-ws.ear.services-ejb3.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb3.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.IOS-ws.ear.IOS.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
> }}
> 2019-01-22 12:10:47,296 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "business.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.business.ear.bpm.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.business.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.business.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
> }}
> 2019-01-22 12:10:47,298 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "security.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.security.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.security.ear.sso.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.security.ear.rmwebapp.war\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear.rmwebapp.war
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.security.ear.scwebapp.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.security.ear.ssoconfig.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (WFLY-11815) Wildfly 14, Java.nio.file.AccessDeniedException Issue
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-11815?page=com.atlassian.jira.plugin... ]
Brian Stansberry updated WFLY-11815:
------------------------------------
Description:
Wildfly 14
Java version: Java 8
relates to: https://developer.jboss.org/message/987731#987731
I create a custom module for Wildfly configuration and I am having hard time starting service. The issue is when the module is loaded and initialized I get an exception Java.nio.file.AccessDeniedException message. The reason is in the Resource-root directory there are some files(owned by root, with 700 file restriction) which are restricted to other user. I tried to add a filter to skip this file from being red, apparently the filters didn’t work, because the exception is being thrown before the filters are even applied. This class is where the module is loaded and initialized.(https://github.com/jboss-modules/jboss-modules/blob/1.x/src/... (line 194) in this method it has the resource root and filter definitions from the XML – it applies the path filter in line 200, unfortunately the exception occurs in line 199 which performs a walk around of the folder tree pointed by the resource root.
Exception stacktrace from the log file
-------------------------------------------------
{code}
2019-01-22 12:10:47,293 TRACE [org.jboss.modules] (Thread-2 (ActiveMQ-client-global-threads)) Loading class org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXARecoveryLogger_$logger locally from Module "org.apache.activemq.artemis" version 2.6.3.jbossorg-001 from local module loader @26653222 (finder: local module finder @3532ec19 (roots: /opt/Infor/Wildfly14/modules,/opt/Infor/Wildfly14/modules/system/layers/base,/tspenv1/gen,/tspenv1/law))
2019-01-22 12:10:47,294 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "cluster-services.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.module.service.\"deployment.cluster-services.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.cluster-services.ear.services-cluster.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear.services-cluster.jar
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
}}
2019-01-22 12:10:47,295 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "IOS-ws.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.module.service.\"deployment.IOS-ws.ear.services-ejb.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb.jar
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.IOS-ws.ear\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
"jboss.module.service.\"deployment.IOS-ws.ear.services-ejb3.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb3.jar
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.IOS-ws.ear.IOS.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
}}
2019-01-22 12:10:47,296 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "business.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.module.service.\"deployment.business.ear.bpm.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
"jboss.module.service.\"deployment.business.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.business.ear
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
}}
2019-01-22 12:10:47,298 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "security.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.module.service.\"deployment.security.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.security.ear.sso.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
"jboss.module.service.\"deployment.security.ear.rmwebapp.war\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear.rmwebapp.war
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.security.ear.scwebapp.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
"jboss.module.service.\"deployment.security.ear.ssoconfig.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
{code}
was:
Wildfly 14
Java version: Java 8
relates to: https://developer.jboss.org/message/987731#987731
I create a custom module for Wildfly configuration and I am having hard time starting service. The issue is when the module is loaded and initialized I get an exception Java.nio.file.AccessDeniedException message. The reason is in the Resource-root directory there are some files(owned by root, with 700 file restriction) which are restricted to other user. I tried to add a filter to skip this file from being red, apparently the filters didn’t work, because the exception is being thrown before the filters are even applied. This class is where the module is loaded and initialized.(https://github.com/jboss-modules/jboss-modules/blob/1.x/src/... (line 194) in this method it has the resource root and filter definitions from the XML – it applies the path filter in line 200, unfortunately the exception occurs in line 199 which performs a walk around of the folder tree pointed by the resource root.
Exception stacktrace from the log file
-------------------------------------------------
2019-01-22 12:10:47,293 TRACE [org.jboss.modules] (Thread-2 (ActiveMQ-client-global-threads)) Loading class org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXARecoveryLogger_$logger locally from Module "org.apache.activemq.artemis" version 2.6.3.jbossorg-001 from local module loader @26653222 (finder: local module finder @3532ec19 (roots: /opt/Infor/Wildfly14/modules,/opt/Infor/Wildfly14/modules/system/layers/base,/tspenv1/gen,/tspenv1/law))
2019-01-22 12:10:47,294 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "cluster-services.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.module.service.\"deployment.cluster-services.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.cluster-services.ear.services-cluster.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear.services-cluster.jar
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
}}
2019-01-22 12:10:47,295 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "IOS-ws.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.module.service.\"deployment.IOS-ws.ear.services-ejb.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb.jar
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.IOS-ws.ear\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
"jboss.module.service.\"deployment.IOS-ws.ear.services-ejb3.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb3.jar
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.IOS-ws.ear.IOS.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
}}
2019-01-22 12:10:47,296 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "business.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.module.service.\"deployment.business.ear.bpm.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
"jboss.module.service.\"deployment.business.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.business.ear
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
}}
2019-01-22 12:10:47,298 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "security.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.module.service.\"deployment.security.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.security.ear.sso.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
"jboss.module.service.\"deployment.security.ear.rmwebapp.war\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear.rmwebapp.war
Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
"jboss.module.service.\"deployment.security.ear.scwebapp.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
"jboss.module.service.\"deployment.security.ear.ssoconfig.war\".main" => "Failed to start service
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
> Wildfly 14, Java.nio.file.AccessDeniedException Issue
> -----------------------------------------------------
>
> Key: WFLY-11815
> URL: https://issues.jboss.org/browse/WFLY-11815
> Project: WildFly
> Issue Type: Feature Request
> Reporter: Jijo Nemera
> Assignee: Brian Stansberry
> Priority: Major
>
> Wildfly 14
> Java version: Java 8
> relates to: https://developer.jboss.org/message/987731#987731
> I create a custom module for Wildfly configuration and I am having hard time starting service. The issue is when the module is loaded and initialized I get an exception Java.nio.file.AccessDeniedException message. The reason is in the Resource-root directory there are some files(owned by root, with 700 file restriction) which are restricted to other user. I tried to add a filter to skip this file from being red, apparently the filters didn’t work, because the exception is being thrown before the filters are even applied. This class is where the module is loaded and initialized.(https://github.com/jboss-modules/jboss-modules/blob/1.x/src/... (line 194) in this method it has the resource root and filter definitions from the XML – it applies the path filter in line 200, unfortunately the exception occurs in line 199 which performs a walk around of the folder tree pointed by the resource root.
> Exception stacktrace from the log file
> -------------------------------------------------
> {code}
> 2019-01-22 12:10:47,293 TRACE [org.jboss.modules] (Thread-2 (ActiveMQ-client-global-threads)) Loading class org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXARecoveryLogger_$logger locally from Module "org.apache.activemq.artemis" version 2.6.3.jbossorg-001 from local module loader @26653222 (finder: local module finder @3532ec19 (roots: /opt/Infor/Wildfly14/modules,/opt/Infor/Wildfly14/modules/system/layers/base,/tspenv1/gen,/tspenv1/law))
> 2019-01-22 12:10:47,294 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "cluster-services.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.cluster-services.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.cluster-services.ear.services-cluster.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.cluster-services.ear.services-cluster.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
> }}
> 2019-01-22 12:10:47,295 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "IOS-ws.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.IOS-ws.ear.services-ejb.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.IOS-ws.ear\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.IOS-ws.ear.services-ejb3.jar\".main" => "WFLYSRV0179: Failed to load module: deployment.IOS-ws.ear.services-ejb3.jar
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.IOS-ws.ear.IOS.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
> }}
> 2019-01-22 12:10:47,296 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "business.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.business.ear.bpm.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.business.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.business.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf"
> }}
> 2019-01-22 12:10:47,298 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "security.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
> "jboss.module.service.\"deployment.security.ear\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.security.ear.sso.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.security.ear.rmwebapp.war\".main" => "WFLYSRV0179: Failed to load module: deployment.security.ear.rmwebapp.war
> Caused by: org.jboss.modules.ModuleNotFoundException: system.module:lsf",
> "jboss.module.service.\"deployment.security.ear.scwebapp.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup",
> "jboss.module.service.\"deployment.security.ear.ssoconfig.war\".main" => "Failed to start service
> Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup
> Caused by: java.nio.file.AccessDeniedException: /tspenv1/law/system/module/lsf/../../backup"
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (WFLY-11818) wildfly-16.0.0.Final: "From address" is no more used as default from in email
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-11818?page=com.atlassian.jira.plugin... ]
Brian Stansberry commented on WFLY-11818:
-----------------------------------------
What does the mail subsystem config from your xml look like? The QS does not configure the 'from' attribute you mention in the JIRA description.
https://raw.githubusercontent.com/wildfly/quickstart/master/mail/configur...
So unless you are configuring it some other way the description of that attribute doesn't matter.
I haven't walked through the whole call stack of Transport.send(message) but I'm not sure Message.setFrom() is necessarily invoked. So the javadoc of what it does may not matter.
Do you have a stack trace for the SMTPSendFailedException?
> wildfly-16.0.0.Final: "From address" is no more used as default from in email
> -----------------------------------------------------------------------------
>
> Key: WFLY-11818
> URL: https://issues.jboss.org/browse/WFLY-11818
> Project: WildFly
> Issue Type: Bug
> Components: Mail
> Affects Versions: 16.0.0.Final
> Environment: mvn -v
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
> Maven home: /apps/apache-maven-3.6.0
> Java version: 11.0.2, vendor: Oracle Corporation, runtime: /usr/java/jdk-11.0.2
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "4.12.14-lp150.12.48-default", arch: "amd64", family: "unix"
> Reporter: Wolfgang Mayer
> Assignee: Tomaz Cerar
> Priority: Major
>
> As mentioned in the Help (description) of 'Mail Session' configuration:
> From: *From address that is used as default from, if not set when sending*
> Apparently this is not the case anymore in wildfly-16.0.0.Final.
> For example I made a test with quickstart-16.0/mail/.
> When omitting the line
> *message.setFrom(new InternetAddress(from));*
> Sending mail fails with:
> com.sun.mail.smtp.SMTPSendFailedException: 554-Transaction failed
> 554 Unauthorized sender address.
> I have the same issue when replacing the line above with
> message.setFrom(new InternetAddress());
> I am pretty sure that this is working in wildfly-15
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months