I install Openfire server in LAN and there do not have domain name. I set openfire server name to ‘‘abc’’, and let client specify the real IP(192.168.1.1) to login.
I install a CM to another linux server, set the config of server to ‘‘abc’’, and add a line “192.168.1.1 abc” to /etc/hosts file for DNS lookup. I ping abc and the DNS name is successly resolved to 192.168.1.1. But when start CM, It cannot connect ‘‘abc’’ server and show some errors:
2007.04.11 19:52:55 org.jivesoftware.multiplexer.ConnectionWorkerThread.createConnection(ConnectionW orkerThread.java:223) Error while connecting to server: abc(DNS lookup: abc:5262)
org.xmlpull.v1.XmlPullParserException: expected start tag name and not / (position: START_DOCUMENT seen (ConnectionManager.java:143)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95)
at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)