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 
  

Can't run netbeans profiler on Solaris SPARC 32.

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



Joined: 16 Jul 2009
Posts: 2

PostPosted: Thu Jul 16, 2009 7:15 pm    Post subject: Can't run netbeans profiler on Solaris SPARC 32. Reply with quote

I am having problems running profiler on Solaris. Below is the script and the error that I am getting. Any ideas?

Xms512M -Xmx512M -Xbootclasspath/a:/websites/websphere/.../v6_1/profiler/lib/jf
luid-server.jar org.netbeans.lib.profiler.server.ProfilerServer -agentpath:/webs
ites/websphere/sds/v6_1/profiler/lib/deployed/jdk15/solaris-sparc/libprofilerint
erface.so=/lib,5140 -Djava.security.policy=all.policy -cp ../lib/...lib/....jar:
../lib/...lib/sibl.jar:../lib/...lib/onc.jar:../lib/...lib/systemAdapter.jar:../
lib/...lib/systemAdapterInstance.jar:../lib/...lib/commons-net-1.4.1.jar:../lib/
...lib/mail.jar:../lib/...lib/activation.jar:../lib/applib/gateway.jar:../lib/ap
plib/...-common.jar:../lib/applib/...Filters.jar:../lib/applib/...Factory.jar:..
/lib/...lib/key.jar:..lib/applib/appAdapter.jar -Djava.rmi.server.codebase=file:
/appl/sds/..._sp4
Profiler Server: Problem with customized initializing localized messages...
ProfilerServer: Unable to initialize ResourceBundle for ProfilerServer, cannot f
ind localized jfluid-server.jar
Profiler Engine Error: illegal port number specified: -Djava.security.policy=all
.policy
Back to top
View user's profile Send private message
Jiri Sedlacek
Posted via mailing list.





PostPosted: Thu Jul 16, 2009 7:26 pm    Post subject: Can't run netbeans profiler on Solaris SPARC 32. Reply with quote

Hi,

the profiler part of the script is incorrect. Use the Attach Wizard to suggest the correct
parameter: Profile | Attach Profiler | define... (link at the bottom of the Attach Profiler dialog)
| J2EE Web/App Server | Generic Web/App Server ...

On Solaris Sparc 32bit the general pattern for the profiler argument is (assuming JDK 5):

-agentpath:<full_path>/lib/deployed/jdk15/solaris-sparc/libprofilerinterface.so=<full_path>/lib,5140

Afaik you don't need to specify the -Xbootclasspath parameter for profiling.


HTH,
Jiri

j1noel wrote:
Quote:
I am having problems running profiler on Solaris. Below is the script and the error that I am getting. Any ideas?



Xms512M -Xmx512M -Xbootclasspath/a:/websites/websphere/sds/v6_1/profiler/lib/jf

luid-server.jar org.netbeans.lib.profiler.server.ProfilerServer -agentpath:/webs

ites/websphere/sds/v6_1/profiler/lib/deployed/jdk15/solaris-sparc/libprofilerint

erface.so=/lib,5140 -Djava.security.policy=all.policy -cp ../lib/aimlib/aim.jar:

../lib/aimlib/sibl.jar:../lib/aimlib/onc.jar:../lib/aimlib/systemAdapter.jar:../

lib/aimlib/systemAdapterInstance.jar:../lib/aimlib/commons-net-1.4.1.jar:../lib/

aimlib/mail.jar:../lib/aimlib/activation.jar:../lib/applib/gateway.jar:../lib/ap

plib/sds-common.jar:../lib/applib/BODFilters.jar:../lib/applib/BODFactory.jar:..

/lib/aimlib/key.jar:..lib/applib/appAdapter.jar -Djava.rmi.server.codebase=file:

/appl/sds/aim_sp4

Profiler Server: Problem with customized initializing localized messages...

ProfilerServer: Unable to initialize ResourceBundle for ProfilerServer, cannot f

ind localized jfluid-server.jar

Profiler Engine Error: illegal port number specified: -Djava.security.policy=all

.policy





---------------------------------------------------------------------
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
j1noel



Joined: 16 Jul 2009
Posts: 2

PostPosted: Thu Jul 16, 2009 7:56 pm    Post subject: Reply with quote

Thanks! I will make the changes and try it again.

-J
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