[Design of JBoss Profiler] - Mac OS X: Success!
by msolnit
Hi everyone. I have successfully built and tested the Memory Profiler (JVMTI) on Mac OS X Intel. I'll e-mail the binary and compile script to Clebert, and hopefully it can be included in the next release.
For those of you who wish to reproduce at home:
1) Download the latest CR4 release.
The following steps produce an Intel binary of the JVMPI library (Runtime Profiler):
2) chmod +x jboss-profiler-1.0.CR4/jvmpi-src/macos/compile.sh
3) jboss-profiler-1.0.CR4/jvmpi-src/macos/compile.sh
The following steps produce an Intel binary of the JVMTI library (Memory Profiler):
4) Convert the jboss-profiler-1.0.CR4/jvmpi-src/macos/compile.sh file from a DOS text file into a Unix text file. The way that I did this (lacking a version of dos2unix) was to simply open the file in an editor, copy and paste the contents into a new file, and then save the new file over the old one.
5) chmod +x jboss-profiler-1.0.CR4/jvmpi-src/macos/compile.sh
6) jboss-profiler-1.0.CR4/jvmti-src/macos/compile.sh
The following steps install the two profiler libraries where Mac Java can find them:
7) cp jboss-profiler-1.0.CR4/jvmpi-src/macos/libjbossInspector.jnilib /Library/Java/Extensions
8) cp jboss-profiler-1.0.CR4/jvmti-src/macos/libjbossAgent.jnilib /Library/Java/Extensions
The following step alters JBoss so that it loads the Memory Profiler agent:
9) Edit JBOSS_HOME/bin/run.conf and add the following line to the end: JAVA_OPTS="$JAVA_OPTS -agentlib:jbossAgent"
The following steps run a short test:
10) Start (or re-start) JBoss.
11) Browse to http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jb...
12) Find the "java.lang.String listClassesHTMLReport()" operation and invoke.
You should get a nice HTML report. If so, you're done!
Sincerely,
Matt
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966125#3966125
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966125
19 years, 7 months
[Design of JBoss Profiler] - .log.gz files can not be loaded
by suen
I'm using Win2k_sp4, j2sdk1.4.2_03, jboss-4.0.1sp1 and jboss-profiler-1.0.RC3.
While profiling, I activate and stop data gathering with JMX console. Every step goes well until the .log.gz files are generated.
But when I go to the "localhost:8080/jboss-profiler -> Runtime Profiler" and enter the directory D:\temp where I store the log files, nothing happens, only a blank page is displayed. Then I try to "load saved data" and select a .log.gz, but it throws an exception:
javax.servlet.ServletException: Servlet execution threw an exception
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
I checked carefully the previous subjects in the forum, it seemed that someone had encountered the same problem as mine. I've tried several solutions mentioned in those posts, but they didn't work. The problem still exists. Could anyone tell me what points should be carefully checked to ensure the profiler works well? Thanks a lot!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966099#3966099
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966099
19 years, 7 months
[Design of JBoss jBPM] - Re: splitting the work on the console
by kukeltje
David,
I partly agree. The webapp has never been meant to be used as a system to base your own development on. At least not be directly using the code. It's purpose was to serve as an example on how things can be done AND as an app to be used (as is) for demo purposes. Tom is not a jsf expert, so he did some work to have at least something. I have not found the time (busy with forums :-)) to do some development myself.
Now (at last or better, fortunately, lets see it from the bright side) Someone is working deticated on this. I trust Tom to have always had the best interest of the users in mind and I trust David to do a good job on this.
Regarding the functionality, It should be based on a good foundation, which jsf + jsp was not. jsf + facelets is (imo). So Once this foundation has been laid (in cement this time I hope) We will see new things added, to which you may contribute.
Peace,
Ronald
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966097#3966097
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966097
19 years, 7 months