Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 13:38:58 INFO LogUtil 192.168.56.103:42381 GET /amsl/persons limit=30 HTTP_1_1 500 158 10 tid=diku Internal Server Error
- 13:38:59 ERROR PersonAPI Failed to initialize mod-amsl-organization
- java.lang.RuntimeException: Cannot connect to database jdbc:postgresql://192.168.56.103:5432/mod-amsl-test
- at de.uni_leipzig.ub.asyncsql.AsyncPostgresClient.connect(AsyncPostgresClient.java:473)
- at org.folio.rest.impl.PersonAPI.init(PersonAPI.java:77)
- at org.folio.rest.impl.PersonAPI.<init>(PersonAPI.java:48)
- at sun.reflect.GeneratedConstructorAccessor36.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at org.folio.rest.RestVerticle.route(RestVerticle.java:398)
- at org.folio.rest.RestVerticle.lambda$12(RestVerticle.java:253)
- at io.vertx.ext.web.impl.RouteImpl.handleContext(RouteImpl.java:219)
- at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:120)
- at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:120)
- at io.vertx.ext.web.impl.RouterImpl.accept(RouterImpl.java:79)
- at io.vertx.core.http.impl.Http1xServerConnection.processMessage(Http1xServerConnection.java:433)
- at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:141)
- at io.vertx.core.http.impl.HttpServerImpl$ServerHandlerWithWebSockets.handleMessage(HttpServerImpl.java:683)
- at io.vertx.core.http.impl.HttpServerImpl$ServerHandlerWithWebSockets.handleMessage(HttpServerImpl.java:636)
- at io.vertx.core.net.impl.VertxHandler.lambda$channelRead$1(VertxHandler.java:146)
- at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
- at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:195)
- at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:144)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
- at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
- at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
- at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297)
- at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413)
- at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
- at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
- at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
- at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
- at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:141)
- at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
- at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
- at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
- at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
- at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
- at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: org.postgresql.util.PSQLException: FATAL: sorry, too many clients already
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:451)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:223)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:67)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:212)
- at org.postgresql.Driver.makeConnection(Driver.java:407)
- at org.postgresql.Driver.connect(Driver.java:275)
- at java.sql.DriverManager.getConnection(DriverManager.java:664)
- at java.sql.DriverManager.getConnection(DriverManager.java:247)
- at de.uni_leipzig.ub.asyncsql.AsyncPostgresClient.connect(AsyncPostgresClient.java:466)
- ... 41 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement