Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Jetty equivalent of tomcat admin/manager webapp

Tags:

jetty

New to jetty and issue a basic $ mvn:jetty run to start my .war application.

However, I want to see the actual application name and endpoints exposed.

I'm used to using tomcat manager to see a list of running applications and endpoints within the browser. Is there a jetty equivalent to localhost:8080/manager?

like image 983
genxgeek Avatar asked Oct 01 '13 17:10

genxgeek


1 Answers

There is no admin console or admin webapp for Jetty.

But, if you have JMX enabled on the server side, you can use any JMX console to see this information. (such as jconsole from the Java runtime)

You can also have the server dump its configuration state on startup by setting the following System property:

-Djava.dump.start=true

You can even use your JMX console to issue the server configuration dump. To do this, startup jconsole, goto the MBean at the ObjectName of org.eclipse.jetty.server:type=server,id=0 and trigger one of the dump operations.

like image 142
Joakim Erdfelt Avatar answered Jan 01 '23 13:01

Joakim Erdfelt