1

我使用 msf4j 框架创建了一个微服务,并使用 Hibernate jpa 配置了 postgres 数据库并启动了服务器。

我可以成功地进行发布/获取操作,但在后端得到以下错误。谁能指导我解决这个问题。

Hibernate: 
    select
        user0_.id as id1_0_0_,
        user0_.firstName as firstNam2_0_0_,
        user0_.lastName as lastName3_0_0_ 
    from
        USER_DETAIL user0_ 
    where
        user0_.id=?
2019-05-25 07:56:36 ERROR MSF4JHttpConnectorListener:268 - Error in http connector listener
org.wso2.transport.http.netty.contract.ServerConnectorException: Remote client closed the connection before initiating inbound request
    at org.wso2.transport.http.netty.contractimpl.listener.SourceHandler.notifyErrorListenerAtConnectedState(SourceHandler.java:238)
    at org.wso2.transport.http.netty.contractimpl.listener.SourceHandler.channelInactive(SourceHandler.java:165)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
    at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75)
    at io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:277)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
    at org.wso2.transport.http.netty.contractimpl.common.BackPressureHandler.channelInactive(BackPressureHandler.java:45)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
    at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
    at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
    at io.netty.handler.stream.ChunkedWriteHandler.channelInactive(ChunkedWriteHandler.java:143)
    ~~~
4

0 回答 0