You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by "mxsm (via GitHub)" <gi...@apache.org> on 2023/03/12 13:44:26 UTC

[GitHub] [incubator-eventmesh] mxsm opened a new issue, #3434: [Bug] Can't load the StorageResourceService plugin when start runtime module in IDEA

mxsm opened a new issue, #3434:
URL: https://github.com/apache/incubator-eventmesh/issues/3434

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Environment
   
   Windows
   
   ### EventMesh version
   
   master
   
   ### What happened
   
   Can't load the StorageResourceService plugin when start runtime module in IDEA
   ![image](https://user-images.githubusercontent.com/15797831/224548615-ba1c7cd8-8d3c-4212-a7d3-d86c3690f4f6.png)
   ![image](https://user-images.githubusercontent.com/15797831/224548623-9a63eae0-fefe-41a2-92e3-a521ffa6585c.png)
   
   
   ### How to reproduce
   
   Pull code from github master branch, Then  start runtime module in IDEA
   
   
   ### Debug logs
   
   ```
   2023-03-12 21:40:21,703 INFO  [main] MetaInfExtensionClassLoader(MetaInfExtensionClassLoader.java:86) - load extension class success, extensionType: interface org.apache.eventmesh.api.acl.AclService, extensionClass: class org.apache.eventmesh.acl.impl.AclServiceImpl
   2023-03-12 21:40:21,706 INFO  [main] MetaInfExtensionClassLoader(MetaInfExtensionClassLoader.java:86) - load extension class success, extensionType: interface org.apache.eventmesh.api.acl.AclService, extensionClass: class org.apache.eventmesh.auth.token.impl.AuthTokenServiceImpl
   2023-03-12 21:40:21,707 INFO  [main] EventMeshExtensionFactory(EventMeshExtensionFactory.java:92) - initialize extension instance success, extensionType: interface org.apache.eventmesh.api.acl.AclService, extensionInstanceName: security
   2023-03-12 21:40:21,712 INFO  [main] MetaInfExtensionClassLoader(MetaInfExtensionClassLoader.java:86) - load extension class success, extensionType: interface org.apache.eventmesh.api.registry.RegistryService, extensionClass: class org.apache.eventmesh.registry.nacos.service.NacosRegistryService
   2023-03-12 21:40:21,712 INFO  [main] EventMeshExtensionFactory(EventMeshExtensionFactory.java:92) - initialize extension instance success, extensionType: interface org.apache.eventmesh.api.registry.RegistryService, extensionInstanceName: nacos
   2023-03-12 21:40:21,720 INFO  [main] MetaInfExtensionClassLoader(MetaInfExtensionClassLoader.java:86) - load extension class success, extensionType: interface org.apache.eventmesh.trace.api.EventMeshTraceService, extensionClass: class org.apache.eventmesh.trace.zipkin.ZipkinTraceService
   2023-03-12 21:40:21,725 INFO  [main] EventMeshExtensionFactory(EventMeshExtensionFactory.java:92) - initialize extension instance success, extensionType: interface org.apache.eventmesh.trace.api.EventMeshTraceService, extensionInstanceName: zipkin
   2023-03-12 21:40:21,730 WARN  [main] JarExtensionClassLoader(JarExtensionClassLoader.java:99) - plugin dir:.\plugin\storage is not exist
   2023-03-12 21:40:21,731 ERROR [main] StorageResource(StorageResource.java:53) - can't load the connectorResourceService plugin, please check.
   2023-03-12 21:40:21,737 pool-1-thread-1 DEBUG Stopping LoggerContext[name=18b4aac2, org.apache.logging.log4j.core.LoggerContext@2b95e48b]
   2023-03-12 21:40:21,738 pool-1-thread-1 DEBUG Stopping LoggerContext[name=18b4aac2, org.apache.logging.log4j.core.LoggerContext@2b95e48b]...
   2023-03-12 21:40:21,731 ERROR [main] EventMeshStartup(EventMeshStartup.java:56) - EventMesh start fail.
   java.lang.RuntimeException: can't load the connectorResourceService plugin, please check.
   	at org.apache.eventmesh.runtime.storage.StorageResource.connectorResourceBuilder(StorageResource.java:54) ~[classes/:?]
   	at java.util.HashMap.computeIfAbsent(HashMap.java:1127) ~[?:1.8.0_202]
   	at org.apache.eventmesh.runtime.storage.StorageResource.getInstance(StorageResource.java:45) ~[classes/:?]
   	at org.apache.eventmesh.runtime.boot.EventMeshServer.<init>(EventMeshServer.java:72) ~[classes/:?]
   	at org.apache.eventmesh.runtime.boot.EventMeshStartup.main(EventMeshStartup.java:37) [classes/:?]
   	at org.apache.eventmesh.starter.StartUp.main(StartUp.java:25) [classes/:?]
   2023-03-12 21:40:21,740 pool-1-thread-1 DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false
   2023-03-12 21:40:21,740 pool-1-thread-1 DEBUG OutputStream closed
   2023-03-12 21:40:21,740 pool-1-thread-1 DEBUG Shut down OutputStreamManager SYSTEM_OUT.false.false, all resources released: true
   2023-03-12 21:40:21,740 pool-1-thread-1 DEBUG Appender console stopped with status true
   2023-03-12 21:40:21,740 pool-1-thread-1 DEBUG Log4j2 ConfigurationScheduler shutting down threads in java.util.concurrent.ScheduledThreadPoolExecutor@7bd59555[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 0]
   2023-03-12 21:40:21,741 pool-1-thread-1 DEBUG Stopped XmlConfiguration[location=C:\Users\mxsm\Desktop\EventMesh\conf\log4j2.xml] OK
   2023-03-12 21:40:21,741 pool-1-thread-1 DEBUG Stopped LoggerContext[name=18b4aac2, org.apache.logging.log4j.core.LoggerContext@2b95e48b] with status true
   ```
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 closed issue #3434: [Bug] Can't load the StorageResourceService plugin when start runtime module in IDEA

Posted by "xwm1992 (via GitHub)" <gi...@apache.org>.
xwm1992 closed issue #3434: [Bug] Can't load the StorageResourceService plugin when start runtime module in IDEA
URL: https://github.com/apache/incubator-eventmesh/issues/3434


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org