安装minio插件后,使用清除测试数据的命令,报错。
本帖最后由 speedbruce 于 2023-11-15 11:27 编辑安装了minio插件,并已能够在minio中上传并管理文件。
但当执行清除流程类测试数据的命令 ctl -ecprocessPlatform 报错。
2023-11-15 11:13:23.573 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) ~
at org.apache.commons.vfs2.impl.StandardFileSystemManager.configurePlugins(StandardFileSystemManager.java:130) ~
at org.apache.commons.vfs2.impl.StandardFileSystemManager.init(StandardFileSystemManager.java:107) ~
at com.x.base.core.entity.StorageObject.getFileSystemManager(StorageObject.java:36) ~
at com.x.base.core.entity.StorageObject.vfsDeleteContent(StorageObject.java:459) ~
at com.x.base.core.entity.StorageObject.deleteContent(StorageObject.java:207) ~
at com.x.server.console.action.EraseContent.deleteStorage(EraseContent.java:144) ~
at com.x.server.console.action.EraseContent.erase(EraseContent.java:125) ~
at com.x.server.console.action.EraseContent.run(EraseContent.java:86) ~
at com.x.server.console.action.EraseContentProcessPlatform.execute(EraseContentProcessPlatform.java:37) ~
at com.x.server.console.action.ActionControl.ec(ActionControl.java:212) ~
at com.x.server.console.action.ActionControl.execute(ActionControl.java:64) ~
at com.x.server.console.Main.control(Main.java:526) ~
at com.x.server.console.Main.main(Main.java:223) ~
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) ~
at org.apache.commons.vfs2.impl.StandardFileSystemManager.addProvider(StandardFileSystemManager.java:319) ~
at org.apache.commons.vfs2.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:228) ~
at org.apache.commons.vfs2.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:169) ~
... 13 more
这里确实有问题,另外的解决办法是把o2server/custom/jars/vfs-extend-1.0.2.jar这个jar包剪切到(不保留)o2server/commons/ext_java11目录下,然后再编辑该目录下的manifest.cfg文件,在最后面添加一行vfs-extend-1.0.2.jar,最后再重启测试 启蒙星 发表于 2023-11-16 11:06
这里确实有问题,另外的解决办法是把o2server/custom/jars/vfs-extend-1.0.2.jar这个jar包剪切到(不保留)o2 ...
按照此方法操作,解决了清理测试数据的报错问题。
但是此方法后,在并无触发关闭的动作或操作的情况下,启动后约40分钟,应用自动退出关闭。
日志并无报错,只是在日志最后,有读取退出命令的日志。
请问会是什么情况导致?
2023-11-20 14:44:50.324 INFO System.out - read command:exit
2023-11-20 14:44:50.342 INFO System.out - application server is not running.
2023-11-20 14:44:50.342 INFO System.out - center server is not running.
这是手动退出的呀,命令exit都看到了,服务器接收到exit命令后就会停止所有服务并退出
页:
[1]