How to check if the mws initialized correctly (in UNIX)

Hi

I am migrating webMethods from 9.7 to 10.1 and after running the migration utility I am running ./mws/sh -s <instance_name> init.
Its showing me this log-

wrapper  | Shutdown failed: Timed out waiting for signal from JVM.
wrapper  | JVM did not exit on request, termination requested.
wrapper  | JVM received a signal SIGKILL (9).
wrapper  | JVM process is gone.
wrapper  | JVM exited after being requested to terminate.
wrapper  | <-- Wrapper Stopped 

I want to check if it initialized or not, to move to next steps in migration. Or any advice what should I do.
I already deleted the migrated instance and ran the migration again.

Any help is appreciated.

Hi,

was the database schema migrated before starting the migration of MWS?

Additionally you should have a look at the Upgrade Guide for instructions how to upgrade mws correctly.

Regards,
Holger

Yes the database was configured, and I am following the guide.

but the mws init is not completing successfully

Regards
Shubham

Hi,

I think it should be mws upgrade instead of mws init.
init will initialize a new instance of mws which is not the wanted way when migrating an existing one.
Or just use the provided migration script located under MWS/bin/migrate folder.
This should convert the deployed objects to the new versions.

Regards,
Holger

Hi,

If the migration of Database and MWS migration is successful using Migration utility or if it is completed without any errors, then the migration is successful.

Regarding ./mws.sh -s <instance_name> init.

This will initialize the instance using the init command.
The first initialization of a new My webMethods Server instance takes several
minutes to complete. After the first initialization, the server automatically shuts down

Note: To check if Initialization is successfully completed, check MWS log file initialized successfully and give’s url details

In order to start server just navigate to MWS instance bin and call ./mws.sh after initialization is completed.

Please refer the following doc: https://techcommunity.softwareag.com/ecosystem/documentation/webmethods/mywebmethods_server/mws10-3/10-3_Administering_My_Webmethods_Server.pdf