This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I started weblogic and it waited on port 5140. I selected attach in profiler. Profiler attached on weblogic, but after a second exception was thrown and profiler was detached. There was messaged that port 5140 is used, but I am sure that it was free before attaching.
Created attachment 23419 [details] Weblogic output
If you look at the attached log (Starting WLS with line:), the -agentpath argument is present more than once, resulting later in Address already in use exception. Please try to modify WLS startup script to use -agentpath only once.
Attach wizard adviced me to put profiler setting including JAVA_HOME somewhere in the middle of weblogic script. It didn't work, because first part of script was executed with JAVA_HOME set to java home provided by weblogic and rest of script was executed with JAVA_HOME set to sun java. I therefore moved the settings to the beginning of the script, but I didn't notice that I moved it before SETLOCAL command and arguments was again and again added to JAVA_OPTIONS each time when script was executed. When I moved settings below SETLOCAL profiler worked. I am closing this issue and will fill new issue about problematic advice in attach wizard.
Verification of old issues.
Closing old issues.
Reverting to the original Target Milestone value changed by mistake. Sorry for inconvenience.