[ 
https://issues.apache.org/jira/browse/BEEHIVE-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491364
 ] 

Jacob Danner commented on BEEHIVE-1192:
---------------------------------------

I was able to get this to work on a WLS 9.2 server -> to an WLW 8.1.x EJB using 
annotations like the following:

@ControlExtension
@EJBControl.EJBHome(jndiName = "ejb21.EchoSessionRemoteHome")
@EJBControl.JNDIContextEnv(contextFactory="weblogic.jndi.WLInitialContextFactory",
        providerURL="t3://81xhost:7001",
        principal="weblogic",
        credentials="weblogic")

I've got some code I'm working on now to show this scenario on JBoss. I'll post 
that once its completed.


> EJB system control's programmer's guide incorrectly references a 'jndi:' 
> protocol
> ---------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1192
>                 URL: https://issues.apache.org/jira/browse/BEEHIVE-1192
>             Project: Beehive
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: v1m1, 1.0, 1.0.1, 1.0.2
>            Reporter: Chad Schoettger
>         Assigned To: Jacob Danner
>             Fix For: V.Next
>
>
> The EJB System control's documentation incorrectly references a 'jndi:' 
> protocol when discussing how the @EJBHome's jndiName attribute can be set.  
> Beehive does not have a 'jndi' protocol handler and cannot support this.  
> Below is the offending text:
> Accessing EJBs on a Different Server
> You can access EJBs on a different server with an EJB control, provided the 
> server hosting the EJB control and the server to which the target EJB is 
> deployed are in the same domain. You access EJBs on a different server by 
> using special JNDI syntax in the EJBHome annotation's jndiName attribute.
> For example:
>                 @EJBHome(jndiName="jndi://username:[EMAIL 
> PROTECTED]:7001/my.resource.jndi.object")
>             
> You can also use environment properties to specify configuration information, 
> such as:
>                 
> @EJBHome(jndiName="jndi://host:7001/MyEJBHome?SECURITY_PRINCIPAL=me&SECURITY_CREDENTIALS=passwd")
> The doc needs to be udpated to remove the reference to the 'jndi' protocol.
> The proper way to achieve this behavior is to use the EJB control's 
> JNDIContextEnv annotation to specifcy the security settings.
>             

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to