JVM-Sandbox常见报错

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JVM-Sandbox常见报错相关的知识,希望对你有一定的参考价值。

参考技术A 2021-11-29 15:46:00 chaosblade INFO active module, module=chaosblade;class=com.alibaba.chaosblade.exec.bootstrap.jvmsandbox.SandboxModule;module-jar=/data/chaosblade-1.3.0/lib/sandbox/module/chaosblade-java-agent-1.3.0.jar;
2021-11-29 15:46:00 chaosblade WARN sandbox transform com/alibaba/chaosblade/exec/common/aop/matcher/ClassInfo in loader=ModuleJarClassLoader[crc32=760908258;file=/data/chaosblade-1.3.0/lib/sandbox/module/chaosblade-java-agent-1.3.0.jar;]; failed, module=chaosblade at watch=1000, will ignore this transform.
java.lang.ClassCircularityError: com/alibaba/chaosblade/exec/common/aop/matcher/ClassInfo
at com.alibaba.chaosblade.exec.bootstrap.jvmsandbox.SandboxEnhancerFactory ExtFilterFactory And.matching(GroupMatcher.java:52)
at com.alibaba.jvm.sandbox.core.manager.impl.SandboxClassFileTransformer._transform(SandboxClassFileTransformer.java:118)
at com.alibaba.jvm.sandbox.core.manager.impl.SandboxClassFileTransformer.transform(SandboxClassFileTransformer.java:84)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access 1.run(URLClassLoader.java:368)
at java.net.URLClassLoader 400(RoutingURLClassLoader.java:20)
at com.alibaba.jvm.sandbox.core.classloader.RoutingURLClassLoader 1.doClassFilter(SandboxEnhancerFactory.java:61)
at com.alibaba.jvm.sandbox.api.filter.ExtFilter 1.doClassFilter(ExtFilter.java:66)
at com.alibaba.jvm.sandbox.core.util.matcher.ExtFilterMatcher.matchingClassStructure(ExtFilterMatcher.java:59)
at com.alibaba.jvm.sandbox.core.util.matcher.ExtFilterMatcher._matching(ExtFilterMatcher.java:111)
at com.alibaba.jvm.sandbox.core.util.matcher.ExtFilterMatcher.matching(ExtFilterMatcher.java:78)
at com.alibaba.jvm.sandbox.core.util.matcher.GroupMatcher 2.invoke(SandboxProtector.java:91)
at com.sun.proxy. RequestHandler.headerComplete(AbstractHttpConnection.java:944)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint 3.run(QueuedThreadPool.java:534)
at java.lang.Thread.run(Thread.java:745)

kafka使用常见报错及解决方法

参考技术A server.properties中有两个listeners。 listeners:启动kafka服务监听的ip和端口,可以监听内网ip和0.0.0.0(不能为外网ip),默认为java.net.InetAddress.getCanonicalHostName()获取的ip。advertised.listeners:生产者和消费者连接的地址,kafka会把该地址注册到zookeeper中,所以只能为除0.0.0.0之外的合法ip或域名 ,默认和listeners的配置一致。

只有在jdk1.9并且kafka版本在1.0.x之前的版本才会出现。

以上是关于JVM-Sandbox常见报错的主要内容,如果未能解决你的问题,请参考以下文章

常见报错

ssh远程主机 常见报错处理

Linux shell 常见报错

Zabbix 常见报错

Linux常见报错注释

python常见报错