Oc4j islands
Hello all,
when I create few more islands other than juts one default_isalnd for my oc4j , the http requests to my application are being load-balanced automatically with all the available island processes.Is this the default behavior when I create more islands within a oc4j container?
If this is the case then why do i need creating clusters of oc4j's on different machines which host the same application so that my OHS will automatically load-balance with oc4j's on different machines in a cluster topology if I have got the option of creating more islands in my oc4j in my own single server,requests will anyways load-balanced among islands with my oc4j...
Plz help..i hv lil knowledge of oc4j and its islands..:)
Edited by: anandk on Nov 19, 2009 1:15 PM
Edited by: anandk on Nov 19, 2009 1:22 PM
Thanks for correcting that Roberto - I was confusing myself between versions there ;-)
anandk:
Yes, with 10.1.2 you had to specify which OC4J instances where handling which locations (context roots) in mod_oc4j.conf, e.g. in it's simplest form it might be:
<IfModule mod_oc4j.c>
Oc4jMount /app1/* app1
</IfModule>
(see [http://download.oracle.com/docs/cd/B14099_19/web.1012/b14007/confmods.htm#CIHJBGFB] )
With 10.1.3, you can still configure the routing statically if you want, but by default OC4J automatically registers its context roots with OHS/mod_oc4j via ONS
(see [http://download.oracle.com/docs/cd/B25221_04/web.1013/b25211/confmods.htm#CIHJBGFB] ).
On the wider point about JVMs etc, typically I would have different OC4J instances for the bigger applications to give me better control (e.g. restarting the container). For your example 10 applications, maybe only 2 or 3 of them are really important so would have their own OC4J instances and the remainder would be installed together in another instance. The number of JVMs per OC4J instance depends on the demands of the application but of course you need to consider how many other JVMs are running on the same server, how much physical memory there is available, how many cores you have, etc.
Similar Messages
-
I installed oracle report server 10.1.2.02
I tried the following url and it display the page properly that ask Test run Job:
http://xxx/reports/rwwebservice?operation=runJob
When I tried the url:
http://xxx/reports/rwservlet/showJobs?server=rep_xxx_oracleas3
It is suppose to redirect me to an url to login.
It did the first time. I was able to login using the id:orcladmin.
It gave me the page Report Server Queue Status.
Please note, my oracle report server is installed on windows 2000 SP4 in a vmware guest operating system workstation 6.5.1. I have internet connection in my guest operating system and I am trying the url inside
the guesting operating system.
But after I restart the operating system when I tried the url http://xxx/reports/rwservlet/showJobs?server=rep_xxx_oracleas3, it try to redirect me to the login page:
New url:
http://xxx:7777/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~E5DE4992~5CFF563A653986204B9B04019AE4D129CF0BB1A298D032A11FDF68ACD637E48672F62C4B6E8A048E4C55BFBB01AF2F93CB1065AE73753291E19C8CF7FCD1DDF1D52C1D525F9A107176E14356A4815260A8B856690E26B59ACCD09C6A1DB666807227D7870A4D15DFD9CBA473EAEF0F0001B8A44C8B683138B240C6A8CC44D730DB090B330C1057E39715ECC56E5395B6F89EDC185287720F00DECCF03E796F20470A1732CB419AF416475AFCA066946B655BA5CD8425CC4BD478FA2BCF44AC58
But I get the following error on the page.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at xxx Port 7777Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at xxx Port 7777
More information about this error may be available in the server error log.
Here is the contents of my apache server log
C:\OraHome_3\Apache\Apache\logs\error_log.1249732800:
[Sat Aug 08 09:47:38 2009] [error] [client 192.168.2.136] [ecid: 1249739258:192.168.2.136:2768:3016:1,0] MOD_OC4J_0013: Failed to call destination: OC4J_BI_Forms's service() to service the request.
[Sat Aug 08 09:47:50 2009] [error] MOD_OC4J_0191: Missing information from OC4J notification. ias-cluster:C_192.168.2.136.910040.121a94bcb04.-8000, ias-instance:jadeite1000.xxx, hostname:xxx, opmnid:18677962, oc4j-instance:home, oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-
C:\OraHome_3\j2ee\home\log\home_default_island_1\server.txt
09/08/08 10:10:47 Published an event: C_192.168.2.136.910040.121a94bcb04.-8000#jadeite1000.xxx#18677962#D#home#default_island&xxx&HTTP:xxx#12503&RMI:xxx#12403&JMS:xxx#12603
How can I tell what version of Oracle report server did I installed. Is there a command I can run to give me feedback what version of oracle report server.
I went to the following url:
//xxx/reports/rwservlet/showJobs?server=rep_xxx_oracleas3
and it redirects to a login page.
But when I tried to login using the id:orcladmin it tells me the password for the id has expired. So I login into the userid ORASSO.
And ran the following command:
execute WWSSO_OID_INTEGRATION.reset_passwd('ORCLADMIN',null,'mychau1');
Than I was able to login using the id:ORCLADMIN.
Before I did this change of the orcladmin 's password.
When I run the opmnctl status, I get the following:
C:\OraHome_3\opmn\bin>opmnctl status
Processes in Instance: jadeite1000.xxx
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 0 | NONE
OC4J | OC4J_BI_Forms | 0 | NONE
WebCache | WebCache | 1948 | Alive
WebCache | WebCacheAdmin | 1696 | Alive
HTTP_Server | HTTP_Server | 980 | Alive
After the change of the password for the id:orcladmin and after rebooting the computer, I get the following:
C:\OraHome_3\opmn\bin>opmnctl status
Processes in Instance: jadeite1000.xxx
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 4048 | Alive
OC4J | OC4J_BI_Forms | 784 | Alive
WebCache | WebCache | 2020 | Alive
WebCache | WebCacheAdmin | 2012 | Alive
HTTP_Server | HTTP_Server | 2048 | Alive
Basically HOME AND OC4J_BI_FORMS ARE NOW BOTH ALIVE AND BEFORE THEY WERE NOT ALIVE.
I also did comparison of the original and new ias.properties and the opmn.xml file and it shows no change.
This means that since HOME and OC4J_BI_FORMS ARE NOW BOTH ALIVE AND because of that I cannot get into the login page.
//xxx:7777/sso/jsp/login.jsp?
Here is the contents of my apache server log
C:\OraHome_3\Apache\Apache\logs\error_log.1249732800:
[Sat Aug 08 09:47:38 2009] [error] [client 192.168.2.136] [ecid: 1249739258:192.168.2.136:2768:3016:1,0] MOD_OC4J_0013: Failed to call destination: OC4J_BI_Forms's service() to service the request.
[Sat Aug 08 09:47:50 2009] [error] MOD_OC4J_0191: Missing information from OC4J notification. ias-cluster:C_192.168.2.136.910040.121a94bcb04.-8000, ias-instance:jadeite1000.xxx, hostname:xxx, opmnid:18677962, oc4j-instance:home, oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-
Does this mean the port for
OC4J | home | 4048 | Alive
OC4J | OC4J_BI_Forms | 784 | Alive
conflict with some server. Example maybe with the apache server or the oc4j application server.
If so, where can I find the port number used by the apache or oc4j application server.
Here is a a small detail of the C:\OraHome_3\opmn\conf\opmn.xml
<ias-component id="OC4J">
<dependencies>
<OID infrastructure="true"/>
</dependencies>
<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"/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="ajp" range="12501-12600"/>
<port id="rmi" range="12401-12500"/>
<port id="jms" range="12601-12700"/>
<process-set id="default_island" numprocs="1"/>
</process-type>
<process-type id="OC4J_BI_Forms" module-id="OC4J">
<environment>
<variable id="DISPLAY" value="localhost:0"/>
<variable id="LD_LIBRARY_PATH" value="C:\OraHome_3\lib32:C:\OraHome_3\lib:C:\OraHome_3\jdk\jre\lib\sparc"/>
</environment>
<module-data>
<category id="start-parameters">
<data id="java-options" value="-server -Xrs -Djava.security.policy=C:\OraHome_3\j2ee\OC4J_BI_Forms\config\java2.policy -Djava.awt.headless=true -Xmx512M -Xms128M "/>
<data id="oc4j-options" value="-properties -userThreads "/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.security.policy=C:\OraHome_3\j2ee\OC4J_BI_Forms\config\java2.policy -Djava.awt.headless=true"/>
</category>
<category id="urlping-parameters">
<data id="/reports/rwservlet/pingserver?start=auto" value="200"/>
</category>
</module-data>
<start timeout="900" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="ajp" range="12501-12600"/>
<port id="rmi" range="12401-12500"/>
<port id="jms" range="12601-12700"/>
<process-set id="default_island" numprocs="1"/>
</process-type>
</ias-component>
Here is small detail of my C:\OraHome_3\config\ias.properties:
Version=10.1.2.0.2
InstallType=Business
Components=Apache,J2EE,WebCache,JServ,Portal,Wireless,Discoverer,Personalization,Reports,Forms
IASname=jadeite1000.xxx
InstanceNamesList=jadeite1000.xxx
IASpassword=054f9a3f737c07b9aaf21c08faf054b3296933e30edcbaa752
IASSvcpassword=051e39b076c2b7e24f97428fb001c5c752b316f1d391863b18
UserName=Administrator
InfrastructureUse=true
DatabaseManagedClusterSupport=true
OIDhost=xxx
OIDport=389
OIDsslport=636
On another forum someone posted this reply to my question:
"I support Oracle Application Server. I'm not exactly sure where your problem is but you might want to check if there's a ajp port conflict. You can find your ajp port setting at $OH/opmn/config/opmn.xml. Search for ajp. Then check if your box is using that port or just try another port number and restart your app srv.
Sat Aug 08 09:47:50 2009] [error] MOD_OC4J_0191: Missing information from OC4J notification. ias-cluster:C_192.168.2.136.910040.121a94bcb04.-8000, ias-instance:jadeite1000.xxx, hostname:xxx, opmnid:18677962, oc4j-instance:home, oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-
MOD_OC4J_0191
If OracleAS 10.1.3 has been integrated with OracleAS 10.1.2 the OPMN / ONS will invoke a ping request via the 10.1.2 HTTP Server to check on the availability of the 10.1.3 OC4J instances. The ping request will only succeed if the default-web-site protocol is set to ajp.
The error - MOD_OC4J_0191 - occurs because the OracleAS 10.1.3 default instance - typically labelled Home - has default-web-site protocol set to HTTP. The Home OC4J instance by default has this protocol set to be HTTP as it is this instance which typically hosts the OracleAS 10.1.3 ascontrol application. The error is harmless and can be ignored.
Also,
Try this:
Edit your $OH/opmn/conf/opmn.xml (Just change the protocol from http to ajp
from
<port id="default-web-site" range="7777" protocol="http"/>
To
<port id="default-web-site" range="12601-12700" protocol="ajp"/>
Run the update config for command for opmn.xml if you're not using the asconsole.
You can find your version number defined in the $OH/config/ias.properties set in the Version variable.
Always take a backup before making changes. You won't regret it.
Good luck."
In the reply " Then check if your box is using that port or just try another port number and restart your app srv."
How can I check what port number is my box using?
In the reply "If OracleAS 10.1.3 has been integrated with OracleAS 10.1.2 the OPMN / ONS will invoke a ping request via the 10.1.2 HTTP Server to check on the availability of the 10.1.3 OC4J instances. The ping request will only succeed if the default-web-site protocol is set to ajp."
How do I ping a request via the 10.1.2 HTTP server to check on the avilability of the 10.1.3 OC4J instances?
I checked my opmn.xml file I cannot find this tag:
<port id="default-web-site" range="7777" protocol="http"/>
Can you please tell me which url and where can I login in with Oracle support.
Thank you for your help!!! Greatly appreciated it!!! Any hint would be great.
Yours,
Frustrated.
Yours,
Frustrated.I installed oracle report server 10.1.2.02
I tried the following url and it display the page properly that ask Test run Job:
http://xxx/reports/rwwebservice?operation=runJob
When I tried the url:
http://xxx/reports/rwservlet/showJobs?server=rep_xxx_oracleas3
It is suppose to redirect me to an url to login.
It did the first time. I was able to login using the id:orcladmin.
It gave me the page Report Server Queue Status.
Please note, my oracle report server is installed on windows 2000 SP4 in a vmware guest operating system workstation 6.5.1. I have internet connection in my guest operating system and I am trying the url inside
the guesting operating system.
But after I restart the operating system when I tried the url http://xxx/reports/rwservlet/showJobs?server=rep_xxx_oracleas3, it try to redirect me to the login page:
New url:
http://xxx:7777/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~E5DE4992~5CFF563A653986204B9B04019AE4D129CF0BB1A298D032A11FDF68ACD637E48672F62C4B6E8A048E4C55BFBB01AF2F93CB1065AE73753291E19C8CF7FCD1DDF1D52C1D525F9A107176E14356A4815260A8B856690E26B59ACCD09C6A1DB666807227D7870A4D15DFD9CBA473EAEF0F0001B8A44C8B683138B240C6A8CC44D730DB090B330C1057E39715ECC56E5395B6F89EDC185287720F00DECCF03E796F20470A1732CB419AF416475AFCA066946B655BA5CD8425CC4BD478FA2BCF44AC58
But I get the following error on the page.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at xxx Port 7777Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at xxx Port 7777
More information about this error may be available in the server error log.
Here is the contents of my apache server log
C:\OraHome_3\Apache\Apache\logs\error_log.1249732800:
[Sat Aug 08 09:47:38 2009] [error] [client 192.168.2.136] [ecid: 1249739258:192.168.2.136:2768:3016:1,0] MOD_OC4J_0013: Failed to call destination: OC4J_BI_Forms's service() to service the request.
[Sat Aug 08 09:47:50 2009] [error] MOD_OC4J_0191: Missing information from OC4J notification. ias-cluster:C_192.168.2.136.910040.121a94bcb04.-8000, ias-instance:jadeite1000.xxx, hostname:xxx, opmnid:18677962, oc4j-instance:home, oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-
C:\OraHome_3\j2ee\home\log\home_default_island_1\server.txt
09/08/08 10:10:47 Published an event: C_192.168.2.136.910040.121a94bcb04.-8000#jadeite1000.xxx#18677962#D#home#default_island&xxx&HTTP:xxx#12503&RMI:xxx#12403&JMS:xxx#12603
How can I tell what version of Oracle report server did I installed. Is there a command I can run to give me feedback what version of oracle report server.
I went to the following url:
//xxx/reports/rwservlet/showJobs?server=rep_xxx_oracleas3
and it redirects to a login page.
But when I tried to login using the id:orcladmin it tells me the password for the id has expired. So I login into the userid ORASSO.
And ran the following command:
execute WWSSO_OID_INTEGRATION.reset_passwd('ORCLADMIN',null,'mychau1');
Than I was able to login using the id:ORCLADMIN.
Before I did this change of the orcladmin 's password.
When I run the opmnctl status, I get the following:
C:\OraHome_3\opmn\bin>opmnctl status
Processes in Instance: jadeite1000.xxx
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 0 | NONE
OC4J | OC4J_BI_Forms | 0 | NONE
WebCache | WebCache | 1948 | Alive
WebCache | WebCacheAdmin | 1696 | Alive
HTTP_Server | HTTP_Server | 980 | Alive
After the change of the password for the id:orcladmin and after rebooting the computer, I get the following:
C:\OraHome_3\opmn\bin>opmnctl status
Processes in Instance: jadeite1000.xxx
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 4048 | Alive
OC4J | OC4J_BI_Forms | 784 | Alive
WebCache | WebCache | 2020 | Alive
WebCache | WebCacheAdmin | 2012 | Alive
HTTP_Server | HTTP_Server | 2048 | Alive
Basically HOME AND OC4J_BI_FORMS ARE NOW BOTH ALIVE AND BEFORE THEY WERE NOT ALIVE.
I also did comparison of the original and new ias.properties and the opmn.xml file and it shows no change.
This means that since HOME and OC4J_BI_FORMS ARE NOW BOTH ALIVE AND because of that I cannot get into the login page.
//xxx:7777/sso/jsp/login.jsp?
Here is the contents of my apache server log
C:\OraHome_3\Apache\Apache\logs\error_log.1249732800:
[Sat Aug 08 09:47:38 2009] [error] [client 192.168.2.136] [ecid: 1249739258:192.168.2.136:2768:3016:1,0] MOD_OC4J_0013: Failed to call destination: OC4J_BI_Forms's service() to service the request.
[Sat Aug 08 09:47:50 2009] [error] MOD_OC4J_0191: Missing information from OC4J notification. ias-cluster:C_192.168.2.136.910040.121a94bcb04.-8000, ias-instance:jadeite1000.xxx, hostname:xxx, opmnid:18677962, oc4j-instance:home, oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-
Does this mean the port for
OC4J | home | 4048 | Alive
OC4J | OC4J_BI_Forms | 784 | Alive
conflict with some server. Example maybe with the apache server or the oc4j application server.
If so, where can I find the port number used by the apache or oc4j application server.
Here is a a small detail of the C:\OraHome_3\opmn\conf\opmn.xml
<ias-component id="OC4J">
<dependencies>
<OID infrastructure="true"/>
</dependencies>
<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"/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="ajp" range="12501-12600"/>
<port id="rmi" range="12401-12500"/>
<port id="jms" range="12601-12700"/>
<process-set id="default_island" numprocs="1"/>
</process-type>
<process-type id="OC4J_BI_Forms" module-id="OC4J">
<environment>
<variable id="DISPLAY" value="localhost:0"/>
<variable id="LD_LIBRARY_PATH" value="C:\OraHome_3\lib32:C:\OraHome_3\lib:C:\OraHome_3\jdk\jre\lib\sparc"/>
</environment>
<module-data>
<category id="start-parameters">
<data id="java-options" value="-server -Xrs -Djava.security.policy=C:\OraHome_3\j2ee\OC4J_BI_Forms\config\java2.policy -Djava.awt.headless=true -Xmx512M -Xms128M "/>
<data id="oc4j-options" value="-properties -userThreads "/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.security.policy=C:\OraHome_3\j2ee\OC4J_BI_Forms\config\java2.policy -Djava.awt.headless=true"/>
</category>
<category id="urlping-parameters">
<data id="/reports/rwservlet/pingserver?start=auto" value="200"/>
</category>
</module-data>
<start timeout="900" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="ajp" range="12501-12600"/>
<port id="rmi" range="12401-12500"/>
<port id="jms" range="12601-12700"/>
<process-set id="default_island" numprocs="1"/>
</process-type>
</ias-component>
Here is small detail of my C:\OraHome_3\config\ias.properties:
Version=10.1.2.0.2
InstallType=Business
Components=Apache,J2EE,WebCache,JServ,Portal,Wireless,Discoverer,Personalization,Reports,Forms
IASname=jadeite1000.xxx
InstanceNamesList=jadeite1000.xxx
IASpassword=054f9a3f737c07b9aaf21c08faf054b3296933e30edcbaa752
IASSvcpassword=051e39b076c2b7e24f97428fb001c5c752b316f1d391863b18
UserName=Administrator
InfrastructureUse=true
DatabaseManagedClusterSupport=true
OIDhost=xxx
OIDport=389
OIDsslport=636
On another forum someone posted this reply to my question:
"I support Oracle Application Server. I'm not exactly sure where your problem is but you might want to check if there's a ajp port conflict. You can find your ajp port setting at $OH/opmn/config/opmn.xml. Search for ajp. Then check if your box is using that port or just try another port number and restart your app srv.
Sat Aug 08 09:47:50 2009] [error] MOD_OC4J_0191: Missing information from OC4J notification. ias-cluster:C_192.168.2.136.910040.121a94bcb04.-8000, ias-instance:jadeite1000.xxx, hostname:xxx, opmnid:18677962, oc4j-instance:home, oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-
MOD_OC4J_0191
If OracleAS 10.1.3 has been integrated with OracleAS 10.1.2 the OPMN / ONS will invoke a ping request via the 10.1.2 HTTP Server to check on the availability of the 10.1.3 OC4J instances. The ping request will only succeed if the default-web-site protocol is set to ajp.
The error - MOD_OC4J_0191 - occurs because the OracleAS 10.1.3 default instance - typically labelled Home - has default-web-site protocol set to HTTP. The Home OC4J instance by default has this protocol set to be HTTP as it is this instance which typically hosts the OracleAS 10.1.3 ascontrol application. The error is harmless and can be ignored.
Also,
Try this:
Edit your $OH/opmn/conf/opmn.xml (Just change the protocol from http to ajp
from
<port id="default-web-site" range="7777" protocol="http"/>
To
<port id="default-web-site" range="12601-12700" protocol="ajp"/>
Run the update config for command for opmn.xml if you're not using the asconsole.
You can find your version number defined in the $OH/config/ias.properties set in the Version variable.
Always take a backup before making changes. You won't regret it.
Good luck."
In the reply " Then check if your box is using that port or just try another port number and restart your app srv."
How can I check what port number is my box using?
In the reply "If OracleAS 10.1.3 has been integrated with OracleAS 10.1.2 the OPMN / ONS will invoke a ping request via the 10.1.2 HTTP Server to check on the availability of the 10.1.3 OC4J instances. The ping request will only succeed if the default-web-site protocol is set to ajp."
How do I ping a request via the 10.1.2 HTTP server to check on the avilability of the 10.1.3 OC4J instances?
I checked my opmn.xml file I cannot find this tag:
<port id="default-web-site" range="7777" protocol="http"/>
Can you please tell me which url and where can I login in with Oracle support.
Thank you for your help!!! Greatly appreciated it!!! Any hint would be great.
Yours,
Frustrated.
Yours,
Frustrated. -
Oracle 10.1.3.
Hi,
I recently installed oracle app server 10.1.3 and following the instructions Reconfiguring Application Server Instances I tried to make it so that my 10.1.3 app server can use SSO with my 10.1.2 infrastructure. I deployed an application on 10.1.3 and configured Mod-SSO to SSO enable to application. Now if I go to the application without being logged in I am redirected to the SSO login in screen. The problem is after I log in it redirects me back to the application but with the 10.1.2 port number.
So I went through the exercise of setting up my 10.1.2 apache to work with 10.1.3 as described in the document above. However now after I sign in I get a internal server error. When I look in the HTTP server error log I see the following line
[Thu Dec 07 16:00:53 2006] [error] MOD_OC4J_0191: Missing information from OC4J notification. ias-cluster:C_75.40.199.171.1f5d386.10e43505e94.-8000, ias-instance:dbi.none-1eb5575bbe, hostname:none-1eb5575bbe, opmnid:697901169, oc4j-instance:home, oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-
it seems as though it's missing some configuration information. Does anyone know how I can set ajp ports??? Or is there something else I might be doing wrong?
thanksI think you missed the correct portnumber during sso registration. Did you check it in orasso pages?
-
9.0.3/EJB RMI-Port on 9iAS?
Hello!
I use JDev 9.0.3 / 9iAS9.0.3.
I deployed one session-bean to 9iAS903 which i wants to access during fat-java client.
deploying to external oc4j-instance, i can access the ejb with "normal" rmi-port.
But which rmi-port should i use on 9ias, because the rmi-ports are set during ranges (e.g.3100-3200) and i have more than one oc4j-instance running (i also use oc4j-islands, e.g. 2 jvm-processes for one instance)? i followed the tasks described in jdev-help (described below), but this does not really work.
Under JDev 9.0.3 Help "Accessing EJBs from Oracle9iAS"
i found the following description:
"After the EJB JAR is deployed to Oracle9iAS, a Java client can access it in the following way: In the Oracle9iAS Enterprise Manager, you must provide a fixed port number for the specific OC4J instance in which the EJB JAR was deployed. Specify this port number in Enterprise Manager | OC4J Instance | Server Properties. For example: 3103. Restart this specific OC4J instance as appropriate. ... Run the Java client using the same RMI port number that you specified for the
OC4J instance in Enterprise Manager (port 3103). "
has anyone tested this?
best regards
harald.Hello!
one question:
if i do this, i must manage the rmi-ports for all
oc4j-instances on 9ias or can i use the
rmi-port-range for one instance and fix the rmi-port
for another oc4j-instance?
You can decide this on a per instance basis.
In ompn.xml-file i can set the ranges e.g. for
rmi-ports. is it possible to change this range e.g.
rmi="3101-3190" and fix the instances with rmi-port
3191?
maybe this could work?That's the idea.
>
Where i can set the meta-information of rmi-ports
range, which will be used during creating a
oc4j-instance?
Check out the ias administration guide. Sorry I don't have the url handy. Basically use the enterprise manager and drill down to the oc4j instance administration section.
best regards
Harald -
Opmnctl not starting in Discoverer 10.1.3
Hi DBA's
I am not able start or stop the 'opmnctl' in Discoverer 10g, in errorlog it is giving following error.
[Sun Apr 12 09:58:47 2009] [debug] swwwap.c(975): mod_plsql: plsql_start called
[Sun Apr 12 09:58:47 2009] [debug] oc4j_proc_tbl.c(632): MOD_OC4J_0196: Got local hostname: aqherptest.qudrah.com.
[Sun Apr 12 09:58:47 2009] [info] mod_unique_id: using ip addr 192.168.124.58
[Sun Apr 12 09:58:48 2009] [debug] mod_onsint.c(1780): mod_onsint: init called in pid 12098
[Sun Apr 12 09:58:48 2009] [debug] mod_onsint.c(1811): mod_onsint: ohsctx=0x80a97a0
[Sun Apr 12 09:58:48 2009] [debug] mod_onsint.c(1822): mod_onsint: ons_unique_id=51773550
[Sun Apr 12 09:58:48 2009] [debug] mod_onsint.c(1874): mod_onsint: globalctx=0x8283458 initcount=1
[Sun Apr 12 09:58:48 2009] [debug] swwwap.c(905): mod_plsql: Parent DeinitDMS being called
[Sun Apr 12 09:58:48 2009] [debug] swwwap.c(890): mod_plsql: Parent Free all being called
[Sun Apr 12 09:58:48 2009] [debug] mod_oc4j.c(1735): Initializing OC4J connection cache size to 1
[Sun Apr 12 09:58:48 2009] [debug] mod_onsint.c(1206): mod_onsint: after parsing OpmnHostPort directive, got a hostport with host:127.0.0.1, port:7200 and is_ssl:0.
[Sun Apr 12 09:58:48 2009] [debug] swwwap.c(1282): mod_plsql: plsql_create_server_config called
[Sun Apr 12 09:58:48 2009] [debug] swwwap.c(975): mod_plsql: plsql_start called
[Sun Apr 12 09:58:48 2009] [debug] oc4j_proc_tbl.c(632): MOD_OC4J_0196: Got local hostname: aqherptest.qudrah.com.
[Sun Apr 12 09:58:48 2009] [notice] FastCGI: process manager initialized (pid 12145)
[Sun Apr 12 09:58:48 2009] [info] mod_unique_id: using ip addr 192.168.124.58
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(1780): mod_onsint: init called in pid 12098
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(1811): mod_onsint: ohsctx=0x80a97a0
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(1822): mod_onsint: ons_unique_id=51773550
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(1874): mod_onsint: globalctx=0x8283458 initcount=2
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(1882): mod_onsint: Entered into REALINITPHASE
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(1694): mod_onsint: saved a listener hostport with host:127.0.0.1, port:7200 and is_ssl:0.
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(1694): mod_onsint: saved a listener hostport with host:*, port:7778 and is_ssl:0.
[Sun Apr 12 09:58:49 2009] [info] created shared memory segment #1081371
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(713): mod_onsint: onsint_ping called in pid 12159
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(748): mod_onsint: onsint_ping==>before ons_init call
[Sun Apr 12 09:58:49 2009] [debug] mod_onsint.c(767): mod_onsint: onsint_ping==>after ons_init call, ons_running=1
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: Cleanup Thread Started (id=2f80)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: Started (id=2f80)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: going to sleep
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: Cleanup Thread Started (id=2f86)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: Started (id=2f86)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: going to sleep
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: Started (id=2f89)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: going to sleep
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: Cleanup Thread Started (id=2f89)
[Sun Apr 12 09:58:49 2009] [notice] Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server configured -- resuming normal operations
[Sun Apr 12 09:58:49 2009] [info] Server built: Mar 5 2008 10:22:46
[Sun Apr 12 09:58:49 2009] [notice] Accept mutex: fcntl (Default: sysvsem)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: Cleanup Thread Started (id=2f8a)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: Started (id=2f8a)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: going to sleep
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: Cleanup Thread Started (id=2f8d)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: Started (id=2f8d)
[Sun Apr 12 09:58:49 2009] [debug] mod_plsql: CHMThread: going to sleep
[Sun Apr 12 09:58:49 2009] [info] got an event: IAS/PM/PROC_ALIVE
[Sun Apr 12 09:58:49 2009] [info] got an event: IAS/PM/PROC_READY
[Sun Apr 12 09:58:49 2009] [debug] oc4j_proc_tbl.c(2487): MOD_OC4J_0235: oc4j READY notification-[ias-cluster:C_192.168.124.58.121f1d.1207a829029.-8000, ias-instance:SIT.aqherptest.qudrah.com, hostname:aqherptest.qudrah.com, opmnid:51773548, oc4j-instance:home, oc4j-island:default_island, ajp-host:aqherptest.qudrah.com, ajp-port:12501, ajp-is-ssl:0.]
[Sun Apr 12 09:58:49 2009] [debug] oc4j_proc_tbl.c(1017): MOD_OC4J_0172: Insert a new entry to internal process table at 0 [ias-cluster:C_192.168.124.58.121f1d.1207a829029.-8000, ias-instance:SIT.aqherptest.qudrah.com, opmnid:51773548, oc4j-instance:home, oc4j-island:default_island, ajp-host:aqherptest.qudrah.com, ajp-port:12501, ajp-is-ssl: 0, metric:50]
[Sun Apr 12 09:58:49 2009] [debug] oc4j_proc_tbl.c(1046): MOD_OC4J_0173: After inserting new entry (opmnid=51773548), first_free_slot: 1 and nelts: 1.
[Sun Apr 12 09:58:49 2009] [debug] oc4j_proc_tbl.c(1129): MOD_OC4J_0205: Inserted process (opmnid=51773548) with index (proc table index = 0) into worker_rec of home.
[Sun Apr 12 09:58:49 2009] [info] got an event: IAS/PM/PROC_ALIVE
[Sun Apr 12 09:58:52 2009] [info] got an event: IAS/PM/PROC_ALIVE
[Sun Apr 12 09:58:52 2009] [info] got an event: IAS/PM/PROC_ALIVE
[Sun Apr 12 09:58:53 2009] [info] got an event: IAS/PM/PROC_READY
[Sun Apr 12 09:58:53 2009] [debug] oc4j_proc_tbl.c(2487): MOD_OC4J_0235: oc4j READY notification-[ias-cluster:C_192.168.124.58.121f1d.1207a829029.-8000, ias-instance:SIT.aqherptest.qudrah.com, hostname:aqherptest.qudrah.com, opmnid:51773549, oc4j-instance:OC4J_BI_Forms, oc4j-island:default_island, ajp-host:aqherptest.qudrah.com, ajp-port:12502, ajp-is-ssl:0.]
[Sun Apr 12 09:58:53 2009] [debug] oc4j_proc_tbl.c(1017): MOD_OC4J_0172: Insert a new entry to internal process table at 1 [ias-cluster:C_192.168.124.58.121f1d.1207a829029.-8000, ias-instance:SIT.aqherptest.qudrah.com, opmnid:51773549, oc4j-instance:OC4J_BI_Forms, oc4j-island:default_island, ajp-host:aqherptest.qudrah.com, ajp-port:12502, ajp-is-ssl: 0, metric:50]
[Sun Apr 12 09:58:53 2009] [debug] oc4j_proc_tbl.c(1046): MOD_OC4J_0173: After inserting new entry (opmnid=51773549), first_free_slot: 2 and nelts: 2.
[Sun Apr 12 09:58:53 2009] [debug] oc4j_proc_tbl.c(1129): MOD_OC4J_0205: Inserted process (opmnid=51773549) with index (proc table index = 1) into worker_rec of OC4J_BI_Forms.
[Sun Apr 12 09:58:53 2009] [info] got an event: IAS/PM/PROC_ALIVE
[Sun Apr 12 09:59:19 2009] [info] got an event: IAS/PM/PROC_READY
[Sun Apr 12 09:59:19 2009] [debug] oc4j_proc_tbl.c(2487): MOD_OC4J_0235: oc4j READY notification-[ias-cluster:C_192.168.124.58.121f1d.1207a829029.-8000, ias-instance:SIT.aqherptest.qudrah.com, hostname:aqherptest.qudrah.com, opmnid:51773548, oc4j-instance:home, oc4j-island:default_island, ajp-host:aqherptest.qudrah.com, ajp-port:12501, ajp-is-ssl:0.]
[Sun Apr 12 09:59:22 2009] [info] got an event: IAS/PM/PROC_READY
[Sun Apr 12 09:59:22 2009] [debug] oc4j_proc_tbl.c(2487): MOD_OC4J_0235: oc4j READY notification-[ias-cluster:C_192.168.124.58.121f1d.1207a829029.-8000, ias-instance:SIT.aqherptest.qudrah.com, hostname:aqherptest.qudrah.com, opmnid:51773549, oc4j-instance:OC4J_BI_Forms, oc4j-island:default_island, ajp-host:aqherptest.qudrah.com, ajp-port:12502, ajp-is-ssl:0.]
[Sun Apr 12 09:59:44 2009] [info] got an event: IAS/PM/PROC_KILLED
[Sun Apr 12 09:59:44 2009] [debug] oc4j_proc_tbl.c(1648): MOD_OC4J_0161: Failed to find the process with (opmnid=51773551) in internal process table to remove.
[Sun Apr 12 09:59:44 2009] [info] got an event: IAS/PM/PROC_STOP
Thanks,
SGHi Sawwan,
The bellow one is screen shot for opmnctl startall.
[oracle@aqherptest bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
Loading Module libopmnohs callback functions
Module libopmnohs: loaded callback function opmnModInitialize
Module libopmnohs: unable to load callback function opmnModSetNumProcs
Module libopmnohs: unable to load callback function opmnModParse
Module libopmnohs: unable to load callback function opmnModHelp
Module libopmnohs: unable to load callback function opmnModDepend
Module libopmnohs: loaded callback function opmnModStart
Module libopmnohs: unable to load callback function opmnModReady
Module libopmnohs: loaded callback function opmnModNotify
Module libopmnohs: loaded callback function opmnModRestart
Module libopmnohs: loaded callback function opmnModStop
Module libopmnohs: loaded callback function opmnModPing
Module libopmnohs: loaded callback function opmnModProcRestore
Module libopmnohs: loaded callback function opmnModProcComp
Module libopmnohs: unable to load callback function opmnModReqComp
Module libopmnohs: unable to load callback function opmnModInfo
Module libopmnohs: unable to load callback function opmnModCron
Module libopmnohs: loaded callback function opmnModTerminate
Loading Module libopmnoc4j callback functions
Module libopmnoc4j: loaded callback function opmnModInitialize
Module libopmnoc4j: unable to load callback function opmnModSetNumProcs
Module libopmnoc4j: unable to load callback function opmnModParse
Module libopmnoc4j: loaded callback function opmnModHelp
Module libopmnoc4j: unable to load callback function opmnModDepend
Module libopmnoc4j: loaded callback function opmnModStart
Module libopmnoc4j: unable to load callback function opmnModReady
Module libopmnoc4j: loaded callback function opmnModNotify
Module libopmnoc4j: unable to load callback function opmnModRestart
Module libopmnoc4j: loaded callback function opmnModStop
Module libopmnoc4j: loaded callback function opmnModPing
Module libopmnoc4j: loaded callback function opmnModProcRestore
Module libopmnoc4j: loaded callback function opmnModProcComp
Module libopmnoc4j: unable to load callback function opmnModReqComp
Module libopmnoc4j: unable to load callback function opmnModInfo
Module libopmnoc4j: unable to load callback function opmnModCron
Module libopmnoc4j: loaded callback function opmnModTerminate
Loading Module libopmncustom callback functions
Module libopmncustom: loaded callback function opmnModInitialize
Module libopmncustom: unable to load callback function opmnModSetNumProcs
Module libopmncustom: loaded callback function opmnModParse
Module libopmncustom: loaded callback function opmnModHelp
Module libopmncustom: unable to load callback function opmnModDepend
Module libopmncustom: loaded callback function opmnModStart
Module libopmncustom: loaded callback function opmnModReady
Module libopmncustom: unable to load callback function opmnModNotify
Module libopmncustom: loaded callback function opmnModRestart
Module libopmncustom: loaded callback function opmnModStop
Module libopmncustom: loaded callback function opmnModPing
Module libopmncustom: loaded callback function opmnModProcRestore
Module libopmncustom: loaded callback function opmnModProcComp
Module libopmncustom: loaded callback function opmnModReqComp
Module libopmncustom: unable to load callback function opmnModInfo
Module libopmncustom: unable to load callback function opmnModCron
Module libopmncustom: loaded callback function opmnModTerminate
Loading Module libopmnwc callback functions
Module libopmnwc: loaded callback function opmnModInitialize
Module libopmnwc: unable to load callback function opmnModSetNumProcs
Module libopmnwc: loaded callback function opmnModParse
Module libopmnwc: unable to load callback function opmnModHelp
Module libopmnwc: unable to load callback function opmnModDepend
Module libopmnwc: loaded callback function opmnModStart
Module libopmnwc: unable to load callback function opmnModReady
Module libopmnwc: loaded callback function opmnModNotify
Module libopmnwc: unable to load callback function opmnModRestart
Module libopmnwc: loaded callback function opmnModStop
Module libopmnwc: loaded callback function opmnModPing
Module libopmnwc: loaded callback function opmnModProcRestore
Module libopmnwc: loaded callback function opmnModProcComp
Module libopmnwc: loaded callback function opmnModReqComp
Module libopmnwc: unable to load callback function opmnModInfo
Module libopmnwc: unable to load callback function opmnModCron
Module libopmnwc: loaded callback function opmnModTerminate
Loading Module libopmniaspt callback functions
Module libopmniaspt: loaded callback function opmnModInitialize
Module libopmniaspt: unable to load callback function opmnModSetNumProcs
Module libopmniaspt: unable to load callback function opmnModParse
Module libopmniaspt: unable to load callback function opmnModHelp
Module libopmniaspt: unable to load callback function opmnModDepend
Module libopmniaspt: loaded callback function opmnModStart
Module libopmniaspt: loaded callback function opmnModReady
Module libopmniaspt: unable to load callback function opmnModNotify
Module libopmniaspt: unable to load callback function opmnModRestart
Module libopmniaspt: loaded callback function opmnModStop
Module libopmniaspt: unable to load callback function opmnModPing
Module libopmniaspt: unable to load callback function opmnModProcRestore
Module libopmniaspt: loaded callback function opmnModProcComp
Module libopmniaspt: unable to load callback function opmnModReqComp
Module libopmniaspt: unable to load callback function opmnModInfo
Module libopmniaspt: unable to load callback function opmnModCron
Module libopmniaspt: loaded callback function opmnModTerminate
Loading Module libopmndisco callback functions
Module libopmndisco: loaded callback function opmnModInitialize
Module libopmndisco: unable to load callback function opmnModSetNumProcs
Module libopmndisco: unable to load callback function opmnModParse
Module libopmndisco: unable to load callback function opmnModHelp
Module libopmndisco: loaded callback function opmnModDepend
Module libopmndisco: loaded callback function opmnModStart
Module libopmndisco: loaded callback function opmnModReady
Module libopmndisco: loaded callback function opmnModNotify
Module libopmndisco: loaded callback function opmnModRestart
Module libopmndisco: loaded callback function opmnModStop
Module libopmndisco: unable to load callback function opmnModPing
Module libopmndisco: unable to load callback function opmnModProcRestore
Module libopmndisco: loaded callback function opmnModProcComp
Module libopmndisco: unable to load callback function opmnModReqComp
Module libopmndisco: unable to load callback function opmnModInfo
Module libopmndisco: unable to load callback function opmnModCron
Module libopmndisco: loaded callback function opmnModTerminate
Loading Module libopmnip callback functions
Module libopmnip: loaded callback function opmnModInitialize
Module libopmnip: unable to load callback function opmnModSetNumProcs
Module libopmnip: unable to load callback function opmnModParse
Module libopmnip: unable to load callback function opmnModHelp
Module libopmnip: unable to load callback function opmnModDepend
Module libopmnip: loaded callback function opmnModStart
Module libopmnip: unable to load callback function opmnModReady
Module libopmnip: loaded callback function opmnModNotify
Module libopmnip: unable to load callback function opmnModRestart
Module libopmnip: loaded callback function opmnModStop
Module libopmnip: unable to load callback function opmnModPing
Module libopmnip: loaded callback function opmnModProcRestore
Module libopmnip: loaded callback function opmnModProcComp
Module libopmnip: unable to load callback function opmnModReqComp
Module libopmnip: unable to load callback function opmnModInfo
Module libopmnip: unable to load callback function opmnModCron
Module libopmnip: loaded callback function opmnModTerminate
Loading Module libopmnoid callback functions
Module libopmnoid: loaded callback function opmnModInitialize
Module libopmnoid: unable to load callback function opmnModSetNumProcs
Module libopmnoid: unable to load callback function opmnModParse
Module libopmnoid: unable to load callback function opmnModHelp
Module libopmnoid: unable to load callback function opmnModDepend
Module libopmnoid: loaded callback function opmnModStart
Module libopmnoid: loaded callback function opmnModReady
Module libopmnoid: unable to load callback function opmnModNotify
Module libopmnoid: unable to load callback function opmnModRestart
Module libopmnoid: loaded callback function opmnModStop
Module libopmnoid: unable to load callback function opmnModPing
Module libopmnoid: unable to load callback function opmnModProcRestore
Module libopmnoid: unable to load callback function opmnModProcComp
Module libopmnoid: unable to load callback function opmnModReqComp
Module libopmnoid: unable to load callback function opmnModInfo
Module libopmnoid: unable to load callback function opmnModCron
Module libopmnoid: loaded callback function opmnModTerminate
Loading Module libopmnwireless callback functions
Module libopmnwireless: loaded callback function opmnModInitialize
Module libopmnwireless: unable to load callback function opmnModSetNumProcs
Module libopmnwireless: unable to load callback function opmnModParse
Module libopmnwireless: unable to load callback function opmnModHelp
Module libopmnwireless: unable to load callback function opmnModDepend
Module libopmnwireless: loaded callback function opmnModStart
Module libopmnwireless: unable to load callback function opmnModReady
Module libopmnwireless: loaded callback function opmnModNotify
Module libopmnwireless: unable to load callback function opmnModRestart
Module libopmnwireless: loaded callback function opmnModStop
Module libopmnwireless: unable to load callback function opmnModPing
Module libopmnwireless: loaded callback function opmnModProcRestore
Module libopmnwireless: loaded callback function opmnModProcComp
Module libopmnwireless: unable to load callback function opmnModReqComp
Module libopmnwireless: unable to load callback function opmnModInfo
Module libopmnwireless: unable to load callback function opmnModCron
Module libopmnwireless: loaded callback function opmnModTerminate
Loading Module libopmnreports callback functions
Module libopmnreports: loaded callback function opmnModInitialize
Module libopmnreports: unable to load callback function opmnModSetNumProcs
Module libopmnreports: unable to load callback function opmnModParse
Module libopmnreports: loaded callback function opmnModHelp
Module libopmnreports: unable to load callback function opmnModDepend
Module libopmnreports: loaded callback function opmnModStart
Module libopmnreports: unable to load callback function opmnModReady
Module libopmnreports: loaded callback function opmnModNotify
Module libopmnreports: unable to load callback function opmnModRestart
Module libopmnreports: loaded callback function opmnModStop
Module libopmnreports: loaded callback function opmnModPing
Module libopmnreports: loaded callback function opmnModProcRestore
Module libopmnreports: loaded callback function opmnModProcComp
Module libopmnreports: unable to load callback function opmnModReqComp
Module libopmnreports: unable to load callback function opmnModInfo
Module libopmnreports: unable to load callback function opmnModCron
Module libopmnreports: loaded callback function opmnModTerminate
Loading Module liblogloader callback functions
Module liblogloader: loaded callback function opmnModInitialize
Module liblogloader: unable to load callback function opmnModSetNumProcs
Module liblogloader: unable to load callback function opmnModParse
Module liblogloader: unable to load callback function opmnModHelp
Module liblogloader: unable to load callback function opmnModDepend
Module liblogloader: loaded callback function opmnModStart
Module liblogloader: unable to load callback function opmnModReady
Module liblogloader: loaded callback function opmnModNotify
Module liblogloader: unable to load callback function opmnModRestart
Module liblogloader: loaded callback function opmnModStop
Module liblogloader: unable to load callback function opmnModPing
Module liblogloader: loaded callback function opmnModProcRestore
Module liblogloader: loaded callback function opmnModProcComp
Module liblogloader: unable to load callback function opmnModReqComp
Module liblogloader: unable to load callback function opmnModInfo
Module liblogloader: unable to load callback function opmnModCron
Module liblogloader: loaded callback function opmnModTerminate
Loading Module libopmndcmdaemon callback functions
Module libopmndcmdaemon: loaded callback function opmnModInitialize
Module libopmndcmdaemon: unable to load callback function opmnModSetNumProcs
Module libopmndcmdaemon: unable to load callback function opmnModParse
Module libopmndcmdaemon: unable to load callback function opmnModHelp
Module libopmndcmdaemon: unable to load callback function opmnModDepend
Module libopmndcmdaemon: loaded callback function opmnModStart
Module libopmndcmdaemon: unable to load callback function opmnModReady
Module libopmndcmdaemon: loaded callback function opmnModNotify
Module libopmndcmdaemon: unable to load callback function opmnModRestart
Module libopmndcmdaemon: loaded callback function opmnModStop
Module libopmndcmdaemon: unable to load callback function opmnModPing
Module libopmndcmdaemon: loaded callback function opmnModProcRestore
Module libopmndcmdaemon: loaded callback function opmnModProcComp
Module libopmndcmdaemon: unable to load callback function opmnModReqComp
Module libopmndcmdaemon: unable to load callback function opmnModInfo
Module libopmndcmdaemon: unable to load callback function opmnModCron
Module libopmndcmdaemon: loaded callback function opmnModTerminate
Loading Module libopmnbam callback functions
Module libopmnbam: loaded callback function opmnModInitialize
Module libopmnbam: unable to load callback function opmnModSetNumProcs
Module libopmnbam: unable to load callback function opmnModParse
Module libopmnbam: unable to load callback function opmnModHelp
Module libopmnbam: unable to load callback function opmnModDepend
Module libopmnbam: loaded callback function opmnModStart
Module libopmnbam: loaded callback function opmnModReady
Module libopmnbam: unable to load callback function opmnModNotify
Module libopmnbam: unable to load callback function opmnModRestart
Module libopmnbam: loaded callback function opmnModStop
Module libopmnbam: unable to load callback function opmnModPing
Module libopmnbam: unable to load callback function opmnModProcRestore
Module libopmnbam: unable to load callback function opmnModProcComp
Module libopmnbam: unable to load callback function opmnModReqComp
Module libopmnbam: unable to load callback function opmnModInfo
Module libopmnbam: unable to load callback function opmnModCron
Module libopmnbam: loaded callback function opmnModTerminate
Config: using /s04/SIT/sitDisk/dcm/config/dcm.conf for instance and cluster configuration
Config: using /s04/SIT/sitDisk/opmn/conf/ons.conf for ONS node configuration
XML parse: SIT.aqherptest.qudrah.com: component IASPT is disabled.
XML parse: SIT.aqherptest.qudrah.com~IASPT: process type IASPT is disabled.
XML parse: SIT.aqherptest.qudrah.com~IASPT~IASPT: process set IASPT is disabled.
[oracle@aqherptest bin]$
Thanks,
SG -
OC4J- Default Island in Oracle application forms reports services
Hi,
Please can any one answer this question.
How many cun current sessions will support in OC4J default island in oracle forms & reports services?
Regards,
LathaYes, by using SSO you can achieve it. The partner applications should be registered with SSO.
Method will depend on your version of OAS for the two applications. -
OC4J configuration choices help - instances, islands or processes
I need advice about the architecture for an OC4J environment. We need to do the following:
The internet request comes over a firewall to a load balancer.
This request will be routed to 1 or more OHS services.
These OHS services will by using OC4j loadbalancing re-route over a firewall to 1 or more OC4J instances. All transactions are stateless. I am aware that I can create the following layouts for 4 identical inital OC4J proceses.
Question 1: which one is best and why
layout one: 4 OC4J instances - 1 island - 1 process
layout two: 1 OC4J instances - 4 islands - 1 process
layout three:1 OC4J instances - 1 island - 4 proceses
Question 2: I am right in saying that I do not want to cluster the instances as I will be left with a single point of failure.Hi,
yes, on metalink you get in touch with real experts....
You have to install serveral application servers to get different ORACLE_HOMEs.
For each one, you can install a BPEL PM.
But: For each BPEL PM you need your own database instance, or you have to configure them as a clustered BPEL installation.... (but i do not know if this work with non RAC DBs) -
OC4J components produce islands of log files
What can I do about these files that continue to grow in my OMS?
For each OC4J Oracle Application Server Component in my OMS I have a file called default-web-access.log
$OMS_HOME/j2ee/OC4J_EM/log/OC4J_EM_default_island_1/
$OMS_HOME/j2ee/OC4J_EMPROV/log/OC4J_EMPROV_default_island_1/
$OMS_HOME/j2ee/home/log/home_default_island_1/
And I would like to do something about these in $OMS_HOME//Apache/Apache/logs -
access_log.numbersWhat can I do about these files that continue to grow in my OMS? You can configure the max dump size for each of the log files. Once the files "rollover" to a new copy after it reached the max size, you can either manually delete the files with .number extensions or schedule OS jobs to clean them up periodically.
-
Multiple instances of OC4J on the same machine
Is there a way to cofigure OC4J to have a few processes on the same machine, all listening to the same ports?
My purpose is to develope and deploy a few applications on the same machine, and each application should has its own process, so if onw fails or restarts, it will not effect the other applications and the other programmers.
I don't want to make each application to be bounded to differnt port.
is it possible ?Two instances of oc4j cannot listen to the same port...you will
get an error.
To do this, you will need to cluster oc4j. This is fairly easy,
but you app needs to be "clusterable". All classes need to be
serializable which are used by your servlets. The
<distributable /> tag needs to be in your web.xml file. No
stateful session beans can be used. (sorry, but oc4j doens't yet
support clustering with sfsb's).
The second step is that your default-web-site.xml or *-web-
site.xml file should be set up for clustering. Do this by
creating a cluster-island attribute in your web-site tag. Also
change the port from 8000 to something like 8080 or 8090 or
something else. It should look like this:
<web-site host="192.168.1.101" port="8080" display-name="some-
name" cluster-island="1">
<default-web-app application="someapp" name="someappname" />
<frontend host="192.168.1.101" port="8000" />
<access-log path="../log/some-web-access.log" />
</web-site>
Your server.xml and application.xml will be the same as when you
don't cluster.
Make sure you have 3 different copies of your j2ee/home
directories...of course with different names....like home1 and
cluster.
Edit the rmi.xml and jms.xml files to change the port number
that the home1 oc4j will listen to. The jms port is usually 9127
by default, so use 9128. The rmi port is 23791, so change it to
21792. This will keep the rmi and jms servers from conflicting.
Make sure that the home1 config/default-web-site.xml uses a
different port than 8080, say 8090, but the cluster-island name
is still 1.
Open terminal windows for each instance of oc4j, and start them
in the normal way.... java -jar orion.jar
Open a terminal window for the j2ee/cluster, and issue this
command:
java -jar loadbalancer.jar -host 192.168.1.101 -port 8000
You should see that each of your oc4j instances are recognized.
There...that wasn't so bad, was it?
regards,
the elephantwalker
www.elephantwalker.com -
OC4J restarting (10G 10.1.2.0.0)
We are having quite frequently restarts of on of our OC4J instances.
From the log files:
server.log
05/05/25 17:44:06 10.1.2.0.0 Started
05/05/25 17:44:07 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
05/05/25 17:44:07 Recovery completed, 0 connections committed and 0 rolled back...
05/05/25 17:44:07 10.1.2.0.0 Started
rmi.log
05/05/25 17:44:06 10.1.2.0.0 Started
jms.log
05/05/25 17:44:06 10.1.2.0.0 Started
global_application.log
05/05/25 17:44:07 Started
05/05/25 17:44:08 defaultWebApp: jsp: init
05/05/25 17:44:08 defaultWebApp: Started
05/05/25 17:44:31 dms: jsp: init
05/05/25 17:44:31 dms: Started
05/05/25 17:44:31 dms: Spy: init
The error_log file shows the following:
[Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] (10054)An existing connection was forcibly closed by the remote host: MOD_OC4J_0086: Got an unexpected error while calling recv() to receive a message from oc4j and error code is 10054.
[Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j.
[Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j.
[Wed May 25 17:44:01 2005] [warn] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0078: Network connection errors happened to host: SAFIR and port: 3302 while receiving the first response from oc4j. This request is recoverable.
[Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] (10054)An existing connection was forcibly closed by the remote host: MOD_OC4J_0086: Got an unexpected error while calling recv() to receive a message from oc4j and error code is 10054.
[Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j.
[Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j.
[Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] MOD_OC4J_0121: Failed to service request with network worker: Internal_15 and it is not recoverable.
[Wed May 25 17:44:01 2005] [error] [client 213.131.101.154] [ecid: 1117035833:80.239.30.8:380:2032:1064,0] MOD_OC4J_0013: Failed to call destination: Internal's service() to service the request.
[Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] (10061)No connection could be made because the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
[Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] (10061)No connection could be made because the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
[Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] (0)The operation completed successfully: MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: Internal_15.
[Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0030: Failed to connect an oc4j process. This request is recoverable.
[Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0026: Failed to marshal a request to ajp13 message headers or send them to the web container.
[Wed May 25 17:44:02 2005] [warn] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0187: Failed to find an oc4j process within destination:[Internal] and island id: default_island for session failover.
[Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0150: Failed to deterministicly find a failover oc4j process for session request for island: default_island for destination: Internal.
[Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0119: Failed to get an oc4j process for destination: Internal
[Wed May 25 17:44:02 2005] [error] [client 213.131.101.154] [ecid: 1117035837:80.239.30.8:380:624:1129,0] MOD_OC4J_0013: Failed to call destination: Internal's service() to service the request.
[Wed May 25 17:44:06 2005] [warn] [client 213.131.101.154] [ecid: 1117035846:80.239.30.8:380:2616:1163,0] MOD_OC4J_0187: Failed to find an oc4j process within destination:[Internal] and island id: default_island for session failover.
[Wed May 25 17:44:06 2005] [error] [client 213.131.101.154] [ecid: 1117035846:80.239.30.8:380:2616:1163,0] MOD_OC4J_0150: Failed to deterministicly find a failover oc4j process for session request for island: default_island for destination: Internal.
[Wed May 25 17:44:06 2005] [error] [client 213.131.101.154] [ecid: 1117035846:80.239.30.8:380:2616:1163,0] MOD_OC4J_0119: Failed to get an oc4j process for destination: Internal
[Wed May 25 17:44:06 2005] [error] [client 213.131.101.154] [ecid: 1117035846:80.239.30.8:380:2616:1163,0] MOD_OC4J_0013: Failed to call destination: Internal's service() to service the request.
Have anyone seen this or have a solution?
Thanks!It seems that i have the same problem. Any help welcome
Thanks
renaud -
Maintaining sessions in mulitple instance of Oc4J
I have a light weight J2ee application deployed in default "home" of Oc4j .If i have more than 1 instance of Oc4j , then how can i stick my user session always to 1 instance of the oc4j . Right now due to probably load balancing issues , the user request always swaps between both Oc4j instances and I am loosing all session variables in between application.
ThanksAfter reading though lot of article , I consistently find the following :
==============================================
Note:
For a session based request mod_oc4j always directs the request to the original OC4J process which created the session, unless the original OC4J process is not available. In case of failure, mod_oc4j sends the request to another OC4J process with the same island name as the original request (either within same host if available, or on a remote host).
==============================================
If this is the case , then I should get my session attributes over a complete User session . Why am i losing them ?
Thanks -
Deploy one Application per OC4J instance or multiple
Hello,
I have the following questions on deploying applications on OC4J:
1. What is the best practice for deploying applications on OC4J?
2. Should I deploy only One application per OC4J Instance or multiple applications per OC4J Instance.
3. If I decide to deploy more then one application on one OC4J Instance, for this OC4J Instance, should I increase default_island property to add the number of processes within an OC4J Instance
Thanks,
ManishYou really should read the 9iAS Performance and Tuning Guide. There is no specific recommendation. It is
highly dependent on your specific applications.
You can deploy more than one application per OC4J instance and if you have a high performance machine you will probably want to run more than one JVM per OC4J
instance. If you are running applications which create sessions and replicate state across JVM's then
you may want to create multiple islands to limit the scope of replication. -
How to dump output to OC4J logging?
I wrote a webservice impl. class and tried to add some output to the log file. I assume the log file is log.xml. But I couldn't find any of my output. I was told that I could just use system.out.println for dumping the logging. It doesn't seem to work.
Please help.
Thanks,
JasonIt depends on the version of OAS I believe.
Now in my case, we were on OAS 10.1.2.x. OC4J is not standalone. It is a part of the OAS.
The system.outs and system errs go to
OASHOME/opmn/logs/OC4J~home~default~island~1ETC
This will be true if you do not redirect out and err to some other specific files. This will be mentioned in APP server OC4J instance JVM options (check opmn.xml).
Some more references
10.1.3
http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28950/logadmin.htm
http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28944/appendix.htm
10.1.2
http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b14011/advanced.htm#i1027867
I am not sure about this is true for webservices implementation though.
Let us know what you find out. -
Oc4j not fully utilizing all cpus
We are running some performance testing in anticipation of deploying our application to production.
We are doing quite a lot of XSL transformations in our app -- the user logs in, we use their id to find the proper XML record (about 8k in size) stored in our database, then using the XML record we retrieve two XSLTs also stored in the database (80kb and 24kb). We have a static util XSLHelper class which receives the XML plus the first XSLT as input (Strings) which returns an XML string, then we call the XSLHelper again with that XML plus the other XSLT as input. Finally the resulting string output is HTML which we display to the user.
During our testing, we noticed that one CPU is pegged to 100% while the other is barely used at all. It seems like Oc4j is only spinning the XSLHelper calls off into a single cpu rather than splitting the load across both cpus.
I'm curious if anyone has any experience with this kind of thing and can share how they resolved the issue, so both CPUs were used as desired?
Thanks.Just set the number of processes (default islands) for your OC4J to 2. The setting can be found at the server properties of your container in the enterprise manager website.
-
OC4J: Determine Memory Requirements for applications
Hello,
In the Enterprise Manager Web Site for 9iAS R2, on the System Components page, it displays the CPU% and Memory. Then Clicking on an OC4J instance, it shows the Memory and Heap Usage.
So, the total memory used by this oc4j instance = memory + heap?
Is there a documented method to determine memory usage per user for an oc4j application?
Thanks,
ManishTuning the JVM depends also on your application.
In iAS you can add JVM Parameters to the opmn.xml for each OC4J Instance. You have to profile your application in order to determine the correct VM configuration and consider the requirements of the OC4J. Unfortunaly the default configuration is bad. You should add at least add the -sever flag which is available in JDK 1.3.1 used in iAS.
JDK 1.4.2 offering is offering new features for multiprocessor machines so a good basic stardup would be
-server -XX:+AgressiveHeap
which turns on a Parallel Garbage Collector and increase maximum heap size. But there is a point where a single JVM will not be sufficent. Then you have to spwan new JVM processes using the Island concept in iAS.
I guess this is a good startup guide:
http://developer.java.sun.com/developer/technicalArticles/Programming/turbo/
http://java.sun.com/docs/hotspot/gc1.4.2/index.html
Good look
Toby
Maybe you are looking for
-
Template of List of line items
Hi Gurus, Here is my requirement. Business wants to store list of line items as template by the time of taking the orders. This templates will be used for future order reference. I want to create a new sales document type which is copy
-
... is not a file that QT understands (-2048)
I have downloaded (via aMule) a Harry Potter movie in .mpg format. It's size is 658MB (which QT should not have trouble handling) and it seems to be 'viruse free' (checked with ClamXav). But QT v. 7.0.3 reports error #2048. What exactly does it mean?
-
Xsd:base64Binary vs Datahandler
Hi There, I was developing a webservice using top down approach( wsdl to java). So in one of my complex types, I defined an element type as xsd:base64Binary( in wsdl file) <xsd:element minOccurs="1" maxOccurs="1" name="token" type="xsd:base64Binary"/
-
About External Process Fail in OWB 9.04
Hi All, Under the Process Flow Editor, I have tried to call an external process ( batch file ) to do a copy action with following input value for the external process. COMMAND - C:\WINNT\SYSTEM32\CMD.exe PARAMETER_LIST - ?/c?c:\\temp\\copytest.bat wi
-
Double conditions to hide/display a field
Hello all, I have two drop-down menus and a field. In this field, depending on what is selected in both drop-down menus, either a Yes-No choice or a drop-down menu appears. My problem is that I don't know how to do that. Could I run a script on the p