Software AG My webMethods Server and Messaging Server Realm not Starting

Hi!

My Software AG My webMethods Server and Software AG Universal Messaging.
In Windows OS Services all the above-mentioned services are running.

When I start Software AG My webMethods Server from the WINDOWS tab or Start, JVM commands run in cmd for some time and then disappears.
Meanwhile, Software AG Integration Server is running smoothly.

Screenshots of the above-mentioned problems.

When I start Software AG My webMethods Server from the WINDOWS tab.

When I start Software AG Universal Messaging Realm Server from WINDOWS Tab:

Please help me to solve these problems.

Kind Regards,

Hi,

when the services are already running there is no need to start them manually from the Start menu.
Additionally I cannot see any error messages in your screenshots.

Can you check the MWS/server/default/logs/_full_.log for further informations.
UM should have some log files at similar locations.

If this is not what you were looking for, please provide more detailed description why you think your instances are not starting correctly.

Regards,
Holger

1 Like

Thank you Sir for your guidance.

My UM is working now.

But MWS stops within 2 minutes of the start.
There is no MWS/server/default/logs/full.log file. Screenshots attached.

both of these files are empty like this.

Please Guide.

Kind Regards,
Haroon

Hi!

@Holger_von_Thomsen Please review this wrapper.log file.
But MWS stops within 2 minutes of the start.
wrapper.log (46.3 KB)

File Record:

