[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1650) Need EL-replacement within @RemoteBinding.clientBindUrl so connect addresses are not hardcoded

Bryant Bunderson (JIRA) jira-events at lists.jboss.org
Wed Aug 19 22:52:26 EDT 2009


    [ https://jira.jboss.org/jira/browse/EJBTHREE-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12481859#action_12481859 ] 

Bryant Bunderson commented on EJBTHREE-1650:
--------------------------------------------

Andrew,

Do I have to hardcode the clientBindUrl parameter into the RemoteBinding() annotation?

This doesn't work:
@RemoteBinding(clientBindUrl = "sslsocket://127.0.0.1:3843", jndiBinding="MessageServiceEJB/secure")

and this doesn't work either:
@RemoteBinding(clientBindUrl = "sslsocket://0.0.0.0:3843", jndiBinding="MessageServiceEJB/secure")

and of course this doesn't work:
@RemoteBinding(clientBindUrl = "sslsocket://${jboss.bind.address}:3843", jndiBinding="MessageServiceEJB/secure")

This does works but isn't what I need:
@RemoteBinding(clientBindUrl = "sslsocket://tommyboy:3843", jndiBinding="MessageServiceEJB/secure")

Hardcoding the clientBindUrl will make it just about impossible to deploy my app. Any suggestions?

Thanks,
Bryant

> Need EL-replacement within @RemoteBinding.clientBindUrl so connect addresses are not hardcoded
> ----------------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-1650
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1650
>             Project: EJB 3.0
>          Issue Type: Feature Request
>         Environment: CentOS release 5 (Final)
>            Reporter: amar slimane
>            Assignee: Andrew Lee Rubinger
>
> With JBoss5.0.0.Beta4, it's possible to specify 'jboss.bind.address' as a remoting binding with setting 'clientBindUrl' to 0.0.0.0  :
> @RemoteBindings({
>   @RemoteBinding( clientBindUrl="socket://3873:",       jndiBinding = "jndiBind1") ,
>   @RemoteBinding( clientBindUrl="sslsocket://3843:",  jndiBinding = "jndiBind2") ,
>   @RemoteBinding( clientBindUrl="https://0.0.0.0:8443/servlet-invoker/SSLServerInvokerServlet",  jndiBinding = "jndiBind3") ,
> })
> This don't work with JBoss5.0.0.GA and  it's impossible to have multiple remoting binds  for an EJB.
> It's critical for our application and we don't know if there is a workaround.
> This issue is  probably relative to https://jira.jboss.org/jira/browse/EJBTHREE-1610

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list