Lipeng

Results 29 comments of Lipeng

> 这个特性能尽快合入下一个版本呢?还是另有其他计划?谢谢 正在调整,使得biz在masterbiz启动之后再启动

你好,sofaark2.0使用IDEA启动或者命令行启动的biz是master-biz,如需使用其它应用xxx-biz的方法,需要注明@SofaService和@SofaReference进行交互,并确认xxx-biz已经注册(如通过telnet localhost 1234; biz -a 查看所有biz)。 动态合并部署可参考demo https://github.com/sofastack-guides/sofa-ark-dynamic-guides ;静态合并部署则将其它应用Biz 包通过Maven依赖的方式引入,将自身打成可执行fat-jar,启动时,则会根据优先级依次启动各应用。如果有其它问题,麻烦提供更详细的信息。

> 我按照上面的demo项目试了下还是不行,因为我只在我自己的框架里集成sofaark的,我自己的项目其中一个模块是sofaark的宿主机,biz是另外的一个项目,宿主机能启动,但是只要加载biz就报错。我用demo环境加载就没问题。不知道那里出现了问题。。 用biz -i 成功注册了需要调用的biz吗?(通过biz -a能查看到这个biz)如果之前没有用biz -i注册它的话,调用它的方法是会报 > org.jeecg.modules.sofaark.facade.Action#FindUsersByName] can not find the corresponding JVM service. Please check if there is a SOFA deployment publish the corresponding JVM service. If...

再检查一下在尝试调用SofaReference时,相应的SofaService类的bean是不是还没有注册并实例化。这很有可能是因为使用的方式有些问题。

其它问题:对于[示例:SOFABoot 应用基于 SOFAArk 的动态模块](https://github.com/sofastack-guides/sofa-ark-dynamic-guides),在embed模式开启类隔离的使用中,需要其依赖runtime-sofa-boot-plugin设置属性`true`;或许PR完成后再给runtime-sofa-boot-plugin提issue?

这个例子没有注册 `com.alipay.sofa.ark.spi.event.biz.BeforeBizStopEvent`,所以不具备动态卸载能力,sofaboot服务可以动态卸载。可以用这个demo试试https://github.com/sofastack-guides/sofa-ark-dynamic-guides

> 希望类隔离开发模式,打包时biz包可以共享父模块的相同的jar减少整体体积 父模块是指“基座-masterbiz”吗? 内嵌模式下,可以采用目前ark 2.0.3版本,在打包ark-biz时设为true,并把依赖包设置成,会默认委托基座加载类;可以看看https://github.com/sofastack-guides/sofa-ark-spring-guides 和 https://github.com/sofastack-guides/sofa-ark-dynamic-guides 这两个demo;但内嵌模式目前不支持类隔离,见https://github.com/sofastack/sofa-ark/issues/500 中对内嵌与非内嵌模式的描述; 非内嵌模式支持类隔离,但没有父模块的概念;或者麻烦再描述清楚一些

please assign it to me. : )

> please assign it to me. : ) > hello~ 任务已经在进行中了吗?可以加下 SOFAGirl 微信:SOFAGirl180419,任务完成之后会发布奖品哟~ 好的,预计6.20前能提pr~