[jboss-jira] [JBoss JIRA] Commented: (JBAS-4015) failing org.jboss.test.invokers.test.MultiInvokersUnitTestCase
Tom Elrod (JIRA)
jira-events at lists.jboss.org
Mon Feb 12 10:34:30 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-4015?page=comments#action_12352859 ]
Tom Elrod commented on JBAS-4015:
----------------------------------
A while back, ClientContainer and ClientContainerEx (which extends ClientContainer and implements IClientContainer) were broken out. So in order to get a client proxy that exposes IClientContainer, have to include the following flag in xml declaration for invoker proxy binding:
<client-interceptors exposeContainer="true">
which was not being done for the BusinessSession bean.
> failing org.jboss.test.invokers.test.MultiInvokersUnitTestCase
> --------------------------------------------------------------
>
> Key: JBAS-4015
> URL: http://jira.jboss.com/jira/browse/JBAS-4015
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Environment: Java Version 1.5.0_10
> Java Vendor Sun Microsystems Inc.
> Java VM Name Java HotSpot(TM) Server VM
> Java VM Version 1.5.0_10-b03
> Java VM Info mixed mode
> OS Name Linux
> OS Version 2.6.9-42.0.2.ELsmp
> OS Arch i386
> Reporter: Dimitris Andreadis
> Assigned To: Tom Elrod
> Priority: Critical
> Fix For: JBossAS-4.2.0.CR1
>
>
> Testsuite: org.jboss.test.invokers.test.MultiInvokersUnitTestCase
> Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 3.915 sec
> Testcase: testMultiInvokers took 1.222 sec
> Testcase: testClientContainer took 0.14 sec
> Caused an ERROR
> $Proxy7
> java.lang.ClassCastException: $Proxy7
> at org.jboss.test.invokers.test.MultiInvokersUnitTestCase.testClientContainer(MultiInvokersUnitTestCase.java:103)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list