We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux
master
when I use start.sh to start runtime. then throw org.apache.eventmesh.spi.ExtensionException: load extension class error
org.apache.eventmesh.spi.ExtensionException: load extension class error
bash start.sh
2023-04-01 22:20:39,342 INFO [main] JarExtensionClassLoader(JarExtensionClassLoader.java:132) - load extension class success, extensionType: interface org.apache.eventmesh.trace.api.EventMeshTraceService, extensionClass: class org.apache.eventmesh.tra ce.zipkin.ZipkinTraceService 2023-04-01 22:20:39,347 INFO [main] EventMeshExtensionFactory(EventMeshExtensionFactory.java:92) - initialize extension instance success, extensionType: interface org.apache.eventmesh.trace.api.EventMeshTraceService, extensionInstanceName: zipkin 2023-04-01 22:20:39,362 INFO [main] JarExtensionClassLoader(JarExtensionClassLoader.java:132) - load extension class success, extensionType: interface org.apache.eventmesh.api.storage.StorageResourceService, extensionClass: class org.apache.eventmesh. storage.kafka.storage.StorageResourceServiceKafkaImpl 2023-04-01 22:20:39,500 pool-1-thread-1 DEBUG Stopping LoggerContext[name=135fbaa4, org.apache.logging.log4j.core.LoggerContext@54a7079e] 2023-04-01 22:20:39,500 pool-1-thread-1 DEBUG Stopping LoggerContext[name=135fbaa4, org.apache.logging.log4j.core.LoggerContext@54a7079e]... 2023-04-01 22:20:39,496 ERROR [main] EventMeshStartup(EventMeshStartup.java:56) - EventMesh start fail. org.apache.eventmesh.spi.ExtensionException: load extension class error at org.apache.eventmesh.spi.loader.JarExtensionClassLoader.lambda$loadResources$1(JarExtensionClassLoader.java:139) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at java.util.Hashtable.forEach(Hashtable.java:879) ~[?:1.8.0_342] at org.apache.eventmesh.spi.loader.JarExtensionClassLoader.loadResources(JarExtensionClassLoader.java:127) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at org.apache.eventmesh.spi.loader.JarExtensionClassLoader.doLoadExtensionClass(JarExtensionClassLoader.java:87) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at org.apache.eventmesh.spi.loader.JarExtensionClassLoader.lambda$loadExtensionClass$0(JarExtensionClassLoader.java:69) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:1.8.0_342] at org.apache.eventmesh.spi.loader.JarExtensionClassLoader.loadExtensionClass(JarExtensionClassLoader.java:69) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at org.apache.eventmesh.spi.EventMeshExtensionFactory.getExtensionInstanceClass(EventMeshExtensionFactory.java:129) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at org.apache.eventmesh.spi.EventMeshExtensionFactory.lambda$getSingletonExtension$0(EventMeshExtensionFactory.java:84) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:1.8.0_342] at org.apache.eventmesh.spi.EventMeshExtensionFactory.getSingletonExtension(EventMeshExtensionFactory.java:83) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at org.apache.eventmesh.spi.EventMeshExtensionFactory.getExtension(EventMeshExtensionFactory.java:76) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] at org.apache.eventmesh.runtime.storage.StorageResource.storageResourceBuilder(StorageResource.java:49) ~[eventmesh-runtime-1.8.0-release.jar:1.8.0-release] at java.util.HashMap.computeIfAbsent(HashMap.java:1128) ~[?:1.8.0_342] at org.apache.eventmesh.runtime.storage.StorageResource.getInstance(StorageResource.java:45) ~[eventmesh-runtime-1.8.0-release.jar:1.8.0-release] at org.apache.eventmesh.runtime.boot.EventMeshServer.<init>(EventMeshServer.java:72) ~[eventmesh-runtime-1.8.0-release.jar:1.8.0-release] at org.apache.eventmesh.runtime.boot.EventMeshStartup.main(EventMeshStartup.java:37) [eventmesh-runtime-1.8.0-release.jar:1.8.0-release] Caused by: java.lang.ClassNotFoundException: org.apache.eventmesh.storage.knative.storage.StorageResourceServiceKnativeImpl at java.net.URLClassLoader.findClass(URLClassLoader.java:387) ~[?:1.8.0_342] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_342] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_342] at org.apache.eventmesh.spi.loader.JarExtensionClassLoader.lambda$loadResources$1(JarExtensionClassLoader.java:131) ~[eventmesh-spi-1.8.0-release.jar:1.8.0-release] ... 16 more 2023-04-01 22:20:39,502 pool-1-thread-1 DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false 2023-04-01 22:20:39,502 pool-1-thread-1 DEBUG OutputStream closed 2023-04-01 22:20:39,502 pool-1-thread-1 DEBUG Shut down OutputStreamManager SYSTEM_OUT.false.false, all resources released: true 2023-04-01 22:20:39,502 pool-1-thread-1 DEBUG Appender console stopped with status true 2023-04-01 22:20:39,502 pool-1-thread-1 DEBUG Log4j2 ConfigurationScheduler shutting down threads in java.util.concurrent.ScheduledThreadPoolExecutor@648e1b6c[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 0] 2023-04-01 22:20:39,502 pool-1-thread-1 DEBUG Stopped XmlConfiguration[location=/root/github/eventmesh/dist/conf/log4j2.xml] OK 2023-04-01 22:20:39,503 pool-1-thread-1 DEBUG Stopped LoggerContext[name=135fbaa4, org.apache.logging.log4j.core.LoggerContext@54a7079e] with status true
The text was updated successfully, but these errors were encountered:
[ISSUE apache#3595]Fix throw StorageResourceServiceKnativeImpl Storag…
8426b5e
…eResourceServiceKnativeImpl when start runtime with start.sh
Merge pull request #3596 from mxsm/eventmesh-3595
697d729
[ISSUE #3595]Fix throw StorageResourceServiceKnativeImpl StorageResourceServiceKnativeImpl when start runtime with start.sh
Successfully merging a pull request may close this issue.
Search before asking
Environment
Linux
EventMesh version
master
What happened
when I use start.sh to start runtime. then throw
org.apache.eventmesh.spi.ExtensionException: load extension class error
How to reproduce
Debug logs
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: