Hey Chad,

I changed the syntax to:

@ControlExtension
@EJBHome(jndiName="com com.server.MyServiceBeanRemoteHome")
@JNDIContextEnv(
        contextFactory="weblogic.jndi.WLInitialContextFactory",
        providerURL="t3://localhost:7001",
        principal="weblogic",
        credentials="weblogic")


Seems to work perfect this way.  Not sure why or what the other syntax is
for.  Basically, I was getting a malformed URL exception.

No idea.

Tim
-----Original Message-----
From: Chad Schoettger [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 05, 2007 10:18 PM
To: Beehive Users
Subject: Re: EJB Remote Lookup

Hi Tim,

What error do you receive for the case that fails? Is it a JNDI name
not found exception?

 - Chad

On 1/5/07, Timothy J Brown <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
> I am trying to consume a remote ejb that is running on WLS 9.2 using the
> SessionEJBControl control.  According to the docs, the syntax using
> jndi://.. Should work as the following code snippet shows.
>
>
>
> @ControlExtension
>
> //@EJBHome(jndiName = "com.server.MyServiceBeanRemoteHome") //
<<<<--------
> This works
>
>
@EJBHome(jndiName="jndi://weblogic:[EMAIL PROTECTED]:7001/com.server.MyServ
> iceBeanRemoteHome") // <<<<---- This fails
>
> public interface MyServiceBeanControl extends ...
>
>
>
>
>
> However, this fails.  Obviously, I am missing something.  What is the
> correct syntax for a remote session bean?
>
>
>
> Thanks,
>
>
>
> Tim
>
>
>


Reply via email to