[jboss-jira] [JBoss JIRA] Commented: (JBAS-4655) HandleImplIIOP not retrieving EJBObject correctly
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Fri Aug 31 11:32:18 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4655?page=comments#action_12374797 ]
Adrian Brock commented on JBAS-4655:
------------------------------------
The reason why the test is failing is because HandleImplIIOP is doing
PortableRemoteObject.narrow(CorbaORB.getInstance().string_to_object(ior), EJBObject.class);
PortableRemoteObject.narrow()
tests whether the object implements the class
if it does not, it "generates" the stub from the passed class.
In jacorb's case, string.to_object(ior) returns an org.jacorb.orb.Reference
> HandleImplIIOP not retrieving EJBObject correctly
> -------------------------------------------------
>
> Key: JBAS-4655
> URL: http://jira.jboss.com/jira/browse/JBAS-4655
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: IIOP service
> Affects Versions: JBossAS-4.2.1.GA
> Reporter: Adrian Brock
> Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA
>
>
> The IIOP tests in JBoss Head are failing because the
> HandleImplIIOP.getEJBObject()
> is returning a stub only for EJBObject and not for the business interface.
> The test should also be failing in jboss-4.2 but the test isn't failing because
> it is using commit option A and thus not reloading from the database.
> I'm going to change the bankiiop stress test in jboss-4.2 to use "instance per transaction" to show the problem.
--
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