Book a Demo

Author Topic: Java Debugging No agent loaded in process  (Read 3695 times)

vidafo

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Java Debugging No agent loaded in process
« on: April 22, 2009, 08:02:26 pm »
Hi folks

I'm trying to get a sequence diagram out of the java debugging function.
First some environment information.
OS Windows XP
EA Version 7.0.818
Bea Weblogic Version 10.3
JRE 1.6.0_05

Loading of SSJavaProfiler5_70 seems to work, checking with Process Explorer shows process=java.exe, pid=1992, type=dll, Handle or DLL=C:\Program Files\SparxSystems_EnterpriseArchitect_7.0_EN\EA\SSJavaProfiler5_70.dll

What I do:
Start Weblogic Server with appropriate options according EA User Guide.
Check if SSJavaProfiler5_70.dll is loaded.
Start a JUnit Test, that connects to the Server and executes some methods.
In EA Debug Workbench Run Debugger shows Attach to Process Window. Selecting the PID with the number shown as by the Process Explorer containing the SSJavaProfiler5_70.dll

Get Error:No agent loaded in process C:\Win32App\bea10\JDK160~1\bin\java.exe

Some thoughts:
Might it be an access right problem? I do not have admin rights.
Might it be a problem of other vm options starting the vm? such as -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX: PermSize=48m  -XX:MaxPermSize=128m -Xverify:none -da

Thanks for any good help
Daniele