-
1. Re: Jboss RMI port
jaikiran Apr 30, 2009 2:18 AM (in response to kumar24saurabh)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 Apr 30, 2009 2:32 AM (in response to 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 Apr 30, 2009 2:47 AM (in response to kumar24saurabh)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 Apr 30, 2009 2:56 AM (in response to 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 Apr 30, 2009 3:00 AM (in response to kumar24saurabh)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?