leo james
leo james
### Feature description 对于线程池里的线程,可能分配任务的时候,需要传入当前的 `Thread.currentThread().getContextClassLoader()`,避免线程在不断重新分配之后,线程关联的 classLoader 与实际运行的 classLoader 不一致。 ### 解决方式 1. 提供统一线程池的实现,内部处理分配任务时更新classLoader 2. 提供 adapter 3. 用户自行设置 4. 统一清理
### 问题描述 基座启动到这步时,这里应该是相等,然后进入初始化逻辑的。但是引入 spring-boot-devtools 时 左边是 AppClassLoader 符合预期,右边是 RestartClassLoader 与预期不符合了。导致基座无法正常启动成功,报如下错误 `No BizRuntimeContext found` ### 问题修复 暂时请先移除 devtools 依赖
### Feature description Describe the feature details with Chinese or English. ### Additional notes Add other notes if necessary.
### 问题描述 多应用集成测试框架,当基座与模块存在同名类时,按照 SOFAArk 类委托加载机制,应该优先使用模块里的类,如果模块里找不到才会找基座的类。 但是实际验证发现,直接使用了基座里的类。 ### 复现现场 [samples/springboot/webflux](https://github.com/koupleless/samples/tree/main/springboot-samples/web/webflux) 的demo里  ### 问题原因 构造模块 TestBizClassLoader 时,把基座的 classPath 也加进去了  ### 问题解决方案 创建 TestBizClassLoader 只初始化自己的依赖(compile),与实际模块的创建类似
In org.apache.dubbo.registry.client.metadata.store.RemoteMetadataServiceImpl#publishProvider, there contains `class.forName(className)` without specific the classLoader. So it will use the classLoader of current class `RemoteMetadataServiceImpl` which we suggest imported by the base. which means it will...
根据 @zjulbj 的信息,dubbo rpc 可以通过如下方式支持, ```java 基座写一个这个/* * Ant Group * Copyright (c) 2004-2024 All Rights Reserved. */ package com.alipay.sofa.rpc.dubbo3.base; import org.apache.dubbo.common.context.ModuleExt; import org.apache.dubbo.rpc.model.ApplicationModel; import org.apache.dubbo.rpc.model.FrameworkModel; import org.apache.dubbo.rpc.model.ModuleModel; import org.apache.dubbo.rpc.model.ScopeModelInitializer;...
### 问题描述 当前覆盖类是通过复制原有类的方式来修改里面部分逻辑,这样实际在项目里一个类存在两个文件,一个在本地 classPath 里,另一个在 jar 里,为了更方便的识别出覆盖类,可以在覆盖类里增加注解标识。
基于开源大学堂,https://test.oscollege.net/ 1. 对外的视频和上手环境和demo 2. 运营的任务与文章 3. 题库的问答,答疑的沉淀 4. 用户的支持跟进