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.

Bug 94932 - Application started with profiler agent doesn't wait for profiler
Summary: Application started with profiler agent doesn't wait for profiler
Status: VERIFIED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 10:38 UTC by Ivan Sidorkin
Modified: 2007-02-08 12:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2007-02-08 10:38:42 UTC
NetBeans IDE Dev (Build 200702071900)
1.6.0; Java HotSpot(TM) 64-Bit Server VM 1.6.0-b105
Linux version 2.6.17-10-generic running on amd64 Ubunte 6.10 AMD64

- try to run AnagramGame with profiler agent
java
-agentpath:/opt/netbeans-6.0dev/profiler1/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so=/opt/netbeans-6.0dev/profiler1/lib,5140
-jar anagrams.jar

application started witout waiting profiler will connect
Comment 1 Tomas Hurka 2007-02-08 12:04:12 UTC
Works for me.
[user@host ~]$ /usr/java/jdk1.6.0/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
[user@host ~]$ /usr/java/jdk1.6.0/bin/java -agentpath:/home/user/Projects/Source/profiler-cvs/
build/netbeans/profiler1/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so=/home/user/
Projects/Source/profiler-cvs/build/netbeans/profiler1/lib,5140 -jar /usr/java/jdk1.6.0/demo/jfc/
Java2D/Java2Demo.jar
Profiler Agent: Initializing...
Profiler Agent: Options: >/home/user/Projects/Source/profiler-cvs/build/netbeans/profiler1/lib,
5140<
Profiler Agent: Initialized succesfully
Profiler Agent: Waiting for connection on port 5140 (Protocol version: 5)
Comment 2 Ivan Sidorkin 2007-02-08 12:51:52 UTC
verified