xuxueli / xxl-job

A distributed task scheduling framework.(分布式任务调度平台XXL-JOB)
http://www.xuxueli.com/xxl-job/
GNU General Public License v3.0
27.9k stars 10.98k forks source link

创建GLUE(shell)模式报错 #2678

Open BrewingF1997 opened 3 years ago

BrewingF1997 commented 3 years ago

Please answer some questions before submitting your issue. Thanks!

Which version of XXL-JOB do you using?

2.3.0

Expected behavior

任务管理 创建GLUE(shell)模式

Actual behavior

创建GLUE失败,后台报错

Servlet.service() for servlet [dispatcherServlet] in context with path [/xxl-job-admin] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: getOutputStream() has already been called for this response] with root cause

调用/jobinfo/add 接口失败。 注:怀疑是环境问题,本地环境可以正常创建GLUE(shell) 但是生产环境无法创建。

Steps to reproduce the behavior

I4p9YR.png

I4pgAJ.png

Other information

sluk3r commented 2 years ago

您好, 请教下, 这个问题解决了么?

BrewingF1997 commented 2 years ago

你好,并没有解决这个问题,但是可以在本地创建一个xxljob 并且连接的数据库是一样的,在本地去修改shell

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年1月17日(星期一) 下午2:21 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [xuxueli/xxl-job] 创建GLUE(shell)模式报错 (Issue #2678)

您好, 请教下, 这个问题解决了么?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

joson1205 commented 1 year ago

修改默认新增的glueSource试试,我碰到了一样的问题,在post请求之前对glueSource做了一些转码处理就正常了