Showing results for 
Show  only  | Search instead for 
Did you mean: 

dtagent.dll is not a valid Win32 application

Dynatrace Helper
Dynatrace Helper

Trying to instrument a Application on WebSphere, The Argument is as follows:

"-agentpath:C:\Program Files (x86)\dynaTrace\Dynatrace Agent 6.3\agent\lib64\dtagent.dll=name=agent-mapping,server=x:x"

The Application fails to start up and the error logs shows:

JVMJ9TI001E Agent library C:\Program Files (x86)\dynaTrace\Dynatrace Agent 6.3\agent\lib\dtagent.dll could not be opened (C:\Program Files (x86)\dynaTrace\Dynatrace Agent 6.3\agent\lib\dtagent.dll is not a valid Win32 application. )
JVMJ9VM015W Initialization error for library j9jvmti24(-3): JVMJ9VM009E J9VMDllMain failed

Any ideas?


Dynatrace Champion
Dynatrace Champion

Hi Joseph,

Try changing "\lib" to \lib64 in your agentpath, like this:

"-agentpath:C:\Program Files (x86)\dynaTrace\Dynatrace Agent 6.3\agent\lib\dtagent.dll=name=agent-mapping,server=x:x"

I am confused since it does reference \lib rather than \lib64 in the error messages, but you should reference \lib for 32-bit and \lib64 for 64-bit apps.



at the moment of running my application indicates the following message

2018-07-05 13:33:24 [000002bc] información [nativo] Apagar el Controlador 2018-07-05 13:33:24 [000002bc] información [nativo] Apagar EventSender 2018-07-05 13:33:24 [0000060c] advertencia [nativo] Agente no instrumentado correctamente, la licencia no se puede verificar 2018-07-05 13:33:24 [000002bc] información [nativo] Apagar Instrumentor 2018-07-05 13:33:24 [000002bc] info [nativo] cierre exitoso

Xochitl, You appear to be asking a new issue, not related to this thread. Please create a new posting with your question.