Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server becomes non responsive after a failed connection attempt to the db #293

Open
abmargb opened this issue Feb 2, 2015 · 0 comments
Open

Comments

@abmargb
Copy link
Collaborator

abmargb commented Feb 2, 2015

org.postgresql.util.PSQLException: The connection attempt failed.
        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:150)
        at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
        at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
        at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
        at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
        at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
        at org.postgresql.Driver.makeConnection(Driver.java:393)
        at org.postgresql.Driver.connect(Driver.java:267)
        at java.sql.DriverManager.getConnection(DriverManager.java:571)
        at java.sql.DriverManager.getConnection(DriverManager.java:233)
        at org.buddycloud.channelserver.db.JDBCConnectionFactory.getConnection(JDBCConnectionFactory.java:19)
        at org.buddycloud.channelserver.db.DefaultNodeStoreFactoryImpl.create(DefaultNodeStoreFactoryImpl.java:35)
        at org.buddycloud.channelserver.channel.ChannelManagerFactoryImpl.create(ChannelManagerFactoryImpl.java:15)
        at org.buddycloud.channelserver.queue.InQueueConsumer.consume(InQueueConsumer.java:48)
        at org.buddycloud.channelserver.queue.QueueConsumer$1.run(QueueConsumer.java:29)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.EOFException
        at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:276)
        at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:269)
        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
        ... 20 more
2015-01-28 21:04:28,236 [pool-7-thread-1] DEBUG org.buddycloud.channelserver.packetprocessor.iq.IQProcessor - Finding IQ processor for namespace http://jabber.org/protocol/disco#info
2015-01-28 21:04:28,236 [pool-7-thread-1] INFO  org.buddycloud.channelserver.packetprocessor.iq.namespace.AbstractNamespace - Using processor for packet type: get
2015-01-28 21:07:58,611 [pool-7-thread-1] ERROR org.buddycloud.channelserver.packetprocessor.iq.IQProcessor - Error while processing packet.
java.lang.NullPointerException
        at org.buddycloud.channelserver.channel.ChannelManagerImpl.isCachedNode(ChannelManagerImpl.java:160)
        at org.buddycloud.channelserver.packetprocessor.iq.namespace.discoinfo.DiscoInfoGet.process(DiscoInfoGet.java:57)
        at org.buddycloud.channelserver.packetprocessor.iq.namespace.discoinfo.DiscoInfoGet.process(DiscoInfoGet.java:25)
        at org.buddycloud.channelserver.packetprocessor.iq.namespace.AbstractNamespace.process(AbstractNamespace.java:61)
        at org.buddycloud.channelserver.packetprocessor.iq.namespace.AbstractNamespace.process(AbstractNamespace.java:14)
        at org.buddycloud.channelserver.packetprocessor.iq.IQProcessor.processPacket(IQProcessor.java:75)
        at org.buddycloud.channelserver.packetprocessor.iq.IQProcessor.process(IQProcessor.java:51)
        at org.buddycloud.channelserver.queue.InQueueConsumer.consume(InQueueConsumer.java:50)
        at org.buddycloud.channelserver.queue.QueueConsumer$1.run(QueueConsumer.java:29)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant