Failed to Instrument Java process

Ask general questions here.
wcrockett
Posts: 17
Joined: Thu Aug 13, 2015 9:30 pm
Location: Fresno, CA

Failed to Instrument Java process

Post by wcrockett » Fri Feb 19, 2016 6:52 pm

Hello all,

We use Ranorex against a Java based web application (Oracle Forms and Reports 11g hosted on Fusion Middleware.)

My tests work, but every run gets the following warning:
JAVA AWT/Swing: Failed to instrument Java process. Please make sure you have enough privileges to access the process.

I have run the Java instrumentation Wizard and I see patch notes addressing this issue, but I still receive the warning. Does anyone know how to fix this for good?

Thank you,
Wes

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Failed to Instrument Java process

Post by Support Team » Mon Feb 22, 2016 4:05 pm

Hello Wes,

First, may I ask which version of Ranorex you currently use?

Please have a look at the following forum thread: Ranorex causing java.lang.OutOfMemoryError.
May I ask to check the log files of the Java application? Are you facing the same issues like described in this thread? We are already working on the issue and hope we can fix it with one of our next releases.

I look forward to hearing from you.

Sincerely,
Johannes
.
Image