Hi,
I am facing an issue while calling EJB. But I got below exception couple of times. Can you let me know the issue ? please help.
org.springframework.remoting.RemoteAccessException : Could not access remote service [commented out]; nested exception is java.rmi.RemoteException: CORBA NO_IMPLEMENT 0x49421042 No; nested exception is:
org.omg.CORBA.NO_IMPLEMENT:
>> SERVER (id=11c328fe, host=commented out) TRACE START:
>> org.omg.CORBA.NO_IMPLEMENT: No Cluster Data Available vmcid: 0x49421000 minor code: 42 completed: No
>> at com.ibm.ws.cluster.router.selection.WLMLSDRouter.s elect(WLMLSDRouter.java:295)
>> at com.ibm.ws.cluster.propagation.ServerClusterContex tListenerImpl.forwardRequest(ServerClusterContextL istenerImpl.java:625)
>> at com.ibm.ws.cluster.propagation.ServerClusterContex tListenerImpl.validateRequest(ServerClusterContext ListenerImpl.java:669)
>> at com.ibm.ws.wlm.server.WLMServerRequestInterceptor. notifyValidationListeners(WLMServerRequestIntercep tor.java:317)
>> at com.ibm.ws.wlm.server.WLMServerRequestInterceptor. receive_request_service_contexts(WLMServerRequestI nterceptor.java:206)
>> at com.ibm.rmi.pi.InterceptorManager.invokeIntercepto r(InterceptorManager.java:621)
>> at com.ibm.rmi.pi.InterceptorManager.iterateServerInt erceptors(InterceptorManager.java:528)
>> at com.ibm.rmi.pi.InterceptorManager.iterateReceiveCo ntext(InterceptorManager.java:746)
>> at com.ibm.rmi.iiop.ServerRequestImpl.runInterceptors (ServerRequestImpl.java:157)
>> at com.ibm.rmi.iiop.Connection.respondTo(Connection.j ava:2788)
>> at com.ibm.rmi.iiop.Connection.doWork(Connection.java :2714)
>> at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl. java:63)
>> at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.ja va:118)
>> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1563)
>> SERVER (id=11c328fe, host=commented out) TRACE END.
vmcid: 0x49421000 minor code: 42 completed: No
Below is the code.Hope this helps.
Environment:Code:<bean id="integrationProxy" class="org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean"> <property name="jndiName"> <value>ejb/addressdetails</value> </property> <property name="businessInterface"> <value>com.business.integration.ejb.Integration</value> </property> <property name="jndiTemplate"> <ref bean="jndiTemplate" /> </property> <property name="lookupHomeOnStartup" value="false"/> </bean> Integration integration = (Integration) ContextHolder.getInstance().getBean(Constants.INTEGRATION_PROXY); if(null != AddressDetailsDto) logger.info("AddressDetailsDto -- >"+AddressDetailsDto .toString()); else logger.info("AddressDetailsDto is null-- >"+AddressDetailsDto ); try { logger.info("AddressIntegrationBean From Spring Context"+integration); boolean status = integration.updateAddressDetails(AddressDetailsDto ); logger.info("updateInformation updating system "+status); } catch (RemoteException e) { logger.error(e); //This throws the exception mentioned above }
WAS 7.0
spring-2.0.7


Reply With Quote