Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

基座和模块一起启动时,基座的yml配置文件会被模块识别,但是properties不会 #1058

Closed
yuweibo opened this issue Jan 15, 2025 · 8 comments
Labels

Comments

@yuweibo
Copy link

yuweibo commented Jan 15, 2025

https://github.com/koupleless/samples/tree/main/springboot-samples/service 这个项目就可以复现

  • 基座配置上conf/ark/bootstrap.properties
   integrateBizURLs=file:///Users/xxx/projects/samples/springboot-samples/service/biz1/biz1-bootstrap/target/biz1-bootstrap-0.0.1-SNAPSHOT-ark-biz.jar,file:///Users/xxx/projects/samples/springboot-samples/service/biz2/biz2-bootstrap/target/biz2-bootstrap-0.0.1-SNAPSHOT-ark-biz.jar
  • SOFAArk version: 2.2.6
  • JVM version (e.g. java -version): 1.8
  • OS version (e.g. uname -a): windows 11或者mac
  • Maven version: 3.9.9
  • IDE version: idea
@lvjing2
Copy link
Collaborator

lvjing2 commented Jan 16, 2025

sofaArk 版本用最新的试下,印象中修复过这类问题

@yuweibo
Copy link
Author

yuweibo commented Jan 17, 2025

还在用java8

@lvjing2
Copy link
Collaborator

lvjing2 commented Jan 17, 2025

java8 的最新版本是 2.2.16

@yuweibo
Copy link
Author

yuweibo commented Jan 17, 2025

不好意思写错了,现在用的是2.2.16版本,koupleless.runtime用的1.3.2,1.4.0也试了

@lvjing2
Copy link
Collaborator

lvjing2 commented Jan 21, 2025

@yuweibo
Copy link
Author

yuweibo commented Jan 22, 2025

把模块统一放到一个文件中,通过配置-Dcom.alipay.sofa.ark.static.biz.dir=文件夹,的方式也会读取到基座的配置文件

Copy link

This issue has been automatically marked as stale because it has not had recent activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue or help wanted) or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 22, 2025
Copy link

github-actions bot commented Mar 1, 2025

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue or help wanted. Thank you for your contributions.

@github-actions github-actions bot closed this as completed Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants