| View previous topic :: View next topic |
| Author |
Message |
prashanthvvbabu
Joined: 03 Jul 2009 Posts: 1
|
Posted: Fri Jul 03, 2009 3:53 pm Post subject: Profiling issues with Netbeans6.7 + WL10 + JRockit1.5.0_11 |
|
|
Hi,
Am having an issue with profiling using a webapp deployed on Weblogic 10.0 [running on JRockit 1.5.0_11] using Netbeans 6.7 beta. Even Netbeans is running on the above JRockit JDK itself.
Following is the output of the Weblogic Server startup console.
| Quote: | Profiler Agent: Initializing...
Profiler Agent: Options: >/home/netbeans/netbeans-6.7beta/profiler3/lib,4712<
Profiler Agent: Initialized succesfully
Profiler Agent: Waiting for connection on port 4712 (Protocol version: 9)
Profiler Agent: Established local connection with the tool
Profiler Agent Error: Redefinition failed for classes:
java.lang.ref.Reference$ReferenceHandler
sun.nio.ch.FileChannelImpl$Unmapper
java.lang.UNIXProcess$1$1
jrockit.memory.Finalizer$4
Profiler Agent Error: with message: Redefinition failed with error 79
Check JVMTI documentation for this error code.
Debug: writing class file: java.lang.ref.Reference$ReferenceHandler, into file: java.lang.ref.Reference$ReferenceHandler.class
Debug: writing class file: sun.nio.ch.FileChannelImpl$Unmapper, into file: sun.nio.ch.FileChannelImpl$Unmapper.class
Debug: writing class file: java.lang.UNIXProcess$1$1, into file: java.lang.UNIXProcess$1$1.class
Debug: writing class file: jrockit.memory.Finalizer$4, into file: jrockit.memory.Finalizer$4.class
|
I have followed all the required steps as listed by the Netbeans profiler while I tried attaching profiler to WL10.
After this, my server crashes without even starting. Let me know if I am doing anything wrong here.
Also, I could not find Weblogic10 in the dropdown list of AppServers in either Beta or GA version of Netbeans6.7. But, the release notes says its been tested on WL10 also. http://www.netbeans.org/community/releases/67/relnotes.html#supported_technologies.
This issue can be simulated in standalone example also by attaching the profiler to a standalone Java Class file too, whilst both running on JRockit JDK. Even this profiling fails.
Application / Netbeans when both run on Sun JDK, everything works fine. The issue is only when I change the JDK to JRockit.
Can you let me know is this an issue with JRockit or Netbeans.
Or is it like Netbeans does not support JRockit JDK, since I could not see JRockit JDK as the tested / supported JDK in the above release notes.
TIA.
Regards,
Prashanth. |
|
| Back to top |
|
 |
Jiri Sedlacek Posted via mailing list.
|
Posted: Fri Jul 03, 2009 4:15 pm Post subject: Profiling issues with Netbeans6.7 + WL10 + JRockit1.5.0_11 |
|
|
Hi Prashanth,
NetBeans profiler can only profile applications running on Sun JDK 5+ or Apple JDK 5+, the JRockit
JDK isn't supported for profiling.
The WL10 listed in
http://www.netbeans.org/community/releases/67/relnotes.html#supported_technologies means that the
appropriate serverplugin for controlling the server & deploying the applications from the IDE has
been tested to work with WL10. However, the profiler doesn't have any special support for this
server, that's why you don't see it in the dropdown.
Note that you can profile the WL10 server (just like any other Java application) using the NetBeans
profiler. First setup the server to run on Sun/Apple JDK and then configure it to start with the
profiler agent by providing the "-agentpath" parameter to the java command. In the dropdown choose
"J2EE Web/App Server" and "Generic Web/App Server" to setup the profiling and obtain the correct
"-agentpath" parameter.
Jiri
prashanthvvbabu wrote:
| Quote: | Hi,
Am having an issue with profiling using a webapp deployed on Weblogic 10.0 [running on JRockit 1.5.0_11] using Netbeans 6.7 beta. Even Netbeans is running on the above JRockit JDK itself.
Following is the output of the Weblogic Server startup console.
| Quote: | Profiler Agent: Initializing...
|
| Quote: | Profiler Agent: Options: >/home/netbeans/netbeans-6.7beta/profiler3/lib,4712<
|
| Quote: | Profiler Agent: Initialized succesfully
|
| Quote: | Profiler Agent: Waiting for connection on port 4712 (Protocol version: 9)
|
| Quote: | Profiler Agent: Established local connection with the tool
|
| Quote: | Profiler Agent Error: Redefinition failed for classes:
|
| Quote: | java.lang.ref.Reference$ReferenceHandler
|
| Quote: | sun.nio.ch.FileChannelImpl$Unmapper
|
| Quote: | java.lang.UNIXProcess$1$1
|
| Quote: | jrockit.memory.Finalizer$4
|
| Quote: | Profiler Agent Error: with message: Redefinition failed with error 79
|
| Quote: | Check JVMTI documentation for this error code.
|
| Quote: | Debug: writing class file: java.lang.ref.Reference$ReferenceHandler, into file: java.lang.ref.Reference$ReferenceHandler.class
|
| Quote: | Debug: writing class file: sun.nio.ch.FileChannelImpl$Unmapper, into file: sun.nio.ch.FileChannelImpl$Unmapper.class
|
| Quote: | Debug: writing class file: java.lang.UNIXProcess$1$1, into file: java.lang.UNIXProcess$1$1.class
|
| Quote: | Debug: writing class file: jrockit.memory.Finalizer$4, into file: jrockit.memory.Finalizer$4.class
|
I could not find Weblogic10 in the dropdown list of AppServers in either Beta or GA version of Netbeans6.7. But, the release notes says its been tested on WL10 also. http://www.netbeans.org/community/releases/67/relnotes.html#supported_technologies.
I have followed all the required steps as listed by the Netbeans profiler while I tried profiler to WL10.
Can you let me know is this an issue with JRockit or Netbeans.
TIA.
Regards,
Prashanth.
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
|
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed |
|
| Back to top |
|
 |
Tomas Hurka Posted via mailing list.
|
Posted: Tue Jul 07, 2009 8:40 am Post subject: Profiling issues with Netbeans6.7 + WL10 + JRockit1.5.0_11 |
|
|
Hi Prashanth,
On 3 Jul 2009, at 18:11, Jiri Sedlacek wrote:
| Quote: |
NetBeans profiler can only profile applications running on Sun JDK
5+ or Apple JDK 5+, the JRockit JDK isn't supported for profiling.
| FYI: I did small test with Anagram game (small NetBeans' test project)
and I was able to profiler it under JRockit (R27.4.0-jdk1.6.0_02) on
Linux. So it looks like profiling more-or-less works with above version.
Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|