You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Daniel Destro <da...@gmail.com> on 2006/04/25 16:47:13 UTC
Retrieve Port Number
This is a little off-topic.
I am using a ServletContextListener to register my WSDD automatically when
the web context is created.
But I have to configure the host:port of the server to be able to register
it. As I don“t want to have to inform the host and port number, to avoid
problems when deploying the same EAR/WAR at any other app server, I would
like to retrieve the port number used at runtime.
I am currently using JBoss 3.2.3.
Does anyone have any idea on how to discover the port number used by
JBoss/Tomcat?
Thanks