[JBoss JIRA] Created: (AS7-856) Replace -DskipTests=true with -DallTests
by Thomas Diesler (JIRA)
Replace -DskipTests=true with -DallTests
----------------------------------------
Key: AS7-856
URL: https://issues.jboss.org/browse/AS7-856
Project: Application Server 7
Issue Type: Task
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: 7.0.0.CR1
Using skipTests as a flag has a negative side effect such that you cannot do
> mvn -Dtest=SomeTestCase test
in an integration module any more. Instead you have to do
> mvn -DskipTests=false -Dtest=SomeTestCase test
This is non-intuitive and non-standard. Instead I propose to use an
alternate switch like 'allTests' to turn on profiles which run the
complete set of tests. IMHO its ok to exclude entire (testsuite) modules
from the build (i.e. not to compile the tests) because compilation
errors show up in the IDE and Hudson anyway.
I propose
1) By default, all normal modules and testsuite/smoke will be built in
the standard way
(i.e. failing tests will fail the build)
2) By adding -DskipTests=true tests that would normally be executed are skipped
3) By adding -DallTests all modules that contain tests will be executed. In Hudson you could add -fae
which fails the build at the end - so catch all failing tests in a single run
It boils down to whether you want to compile tests that you don't want to execute.
IMHO that's not necessary in day to day work - Hudson can catch this.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (AS7-964) NPE when JCA subsystem parses XML
by Heiko Braun (JIRA)
NPE when JCA subsystem parses XML
---------------------------------
Key: AS7-964
URL: https://issues.jboss.org/browse/AS7-964
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, JCA
Reporter: Heiko Braun
Assignee: Stefano Maestri
Priority: Blocker
Fix For: 7.0.0.CR1
Clean build. Boot domain mode. Shutdown server and boot again.
You'll see:
[Host Controller] Caused by: java.lang.NullPointerException
[Host Controller] at org.jboss.staxmapper.FormattingXMLStreamWriter.writeEndElement(FormattingXMLStreamWriter.java:191) [staxmapper-1.0.0.Beta4.jar:]
[Host Controller] at org.jboss.as.connector.subsystems.jca.JcaExtension$NewConnectorSubsystemParser.writeDefaultWorkManager(JcaExtension.java:193)
[Host Controller] at org.jboss.as.connector.subsystems.jca.JcaExtension$NewConnectorSubsystemParser.writeContent(JcaExtension.java:143)
[Host Controller] at org.jboss.as.connector.subsystems.jca.JcaExtension$NewConnectorSubsystemParser.writeContent(JcaExtension.java:130)
[Host Controller] at org.jboss.as.controller.parsing.DomainXml.writeProfile(DomainXml.java:498) [jboss-as-controller-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
[Host Controller] at org.jboss.as.controller.parsing.DomainXml.writeContent(DomainXml.java:110) [jboss-as-controller-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
[Host Controller] at org.jboss.as.controller.parsing.DomainXml.writeContent(DomainXml.java:79) [jboss-as-controller-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
[Host Controller] at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:78) [staxmapper-1.0.0.Beta4.jar:]
[Host Controller] at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:73) [staxmapper-1.0.0.Beta4.jar:]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (AS7-971) RECOVERLUGIN_CLASSNAME and RECOVERLUGIN_PROPERTIES have same value
by Alexey Loubyansky (JIRA)
RECOVERLUGIN_CLASSNAME and RECOVERLUGIN_PROPERTIES have same value
------------------------------------------------------------------
Key: AS7-971
URL: https://issues.jboss.org/browse/AS7-971
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: 7.0.0.Beta3
Reporter: Alexey Loubyansky
Assignee: Stefano Maestri
package org.jboss.as.connector.subsystems.datasources;
/**
* @author @author <a href="mailto:stefano.maestri@redhat.com">Stefano
* Maestri</a>
*/
class Constants {
static final String RECOVERLUGIN_CLASSNAME = "recovery-plugin-properties";
static final String RECOVERLUGIN_PROPERTIES = "recovery-plugin-properties";
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (AS7-891) Failed to enable datasource ("generate more then one cf")
by Heiko Braun (JIRA)
Failed to enable datasource ("generate more then one cf")
---------------------------------------------------------
Key: AS7-891
URL: https://issues.jboss.org/browse/AS7-891
Project: Application Server 7
Issue Type: Bug
Components: JCA
Reporter: Heiko Braun
Assignee: Stefano Maestri
Fix For: 7.0.0.CR1
18:40:07,600 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.data-source.java:/H2DS: org.jboss.msc.service.StartException in service jboss.data-source.java:/H2DS: Error during the deployment of java:/H2DS
at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.start(AbstractDataSourceService.java:113)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
Caused by: org.jboss.msc.service.StartException in anonymous service: unable to start the ds because it generate more than one cf
at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.start(AbstractDataSourceService.java:108)
... 4 more
18:40:07,603 INFO [org.jboss.as.server] (MSC service thread 1-2) Service status report
Services which failed to start:
service jboss.data-source.java:/H2DS: org.jboss.msc.service.StartException in service jboss.data-source.java:/H2DS: Error during the deployment of java:/H2DS
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month