From the course: Java EE 8: Web Services

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Logging and monitoring in JAX-RS and JAX-WS

Logging and monitoring in JAX-RS and JAX-WS - Java EE Tutorial

From the course: Java EE 8: Web Services

Start my 1-month free trial

Logging and monitoring in JAX-RS and JAX-WS

- [Instructor] So you've built a fancy web service that's the envy of your friends, and a terror to your enemies. Now if only you could see all the requests and responses hitting your web service's requests, payloads, headers, everything. JAX-RS and JAX-WS both ship with a bunch of easy to enable logging and monitoring utilities that make those tasks a breeze. In this video, I'll show you how to use some of those tools to get maximum visibility into what transpires in your Java EE Web Services. Now heads up, there's a problem with logging in Eclipse using the Payara or GlassFish application servers. See, due to some expired SSL certs that apparently ship with the GlassFish and hence Payara app servers, Eclipse will refuse to log any output coming from the server log file for only those two application servers. So looking at the console here, you see here where it says, severe, this SSL certificate has expired, and so forth,…

Contents