STATUS | wrapper  | 2022/08/16 15:58:27 | Base configuration file is C:\SoftwareAG\profiles\MWS_default\configuration\wrapper.conf
STATUS | wrapper  | 2022/08/16 15:58:27 | Found #include file in C:\SoftwareAG\profiles\MWS_default\configuration\wrapper.conf: C:\SoftwareAG\MWS\bin\wrapper-license.conf
STATUS | wrapper  | 2022/08/16 15:58:27 |   Reading included configuration file, C:\SoftwareAG\MWS\bin\wrapper-license.conf
STATUS | wrapper  | 2022/08/16 15:58:27 | Found #include file in C:\SoftwareAG\profiles\MWS_default\configuration\wrapper.conf: %OSGI_INSTALL_AREA%/configuration/custom_wrapper.conf
STATUS | wrapper  | 2022/08/16 15:58:27 |   After environment variable replacements: C:\SoftwareAG\profiles\MWS_default/configuration/custom_wrapper.conf
STATUS | wrapper  | 2022/08/16 15:58:27 |   Reading included configuration file, C:\SoftwareAG\profiles\MWS_default\configuration\custom_wrapper.conf
WARN   | wrapper  | 2022/08/16 15:58:27 | The 'SHUTDOWN_TIMEOUT' environment variable was referenced but has not been defined.
WARN   | wrapper  | 2022/08/16 15:58:27 | Encountered an invalid numerical value for configuration property wrapper.shutdown.timeout=%SHUTDOWN_TIMEOUT%.  Resolving to 30.
STATUS | wrapper  | 2022/08/16 15:58:27 | --> Wrapper Started as Service
STATUS | wrapper  | 2022/08/16 15:58:27 | Java Service Wrapper Standard Edition 64-bit 3.5.43
STATUS | wrapper  | 2022/08/16 15:58:27 |   Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2022/08/16 15:58:27 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2022/08/16 15:58:27 |   Licensed to Software AG USA, Inc. for Software AG My webMethods Server
STATUS | wrapper  | 2022/08/16 15:58:27 | 
STATUS | wrapper  | 2022/08/16 15:58:28 | Launching a JVM...
INFO   | jvm 1    | 2022/08/16 15:58:29 | WrapperManager: Initializing...
INFO   | jvm 1    | 2022/08/16 15:58:29 | [ProxyLogManager] Taking over JUL
INFO   | jvm 1    | 2022/08/16 15:58:29 | [ProxyLogManager] readConfiguration() -> com.softwareag.platform.jul.proxy.DefaultLogManager@76a4d6c
INFO   | jvm 1    | 2022/08/16 15:58:30 | Debug options:
INFO   | jvm 1    | 2022/08/16 15:58:30 |     file:/C:/SoftwareAG/profiles/MWS_default/configuration/.options loaded
INFO   | jvm 1    | 2022/08/16 15:58:30 | !SESSION 2022-08-16 15:58:29.658 -----------------------------------------------
INFO   | jvm 1    | 2022/08/16 15:58:30 | eclipse.buildId=unknown
INFO   | jvm 1    | 2022/08/16 15:58:30 | java.version=11.0.13
INFO   | jvm 1    | 2022/08/16 15:58:30 | java.vendor=Azul Systems, Inc.
INFO   | jvm 1    | 2022/08/16 15:58:30 | BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
INFO   | jvm 1    | 2022/08/16 15:58:30 | 
INFO   | jvm 1    | 2022/08/16 15:58:30 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:30.232
INFO   | jvm 1    | 2022/08/16 15:58:30 | !MESSAGE Registering the location resolver hooks.
INFO   | jvm 1    | 2022/08/16 15:58:30 | 
INFO   | jvm 1    | 2022/08/16 15:58:30 | !ENTRY com.softwareag.platform.hook.mirrors 1 0 2022-08-16 15:58:30.237
INFO   | jvm 1    | 2022/08/16 15:58:30 | !MESSAGE Registering the mirror bundle management hooks.
INFO   | jvm 1    | 2022/08/16 15:58:30 | 
INFO   | jvm 1    | 2022/08/16 15:58:30 | !ENTRY com.softwareag.platform.hook.shutdown 1 0 2022-08-16 15:58:30.245
INFO   | jvm 1    | 2022/08/16 15:58:30 | !MESSAGE Registering the shutdown hook.
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.411
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Discovered location: osgi.user.area=file:/C:/WINDOWS/system32/config/systemprofile/user/
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.415
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Discovered location: osgi.instance.area=file:/C:/SoftwareAG/profiles/MWS_default/workspace/
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.418
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Discovered location: osgi.configuration.area=file:/C:/SoftwareAG/profiles/MWS_default/configuration/
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.420
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Discovered location: osgi.install.area=file:/C:/SoftwareAG/profiles/MWS_default/
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.422
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Discovered location: eclipse.home.location=file:/C:/SoftwareAG/profiles/MWS_default/
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.434
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Replacing system property java.security.auth.login.config->@url:osgi.configuration.area/jaas.config with java.security.auth.login.config->file:/C:/SoftwareAG/profiles/MWS_default/configuration/jaas.config
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.437
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Replacing system property sag.install.area->@url:osgi.install.area/../.. with sag.install.area->file:/C:/SoftwareAG/
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.445
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Discovered location: sag.install.area=file:/C:/SoftwareAG/
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.locations 1 0 2022-08-16 15:58:31.447
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Registered location sag.install.area=file:/C:/SoftwareAG/
INFO   | jvm 1    | 2022/08/16 15:58:31 | [Tue Aug 16 15:58:31 PKT 2022] [INFO] Bootstrap: Initialized shutdown handler to com.softwareag.platform.hook.shutdown.HookConfiguratorImpl$$Lambda$78/0x00000001001a7040@4cbc41c8
INFO   | jvm 1    | 2022/08/16 15:58:31 | [Tue Aug 16 15:58:31 PKT 2022] [INFO] Bootstrap: Exteral shutdown disabled. No shutdown anchor set with system property 'com.softwareag.platform.bootstrap.anchor'.
INFO   | jvm 1    | 2022/08/16 15:58:31 | 
INFO   | jvm 1    | 2022/08/16 15:58:31 | !ENTRY com.softwareag.platform.hook.shutdown 1 0 2022-08-16 15:58:31.468
INFO   | jvm 1    | 2022/08/16 15:58:31 | !MESSAGE Initialized graceful shutdown handler.
INFO   | jvm 1    | 2022/08/16 15:58:33 | [ProxyLogManager] setDelegate: com.softwareag.platform.jul.proxy.DefaultLogManager@76a4d6c -> org.apache.logging.log4j.jul.LogManager@1dd96b27
INFO   | jvm 1    | 2022/08/16 15:58:37 | SecurityConfiguration for ESAPI.Logger not found in ESAPI.properties. Using default: org.owasp.esapi.reference.JavaLogFactory
INFO   | jvm 1    | 2022/08/16 15:58:37 | SecurityConfiguration for ESAPI.Logger not found in ESAPI.properties. Using default: org.owasp.esapi.reference.JavaLogFactory
INFO   | jvm 1    | 2022/08/16 15:58:37 | SecurityConfiguration for ESAPI.Logger not found in ESAPI.properties. Using default: org.owasp.esapi.reference.JavaLogFactory
INFO   | jvm 1    | 2022/08/16 15:58:37 | SecurityConfiguration for ESAPI.Logger not found in ESAPI.properties. Using default: org.owasp.esapi.reference.JavaLogFactory
INFO   | jvm 1    | 2022/08/16 15:58:37 | 2022-08-16 15:58:37.638:INFO::Start Level: Equinox Container: 8475b716-2e41-443c-bb5b-6abd145aa800: Logging initialized @8953ms to org.eclipse.jetty.util.log.StdErrLog
INFO   | jvm 1    | 2022/08/16 15:58:37 | 2022-08-16 15:58:37.641:WARN:oejob.JettyBootstrapActivator:Start Level: Equinox Container: 8475b716-2e41-443c-bb5b-6abd145aa800: OSGi support for java.util.ServiceLoader may not be present. You may experience runtime errors.
INFO   | jvm 1    | 2022/08/16 15:58:39 | 2022-08-16 15:58:39.431:WARN:oejobis.DefaultJettyAtJettyHomeHelper:Start Level: Equinox Container: 8475b716-2e41-443c-bb5b-6abd145aa800: No default jetty created.
INFO   | jvm 1    | 2022/08/16 15:58:42 | [ProxyLogManager] reset() -> org.apache.logging.log4j.jul.LogManager@1dd96b27
INFO   | jvm 1    | 2022/08/16 15:58:43 | [Tue Aug 16 15:58:43 PKT 2022] [INFO] Bootstrap: Stopping...
ERROR  | wrapper  | 2022/08/16 15:59:20 | Shutdown failed: Timed out waiting for signal from JVM.
ERROR  | wrapper  | 2022/08/16 15:59:20 | JVM did not exit on request, termination requested.
STATUS | wrapper  | 2022/08/16 15:59:21 | JVM exited after being requested to terminate.
STATUS | wrapper  | 2022/08/16 15:59:21 | <-- Wrapper Stopped

please guide.

There’s not much to go on from the wrapper log; check/try the following -

  1. Start up using an Admin-privileged user
  2. If your database is online and accessible
  3. If the database has the MWS components installed (DB Configurator)
  4. If the MWS database user has sufficient permissions
  5. Delete and recreate the MWS OSGi profile (link)
  6. Delete and recreate a new MWS instance (link)
  7. Try installing the latest fixes, or reinstall MWS

If you still don’t come right, then a formal support ticket may be needed.

KM

2 Likes


this solution worked for me.

1 Like

https://documentation.softwareag.com/webmethods/mywebmethods_server/mws10-11/10-11_MWSw/index.html#page/my-webmethods-server-webhelp%2Fta-start_stop_and_execute_my_webmethods_server_commands_on_multiple_server_instances.html%23

1 Like