1. What is JVM ?
JVM acronym for Java Virtual Machine which executes instructions generated by Java compiler. So user click on any Self Service Request or any program which uses Java, then Apache forwards this request to mod_jserv (mod_oc4j in 10g AS) & mod_jserv caters this request with help of JVM.
2. How to increase No. Of JVM's
So lets start with CONTEXT file under $APPL_TOP/admin (xml file) which is of pattern $SID_$HOSTNAME.xml
There are two important lines in CONTEXT file which will help you in understanding JVM
# jvm_options oa_var="s_jvm_options" osd="Solaris" -verbose:gc -Xmx512M -Xms128M -XX:MaxPermSize=128M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB /jvm_options
-Verbose:gc means JVM is configured to print output when gc(Garbage Collector) runs.
Xmx is maximum memory allocated to JVM in above example its 512 MB.
Xms is JVM will start with this much memory i.e. 128 MB.
# Now Check another line in 11i Context file like oacore_nprocs oa_var="s_oacore_nprocs"2/oacore_nprocs
Which means that there are two JVM's for OACore Group. Usually default its 1 JVM in my Instance I changed it to 2, to cater huge Self Service users in my case.
# In Context File
disco_nprocs oa_var="s_disco_nprocs" osd="Solaris" 1 /disco_nprocs Sets 1 JVM Process for Discoverer.
oacore_nprocs oa_var="s_oacore_nprocs" 1 /oacore_nprocs Sets 1 JVM for for OACoreGroup
Similarly , s_forms_servlet_nprocs & s_xmlsvcs_nprocs for Forms & XML Services resp.
These Groups are defined in configuration file for Jserv i.e. jserv.conf under $IAS_ORA/Apache/Jserv/conf ; like
ApJServGroup OACoreGroup
ApJServGroup DiscoGroup
ApJServGroup FormsGroup
ApJServGroup XmlSvcsGrp
3. Sizing Apps JVM
As by now you might be aware that there are four JVM Groups, OACoreGroup,DiscoGroup, FormsGroup & XMLsvcsGrp ( FromsGroup JVM's disabled by defualt as forms run on Socket rather servlets) so thumb rule in Apps is 1 JVM with default settings per 100 Users for OACoreGroup, so if you have 1000 users with five middle tiers you can configure 2 JVM on each middle tier i.e. 2*5*100=1000 Users.
- No more than 100 active users per JVM/OC4J instance
- There should be no more than 1 active JVM/OC4J instance per CPU (ideally, there should be 1 JVM per 2 CPUs)
- Watch out for available memory (make sure that you have enough memory to run all the configured JVMs/OC4J instances without swapping)
refer from http://www.teachmeoracle.com/jvm.html
Nov 4, 2008
Oracle ERP JVM
標籤: Oracle ERP
Oct 28, 2008
VMWare install Linux-No hard drivers have been found
Use VMware with typical option to create VM , face following message and cannot install Linux.
-----
No hard drivers have been found. You probably need to manually choose device drivers for the installation to succeed. Would you like to select drivers now?
ok--->
The following devices have been found on your system.
AMD Pcnet32(pcnet32) --> 是done/add device
-----
Solution:
Create New VM by customize option , chose "Buslogic" , Virtual Disk Type is "IDE" ,
then you can install it without problem.
Oct 23, 2008
window 注音輸入法
近來用新注音輸入法時發生會關閉應用程式,
想要與常用的字被擺在最後的位置,
或是選完字後字就不見了,搞得好像是被自動過濾掉 "不文雅的字" ㄧ般 ,
換個輸入法吧~ http://chewing.csie.net/
超好用!免費的自由軟體!
Oct 22, 2008
add static route in windows
Add static route in windows:
1. route print -- show current routing table
2. route add 192.168.2.0 mask 255.255.255.0 192.168.0.1 metric 1
-- add connecting to 192.168.2.* through 192.168.0.1 gateway .
3. route -p add
--permanent add to routing table
Oct 2, 2008
How to setup Service Dependancy
1.regedt32 > HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > "service name" that you want to setup dependency on another service
2. Edit > Add Value. Use the following values
Name: 'DependOnService'
Type: 'REG_MULTI_SZ'
Value: Name of you need to set dependency service
3. Check services , you can find the dependency relationship now.
會議紀錄方式與要點
改的不是內容,而是格式和分類邏輯。修改過的會議記錄,清楚簡單,裡面依討論項目列出 bullet points結論,最後附上一整頁的「下一步(Next Steps)」表格,依照任務﹝Task﹞、負責的人﹝Owner﹞、規格﹝Specs - 列出雙方對行銷文宣規格的細節要求﹞、時間﹝Target deadline﹞、目前進度﹝Status﹞分類,還有附上下次會議的時間地點call in號碼。Who deliver What to Whom by When(誰該在何時交XX給誰),白紙黑字一目了然,沒人賴得掉。我忍不住佩服的五體投地。原來小小會議紀錄也有大學問,這才是專業的專案管理啊。
標籤: Miscellaneous