zjn-zjn / ice

Rule engine/process engine, committed to solving flexible and complex hard-coded problems, for complex/flexibly changing business, provide a new abstract orchestration solution that is lightweight, high-performance and provides visual operation pages. Java规则引擎-ice,针对复杂/灵活变动业务,提供一个新的抽象编排解决方案,轻量级,高性能并提供可视化操作页面

Home Page:http://waitmoon.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.0.8版本的springboot-starter配置有误

wssy001 opened this issue · comments

你的ice-client-spring-boot-starter:0.0.8打包的方式有误,无法正常下载到相对应的模块。
考虑将

<version>${project.version}</version>

换成

<version>0.0.8</version>

或者如下设置:

<properties>
    <ice-server.version>0.0.8</ice-server.version>
</properties>

<dependencies>
    <dependency>
        <groupId>com.waitmoon.ice</groupId>
        <artifactId>ice-client-spring-boot-autoconfigure</artifactId>
        <version>${ice-server.version}</version>
    </dependency>
</dependencies>

另外的话,client这边再也没有报rmi的错误,server端的ice.sh没有0.0.7版本完美(sh ice.sh stop不会杀掉java进程,下一次通过ice.sh启动时必然报端口占用的Exception)

image
如图所示,若此时回车Web提示”no available client app:2“ (client未写任何代码,application.yml中ice.app值已设置为2)
image
该怎么解决呢?

1.关于project.version,我在本机maven3.6.3没有办法复现这个问题,是可以拉取到jar包的,不过后续还是会考虑不再使用project.version
2.ice.sh的stop脚本,会优先使用kill -15 在两秒一次检查并检查10s后,若还没有kill,则直接kill -9,这与0.0.7版本逻辑是一致的
3.no available client 表示当前没有可用的client,检查下client是否启动呢?因为server在创建业务相关的节点的时候,会去client校验配置的类是否存在/或是否还存在,因此需要至少一个client可用。这也是为了防止用户创建无效的业务节点

问题大概是解决了,原因八成出在阿里云的maven镜像中。没正常导包导致无法获取ice-client,也导致了无法与客户端进行通信

问题大概是解决了,原因八成出在阿里云的maven镜像中。没正常导包导致无法获取ice-client,也导致了无法与客户端进行通信

冲冲冲~