Oracle

Moderators: None (Apply to moderate this forum)
Number of threads: 348
Number of posts: 673

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing- Posted by jadeite100 on 8 Aug 2009 at 8:37 AM
Hi All:

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, you@your.address 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, you@your.address 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.

Any hint or help will be greatly appreciated.

Yours,

Frustrated.
Attachment: error_log.zip (1070 Bytes | downloaded 117 times)
Report
Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing- Posted by nene510 on 8 Aug 2009 at 9:20 AM
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.
Report
Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing- Posted by jadeite100 on 8 Aug 2009 at 9:55 PM
Hi:

Thank you for the quick reply!!!! And thank for your help!!!
In your 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 your 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"/>

Here is my opmn.xml:
<?xml version = '1.0' encoding = 'UTF-8'?>

<opmn xmlns="http://www.oracle.com/ias-instance">
<notification-server>
<port local="6102" remote="6201" request="6004"/>
<log-file path="$ORACLE_HOME\opmn\logs\ons.log" level="4" rotation-size="1500000"/>
<ssl enabled="true" wallet-file="$ORACLE_HOME\opmn\conf\ssl.wlt\default"/>
</notification-server>
<process-manager>
<log-file path="$ORACLE_HOME\opmn\logs\ipm.log" level="4" rotation-size="1500000"/>
<process-modules>
<module path="$ORACLE_HOME\opmn\lib\libopmnohs">
<module-id id="OHS"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmnoc4j">
<module-id id="OC4J"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmncustom">
<module-id id="CUSTOM"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmnwc">
<module-id id="WebCache"/>
<module-id id="WebCache-admin"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmniaspt">
<module-id id="IASPT"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmndisco">
<module-id id="Disco_ServicesStatus"/>
<module-id id="Disco_SessionServer"/>
<module-id id="Disco_PreferenceServer"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmnip">
<module-id id="integration-manager"/>
<module-id id="adapter-framework"/>
<module-id id="b2bengine"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmnoid">
<module-id id="OID"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmnwireless">
<module-id id="notificationeventcollector"/>
<module-id id="datafeeder"/>
<module-id id="performance"/>
<module-id id="messaging"/>
<module-id id="notification"/>
<module-id id="location"/>
<module-id id="telnetserver"/>
<module-id id="telnetdispatcher"/>
<module-id id="edgeserver"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmnreports">
<module-id id="ReportsServices"/>
<module-id id="ReportsBridgeServices"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmnlogloader">
<module-id id="LOGLDR"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmndcmdaemon">
<module-id id="DCMDaemon"/>
</module>
<module path="$ORACLE_HOME\opmn\lib\libopmnbam">
<module-id id="MonitorFramework"/>
<module-id id="BAMEngine"/>
</module>
</process-modules>
<ias-instance id="jadeite1000.xxx">
<environment>
<variable id="TMP" value="C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp"/>
</environment>
<ias-component id="IASPT" status="disabled">
<environment>
<variable id="PATH" value="C:\OraHome_3\bin" append="true"/>
<variable id="PATH" value="$ORACLE_HOME\Apache\Apache" append="true"/>
</environment>
<process-type id="IASPT" module-id="IASPT" working-dir="C:\OraHome_3\iaspt\bin">
<port id="ajp" range="7501-7600"/>
<process-set id="IASPT" numprocs="1"/>
</process-type>
</ias-component>
<ias-component id="DSA" status="enabled" id-matching="true">
<process-type id="DSA" module-id="CUSTOM">
<environment>
<variable id="OS" value="Windows_NT"/>
</environment>
<start timeout="600"/>
<stop timeout="120"/>
<process-set id="DSA" numprocs="1">
<module-data>
<category id="start-parameters">
<data id="start-executable" value="C:\OraHome_3\jdk\bin\java"/>
<data id="start-args" value="-ms20m -Djava.library.path=C:\OraHome_3\bin;C:\OraHome_3\dsa\bin;C:\OraHome_3\oui\lib\win32 -classpath C:\OraHome_3\dsa\jlib;C:\OraHome_3\dsa\jlib\duf.jar;C:\OraHome_3\lib\dms.jar;C:\OraHome_3\oui\jlib\OraInstaller.jar;C:\OraHome_3\jlib\srvm.jar;C:\OraHome_3\jlib\netcfg.jar;C:\OraHome_3\lib\xmlparserv2.jar;C:\OraHome_3\assistants\jlib\assistantsCommon.jar;C:\OraHome_3\jdbc\lib\classes12.zip;C:\OraHome_3\jdbc\lib\nls_charset12.zip;C:\OraHome_3\jlib\share.jar;C:\OraHome_3\opmn\lib\optic.jar;C:\OraHome_3\j2ee\home\jazn.jar oracle.duf.dufserver.DufServer C:\OraHome_3\dsa\dsa.conf"/>
</category>
</module-data>
</process-set>
</process-type>
</ias-component>
<ias-component id="LogLoader" status="enabled" id-matching="true">
<process-type id="logloaderd" module-id="LOGLDR" working-dir="$ORACLE_HOME">
<environment>
<variable id="CLASSPATH" value="$ORACLE_HOME/diagnostics/lib/ojdl.jar" append="true"/>
<variable id="CLASSPATH" value="$ORACLE_HOME/lib/xmlparserv2.jar" append="true"/>
<variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/classes12.jar" append="true"/>
<variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/nls_charset12.jar" append="true"/>
<variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/ons.jar" append="true"/>
<variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/optic.jar" append="true"/>
<variable id="CLASSPATH" value="$ORACLE_HOME/jlib/oraclepki.jar" append="true"/>
</environment>
<process-set id="logloaderd" restart-on-death="true" numprocs="1">
<module-data>
<category id="start-parameters">
<data id="java-parameters" value="-server -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Doracle.home=$ORACLE_HOME -Djava.security.policy=$ORACLE_HOME/diagnostics/bin/java.policy"/>
</category>
<category id="stop-parameters">
<data id="java-parameters" value="-Doracle.home=$ORACLE_HOME -Djava.security.policy=$ORACLE_HOME/diagnostics/bin/java.policy"/>
</category>
</module-data>
</process-set>
</process-type>
</ias-component>
<ias-component id="dcm-daemon" status="enabled" id-matching="true">
<process-type id="dcm-daemon" module-id="DCMDaemon">
<start timeout="600"/>
<stop timeout="120"/>
<process-set id="dcm" numprocs="1">
<module-data>
<category id="start-parameters">
<data id="java-parameters" value="-Xmx256m -Xrs -Doracle.ias.sysmgmt.logging.loglevel=ERROR -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=&quot;$TMP&quot;"/>
<data id="jar-file" value="$ORACLE_HOME/dcm/lib/dcm.jar"/>
<data id="application-parameters" value="daemon -logdir $ORACLE_HOME/dcm/logs/daemon_logs -o $ORACLE_HOME"/>
</category>
</module-data>
</process-set>
</process-type>
</ias-component>
<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>
<ias-component id="WebCache" status="enabled">
<process-type id="WebCache" module-id="WebCache">
<process-set id="WebCache" restart-on-death="true" numprocs="1"/>
</process-type>
<process-type id="WebCacheAdmin" module-id="WebCache-admin">
<process-set id="WebCacheAdmin" restart-on-death="false" numprocs="1"/>
</process-type>
</ias-component>
<ias-component id="HTTP_Server">
<process-type id="HTTP_Server" module-id="OHS">
<environment>
<variable id="PERL5LIB" value="C:\OraHome_3\Apache\Apache\mod_perl\site\5.6.1\lib"/>
<variable id="PHPRC" value="C:\OraHome_3\Apache\Apache\conf"/>
</environment>
<module-data>
<category id="start-parameters">
<data id="start-mode" value="ssl-disabled"/>
</category>
</module-data>
<process-set id="HTTP_Server" numprocs="1"/>
</process-type>
</ias-component>
</ias-instance>
</process-manager>
</opmn>

