[JBoss JIRA] (JBTM-1818) JacORBGenericRecoveryCreatorUnitTest fails as implname property has not been set
by Tom Jenkinson (JIRA)
Tom Jenkinson created JBTM-1818:
-----------------------------------
Summary: JacORBGenericRecoveryCreatorUnitTest fails as implname property has not been set
Key: JBTM-1818
URL: https://issues.jboss.org/browse/JBTM-1818
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JTS, Testing
Reporter: Tom Jenkinson
Assignee: Tom Jenkinson
Fix For: 5.0.0.M4
Moving the class seems to have made the test fail due to the following warning:
144 [main] ERROR jacorb.poa - Cannot create a persistent poa. The implname property has not been set.
Jul 02, 2013 9:46:53 PM com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.JacOrbRCServiceInit getRCPOA
WARN: ARJUNA022081: Failed to create poa for recoverycoordinators
org.omg.PortableServer.POAPackage.InvalidPolicy: IDL:omg.org/PortableServer/POA/InvalidPolicy:1.0
at org.jacorb.poa.POA.create_POA(Unknown Source)
I have looked in the code and there is an @BeforeClass @AfterClass pair ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/recovery/RecoveryEnablementUnitTest.java which set this property. This does not operate as the author expected. The property is indeed set before TestBase has chance to initialize the orb, however the class is not unloaded by JUnit until after the run, hence why the order of when JacORBGenericRecoveryCreatorUnitTest is ran is important. Presumably before it was being run after RecoveryEnablementUnitTest, whereas now it is before.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBTM-1814) Clean up idlj building
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1814?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris commented on JBTM-1814:
---------------------------------------
Idlj profile can be enabled with -Didlj-enabled. Jacorb profile can be disabled with -Djacorb-disabled.
> Clean up idlj building
> ----------------------
>
> Key: JBTM-1814
> URL: https://issues.jboss.org/browse/JBTM-1814
> Project: JBoss Transaction Manager
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Build System, JTS
> Affects Versions: 5.0.0.M3
> Reporter: Mark Little
> Assignee: Gytis Trikleris
> Fix For: 5.0.0.M4
>
>
> We shouldn't be building JacORB if someone only wants the idlj build. Plus we should ensure that JacORB specific tests do not run if we do not build JacORB (and vice versa).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBTM-1816) JavaIDL test wrongly excluded?
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1816?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-1816:
----------------------------------
Fix Version/s: 5.0.0.M4
> JavaIDL test wrongly excluded?
> ------------------------------
>
> Key: JBTM-1816
> URL: https://issues.jboss.org/browse/JBTM-1816
> Project: JBoss Transaction Manager
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Build System, JTS, Testing
> Affects Versions: 5.0.0.M3
> Reporter: Mark Little
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.0.0.M4
>
>
> In the JTS pom.xml within the IDLJ excludes section there is:
> <exclude>**/JavaIdlRecoveryUnitTest.java</exclude>
> Surely we shouldn't be excluding JavaIdl tests in the JavaIdl run? Should this refer to the JacORB tests instead?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months