You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <ji...@apache.org> on 2007/04/24 18:28:15 UTC

[jira] Created: (BEEHIVE-1192) EJB system control's programmer's guide incorrectly references a 'jndi:' protocol

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: 1.0.2, 1.0.1, 1.0, v1m1
            Reporter: Chad Schoettger
         Assigned To: Chad Schoettger
             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:password@host: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.


[jira] Closed: (BEEHIVE-1192) EJB system control's programmer's guide incorrectly references a 'jndi:' protocol

Posted by "Jacob Danner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BEEHIVE-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner closed BEEHIVE-1192.
---------------------------------


http://svn.apache.org/viewvc/beehive/trunk/docs/forrest/src/documentation/content/xdocs/system-controls/ejb/guide.xml?r1=372327&r2=505085&diff_format=h

Viewed svn diff to verify changes. This should suffice until a new release is published to the web site and the docs get updated.

> 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
>            Assignee: 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:password@host: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.


[jira] Commented: (BEEHIVE-1192) EJB system control's programmer's guide incorrectly references a 'jndi:' protocol

Posted by "Jacob Danner (JIRA)" <ji...@apache.org>.
    [ 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:password@host: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.


[jira] Resolved: (BEEHIVE-1192) EJB system control's programmer's guide incorrectly references a 'jndi:' protocol

Posted by "Chad Schoettger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BEEHIVE-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chad Schoettger resolved BEEHIVE-1192.
--------------------------------------

    Resolution: Fixed
      Assignee: Jacob Danner  (was: Chad Schoettger)

The doc has been updated 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. 

> 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:password@host: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.