I think you may need to add username and password.
The values for those annotations should be the same as if you were
doing an InitialContext.lookup of the EJB.
I've gotten this scenario to work on a past project when the control
was on weblogic and the EJB was on Jboss. The only troubles I had were
in getting my security configuration settings correct.
Best of luck,
-jacobd
On 11/20/07, rkrgarlapati <[EMAIL PROTECTED]> wrote:
>
> My application was fully developed in Beehive. Actually it is a migration
> project.
>
> i deployed the business logic on Jboss and presentation logic on Weblogic,
> For reference i have Home and Remote classes in the local side. The
> implementation of Bean placed in Jboss.
> on my idea to invoke the bean method the interpreter appends the "impl"
> string to TLMDAORemote interface and searches for "TLMDAORemoteImpl"
> class, i placed this class in Jboss, but it is searching for this class in
> Weblogic
> I have given the URL as jnp://10.233.39.137, so that it goes there
> and searches for the Bean class.
>
> But its not happening so.
> Requesting to Help me out in achiving my requirement.
>
> @ControlExtension
> @EJBHome(jndiName="TLMDAOBeehive")
> @JNDIContextEnv(contextFactory="org.jnp.interfaces.NamingContextFactory",providerURL="jnp://10.233.39.137")
> public interface TLMDBEJB extends
> TLMDAOHome,TLMDAORemote,SessionEJBControl
> {
> }
>
> @ControlInterface
> public interface TLMDAORemote extends EJBObject
> {
> public java.util.HashMap getDetails(long corrAccNo, long gin) throws
> RemoteException, java.sql.SQLException, java.lang.Exception;
> }
>
> public interface TLMDAOHome extends EJBHome {
> public TLMDAORemote create() throws CreateException, RemoteException;
> }
>
> @ControlImplementation(isTransient=true)
> public class TLMDAORemoteImpl implements SessionBean,TLMDAORemote
> {
> .
> .
> }
>
> For you information, its working fine if all the layers are deployed on the
> same server.
> i.e., in a single .ear file.
> --
> View this message in context:
> http://www.nabble.com/Beehive-EJB-Control-Lookup-problem-tf4845258.html#a13862418
> Sent from the Beehive - User mailing list archive at Nabble.com.
>
>