0

I have an application deployed on Tomee which is hosting lots of web services which are written using Jersey framework.

How to identify how many web-services(URLs) are hosted by the application and what is the class having the source code?

I have gone through below article but it gives the list of hosted applications instead of giving list of web-services under one application. List deployed webapps in Apache Tomcat

Olaf Kock
  • 46,930
  • 8
  • 59
  • 90
Prasad Jadhav
  • 5,090
  • 16
  • 62
  • 80
  • Note sure if you are searching for a specific view on this but the "CxfRsHttpListener" actually lists all deployed application endpoints with path and method on startup (server.log). – Kekzpanda Oct 31 '22 at 15:07

1 Answers1

0

If you want an easy way to list these out visually, start up the application locally. Next launch jconsole and connect to the TomEE JVM.

You can then browse the CXF JMX Beans in the tree and you'll be able to find all the deployed endpoints.

I think Kekzpanda's comment is a great method to do this as well: in the startup log TomEE will list all of the deployed endpoints the Path to each.

Jonathan S. Fisher
  • 8,189
  • 6
  • 46
  • 84