You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/04/27 06:15:57 UTC

[GitHub] [skywalking] justfbt opened a new issue #6850: cannot collect tomcat's metrics

justfbt opened a new issue #6850:
URL: https://github.com/apache/skywalking/issues/6850


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   Cannot collect tomcat's metrics
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   SkyWalking: apache-skywalking-apm-es7-8.4.0
   OS: CentOS  7.4 64bit
   JRE: 1.8.0_171
   
   - Which company or project?
   tomcat
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   
   error log:
   
   ```
   ERROR 2021-04-27 11:15:08:611 http-nio2-8080-exec-6 InstMethodsInter : class[class org.elasticsearch.action.TransportActionNodeProxy] before method[execute] intercept failure
   java.lang.NullPointerException
           at org.apache.skywalking.apm.plugin.elasticsearch.v5.TransportActionNodeProxyInterceptor.beforeMethod(TransportActionNodeProxyInterceptor.java:51)
           at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:76)
           at org.elasticsearch.action.TransportActionNodeProxy.execute(TransportActionNodeProxy.java)
           at org.elasticsearch.client.transport.support.TransportProxyClient$1.doWithNode(TransportProxyClient.java:58)
           at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:202)
           at org.elasticsearch.client.transport.support.TransportProxyClient.execute(TransportProxyClient.java:55)
           at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:272)
           at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:347)
           at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85)
           at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59)
   ...
   ```


-- 
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.

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



[GitHub] [skywalking] justfbt commented on issue #6850: cannot collect tomcat's metrics

Posted by GitBox <gi...@apache.org>.
justfbt commented on issue #6850:
URL: https://github.com/apache/skywalking/issues/6850#issuecomment-827354310


   thanks, and is there any way to compatible with ElasticSearch 2.x ? we cannot upgrade the ElasticSearch version.


-- 
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.

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



[GitHub] [skywalking] wu-sheng commented on issue #6850: cannot collect tomcat's metrics

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6850:
URL: https://github.com/apache/skywalking/issues/6850#issuecomment-827355576


   > thanks, and is there any way to compatible with ElasticSearch 2.x ? we cannot upgrade the ElasticSearch version.
   
   We have a supported list, and 2.x is clearly too old for a community to support. No way is willing to do that. You could write your own plugin, it is not hard. And remove existing ES 6/7 plugins from your agent/plugins. You should be good.


-- 
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.

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



[GitHub] [skywalking] wu-sheng commented on issue #6850: cannot collect tomcat's metrics

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6850:
URL: https://github.com/apache/skywalking/issues/6850#issuecomment-827348874


   This log is very clear, that, you are facing some plugins incompatible with ElasticSearch 5. Nothing related to the Tomcat.


-- 
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.

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



[GitHub] [skywalking] wu-sheng closed issue #6850: cannot collect tomcat's metrics

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6850:
URL: https://github.com/apache/skywalking/issues/6850


   


-- 
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.

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



[GitHub] [skywalking] justfbt commented on issue #6850: cannot collect tomcat's metrics

Posted by GitBox <gi...@apache.org>.
justfbt commented on issue #6850:
URL: https://github.com/apache/skywalking/issues/6850#issuecomment-827358149


   thanks


-- 
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.

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