FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Attach Profiler to remote instance

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
adt1



Joined: 21 Sep 2009
Posts: 1

PostPosted: Tue Sep 22, 2009 1:30 am    Post subject: Attach Profiler to remote instance Reply with quote

Hi,

I am attempting to use Netbeans Profiler to profile a app running in a Glassfish 9.1 JVM on a remote instance (not the default domain domain1, but a newly created instance where my application is deployed).

I completed the following steps:
1. Download the remote pack (for Solaris Sparc JDK 6)
2. Perform calibration
3. Added the profiler tag to the instance
4. Restarted the instance
5. Attached the profiler

The profiler picks up classes etc, but not my application or any of the classes. Also, as per the instructions provided in the wizard, the instance is supposed to start up. This does however not occur. From the administration console the status of the instance is still "stopped".

The output in the log after startup and connecting the profiler looks as follows:
Could not load Logmanager "com.sun.enterprise.server.logging.ServerLogManager"
java.lang.ClassNotFoundException: com.sun.enterprise.server.logging.ServerLogManager

Profiler Agent: Redefining 100 classes at idx 0, out of total 304
Profiler Agent: Redefining 100 classes at idx 100, out of total 304
Profiler Agent: Redefining 100 classes at idx 200, out of total 304
Profiler Agent: Redefining 4 classes at idx 300, out of total 304

Must I recompile and redeploy the application? We use Maven to build the ear file.

Any help is greatly appreciated.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB