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


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.


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.


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

but the mws init is not completing successfully



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.



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 ./ -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 ./ after initialization is completed.

Please refer the following doc: