Unable to find 'webwork.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tem

      JIRA一直运行的很正常,今天再重启jira时发现一个问题Unable to find 'webwork.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir,网上有说在webwork.properties中的

    31 # Edit maxSize to change the attachment size limit
     32 webwork.multipart.saveDir=
     33 webwork.multipart.maxSize=10485760

改为

     31 # Edit maxSize to change the attachment size limit
     32 webwork.multipart.saveDir=/tmp
     33 webwork.multipart.maxSize=10485760

照做了,还是没有解决啊,况且我也jira里根本就没有tmp这个文件呀。最后在官网https://confluence.atlassian.com/display/JIRAKB/'Error+instantiating+webwork.multipart.parser.class+-+com.atlassian.jira.web.JiraMultipartRequestWrapper'+when+Creating+an+Issue里看到了解决方案,

  1. Shut down JIRA.
  2. Delete the $JIRA_INSTALL/temp/ and $JIRA_INSTALL/work/ directories.
  3. Start JIRA – the /temp and /work directories should be recreated automatically with the correct permissions.最后我成功的解决方式是先关掉jira,然后将temp、work分别改为temp1、work1,最后重启,发现jira又自动生成work,提交东西的时候又自动生成了temp。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值