查看: 1294|回复: 3

安装minio插件后,使用清除测试数据的命令,报错。

升级   30%

1

主题

1

回帖

15

积分

新手上路

Rank: 1

积分
15
发表于 2023-11-15 11:23:56 | 显示全部楼层 |阅读模式
本帖最后由 speedbruce 于 2023-11-15 11:27 编辑

安装了minio插件,并已能够在minio中上传并管理文件。


但当执行清除流程类测试数据的命令 ctl -ec  processPlatform 报错。


[Java] 纯文本查看 复制代码
2023-11-15 11:13:23.573 [main] ERROR com.x.server.console.action.EraseContent - id:5f4f2c31-9793-46d1-a53c-985ed348b244, name:com.x.server.console.action.EraseContent, message:Could not load VFS configuration from "jar:file:/home/data/o2server/custom/jars/vfs-extend-1.0.2.jar!/META-INF/vfs-providers.xml"., exceptionrg.apache.commons.vfs2.FileSystemException.
org.apache.commons.vfs2.FileSystemException: Could not load VFS configuration from "jar:file:/home/data/o2server/custom/jars/vfs-extend-1.0.2.jar!/META-INF/vfs-providers.xml".
        at org.apache.commons.vfs2.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:171) ~[commons-vfs2-2.9.0.jar:2.9.0]
        at org.apache.commons.vfs2.impl.StandardFileSystemManager.configurePlugins(StandardFileSystemManager.java:130) ~[commons-vfs2-2.9.0.jar:2.9.0]
        at org.apache.commons.vfs2.impl.StandardFileSystemManager.init(StandardFileSystemManager.java:107) ~[commons-vfs2-2.9.0.jar:2.9.0]
        at com.x.base.core.entity.StorageObject.getFileSystemManager(StorageObject.java:36) ~[x_base_core_project.jar:?]
        at com.x.base.core.entity.StorageObject.vfsDeleteContent(StorageObject.java:459) ~[x_base_core_project.jar:?]
        at com.x.base.core.entity.StorageObject.deleteContent(StorageObject.java:207) ~[x_base_core_project.jar:?]
        at com.x.server.console.action.EraseContent.deleteStorage(EraseContent.java:144) ~[console.jar:?]
        at com.x.server.console.action.EraseContent.erase(EraseContent.java:125) ~[console.jar:?]
        at com.x.server.console.action.EraseContent.run(EraseContent.java:86) ~[console.jar:?]
        at com.x.server.console.action.EraseContentProcessPlatform.execute(EraseContentProcessPlatform.java:37) ~[console.jar:?]
        at com.x.server.console.action.ActionControl.ec(ActionControl.java:212) ~[console.jar:?]
        at com.x.server.console.action.ActionControl.execute(ActionControl.java:64) ~[console.jar:?]
        at com.x.server.console.Main.control(Main.java:526) ~[console.jar:?]
        at com.x.server.console.Main.main(Main.java:223) ~[console.jar:?]
Caused by: org.apache.commons.vfs2.FileSystemException: Multiple providers registered for URL scheme "min".
        at org.apache.commons.vfs2.impl.DefaultFileSystemManager.addProvider(DefaultFileSystemManager.java:287) ~[commons-vfs2-2.9.0.jar:2.9.0]
        at org.apache.commons.vfs2.impl.StandardFileSystemManager.addProvider(StandardFileSystemManager.java:319) ~[commons-vfs2-2.9.0.jar:2.9.0]
        at org.apache.commons.vfs2.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:228) ~[commons-vfs2-2.9.0.jar:2.9.0]
        at org.apache.commons.vfs2.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:169) ~[commons-vfs2-2.9.0.jar:2.9.0]
        ... 13 more
回复

使用道具 举报

升级   100%

0

主题

561

回帖

1956

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1956
发表于 2023-11-16 11:06:31 | 显示全部楼层
这里确实有问题,另外的解决办法是把o2server/custom/jars/vfs-extend-1.0.2.jar这个jar包剪切到(不保留)o2server/commons/ext_java11目录下,然后再编辑该目录下的manifest.cfg文件,在最后面添加一行vfs-extend-1.0.2.jar,最后再重启测试
回复

使用道具 举报

升级   30%

1

主题

1

回帖

15

积分

新手上路

Rank: 1

积分
15
发表于 2023-11-20 14:54:46 | 显示全部楼层
启蒙星 发表于 2023-11-16 11:06
这里确实有问题,另外的解决办法是把o2server/custom/jars/vfs-extend-1.0.2.jar这个jar包剪切到(不保留)o2 ...

按照此方法操作,解决了清理测试数据的报错问题。

但是此方法后,在并无触发关闭的动作或操作的情况下,启动后约40分钟,应用自动退出关闭。

日志并无报错,只是在日志最后,有读取退出命令的日志。

请问会是什么情况导致?

[Java] 纯文本查看 复制代码
2023-11-20 14:44:50.324 [swapCommandThread] INFO System.out - read command:exit
2023-11-20 14:44:50.342 [main] INFO System.out - application server is not running.
2023-11-20 14:44:50.342 [main] INFO System.out - center server is not running.




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

升级   100%

0

主题

561

回帖

1956

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1956
发表于 2023-11-21 09:30:58 | 显示全部楼层
这是手动退出的呀,命令exit都看到了,服务器接收到exit命令后就会停止所有服务并退出
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread