Starting the Message Queue broker.

When trying to start the Message Queue broker on RH 8.0 I get the following:

./imqbrokerd

[16/Dec/2002:12:28:01 CST]

==================================================================

Sun ONE Message QueueCopyright 2002

Version: 3.0.1 (Build 64-a)Sun Microsystems, Inc.

Compile: Wed Oct 9 06:36:39 PDT 2002All Rights Reserved

Use is subject to license terms. Third party software, including

font technology, is copyrighted and licensed from Sun suppliers.

Sun, Sun Microsystems, the Sun logo, Java, Solaris and iPlanet are

trademarks or registered trademarks of Sun Microsystems, Inc. in

the U.S. and other countries. All SPARC trademarks are used under

license and are trademarks or registered trademarks of SPARC

International, Inc. in the U.S. and other countries. Federal

Acquisitions: Commercial Software - Government Users Subject to

Standard License Terms and Conditions.

This product includes code licensed from RSA Data Security.

==================================================================

Java Runtime: 1.4.1-rc Sun Microsystems Inc. /usr/jdk1.4.1/jre

*** TBD: I18N Could not find hostname.

Broker exiting.

This is a new install.

Does anyone have an idea? TIA.

--Martin--

[1354 byte] By [705765] at [2007-11-25 8:38:32]
# 1

InetAddress.getLocalHost().getHostName() failed. It's likely a system/network

configuration problem.Unfortunately the original exception is not printed.

You can write a simple Java program, like the following, to print the exception

message and go from there

import java.net.*;

public class Test {

public static void main(String[] args) throws Exception {

String host = null;

try {

host = InetAddress.getLocalHost().getHostName();

System.out.println("host name=" +host);

} catch (Exception e) {

e.printStackTrace();

throw e;

}

}

}

amy.kang at 2007-7-1 15:14:44 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...
# 2
thanks for the info. Was able to add my host name to /etc/hosts and that resolved the problem. Sure would have been nice to have a better error message.
705765 at 2007-7-1 15:14:44 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...
# 3
glad to hear that you have resolved the problem. The "eating" error messageproblem will be addressed in next release of MQ.
amy.kang at 2007-7-1 15:14:44 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...