MSGS0058E: Unable to start the JMS Server as WebSphere Embedded Messaging has not been installed
 Technote (troubleshooting)
 
Problem(Abstract)
After installing WebSphere® Application Server V5, the following error appears in the SystemOut.log when starting the Application Server:

MSGS0058E: Unable to start the JMS Server as WebSphere Embedded Messaging has not been installed
 
Cause
The problem can occur if:
  • WebSphere Application Server embedded messaging is not installed
  • WebSphere Application Server embedded messaging is installed, but the Application Server is configured incorrectly.
 
Resolving the problem


WebSphere embedded messaging is not installed:

WebSphere Application Server must be configured so that it does not attempt to start the embedded messaging queue manager and broker during startup.

To do this:
  1. Log into the administrative console.
  2. Expand Servers.
  3. Click Application Servers.
  4. Select the Application Server in question.
  5. Click Server Components.
  6. Click JMS Servers.
  7. Change the Initial State to Stopped, then click OK and save the configuration.


When the Application Server restarts, the MSGS0058E error will not occur.


If WebSphere embedded messaging is installed
If the MSGS0058E error is occurring when the Application Server is started, the most likely cause of the problem is that the environment variables that point to the Embedded Messaging installation are improperly configured.

To correct this:
  1. Open the administrative console.
  2. Expand Environment.
  3. Click Manage WebSphere Variables.
  4. Change the Scope to Node if it is not already at the Node level.
  5. Find the MQ_INSTALL_ROOT and MQJMS_LIB_ROOT variables. Set the MQ_INSTALL_ROOT to the directory where embedded messaging is installed.

The following table shows the location where embedded messaging is installed on various platforms:
Platform Directory
Windows x:\Program Files\IBM\WebSphere MQ
AIX /usr/mqm
Solaris, HP-UX, or Linux /opt/mqm

The MQJMS_LIB_ROOT variable must be set to ${MQ_INSTALL_ROOT}/java/lib. For example:



After setting the environment variables, save the configuration and restart the application server. Now the embedded messaging queue manager and broker will start correctly.

If a problem still exists, a different error should now occur. The MSGS0058E should no longer occur.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Message Service (JMS)
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1162965
IBM Group: Software Group
Modified date: Sep 14, 2004