Problem:
- Product Name: BES
- Product Version: 6.5
- Product Component: Security
- Platform/OS Version: any
In our development environment we our experiencing a situation that we cannot explain. When trying to bind to a locally deployed PaymentProcessor EJB we are receiving the following CORBA exception:
org.omg.CORBA.INV_OBJREF: vmcid: 0x0 minor code: 0 completed: No
at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:72)
at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:172)
at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:274)
at com.inprise.vbroker.orb.DelegateImpl.bind(DelegateImpl.java:232)
at com.inprise.vbroker.CORBA.portable.ObjectImpl._bind(ObjectImpl.java:62)
at com.inprise.vbroker.orb.ORB.bind(ORB.java:1752)
at xx.xxxx.payment.PaymentProcessorHomeHelper.bind(PaymentProcessorHomeHelper.java:58)
at xx.xxxx.payment.PaymentProcessorHomeHelper.bind(PaymentProcessorHomeHelper.java:48)
at TestEJBConnection.payment(TestEJBConnection.java:144)
at TestEJBConnection.main(TestEJBConnection.java:65)
The PaymentProcessor is a stateless EJB that we have built using JBuilder. As a sanity check we have also built and deployed to the same configuration and partition the \\examples\\ejb\\basic\\cart example. We are able to successfully connect to this sample using the same method.
For both EJBs/components:
1) They are reported when using osfind.
2) We are using the reported OBJECT NAME in our bind calls.
Given that the exception is happening on the bind calls and not on the create() method calls I am at a loss as to the explanation.
Resolution:
The INV_OBJREF exception is because the client has not enabled security (vbroker.security.disable=false). This is because the EJB application is secure and unsecure client cannot communicate with the server application.
#Security
#EJB
#VisiBroker