During Geronimo startup we print out all of the URLs for the web applications that are started. For example:

  Web Applications:
    http://127.0.0.1:8080/
    http://127.0.0.1:8080/admin
    http://127.0.0.1:8080/none

I'm working with the customer that is creating multiple connectors. They are questioning why the URLs only display for one of the connectors (and it appears to be random which connector is used).

Is there a reason that we don't show the context path listed under each possible connector?

StartupMonitorUtil currently queries each web module GBean for a "URLFor" attribute which is implemented in either TomcatWebAppContext or JettyWebAppContext depending upon the container. In that code we currently prefer to return the first connector that supports the HTTP protocol. If none are present we then prefer the HTTPS and finally AJP. However, we only return one URL for this query.

Would it be helpful if I add a new collection attribute (URLsFor?) and query this attribute during startup so that we can print all possible URLs for the application or do you think this would be confusing?

Joe


--
Joe Bohn
joe.bohn at earthlink.net

"He is no fool who gives what he cannot keep, to gain what he cannot lose." -- Jim Elliot

Reply via email to