Bugs item #856973, was opened at 2003-12-09 08:35
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=856973&group_id=22866

Category: JBossServer
Group: v3.2
Status: Closed
Resolution: Works For Me
Priority: 5
Submitted By: Jean-Claude (jcrouvi)
Assigned to: Scott M Stark (starksm)
Summary: binding management + jnpPort + rmiPort

Initial Comment:
Please see :
http://www.jboss.org/thread.jsp?forum=63&thread=43140

Hi,
Why is the following feature not implemented ? It could
be very helpful :

File:
varia/src/main/org/jboss/services/binding/AttributeMappingDelegate.java

Version:
@version $Revision: 1.3.2.3 $

Lines : [65-70]
      // Only the first binding is used as only one
(host,port) pair is mapped
      ServiceBinding[] bindings = config.getBindings();
      if( bindings != null && bindings.length > 0 )
      {
         int port = bindings[0].getPort();

Is it sure, that only one pair (host,port) is mapped?
I have tried to configure the jnpPort and the rmiPort
and it is not possible.

Best Regards
Jean-Claude

----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2003-12-09 11:22

Message:
Logged In: YES 
user_id=175228

The failure was fixed in the 3.2.3 release.

----------------------------------------------------------------------

Comment By: Jean-Claude (jcrouvi)
Date: 2003-12-09 11:08

Message:
Logged In: YES 
user_id=387780

I am using 
JBoss 3.2.2 (build: CVSTag=JBoss_3_2_2 date=200310182216)

The problem is :
In my file "binding-service.xml" I have the following config.:
<service-config name="jboss:service=Naming"
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
>
<delegate-config portName="RmiPort"/>
<binding port="11098" />

<delegate-config portName="Port"/>
<binding port="11099" />
</service-config>

If "RmiPort" comes first, the rmiPort is changed.
If "Port" comes first, the jnpPort is changed.
BUT IT'S NOT possible to change the two ports.

Your suggestion doesn't work:
see attached file, search for the string:
13:52:15,515 WARN

In the file "server.log", the port are bound as follows (not
what I will, rmiPort still =0):
2003-12-09 13:52:17,000 INFO 
[org.jboss.naming.NamingService] Started jnpPort=1099,
rmiPort=0, backlog=50, bindAddress=null, Client
SocketFactory=null, Server
[EMAIL PROTECTED]

Please check the sources as suggested in the first message.

Thank you.

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2003-12-09 10:17

Message:
Logged In: YES 
user_id=175228

You can specify multiple ports using:

<service-config name="jboss:service=Naming"
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
>
      <delegate-config portName="Port" hostName="BindAddress">
            <attribute name="RmiPort">1098</attribute>
      </delegate-config>
      <binding port="1099" />
</service-config>


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=856973&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to