[JBoss JIRA] (AS7-5259) DataSourceOperationsUnitTestCase fails with db other then h2
by Honza Brázdil (JIRA)
Honza Brázdil created AS7-5259:
----------------------------------
Summary: DataSourceOperationsUnitTestCase fails with db other then h2
Key: AS7-5259
URL: https://issues.jboss.org/browse/AS7-5259
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.1.2.Final (EAP)
Reporter: Honza Brázdil
Assignee: Stefano Maestri
Tests in DataSourceOperationsUnitTestCase fails if run with other database then h2 (-Dds=...). The test should be independent on the ExampleDS datasource.
{code}
$ mvn install -Dds=mysql51 -rf testsuite/integration/smoke
...
Results :
Tests in error:
testSendWithTxCommit(org.jboss.as.test.smoke.stilts.SimpleStompletTestCase): Connection timed out.
testAddDsAndTestConnection(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testAddDisabledDsEnableItAndTestConnection(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testAddDsWithConnectionProperties(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testAddAndRemoveSameName(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testAddAndRemoveNameAndJndiNameDifferent(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testAddAndRemoveXaDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testMarshallUnmarshallXaDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
disableAndReEnableXaDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testAddXaDsWithProperties(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testAddComplexDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testAddComplexXaDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testXaDsWithSystemProperties(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
testDsWithSystemProperties(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS014803: Duplicate resource [(\"system-property\" => \"sql.parameter\")]"
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] (AS7-5331) @Resource UserTransaction should not be allowed in CMT beans
by Dominik Pospisil (JIRA)
Dominik Pospisil created AS7-5331:
-------------------------------------
Summary: @Resource UserTransaction should not be allowed in CMT beans
Key: AS7-5331
URL: https://issues.jboss.org/browse/AS7-5331
Project: Application Server 7
Issue Type: Bug
Components: EJB, Transactions
Affects Versions: 7.1.2.Final (EAP)
Reporter: Dominik Pospisil
Assignee: jaikiran pai
Currently, it seems then @Resource UserTransaction injection is allowed in CMT beans and injects
container managed transaction. In AS/EAP5 this would throw an exception which I think is correct as
this violates EJB 3.0 & 3.1 specs.
Section 16.12 of the EJB 3.1 specification says:
The container must make the UserTransaction interface available to the enterprise beans that are
allowed to use this interface (only session and message-driven beans with bean-managed transaction
demarcation are allowed to use this interface) either through injection using the Resource annotation
or in JNDI under the name java:comp/UserTransaction, in addition to through the EJBContext
interface. The authenticationType and shareable elements of the Resource annotation
must not be specified.
In my interpretation the statement "only session and message-driven beans with bean-managed transaction
demarcation are allowed to use this interface" would mean that other beans are prohibited to use this
interface. Allowing such beans to use this interface is specification violation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] (AS7-5332) vault util requests a URL but expects an absolute path.
by Darran Lofthouse (JIRA)
Darran Lofthouse created AS7-5332:
-------------------------------------
Summary: vault util requests a URL but expects an absolute path.
Key: AS7-5332
URL: https://issues.jboss.org/browse/AS7-5332
Project: Application Server 7
Issue Type: Bug
Components: Security
Affects Versions: 7.1.2.Final (EAP)
Reporter: Darran Lofthouse
Assignee: Anil Saldhana
The vault utility asks for a URL to the keystore but then treats it as an absolute path: -
{code}
Enter Keystore URL:file:///home/darranl/tmp/vault/vault.keystore
Enter Keystore password:
Enter Keystore password again:
Values match
Enter 8 character salt:abcdefgh
Enter iteration count as a number (Eg: 44):13
Exception encountered:Keystore [file:///home/darranl/tmp/vault/vault.keystore] doesn't exist.
{code}
Also is there really a need to take the password twice? That is normally used on setting a new password to ensure it is set correctly, in this case the password could easily be verified against the keystore.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months