DX Application Performance Management

Expand all | Collapse all

Does pbd take Regex? Need to do SkipClass

Jump to Best Answer
  • 1.  Does pbd take Regex? Need to do SkipClass

    Posted 04-21-2017 07:29 PM

    I am getting a bunch of the errors below in my agent log and would like to use SkipClass in a custom pbd on those classes.

    Will this work? Not sure if pbd allows for Regex? 

    SkipClass: com.ibm.compiledxpath.*

     

    These are the errors, I have hundreds of them

    4/20/17 02:21:24 PM MDT [ERROR] [IntroscopeAgent.Agent] A problem occurred while attempting to Introscope-enable com/ibm/compiledxpath/01105DFD015A4000E000D375AC1C01D4: Invalid class file
    4/20/17 02:21:24 PM MDT [ERROR] [IntroscopeAgent.Agent] A problem occurred while attempting to Introscope-enable com/ibm/compiledxpath/01105DFD015A4000E000D375AC1C01D4_Common: Invalid class file
    4/20/17 02:21:24 PM MDT [ERROR] [IntroscopeAgent.Agent] A problem occurred while attempting to Introscope-enable com/ibm/compiledxpath/01105DFD015A4000E000D375AC1C01D4_Common_Partition1: Invalid class file
    4/20/17 02:21:24 PM MDT [ERROR] [IntroscopeAgent.Agent] A problem occurred while attempting to Introscope-enable com/ibm/compiledxpath/01105DFD015A4000E000D375AC1C01D4_Common_Partition0: Invalid class file
    4/20/17 02:21:24 PM MDT [ERROR] [IntroscopeAgent.Agent] A problem occurred while attempting to Introscope-enable com/ibm/compiledxpath/0110413E015A4000E000D375AC1C01D4: Invalid class file



  • 2.  Re: Does pbd take Regex? Need to do SkipClass
    Best Answer

    Posted 04-24-2017 02:12 AM

    I found a KB with invalid class paths. Here is the link:

     

    Invalid class file errors occur in agent logs when the class file name contains an invalid character. 

     

    Hope this helps!

    Regards

    Sri



  • 3.  Re: Does pbd take Regex? Need to do SkipClass

    Posted 04-24-2017 10:13 AM

    Guys,

    I already read the KB before posting the question. What i was asking is this syntax correct in order to Skip all classess that are generating the error, do note that each class has a unique identifier so i am trying to use regex to catch them all

    Will this work.


    SkipClass: com.ibm.compiledxpath.*



  • 4.  Re: Does pbd take Regex? Need to do SkipClass

    Posted 04-24-2017 10:19 AM

    Personally, I think that SkipPackage or SkipPackagePrefix would be the right choice.



  • 5.  Re: Does pbd take Regex? Need to do SkipClass

    Posted 04-24-2017 10:43 AM

    Thanks Tim.

    I think that should work, didn't know SkipPackagePrefix. I'd try 
    SkipPackagePrefix: com.ibm.compiledxpath

    Correct?

     



  • 6.  Re: Does pbd take Regex? Need to do SkipClass

    Posted 04-24-2017 11:27 AM

    Yes, that should do it.



  • 7.  Re: Does pbd take Regex? Need to do SkipClass

    Posted 04-24-2017 12:01 PM

    Thanks guys, i'd let you know how it goes



  • 8.  Re: Does pbd take Regex? Need to do SkipClass

    Posted 04-25-2017 10:57 PM

    This worked, thanks guys



  • 9.  Re: Does pbd take Regex? Need to do SkipClass

    Posted 04-30-2017 11:44 AM

    Tesleem:

    Glad to hear that Tim's solution was helpful!

    Thanks

    Hal German



  • 10.  Re: Does pbd take Regex? Need to do SkipClass

    Posted 04-24-2017 09:38 AM

    Hi Tesleen:

    Was Sridevi's KB pointer helpful or do you need additional assistance?. Please let us know. Marking as correct since a response was posted with a good lead and no additional questions were asked at this time. You may ask followup questions as needed

    Thanks

    Hal Gernan