[JBoss JIRA] (WFCORE-1128) Improve the subsystem test schema test coverage
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1128?page=com.atlassian.jira.plugi... ]
Kabir Khan updated WFCORE-1128:
-------------------------------
Issue Type: Bug (was: Feature Request)
> Improve the subsystem test schema test coverage
> -----------------------------------------------
>
> Key: WFCORE-1128
> URL: https://issues.jboss.org/browse/WFCORE-1128
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.0.1.Final
> Reporter: Kabir Khan
> Assignee: Brian Stansberry
> Fix For: 2.0.2.Final (EAP 7)
>
>
> Currently the way to enable the AbstractSubsystemBaseTest testSchema() and testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and getSubsystemTemplatePaths().
> Rather than making it explicit to turn on, it should be explicit to turn off.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFCORE-991) Starting server with config that doesn't end with .xml fails
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-991?page=com.atlassian.jira.plugin... ]
Brian Stansberry updated WFCORE-991:
------------------------------------
Component/s: Domain Management
> Starting server with config that doesn't end with .xml fails
> ------------------------------------------------------------
>
> Key: WFCORE-991
> URL: https://issues.jboss.org/browse/WFCORE-991
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Ken Wills
> Assignee: Ken Wills
>
> [copy standalone.xml to test in the standalone/config directory]
> ./build/target/wildfly-core-2.0.0.CR2-SNAPSHOT/bin/standalone.sh --server-config=test
> =========================================================================
> JBoss Bootstrap Environment
> JBOSS_HOME: /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.CR2-SNAPSHOT
> JAVA: java
> JAVA_OPTS: -server -Xms64m -Xmx512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
> =========================================================================
> 01:19:50,510 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.4.Final
> 01:19:50,654 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
> 01:19:50,709 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 2.0.0.CR2-SNAPSHOT "Kenny" starting
> 01:19:51,110 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
> 01:19:51,125 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.3.2.Final
> 01:19:51,135 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.3.2.Final
> 01:19:51,161 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.10.Final
> 01:19:51,189 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-8) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
> 01:19:51,264 INFO [stdout] (Controller Boot Thread) XXX historyBase: /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.CR2-SNAPSHOT/standalone/configuration/standalone_xml_history/test
> 01:19:51,265 INFO [stdout] (Controller Boot Thread) XXX lastFile: /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.last.CR2-SNAPSHOT/standalone/configuration/standalone_xml_history/test
> 01:19:51,265 INFO [stdout] (Controller Boot Thread) XXX boot: /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.boot.CR2-SNAPSHOT/standalone/configuration/standalone_xml_history/test
> 01:19:51,265 INFO [stdout] (Controller Boot Thread) XXX initial: /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.initial.CR2-SNAPSHOT/standalone/configuration/standalone_xml_history/test
> 01:19:51,265 INFO [stdout] (Controller Boot Thread) XXX from: /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.CR2-SNAPSHOT/standalone/configuration/test -> /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.initial.CR2-SNAPSHOT/standalone/configuration/standalone_xml_history/test
> 01:19:51,267 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0082: Failed to create backup copies of configuration file /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.CR2-SNAPSHOT/standalone/configuration/test
> at org.jboss.as.controller.persistence.ConfigurationFile.successfulBoot(ConfigurationFile.java:488)
> at org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.successfulBoot(BackupXmlConfigurationPersister.java:94)
> at org.jboss.as.controller.AbstractControllerService.finishBoot(AbstractControllerService.java:449)
> at org.jboss.as.server.ServerService.boot(ServerService.java:367)
> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.nio.file.NoSuchFileException: /home/kwills/git/wildfly-core/build/target/wildfly-core-2.0.0.initial.CR2-SNAPSHOT/standalone/configuration/standalone_xml_history/test
> at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
> at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:243)
> at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
> at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
> at java.nio.file.Files.copy(Files.java:1274)
> at org.jboss.as.controller.persistence.FilePersistenceUtils.copyFile(FilePersistenceUtils.java:73)
> at org.jboss.as.controller.persistence.ConfigurationFile.successfulBoot(ConfigurationFile.java:482)
> ... 5 more
> This is due to ConfiguratioinFile.addSuffixToFile(historyBase, INITIAL) assuming that the right most . is part of a file suffix.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFCORE-1128) Improve the subsystem test schema test coverage
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1128?page=com.atlassian.jira.plugi... ]
Kabir Khan reassigned WFCORE-1128:
----------------------------------
Assignee: Kabir Khan (was: Brian Stansberry)
> Improve the subsystem test schema test coverage
> -----------------------------------------------
>
> Key: WFCORE-1128
> URL: https://issues.jboss.org/browse/WFCORE-1128
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.0.1.Final
> Reporter: Kabir Khan
> Assignee: Kabir Khan
> Fix For: 2.0.2.Final (EAP 7)
>
>
> Currently the way to enable the AbstractSubsystemBaseTest testSchema() and testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and getSubsystemTemplatePaths().
> Rather than making it explicit to turn on, it should be explicit to turn off.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFLY-5658) Improve the subsystem test schema test coverage
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-5658?page=com.atlassian.jira.plugin.... ]
Kabir Khan reassigned WFLY-5658:
--------------------------------
Assignee: Kabir Khan (was: Brian Stansberry)
> Improve the subsystem test schema test coverage
> -----------------------------------------------
>
> Key: WFLY-5658
> URL: https://issues.jboss.org/browse/WFLY-5658
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 10.0.0.CR4
> Reporter: Kabir Khan
> Assignee: Kabir Khan
> Fix For: 10.0.0.Final
>
>
> Currently the way to enable the AbstractSubsystemBaseTest testSchema() and testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and getSubsystemTemplatePaths().
> Rather than making it explicit to turn on, it should be explicit to turn off.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFLY-5658) Improve the subsystem test schema test coverage
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-5658?page=com.atlassian.jira.plugin.... ]
Kabir Khan moved WFCORE-1129 to WFLY-5658:
------------------------------------------
Project: WildFly (was: WildFly Core)
Key: WFLY-5658 (was: WFCORE-1129)
Issue Type: Bug (was: Feature Request)
Component/s: Domain Management
(was: Domain Management)
Affects Version/s: 10.0.0.CR4
(was: 2.0.1.Final)
Fix Version/s: 10.0.0.Final
(was: 2.0.2.Final (EAP 7))
> Improve the subsystem test schema test coverage
> -----------------------------------------------
>
> Key: WFLY-5658
> URL: https://issues.jboss.org/browse/WFLY-5658
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 10.0.0.CR4
> Reporter: Kabir Khan
> Assignee: Brian Stansberry
> Fix For: 10.0.0.Final
>
>
> Currently the way to enable the AbstractSubsystemBaseTest testSchema() and testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and getSubsystemTemplatePaths().
> Rather than making it explicit to turn on, it should be explicit to turn off.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFCORE-1128) Improve the subsystem test schema test coverage
by Kabir Khan (JIRA)
Kabir Khan created WFCORE-1128:
----------------------------------
Summary: Improve the subsystem test schema test coverage
Key: WFCORE-1128
URL: https://issues.jboss.org/browse/WFCORE-1128
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management
Affects Versions: 2.0.1.Final
Reporter: Kabir Khan
Assignee: Brian Stansberry
Fix For: 2.0.2.Final (EAP 7)
Currently the way to enable the AbstractSubsystemBaseTest testSchema() and testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and getSubsystemTemplatePaths().
Rather than making it explicit to turn on, it should be explicit to turn off.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFCORE-1129) Improve the subsystem test schema test coverage
by Kabir Khan (JIRA)
Kabir Khan created WFCORE-1129:
----------------------------------
Summary: Improve the subsystem test schema test coverage
Key: WFCORE-1129
URL: https://issues.jboss.org/browse/WFCORE-1129
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management
Affects Versions: 2.0.1.Final
Reporter: Kabir Khan
Assignee: Brian Stansberry
Fix For: 2.0.2.Final (EAP 7)
Currently the way to enable the AbstractSubsystemBaseTest testSchema() and testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and getSubsystemTemplatePaths().
Rather than making it explicit to turn on, it should be explicit to turn off.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFCORE-1127) SocketBindingManagerImpl$UnnamedRegistryImpl is overly picky about unbound sockets
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-1127:
----------------------------------------
Summary: SocketBindingManagerImpl$UnnamedRegistryImpl is overly picky about unbound sockets
Key: WFCORE-1127
URL: https://issues.jboss.org/browse/WFCORE-1127
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.0.1.Final
Reporter: Brian Stansberry
Assignee: Brian Stansberry
A failure like this isn't necessary:
{code}
08:02:23,475 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.jgroups.channel.ee.connector: org.jboss.msc.service.StartException in service jboss.jgroups.channel.ee.connector: java.lang.IllegalStateException
at org.wildfly.clustering.jgroups.spi.service.ChannelConnectorBuilder.start(ChannelConnectorBuilder.java:96)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException
at org.jboss.as.network.SocketBindingManagerImpl$UnnamedRegistryImpl.unregisterBinding(SocketBindingManagerImpl.java:501)
at org.jboss.as.network.ManagedDatagramSocketBinding.close(ManagedDatagramSocketBinding.java:73)
at org.jboss.as.clustering.jgroups.ManagedSocketFactory.close(ManagedSocketFactory.java:148)
at org.jgroups.protocols.UDP.closeUnicastSocket(UDP.java:577)
at org.jgroups.protocols.UDP.destroySockets(UDP.java:429)
at org.jgroups.protocols.UDP.start(UDP.java:274)
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:965)
at org.jgroups.JChannel.startStack(JChannel.java:890)
at org.jgroups.JChannel._preConnect(JChannel.java:553)
at org.jgroups.JChannel.connect(JChannel.java:288)
at org.jgroups.JChannel.connect(JChannel.java:279)
at org.wildfly.clustering.jgroups.spi.service.ChannelConnectorBuilder.start(ChannelConnectorBuilder.java:94)
... 5 more
{code}
If there's no socket address, it should just move on.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFCORE-995) Add possibility to enable debug mode by setting environment variable in standalone scripts
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFCORE-995?page=com.atlassian.jira.plugin... ]
James Perkins commented on WFCORE-995:
--------------------------------------
{{JAVA_OPTS}} is already an environment variable. I don't see the point of adding an environment variable just to add another environment variable.
> Add possibility to enable debug mode by setting environment variable in standalone scripts
> ------------------------------------------------------------------------------------------
>
> Key: WFCORE-995
> URL: https://issues.jboss.org/browse/WFCORE-995
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Scripts
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
>
> It's common practice in Docker to control image run by configuring environment variables.
> E.g.
> {code:bash}
> docker run -e POSTGRES_PASSWORD=mysecretpassword -d postgres
> {code}
> The Cloud Enablement team adds such a possibility to EAP docker images. They [replaces|https://gitlab.mw.lab.eng.bos.redhat.com/cloudenablement/jboss-d...] initial value of {{DEBUG_MODE}}:
> {code:bash}
> # Enhance standalone.sh to make remote JAVA debugging possible by specifying
> # DEBUG=true environment variable
> sed -i 's|DEBUG_MODE=false|DEBUG_MODE="${DEBUG:-false}"|' $JBOSS_HOME/bin/standalone.sh
> {code}
> It's not a clean solution. This change should be made in original scripts and not on a Dockerfile level.
> Please allow configuring the {{DEBUG_MODE}} from environment variables (in similar as e.g. the {{JAVA_OPTS}} are handled.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months