Start using the cloud - but until you get there, setup your own server on site.
Java Remote Diagnostics
Setting up the hosting server- add the following java properties to your JVM - preferably on the WebLogic server "server start | arguments" tab
-Dcom.sun.management.jmxremote.port=13333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
- see the ports in your jvm process
obrienlabs-mbp15:security michaelobrien$ ps -ef | grep java
501 79388 79343 0 11:57am ?? 0:12.75 /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java -client -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/Users/michaelobrien/Oracle/Middleware/Oracle_HomeC/wlserver/server/lib/weblogic.policy -Xverify:none -Djava.endorsed.dirs=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/endorsed:/Users/michaelobrien/Oracle/Middleware/Oracle_HomeC/oracle_common/modules/endorsed -da -Dwls.home=/Users/michaelobrien/Oracle/Middleware/Oracle_HomeC/wlserver/server -Dweblogic.home=/Users/michaelobrien/Oracle/Middleware/Oracle_HomeC/wlserver/server -Dcom.sun.management.jmxremote.port=13333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false weblogic.Server
Setting up the diagnostic client
obrienlabs-mbp15:bin michaelobrien$ jvisualvm -J-Dnetbeans.system_socks_proxy=localhost:13333 -J-Djava.net.useSystemProxies=true
You should see the following from a VMWare Redhat client connected to the host OSX 10.9 server running the JVM.
You should see the following from a VMWare Redhat client connected to the host OSX 10.9 server running the JVM.
Java Remote Debugging
http://en.wikipedia.org/wiki/NSA_ANT_catalog
No comments:
Post a Comment