user5182503
user5182503

Reputation:

What is the right way to restart GlassFish 4?

When I need to restart GF 4.0 I do

asadmin restart-domain

However, if there is running code at this time, for example if someone started database transaction and did half of this transaction? Will GF wait until all running threads finish their job?

Upvotes: 2

Views: 424

Answers (1)

Adam Erstelle
Adam Erstelle

Reputation: 2513

Yes, if you gracefully shut down glassfish (using asadmin executed graceful commands), it will wait for all current requests to finish as well as prevent new requests.

Upvotes: 2

Related Questions