tag:blogger.com,1999:blog-2925633764667045242024-03-12T20:06:59.469-07:00Professional skillsPetrenko Oleksandr's pageOleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-292563376466704524.post-27781191401262385382009-10-17T08:44:00.000-07:002009-10-17T08:46:28.246-07:00My blogs on worldpressmy blogOleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com30tag:blogger.com,1999:blog-292563376466704524.post-9145342723233683992009-01-13T03:11:00.000-08:002009-01-13T03:13:01.910-08:00Configuration weblogic server script for profiling by YourKitYou have to add in setDoaminEnv.sh the followed changes:PRODUCTION_MODE="true"export PRODUCTION_MODEyourkitFlag="true"export yourkitFlagdebugFlag="true"export debugFlagspecialFlag="false"export specialFlagDOMAIN_PRODUCTION_MODE="true"export DOMAIN_PRODUCTION_MODE......if [ "${JAVA_VENDOR}" = "Sun" ] ; then export JAVA_VM="-server" MEM_ARGS="-Xms1024m -Xmx1024m -XX:+AggressiveHeap Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com3tag:blogger.com,1999:blog-292563376466704524.post-35479469527004407542008-09-16T04:43:00.000-07:002008-09-16T04:51:39.082-07:00Adjusting wireless for laptop hp 6710bit's to be set ATrpms.net repository(look at http://www.osresources.com/11_6_en.html)then in command line of terminal it's to be invoked :yum install ipw3945-kmdl-`uname -r` ipw3945Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0tag:blogger.com,1999:blog-292563376466704524.post-25844177273415017532008-09-02T02:42:00.000-07:002008-09-02T03:02:01.104-07:00Setup java for CentOS 5Download needed java distributive.If you want to have two jvm for i386 and x64 you have to download non rpm package.1. login by root user2. go to /usr/java/3. run jdk-XXX-linux-XXX.bin4. add symbolic links determining default jvm by using command alternativese.g./usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_16_x64/bin/java 34.choose default by using command Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com1tag:blogger.com,1999:blog-292563376466704524.post-4797555296989689642008-07-26T03:44:00.000-07:002008-07-26T03:54:47.582-07:00Performance tuning Java performance toolsProfiling tools1. Yourkithttp://www.yourkit.com/Thread Stack Dump Viewer1. Samurai Thread Stack Dump Viewerhttp://yusuke.homeip.net/samurai/en/index.html2. IBM Thread and Monitor Dump Analyzer for Javahttp://www.alphaworks.ibm.com/tech/jcaLoad Testing Tools1. Jmeterhttp://jakarta.apache.org/jmeterOleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com1tag:blogger.com,1999:blog-292563376466704524.post-40948319665306727862008-05-30T10:16:00.000-07:002008-05-30T11:46:22.940-07:00Hermes JMS - Open Source JMS ConsoleHermesJMS is tools that helps to trace jms messages state.Quick setup for BEA 10.2 and Hermes v1.12 on Linux1. Open the /bin/hermes.sh in your favorite editor. Add path to your JAVA_HOME after comment "# Setup the Java VM". e.g.JAVA_HOME="/data/bin/jdk1.6.0_03"export JAVA_HOME"Note: Hermes IS built with jvm 1.6 therefore you have to use jvm version 1.6 for running one, butBEA 10.2 is run with jvmOleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com22tag:blogger.com,1999:blog-292563376466704524.post-27432031593445620862008-05-19T07:37:00.000-07:002008-12-10T03:03:26.328-08:00Some useful commands for working with Solaris 5Reading info about running process: $ ps -efChecking check sum$ digest -a md5 -v /bin/lsmd5 (/bin/ls) = b57e173220af4b919f1d4bef9db11482Show list dynamic dependencies of executable files or shared objects $ ldd -v solaris-x86-32/libyjpagent.so Look at ports of processes pfiles `ptree | awk '{print $1}'` | egrep '^[0-9]|port:'pfiles PID | egrep '^[0-9]|port:' Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0tag:blogger.com,1999:blog-292563376466704524.post-17203729928302205492008-01-28T08:34:00.000-08:002008-04-10T08:43:24.421-07:00Performance issuesIn general application has three kind of performance problems :- throughput of application is low;- the application is inclined to memory leak;- the application is inclined to deadlock.Before starting you have to define requirement for application. You have to define what is acceptable throughput and what working load is expected.Throughput of application is detected by using jmeter. JMeter is Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com1tag:blogger.com,1999:blog-292563376466704524.post-15834248178073646322008-01-22T00:12:00.000-08:002008-04-10T08:43:48.808-07:00“Server crashed “At first time you should know what happened with the process of server. - if the process was died :collect all logs what do you haveThe possible reasons : crash jvm, somebody/something kills process. - if the process is live , but the server&application don't answer :You should try to made thread dumps and collect all logs what do you haveThe possible reasons : memory leak or deadlock.Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0tag:blogger.com,1999:blog-292563376466704524.post-16898744304406020282007-10-25T07:24:00.001-07:002007-10-25T07:44:28.675-07:00Krusader doesn't support scp/smb/sftp protocolsKrusader didn't support scp/smb/sftp protocols after installing for gnome. It's normal because it's file manager for KDE and Krusader uses its libraries. I have resolved this problem, I have just added Konqueror.Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com41tag:blogger.com,1999:blog-292563376466704524.post-20943178693792993482007-10-16T07:04:00.000-07:002009-01-10T01:19:47.638-08:00Unix's tricks for supporting weblogic domainsI have to work with a lot of domains. I get tired to type a lot of same commands and I wrote same tricks. It helped me :)You should add this in .bashrc for <CURRENT USER>:alias psext='ps -u `whoami` |grep java |awk '\''{print ("/proc/"$1"/cwd") }'\''|xargs ls -l'alias whatports='netstat -tlnp|grep 'for example:psext lrwxrwxrwx 1 user user 0 Oct 16 14:43 /proc/15052/cwd -> /data/domains/Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0tag:blogger.com,1999:blog-292563376466704524.post-88165245988219103952007-08-22T03:05:00.000-07:002008-04-10T08:44:07.540-07:00Removal performances’ problems<!--[if !supportLists]-->1 <!--[endif]-->Detect problems You have to analyze complaints customer and you have to try to reproduce problem. At first you have to take more information from admin this site. Because they could have monitor checklist, it can help you. <!--[if !supportLists]-->2 <!--[endif]-->Found reasons Then you have to detect bottleneck place for that you mayOleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0tag:blogger.com,1999:blog-292563376466704524.post-31729934125047806772007-08-15T01:57:00.000-07:002007-08-15T02:05:51.483-07:00Double load tags on JSPQ. My tags invoked two time.S. The problem happened because I had like tag <img src="" alt="test" />Oleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0tag:blogger.com,1999:blog-292563376466704524.post-22493007546046086602007-07-26T04:32:00.001-07:002008-04-10T08:43:00.907-07:004 steps to see the memory leek each session is 3.2 MBOleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0tag:blogger.com,1999:blog-292563376466704524.post-83338412379105783872007-07-26T00:25:00.000-07:002007-07-26T04:38:57.489-07:00Cookbook1. When I try to invoke ant script with Workshop 9.2.1 , I get exception look like:java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)You have trouble with ant properties in workshop. I invoked with command line and didn't have problemsOleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0tag:blogger.com,1999:blog-292563376466704524.post-58450298573482360342007-05-22T05:36:00.000-07:002008-04-10T08:42:40.190-07:00Analyze memory snapshot by YourKitI chose "Path from GC Roots" for NodeListthen I chose "Select Objects" for MemorySessionDataOleksandrhttp://www.blogger.com/profile/17566975881676147096noreply@blogger.com0