I wonder if Roo works with 2.2.1 which is the latest release of Maven.
If the latest version was 2.0.12 and you said 2.0.9 or higher I would not even blink.
But....
Also has anyone tested Roo against Maven 3.0 branch?
Tuesday, February 9, 2010
Maven 2.0.9 or higher
Read the Roo manual now trying the tutorial (stay tuned)
Here is what I came up with.... (this roo.sh should work under Unix, Linux, MacOS and cygwin)...
Monday, February 8, 2010
completion not completio
This:
the first time you press TAB you'd see the inline help and the completio options
should read
the first time you press TAB you'd see the inline help and the completion options
Side note:
Inbuilt? I have heard of builtin, but inbuilt seems an odd word.
Roo itself do not require Maven
"Roo itself do not require Maven."
should read
"Roo itself does not require Maven."
Unless Roo is like sheep and can also be plural.
Facebook versus Twitter
Facebook is for your friends. Twitter is for people you may never be friends with or know personally, but you still share a common interests.
Twitter is for making friends.
Facebook is for friends that you have made.
Wednesday, February 3, 2010
Got some help and this is what worked for me
I got some help running this for NetBeans 6.8 profiler with JBoss 4.0.5 on CentOS 4.5.
Here is what worked for me.
Using JIP with JBoss on Linux
I downloaded and unzip to the following directory:
/home/corventis/tools/jip/
Go to where you have JBoss installed
/usr/local/jboss/bin
Copied run.sh to profile.sh
Add another JAVA_OPTS environment variable to profile.sh
JAVA_OPTS=" -javaagent:/home/corventis/tools/jip/profile/profile.jar -Dprofile.properties=/home/corventis/tools/jip/profile/jboss.profile.properties $JAVA_OPTS"
Use profile.sh to start JBoss instead of run.sh.
In the JIP directory run the following:
bash-3.00$ ./file.sh localhost 15599 /home/corventis/profile.xml
To start profiling use the following:
bash-3.00$ ./start.sh localhost 15599
When you are done testing:
bash-3.00$ ./finish.sh localhost 15599
Then run the JIP viewer to view the output:
bash-3.00$ java -jar ~/tools/jip/client/jipViewer.jar ~/profile.xml
Using NetBean's profiler with JBoss
These instructions are only valid for NetBean's 5.5... (http://profiler.netbeans.org/docs/help/5.5/j2ee_server_integration.html(view on Google Sidewiki)) Where are the instructions for NetBean's 6.8?
The instructions state the following:
For JDK 5/6, add the following single line
set JAVA_OPTS=
-agentpath:%PROFILER_LIBS%\deployed\jdk15\windows\profilerinterface.dll=
%PROFILER_LIBS%,%AGENT_PORT% %JAVA_OPTS%
The profiler lib is no longer under modules/profiler1... you can find it as follows:
I found it well enough.
PROFILER_LIB=/home/corventis/netbeans-6.8/profiler3/lib
AGENT_PORT=7676
JAVA_OPTS="-Dprogram.name=$PROGNAME -Dcom.sun.management.jmxremote $JAVA_OPTS"
JAVA_OPTS="-agentpath:$PROFILER_LIBS/deployed/jdk15/linux/libprofilerinterface.so=$PROFILER_LIBS,$AGENT_PORT $JAVA_OPTS"
Ok.. that did not work...
I changed JAVA_OPTS as follows:
JAVA_OPTS="-agentpath:/home/corventis/netbeans-6.8/profiler3/lib/deployed/jdk15/linux/libprofilerinterface.so=$PROFILER_LIBS,7676 $JAVA_OPTS"
Now I get... Exception Profiler Agent Warning: Native bind failed to lookup org.netbeans.lib.profiler.server.ProfilerRuntimeMemory class!!!
I guess this is progress. It now says it can't find the jar files.
So looking up the above error message gives me this...
http://forums.netbeans.org/topic5938.html
This seems to have the answer.
"""
Where did you get this commandline? It is incorrect. It should be:
/usr/lib/jvm/java-1.5.0-sun/bin/java -agentpath:/usr/local/netbeans/
profiler3/lib/deployed/jdk15/linux/libprofilerinterface.so -
Xbootclasspath/a:/usr/local/netbeans/profiler3/lib/jfluid-
server-15.jar:/usr/local/netbeans/profiler3/lib/jfluid-server.jar
org.netbeans.lib.profiler.server.ProfilerServer /usr/local/netbeans/
profiler3/lib/deployed/jdk15/linux 5141 10 ____Profiler+Calibration
+Run____
"""
Ok......
So now I try this....
JAVA_OPTS="-Dprogram.name=$PROGNAME -Dcom.sun.management.jmxremote $JAVA_OPTS"
JAVA_OPTS="-agentpath:/home/corventis/netbeans-6.8/profiler3/lib/deployed/jdk15/linux/libprofilerinterface.so=$PROFILER_LIBS,7676 -Xbootclasspath/a:/home/corventis/netbeans-6.8/profiler3/lib/jfluid-server-15.jar:/home/corventis/netbeans-6.8/profiler3/lib/jfluid-server.jar $JAVA_OPTS"
And I get this...
java.lang.UnsatisfiedLinkError: Can't load library: /deployed/jdk15/linux/libprofilerinterface.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at org.netbeans.lib.profiler.server.ProfilerServer.loadNativeLibrary(ProfilerServer.java:818)
at org.netbeans.lib.profiler.server.ProfilerServer.doActivate(ProfilerServer.java:873)
at org.netbeans.lib.profiler.server.ProfilerServer.activate(ProfilerServer.java:511)
profile.sh: unused non-option argument: default
14:45:02,768 INFO [Server] Starting JBoss (MX MicroKernel)...
Not sure why iin reference to: http://profiler.netbeans.org/docs/help/5.5/j2ee_server_integration.html (view on Google Sidewiki)