My Blog

All about my activities, Ideas and everything.

Month: May, 2008

Tutorial : Hello EJB3

After I wrote this article http://www.noppanit.com/?p=90. It’s about EJB2. I wrote it from scratch. So, this article I will be writing about EJB3 and I will write it from scratch as well. To compare??EJB3 with EJB2, I found that EJB3 is a lot more comfortable, but it can’t beat Grails anyway. ^_^. So, let gets [...]

Tuning : Set heap and perm for OC4J

Go to ${ORACLE_HOME}\opmn\conf\opmn.xml And Insert “-mx1024m -Doc4j.userThreads=true -XX:MaxPermSize=128″ this parameter is inside??data node and??arrtibute??value. This is not default you??have to set it for every OC4J??instance??you??have created CODE XML <process-type id=”home” module-id=”OC4J” status=”enabled”> ???????????????????????????? <module-data> ?????????????????????????????????? <category id=”start-parameters”> ???????????????????????????????????????? <data id=”java-options” value=”-Xrs -server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -mx1024m -Doc4j.userThreads=true -XX:MaxPermSize=128m“/> ?????????????????????????????????? </category> ????????????????????????????????????… ?????????????????????? </process-type>

Windows : Delete a service, by using Registry

Run Regedit and browse to this… and then delete the service you want REGISTRY HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services