[ 
https://issues.apache.org/jira/browse/TUSCANY-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luciano Resende resolved TUSCANY-3260.
--------------------------------------

    Resolution: Fixed

Fixed in 1.5.1 by rfeng and merged to 1.x.

> CORBA Extension test to ensure ORB is stopped fails in recent SUN JDK 6_014
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-3260
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3260
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Misc Binding Extensions
>    Affects Versions: Java-SCA-1.5.1, Java-SCA-Next
>         Environment: General linux env, SUN JDK 6_14 and up (tested with
> General MAC OS with latest Java Update
>            Reporter: Luciano Resende
>            Priority: Blocker
>             Fix For: Java-SCA-1.5.1, Java-SCA-Next
>
>
> There seems to be a regression in JDK 6_14 and up where they tried to fix ORB 
> destroy bug (see java bug 6725987), but ended up getting things worst thus 
> our CORBA extension fails to close the ORB. 
> Also see http://java.sun.com/javase/6/webnotes/6u14.html
> I'm not sure on what to do here, as the current workaround we have to 
> explicit close the acceptors from TransportManager is not working
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 0.782 sec <<< 
> FAILURE!
> test_ensureORBStopped(org.apache.tuscany.sca.host.corba.testing.DefaultCorbaHostTestCase)
>   Time elapsed: 0.515 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: null
>       at junit.framework.Assert.fail(Assert.java:47)
>       at junit.framework.Assert.fail(Assert.java:53)
>       at 
> org.apache.tuscany.sca.host.corba.testing.DefaultCorbaHostTestCase.test_ensureORBStopped(DefaultCorbaHostTestCase.java:240)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>       at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>       at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
>       at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>       at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>       at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>       at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>       at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>       at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>       at 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>       at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>       at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>       at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> Results :
> Failed tests: 
>   
> test_ensureORBStopped(org.apache.tuscany.sca.host.corba.testing.DefaultCorbaHostTestCase)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to