Thank for your help!!
Yours,

Frustrated
Attachment: opmn.zip (2247 Bytes | downloaded 157 times)
Report
Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing- Posted by jadeite100 on 8 Aug 2009 at 10:24 PM
Hi:

Thank you for your help!!!!
Really appreciated it!!!!
I am attaching my ias.properties file.
I know I am asking a lot of questions but I am very new to oracle report.

Is there a way to start and stop the oc4j server in C:\OraHome_3\j2ee\home

I donot see any bin directory in home.
Normal standalone oc4j server has bin directory that contains the startup and shutdown command file.

Are there any more files you need to determine what the problem is?

Thank You.

Yours,

Frustrated
Attachment: ias.zip (732 Bytes | downloaded 106 times)
Report
Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing- Posted by jadeite100 on 8 Aug 2009 at 11:08 PM
Hi:

Thank you for your help once again!!
You have the following reply to my question:"Run the update config for command for opmn.xml if you're not using the asconsole".

Can you please tell me how to do this?

Also, I google on the internet and I found this command. I hope this helps?:
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

Yours,

Frustrated
Report
Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing- Posted by jadeite100 on 8 Aug 2009 at 11:30 PM
Hi:

I found something interesting.
I run my oracle database and oracle report server in a vmware guesting operating system running on windows 2000 serve sp4.
I have different versions of vmware depending on the date.
The latest version have the above server error.
Before the latest version I didnot have the above server error when I did the following:

I went to the following url:
http://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.

Thank You for your help!!!!
Yours,

Frustrated.
Report
Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing- Posted by jadeite100 on 9 Aug 2009 at 8:23 AM
Hi:

Thank you for your help!!
I also did comparison of the original and new ias.properties and the opmn.xml file and it shows no change.
Can you please tell me where the files are related to the
process_type `home` and `oc4j_bi_forms` so maybe I can check the port number use by them.

Thank You.
Yours,

Frustrated.
Report
Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing- Posted by nene510 on 11 Aug 2009 at 11:32 PM
Search for ajp in the opmn.XML file and increase the port range to 200. Make sure not to overlap with the rmi and the other one. Can't remember the name. Do this every where u find ajp.
Validate and reload the file
opmnctl validate
opmnctl reload
stop and star

this is something to try. Some of your error messages I've seen when my ports are taken by another app and my oc4j instances don't come up.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.