Problem with remote EJB call with Spring

Asked

Viewed 23 times

0

am having a problem with an RMI call where I call a remote ejb from a jar. When debugging I get the following error:

"Failed to locate remote EJB [Cell/persistent/ejb/br/com/X/XX/XXX/model/payment/ejb/Xxxxsessionfacadehome]"

The class mapping is as follows by appcontext(I’m using spring), apparently the ejb home path is correct.

    <jee:remote-slsb id="XXXXSessionFacade" 
          business-interface="br.com.X.XX.XXX.model.pagamento.ejb.XXXXSessionFacade" 
          home-interface="br.com.X.XX.XXX.model.pagamento.ejb.XXXXSessionFacadeHome"
          cache-home="true" 
          lookup-home-on-startup="false" 
          jndi-name="cell/persistent/ejb/br/com/X/XX/XXX/model/pagamento/ejb/XXXXSessionFacadeHome"
          resource-ref="false">
    </jee:remote-slsb>

The jar is also in the build path and declared on the application server.

1 answer

1

The application on my machine is using Tomcat 7 and it does not implement the Java EE specification, so I was unable to run the Ejbs. Changing the application server probably solves the problem, the configuration I’m using is for Websphere.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.