1) use the following command on the linux shell:
netstat -lntp grep port_number
its output will be like:
tcp 0 0 :::8080 :::* LISTEN 4950/java
note the process id number given in bold and execute the following command
ps -ef | grep process_id
the output will be similar to
aacguser 4950 1 0 06:32 ? 00:00:09 /u01/jdk/jdk1.6.0_14/bin/java -Djava.util.logging.config.file=/u01/tomcat/apache-tomcat-5.5.27/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.security.auth.login.config=/u01/tomcat/apache-tomcat-5.5.27/webapps/ags/WEB-INF/jaas.config -Xss512k -Xms256M -Xmx2048M -XX:
This is the process that is using the port
Showing posts with label process. Show all posts
Showing posts with label process. Show all posts
Thursday, August 13, 2009
Sunday, July 12, 2009
FRMWEB process uses 100% CPU
If you encounter this problem, perform the following steps:
- Stop Application tier services
- edit the context file ($INST_TOP/appl/admin/) to set the FORMS_CATCHTERM variable
- search for s_forms_catchterm value and set it to 0
- save and close the file
- cd $AD_TOP/admin/template
- Create new directory named (custom)$ mkdir custom
- Make sure that new directory has same file permissions as ($AD_TOP/admin/template)
- Copy the following autoconfig template to the new custom directory:
$cp $AD_TOP/admin/template/APPLSYS_ux.env $AD_TOP/admin/template/custom/APPLSYS_ux.env
- Edit the file copied file under custom directory and add the following 2 lines at the end of section:
FORMS_RECORD_GROUP_MAX=10000export FORMS_RECORD_GROUP_MAX
- Save and exit from the file.
- Run autoconfig and start the applications
- Stop Application tier services
- edit the context file ($INST_TOP/appl/admin/
- search for s_forms_catchterm value and set it to 0
- save and close the file
- cd $AD_TOP/admin/template
- Create new directory named (custom)$ mkdir custom
- Make sure that new directory has same file permissions as ($AD_TOP/admin/template)
- Copy the following autoconfig template to the new custom directory:
$cp $AD_TOP/admin/template/APPLSYS_ux.env $AD_TOP/admin/template/custom/APPLSYS_ux.env
- Edit the file copied file under custom directory and add the following 2 lines at the end of section:
FORMS_RECORD_GROUP_MAX=10000export FORMS_RECORD_GROUP_MAX
- Save and exit from the file.
- Run autoconfig and start the applications
Monday, March 30, 2009
What Is the OAFM JVM Process Used For?
When running adopmnctl.sh status you notice a java process-type named "OC4J-oafm". When running adstrtal.sh you may observe that file adoafmctl.sh is called to
What is this OAFM Java Virtual Machine? What is it used for, can it be turned off, and how is it scaled.
OAFM is short for "Oracle Applications Fusion Middleware", however this doesn't best describe what the JVM is currently used for.
More specifically the OAFM JVM is used for Map Viewer applications, Oracle Transport Agent XML transactions, and Web Services.
There are 2 applications in Release 12 that use Map Viewer, these are:
Field Service and Transportation Planning
You may be wasting resources on your server by starting the OAFM JVM's if your not using Field Service, Transportation Planning, XML Gateway or Web services. If you are not using these products you can safely disable the OAFM JVM. You can follow the steps below to stop the JVM from starting when running adstrtal.sh
1. Stop the OAFM JVM via adoafmctl.sh stop
2. Edit context via the context editor and change s_oafmstatus to disabled
3. Run Autoconfig
Now when adstrtal.sh is run the adoafmctl.sh script will not be called and thus OAFM processes will not start. If you have more than one application tier please perform the actions above on all application tiers.
If you are using Field Service and/or Transportation Planning a good rule of thumb would be to have 1 OAFM jvm per 80-100 active Map Viewer users. Map data generally is quite large in size so stick to the lower end of the scale....80 users per JVM.
To adjust the number of OAFM JVMs edit context via the context editor and change s_oafm_nprocs to the number of JVMs required per node. Now run Autoconfig to propagate the change. Repeat the steps for each application tier.
What is this OAFM Java Virtual Machine? What is it used for, can it be turned off, and how is it scaled.
OAFM is short for "Oracle Applications Fusion Middleware", however this doesn't best describe what the JVM is currently used for.
More specifically the OAFM JVM is used for Map Viewer applications, Oracle Transport Agent XML transactions, and Web Services.
There are 2 applications in Release 12 that use Map Viewer, these are:
Field Service and Transportation Planning
You may be wasting resources on your server by starting the OAFM JVM's if your not using Field Service, Transportation Planning, XML Gateway or Web services. If you are not using these products you can safely disable the OAFM JVM. You can follow the steps below to stop the JVM from starting when running adstrtal.sh
1. Stop the OAFM JVM via adoafmctl.sh stop
2. Edit context via the context editor and change s_oafmstatus to disabled
3. Run Autoconfig
Now when adstrtal.sh is run the adoafmctl.sh script will not be called and thus OAFM processes will not start. If you have more than one application tier please perform the actions above on all application tiers.
If you are using Field Service and/or Transportation Planning a good rule of thumb would be to have 1 OAFM jvm per 80-100 active Map Viewer users. Map data generally is quite large in size so stick to the lower end of the scale....80 users per JVM.
To adjust the number of OAFM JVMs edit context via the context editor and change s_oafm_nprocs to the number of JVMs required per node. Now run Autoconfig to propagate the change. Repeat the steps for each application tier.
Subscribe to:
Posts (Atom)