TEC614953: Using unsupported characters in a Java class name produce "Invalid Class path" errors in the agent log

Document created by strgu01 Employee on May 26, 2016Last modified by J.J. Lovett on May 26, 2016
Version 2Show Document
  • View in full screen mode

Document ID:  TEC614953

Last Modified Date:  2/4/2016
Authored By: strgu01

  • Products
    • CA Application Performance Management
  • Releases
    • CA Application Performance Management:Release:CA APM 9.5
    • CA Application Performance Management:Release:CA APM 9.7
    • CA Application Performance Management:Release:CA APM 9.6
  • Components
    • APM AGENTS

Issue:

  Agent logs are filled with errors as the following:

DATE/TIME [ERROR] [IntroscopeAgent.Agent] A problem occurred while attempting to Introscope-enable org/jboss/weldx/transaction/UserTransaction$-11111111$Proxy$_$$_Weld$Proxy$: Invalid class file  DATE/TIME [ERROR] [IntroscopeAgent.Agent] A problem occurred while attempting to Introscope-enable org/jboss/weld/security/Principal$-11111111$Proxy$_$$_Weld$Proxy$: Invalid class file

Cause:

The "-" (hyphen) is an invalid character for a Java class name.  Per the Java specifications, you cannot use an hyphen as part of a Java class file name.  In the above error message, you can see this where it says -11111111.

Environment:

  Java Agent 9.5x
  Java Agent 9.6x
  Java Agent 9.7x

Resolution:

  The solution is removing the - in the monitored Java class names.

 

Search the Entire CA APM Knowledge Base

 

search-kb.jpg

Attachments

    Outcomes