seata-server.sh LOADER_PATH optimize

rnmwe5a2  于 2022-10-21  发布在  其他
关注(0)|答案(1)|浏览(119)
  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

https://github.com/seata/seata/blob/develop/distribution/bin/seata-server.sh

目前loader.path路径默认为相对路径,导致在bin目录外使用seata-server.sh会失败
我们需要保证seata-server.sh不再bin目录也可以使用,顺便排查是否有类似如上问题的地方一并修复
Currently the loader.path path defaults to a relative path, which causes seata-server.sh to fail when used outside of the bin directory. We need to make sure seata-server.sh is not available outside of the bin directory, and check if there is anything like the above problem to fix as well

Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

Just paste your stack trace here!

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version :
  • Seata version:
  • OS :
  • Others:

相关问题