|
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:
- Log into the administrative console.
- Expand Servers.
- Click Application Servers.
- Select the Application Server in question.
- Click Server Components.
- Click JMS Servers.
- 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:
- Open the administrative console.
- Expand Environment.
- Click Manage WebSphere Variables.
- Change the Scope to Node if it is not already at the Node level.
- 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 |
|
|
|
|
|
|