DX Application Performance Management

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

May 26, 2016 06:48 PM

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

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.