Unable to push messages from server

Hi,

I am using my personal application to send notification. it gets the message but unable to send to the clients. It says the following errors.

2015.08.20 23:30:17 org.apache.mina.core.filterchain.IoFilterEvent - Firing a MESSAGE_RECEIVED event for session 2

2015.08.20 23:30:17 org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 2

2015.08.20 23:30:17 org.apache.mina.core.filterchain.IoFilterEvent - Event MESSAGE_RECEIVED has been fired for session 2

2015.08.20 23:30:17 org.jivesoftware.openfire.net.DNSUtil - No SRV record found for: _xmpp-server._tcp.135.123.145.153

javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name ‘_xmpp-server._tcp.135.123.145.153’

at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

at com.sun.jndi.dns.DnsClient.query(Unknown Source)

at com.sun.jndi.dns.Resolver.query(Unknown Source)

at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

at org.jivesoftware.openfire.net.DNSUtil.srvLookup(DNSUtil.java:192)

at org.jivesoftware.openfire.net.DNSUtil.resolveXMPPDomain(DNSUtil.java:124)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:220)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:163)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:262)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:239)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2015.08.20 23:30:17 org.jivesoftware.openfire.net.DNSUtil - No SRV record found for: _jabber._tcp.135.123.145.153

javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name ‘_jabber._tcp.135.123.145.153’

at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

at com.sun.jndi.dns.DnsClient.query(Unknown Source)

at com.sun.jndi.dns.Resolver.query(Unknown Source)

at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

at org.jivesoftware.openfire.net.DNSUtil.srvLookup(DNSUtil.java:192)

at org.jivesoftware.openfire.net.DNSUtil.resolveXMPPDomain(DNSUtil.java:126)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:220)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:163)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:262)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:239)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2015.08.20 23:30:17 org.jivesoftware.openfire.session.LocalOutgoingServerSession - LocalOutgoingServerSession: OS - Trying to connect to 135.123.145.153:5269(DNS lookup: 135.123.145.153:5269)

2015.08.20 23:30:17 org.jivesoftware.openfire.session.LocalOutgoingServerSession - LocalOutgoingServerSession: OS - Plain connection to 135.123.145.153:5269 successful

2015.08.20 23:30:17 org.jivesoftware.openfire.net.BlockingAcceptingMode - Connect Socket[addr=/135.123.145.153,port=50041,localport=5269]

2015.08.20 23:30:17 org.jivesoftware.openfire.net.BlockingReadingMode - Connection closed before session establishedSocket[addr=/135.123.145.153,port=50041,localport=5269]

2015.08.20 23:30:17 org.jivesoftware.openfire.session.LocalOutgoingServerSession - LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: 135.123.145.153

2015.08.20 23:30:18 org.jivesoftware.openfire.net.DNSUtil - No SRV record found for: _xmpp-server._tcp.135.123.145.153

javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name ‘_xmpp-server._tcp.135.123.145.153’

at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

at com.sun.jndi.dns.DnsClient.query(Unknown Source)

at com.sun.jndi.dns.Resolver.query(Unknown Source)

at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

at org.jivesoftware.openfire.net.DNSUtil.srvLookup(DNSUtil.java:192)

at org.jivesoftware.openfire.net.DNSUtil.resolveXMPPDomain(DNSUtil.java:124)

at org.jivesoftware.openfire.server.ServerDialback.createOutgoingSession(ServerDia lback.java:218)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:362)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:163)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:262)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:239)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2015.08.20 23:30:18 org.jivesoftware.openfire.net.DNSUtil - No SRV record found for: _jabber._tcp.135.123.145.153

javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name ‘_jabber._tcp.135.123.145.153’

at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

at com.sun.jndi.dns.DnsClient.query(Unknown Source)

at com.sun.jndi.dns.Resolver.query(Unknown Source)

at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

at org.jivesoftware.openfire.net.DNSUtil.srvLookup(DNSUtil.java:192)

at org.jivesoftware.openfire.net.DNSUtil.resolveXMPPDomain(DNSUtil.java:126)

at org.jivesoftware.openfire.server.ServerDialback.createOutgoingSession(ServerDia lback.java:218)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:362)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:163)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:262)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:239)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2015.08.20 23:30:18 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Trying to connect to 135.123.145.153:5269(DNS lookup: 135.123.145.153:5269)

2015.08.20 23:30:18 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Connection to 135.123.145.153:5269 successful

2015.08.20 23:30:18 org.jivesoftware.openfire.net.BlockingAcceptingMode - Connect Socket[addr=/135.123.145.153,port=50042,localport=5269]

2015.08.20 23:30:18 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Invalid namespace in packet: <stream:stream from=“in1dt0477” id=“af5cv” xmlns=“jabber:server” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>

2015.08.20 23:30:18 org.jivesoftware.openfire.net.BlockingReadingMode - Connection closed before session establishedSocket[addr=/135.123.145.153,port=50042,localport=5269]

2015.08.20 23:30:18 org.jivesoftware.openfire.server.OutgoingSessionPromise - OutgoingSessionPromise: Error sending packet to remote server:

Hello... Greetings, This is an important information from ANS Administrator. Kindly update your personal details in order to get more updates. Kindly login to ANS user portal for more information

cDl7913

java.lang.Exception: Failed to create connection to remote server

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:275)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:239)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2015.08.20 23:30:18 org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event MESSAGE_SENT to session 2

Queue : [MESSAGE_SENT, ]

Kindly help me