5 Replies Latest reply on Apr 30, 2009 3:00 AM by jaikiran

    Jboss RMI port

    kumar24saurabh

      hi,

      can anyone help me regarding RMI port issues which I am facing in
      JBOSS version jboss-eap-4.3.0.GA.
      I am uable to get what is the RMI port. I have entry like the below in
      port-binding.xml.
      <service-config name="jboss:service=Naming"

      delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
      >
      <delegate-config portName="Port" hostName="BindAddress">
      58013
      </delegate-config>

      </service-config>

      I am confused which one is RMI port. When I telnet my machine with
      port 58013 it is successful but with 58014, it shows some stub issues.
      One more query, where does it takes the value of jboss.bind.address.
      Please help me.

      Saurabh

        • 1. Re: Jboss RMI port
          jaikiran

          58014 is the (JNDI) naming port. What do you need out of these ports? Where are you trying to use them?

          • 2. Re: Jboss RMI port
            kumar24saurabh

            i am trying my application to talk to the JBOSS by using the below jnp://:58014
            but we are unabe to do this.

            <service-config name="jboss:service=Naming"
            delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
            >
            <delegate-config portName="Port" hostName="BindAddress">
            58013
            </delegate-config>

            </service-config>

            So we can say that these entries match attribute 58013 to value 58014. And we should use 58014 to connect to application. Any insights on the place from where the value jboss.bind.address is being picked?

            • 3. Re: Jboss RMI port
              jaikiran

              The jboss.bind.address corresponds to what you pass as the -b option. By default all services in JBoss-4.2.x are bound to localhost, which means these services cannot be looked up remotely. See this http://www.jboss.org/community/docs/DOC-10179

              How do you start the server, what command do you use? Can you post the last few lines that you see on the console like these:

              14:51:47,276 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
              14:51:47,290 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
              14:51:47,302 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 13s:813ms


              While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.


              • 4. Re: Jboss RMI port
                kumar24saurabh

                These are the last lines.To startup we have our own script which does not specify the address anywhere. From where does it pick this value? We are able to browse through our application but when we want other application to talk to this application, we face the issue.

                <2009-04-29 00:28:58,338> <INFO> <org.apache.coyote.http11.Http11Protocol> - <Starting Coyote HTTP/1.1 on http-0.0.0.0-58010>
                <2009-04-29 00:28:58,387> <INFO> <org.apache.coyote.ajp.AjpProtocol> - <Starting Coyote AJP/1.3 on ajp-0.0.0.0-57939>
                


                • 5. Re: Jboss RMI port
                  jaikiran

                  Looking at the 0.0.0.0 in the logs, i believe you should be able to access the services remotely. So can you post the code that you are using and also the entire exception stacktrace? And is this piece of code run from the same machine where the server is running? And are there any firewalls that might be blocking the request?