猿问

为什么 JLupin 存储队列无法访问任务?

我在使用 JLupin 存储队列时遇到了问题。完成后检索任务时出现问题。JLupin 配置在 2 个集群上,每个集群 3 台服务器。Jlupin QueueMicroservice 安装在每个节点上。先感谢您。


    2019-02-11 11:31:33,403 | Error | pool-4-thread-483 |  | com.jlupin.impl.processor.strategy.impl.JLupinDefaultServiceProcessorInvokeStrategyImpl | MESSAGE ID:1 SESSION ID:8559396366643622404 REQUEST ID:5589808491859060249 METHOD:invoke LINE:136 LOG:an error in JLupinDefaultServiceProcessorImpl occurred caused by:

java.lang.NullPointerException: null

2019-02-11 11:31:33,409 | Error | pool-4-thread-483 |  | com.jlupin.impl.entrypoint.microservice.queue.JLupinQueueMicroserviceEntryPointImpl$3 | MESSAGE ID:5 METHOD:call LINE:681 LOG:an error occurred during executing task described by session id:8559396366643622404 and request id:5589808491859060249 caused by:

com.jlupin.interfaces.client.delegator.exception.JLupinDelegatorException: an unexpected error occurred during communication caused by:

        at com.jlupin.impl.client.delegator.balance.JLupinQueueLoadBalancerDelegatorImpl.doPutTaskResultCommunicationSequence(JLupinQueueLoadBalancerDelegatorImpl.java:738) ~[?:?]

        at com.jlupin.impl.client.delegator.balance.JLupinQueueLoadBalancerDelegatorImpl.access$3200(JLupinQueueLoadBalancerDelegatorImpl.java:32) ~[?:?]

        at com.jlupin.impl.client.delegator.balance.JLupinQueueLoadBalancerDelegatorImpl$10.call(JLupinQueueLoadBalancerDelegatorImpl.java:640) ~[?:?]

        at com.jlupin.impl.client.delegator.helper.repeater.JLupinQueueLoadBalancerDelegatorRepeaterHelper.doWithRepeat(JLupinQueueLoadBalancerDelegatorRepeaterHelper.java:36) ~[?:?]

        at com.jlupin.impl.client.delegator.balance.JLupinQueueLoadBalancerDelegatorImpl.doPutTaskResultCommunicationWrappedSequence(JLupinQueueLoadBalancerDelegatorImpl.java:637) ~[?:?]

回首忆惘然
浏览 87回答 1
1回答

阿晨1998

您可能没有为您的 queueMicroservice 实例配置共享磁盘。默认情况下,“平台/存储”用作存储队列数据的位置。查看 JLupin 的文档以获取有关使用磁盘存储实现配置队列的更多详细信息。https://jlupin.io/documentation/jlupin-reactive-queues-16/page/storage-jlupin_disk.html
随时随地看视频慕课网APP

相关分类

Java
我要回答