10g: HTTP Server and OC4J on different servers?

Can anyone assist with configuring HTTP Server and OC4J on different servers?
I installed AS 10g on both; our application runs fine on one server, with the HTTP Server and OC4J both on the same box.
I need to also test this with the HTTP Server on a separate box.
I added this to mod_ocj4.conf:
Oc4jMount /indox-qa1
instance://cvodev2:oas_dev2.cvodev2.int.sys.com:indox-qa1
Oc4jMount /indox-qa1/*
instance://cvodev2:oas_dev2.cvodev2.int.sys.com:indox-qa1
But when I try to access something like http://cvodev4/indox-qa1 I get this in the logs:
[Wed Jul 06 16:54:10 2005] [warn] [client 10.1.1.231] [ecid: 1120683250:192.152.136.127:1248:1544:1,0] MOD_OC4J_0184: Failed to find an oc4j process for destination: instance://cvodev2.int.camsys.com:oas_dev2.cvodev2.int.camsys.com:indor-qa1
[Wed Jul 06 16:54:10 2005] [error] [client 10.1.1.231] [ecid: 1120683250:192.152.136.127:1248:1544:1,0] MOD_OC4J_0145: There is no oc4j process (for destination: instance://cvodev2.int.camsys.com:oas_dev2.cvodev2.int.camsys.com:indor-qa1) available to service request.
[Wed Jul 06 16:54:10 2005] [error] [client 10.1.1.231] [ecid: 1120683250:192.152.136.127:1248:1544:1,0] MOD_OC4J_0119: Failed to get an oc4j process for destination: instance://cvodev2.int.camsys.com:oas_dev2.cvodev2.int.camsys.com:indor-qa1
[Wed Jul 06 16:54:10 2005] [error] [client 10.1.1.231] [ecid: 1120683250:192.152.136.127:1248:1544:1,0] MOD_OC4J_0013: Failed to call destination: instance://cvodev2.int.camsys.com:oas_dev2.cvodev2.int.camsys.com:indor-qa1's service() to service the request.
I did some ethernet sniffing and it doesn't look to me like the OHS box is even trying to contact the OC4J box.
Is there more configuration I need to do beyond this?
Thanks,
dwh

hi user11159690
Maybe this can help:
"Oracle® HTTP Server Administrator's Guide 10g Release 3 (10.1.3) B25211-02"
"7.32 mod_oc4j"
http://download.oracle.com/docs/cd/B25221_04/web.1013/b25211/confmods.htm#i1025739
Maybe more specifically "Oc4jMount":
http://download.oracle.com/docs/cd/B25221_04/web.1013/b25211/confmods.htm#CIHJBGFB
(tip : You can use "Your Control Panel" to make your name visible in forum posts.)
success
Jan Vervecken

Similar Messages

  • DMZ pattern with single HTTP server and OC4J separated

    I am new to Oracle products and I am I trying to configure 9iAS Rel 2 for a JSP/servlet project and would greatly appreciate any comments or pointers to specific documents that may be helpful.
    I would like to use the DMZ pattern for a small application without clustering anything or installing Infrastructure. I would like to have just the HTTP server between the two firewalls and have the application server (hosting the business logic) and the database server (9i Rel 2) behind the second firewall. I want to keep this as simple as possible.
    Is there any way to install just an HTTP server (such as Apache) in between the two firewalls and have it direct requests to the Oracle 9i (Rel 2) application server (J2EE & Web cache installation) behind the second firewall?
    If that is not possible (due to the need for Oracle's HTTP server and mod_OC4J to forward requests), then I would assume that I would have to install a copy of 9iAS on the one machine between the two firewalls (so that I would have the Oracle HTTP server with mod_OC4J) and then install another copy on a machine behind the second firewall (to host the business logic). Is this correct?
    With those installations in place, would I then follow the modifications that are mentioned in "Scenario C: Routing (or clustering) Instances Across Firewalls" of the 'Oracle9i Application Server: mod_oc4j Technical Overview' (i.e modify the following files opmn.xml, ons.conf mod_oc4j.conf) so that the 9iAS in between the two firewalls ignores its OC4J and forwards requests the to 9iAS behind the second firewall? (I know that this document is talking about clustering which is what I do not want to do, but I can't find any information about trying to put a single instance of a HTTP server in the DMZ while having a single instance of OC4J behind the second firewall).
    Would a better approach be to install a copy of 9iAS in the DMZ and then install a stand along copy of OC4J behind the second firewall?
    Does mod_oc4j automatically install with the J2EE and Web cache installation of 9iAS Rel 2?
    Thanks for your insights,
    - David

    You'r on the right track. You can't install just OHS or just OC4J seperatly but you can get the end result you are looking for.
    Install an iAS instance (j2ee&webcache) in the DMZ and shutdown all but the OHS process.
    Instanll a second iAS instance behind your firewall an shut down all but the OC4J process.
    you now have effectively what you want OHS in the DMZ and OC4J at the intranet.
    Now if you follow the directions in the Mod_oc4j overview doc. You modify the ons.conf by using the dcmctl commands
    getopmnport/addopmnlink
    Then you modify the mod_oc4j.conf using the instance:// tag to rouet requests from the OHS in the DMZ to the OC4J's
    in the intranet.
    You will need to open ports in the firewall for the ajp traffic between OHS and the OC4J's

  • Internal server error - Http server and OC4J intance

    Hi
    Internal Server error ( GET/<app name>
    Hi,
    We are using AS10g R1: 9.0.4.0.0 in production and occasionally getting Internal Server Error. And to overcome this problem, everytime we have to restart the HTTP server; we tried re-staring the OC4J instance to find out whether OC4j is causing the problem, however it doesn't work until we restart the Http server. Interestingly Http server serves well other OC4j instances during the error for a particular app runing in different OC4J instance.
    ANY HELP WILL BE HIGHLY APPRECIATED.
    Here are more details:
    It's a J2ee (struts) app.
    Operating System: Sun Solaris- 5.10
    Http server access log msg:
    "GET /<app name> HTTP/1.1" 500 544
    Http server error log msg:
    MOD_OC4J_0184: Failed to find an oc4j process for destination: OC4J_1
    [Mon Sep  8 17:55:13 2008|http://forums.oracle.com/forums/] error MOD_OC4J_0145: There is no oc4j process (for destination: OC4J_1) available to service request.
    [Mon Sep  8 17:55:13 2008|http://forums.oracle.com/forums/] error [ecid: 51865290138,1|http://forums.oracle.com/forums/] MOD_OC4J_0119: Failed to get an oc4j process for destination: OC4J_1
    [Mon Sep  8 17:55:13 2008|http://forums.oracle.com/forums/] error [ecid: 51865290138,1|http://forums.oracle.com/forums/] MOD_OC4J_0013: Failed to call destination: OC4J_1's service() to service the request.
    [Mon Sep  8 17:55:15 2008|http://forums.oracle.com/forums/] warn [ecid: 51865292545,1|http://forums.oracle.com/forums/] MOD_OC4J_0184: Failed to find an oc4j process for destination: OC4J_1
    OC4J Log:
    Nothing unusual; looks good
    Mod_oc4j.conf
    LoadModule oc4j_module libexec/mod_oc4j.so
    Oc4jConnTimeout 300
    Oc4jCacheSize 0
    # in response to eSecure findings
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    Work around:
    Re-starting HTTP server

    Greetings,
    Since we see a 500 error below in the Http server access log msg: the server is unavailable. I suggest changing the OC4J logging to "FINEST" and then run your test again (server reset etc.) and post the log here.
    THX
    -Mike

  • ESB and BPEL in different servers

    Hi ,
    Is there any performance based advantage when we have BPEL and ESB in different servers ?

    If you seperate them, it will have impacht on the perfromance. Services are called over the network, assuming BPEL and ESB are on different servers. Otherwise they can call each other via native binding if ESB and BPEL are in the server and container.
    Marc
    http://orasoa.blogspot.com

  • ADS in ABAP and JAVA on different servers

    Dear community,
    I need to run ADS with  ABAP and JAVA on different servers but after read and apply every step on The ADS Configuration Guide, still getting doubts and problems. Those steps work succesfully on a server with ABAP+JAVA on same server. Those are the problems:
    When I perform the report test FP_TEST_00 i get this error:
    ADS: com.adobe.ProcessingException: Problem accessing d(200101)
    I haven't found a a detailed procedure to set on ABAP and JAVA on different servers...
    Do you know any procedure to set this scenario??
    As a result, I don't know which role i must assign to adsuser on Java UME because i did not found any SAP_ADSCALLER role as i have ridden on some forums or blogs...
    I try to set ADS on ABAP+JAVA on different servers by this official guides:
    The ADS Configuration Guide:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30a9630b-4f89-2a10-6fab-e311b3ffd9a6
    The ADSConfiguration Guide for Print Scenarios
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a04ef746-4c89-2a10-0f8e-eb2b3460fb7c
    Thanks in advance
    Kind regards
    Scottie

    HI again,
    ADS_AGENT now has sap_all but still same problem:
    Creating or Changing the Destination Service, On Visual Administrator/Destinations/HTTP/ FP_ICF_DATA_<SID>
    When I set the URL http://<hostname>:<HTTP_port> i am getting error Received HTTP response 502
    - If I paste the http://<hostname>:<HTTP_port>  +
    - Enter the appropriate client number of the system, where the service user ADS_AGENT exists into the client field. Keep the other fields System ID and Language empty +
    - Under Logon Data, choose BASIC in the Authentication field. +
    - Enter ADS_AGENT in the Username field and enter the same password as given for this service user in the SAP NetWeaver AS ABAP in the Password field
    - Choose Save and Test and  Received HTTP response 502 appears.
    But if I paste on Explorer  http://<hostname>:<HTTP_port>/sap/bc/fp/form/layout/fp_test_00.xdp, request User (ADS_AGENT) +Pwd and work ok, so error only appears by Visual Administrator...
    Anybody knows how can resolve this doubt?
    Thanks in advance

  • Splitting HTTP Server and 9IAS

    Whats the advantage of splitting the HTTP Server and application server. Bcos in our case the web server is installed thro a minimal installation and the Application server is installed using the enterprise edition in separate servers. Hence in both the servers the HTTP service is enabled . Also the Jserver of web server is not being used by us.
    It would be helpful if somebody could list out the various advantages / disadvantages with the above architecture.
    Thanks and Regards
    Swaminathan

    Question is probably best answered on the general 9iAS forum:
    http://forums.oracle.com/forums/forum.jsp?id=466592
    A quick answer: Reasons vary from distributing load (HTTP hits or application execute), using distribution of HTTP servers for high availability via new clustering capabilities in 9iAS, using different size boxes for one piece or another (e.g. big cluster of tiny HTTP servers and a smaller number of larger servers for EJB), utilizing hardware, physically and logically splitting apart functionality of 9iAS (not such an issue with just the core but more significant with Forms, Reports, Portal, etc).
    This paper gives the feature set supporting distributed deployment:
    http://otn.oracle.com/products/ias/ohs/collateral/r2/clusters.pdf
    and this paper:
    http://otn.oracle.com/products/ias/ohs/collateral/r2/bp-core-v2.PDF
    gives best HTTP and deployment practices that might answer your question.
    Mike.

  • How to mirror between the production server and the multiple local servers.

    I am currently looking for the best way to correspond between our production server and the multiple local servers. Because the production server is the only server that holds the latest updating applications, and our local servers are located for each developer’s local machines where the all modifications and creations are done. So when the developer locally makes changes for assets or files, he creates a patch archive first, then accesses to the production side Administration console screen and imports them from Application Management screen.
    We tried to find a way to see the imported date before (so we know which one has been imported as new.), but there is no show in the Administration console Application Management screen. There is Creation date but it’s set as we initially imported the full archive files, but not patch files. Since between applications have some types of the dependencies (like fragments or image files), what is the best way to keep mirroring between the production server and local servers? Or we should simply not use patch file for updating server?
    Thanks,

    Check out this utility : http://blogs.adobe.com/livecycle/2013/03/adobe-livecycle-configuration-migration-utility.h tml
    Thanks,
    Wasil

  • Question about HTTP Server and 9iAS

    I am kind of new to Oracles 9is products. I installed Oracle 9i Rel. 2 recently and it installed HTTP Server and other stuff as part of that install. I am trying to write a small web application. Is this install good enough to do basic servlet's, jsp's and may be EJB's etc ... or do I need to install 9iAS. I am confused on the fact that I know 9iAS will give me j2ee container, web container, clustering, etc ..., what functionality is included in the 9i databases web server piece.
    Also, can anyone point me to a good documentation that explains directory structure of 9i Rel. 2. I am familiar with the database part fairly well(oracle 7 release). However, I am confused as to new web related stuff (Apache, bc4j, etc..) in 9i Rel. 2.
    Thanks.

    Hi,
    No, you cannot run EJB's in the Apache installation. For that you might want to download OC4J.
    Basic Http pages and Servlets can run but I dont think it is advisable to use it for that. For any kind of development, I would suggest you to use OC4J.
    Oracle9i Database is web enabled and you can access the table, etc.. from a browser too. This is the reason Apache is provided with the basic installation. Oracle9i Rel 2 has XML DB in it which again can be accessed from the Web.
    For more help on any of these check http://otn.oracle.com/documentation/oracle9i.html
    You will be able to get all the related Developer's Guide here.
    Hope this helps,
    Rajat

  • Can 10g OAS run 10g Report server and 6i reports together?

    Re-posted from the OAS thread: Can 10g OAS run 10g Report server and 6i reports together?
    We have need to run 6i and 10g reports from the same physical server running OAS 10g.
    Are there issues / conflicts?
    There are hundreds of 6i reports called from many applications. Converting completely is a separate project on the books.
    The need is to utilize 10g graphs on this urgent project. The graphing in 6i has not gotten along here with RAC and other distributed architecture. Additionally, I believe the 6i graph runtime would have to be installed on each client workstation... again, hundreds.
    Thank you.

    Hello,
    You can install OAS 10g and Reports 6i on the same server as long as they are installed in different ORACLE_HOME ..
    Take car to the value of the variable PATH ..
    Regards

  • Just installed HTML DB on 9i, can I just use 10G HTTP server?

    I just installed html db from my 10G release 2 dvd (on a machine that only has 9.2.0.6 on it), and went thru the steps outlined on http://www.oracle.com/technology/products/database/htmldb/howtos/howto_use9ir2ohs.html
    I installed the schema SYSAUX in an existing 9i database.
    When I went to start the 9i http server it errors out and seems to not be working on this server, so rather than troubleshoot this can I not just use the 10G http server that was installed?
    If so, I am a complete newbie at this so where might I find a good howto on getting started with HTML DB, I just want to play with it for now, but my eventual goal is to start migrating our MSAccess apps into Oracle and using this as a front end.
    thanks in advance!

    Thanks Sergio, I think I will uninstall it and start again from the link you gave me, I am curious though, on why it has you download the htmldb and unzip/install it manually etc. when it is an option on the 10GR2 dvd shown?
    If I recall correctly, the HTML DB option included the http server already, or is it just the preferred method to install the apache server standalone and HTML DB manually?
    Glen

  • Http Server with Oc4j

    Hi,
    I have installed oracle soa in one host and Http server in another host.(in windows 2003 server).
    I need to deploy the war files using Http server .
    I need to know, how to configure Http server with Oc4j.
    Regards,
    Latha

    BEST SOLUTION:
    Use Apache HTTPD that comes with the SOA Suite distribution. This includes a mod_oc4j which calls the OC4J installation.
    More information can be taken from the "Oracle® HTTP Server Administering a Standalone Deployment Based on Apache" guides.
    Here is one link http://download.oracle.com/docs/cd/B31017_01/web.1013/b28949/load.htm#sthref637
    MINIMAL SOLUTION:
    Implement a page redirect in your HTTP configuration.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Front-end HTTP Server and Performance with .jspx pages?

    This is more of a general question that I'm looking for validation:
    If the majority of our website is implemented as .jspx pages, with very few straight HTML pages, is there benefit in deploying to an environment with a separate HTTP front-end web server and back-end Application server (java container)? For example, I'm deploying to Tomcat as both the HTTP server and Java Application server for the .jspx pages; is there a performance advantage in deploying to an Apache HTTP server with a connector to Tomcat if I'm primarily serving up .jspx pages? I'm not as familiar with Oracle AS architecture, so my question is primarily around Tomcat deployment.
    thanks

    This is more of a general question that I'm looking for validation:
    If the majority of our website is implemented as .jspx pages, with very few straight HTML pages, is there benefit in deploying to an environment with a separate HTTP front-end web server and back-end Application server (java container)? For example, I'm deploying to Tomcat as both the HTTP server and Java Application server for the .jspx pages; is there a performance advantage in deploying to an Apache HTTP server with a connector to Tomcat if I'm primarily serving up .jspx pages? I'm not as familiar with Oracle AS architecture, so my question is primarily around Tomcat deployment.
    thanks

  • Configure messaging server and MTA on different machine

    Is there anyways to install / configure messaging server and MTA on different machine? I am using Sun One Messaging server 6.0
    Thanks
    Haris

    Thanks for the reply, How MTA can be disabled on the
    messaging server? how can i disable the store on the
    MTA machine, Is there any documentation for it?Yes, the documentation helps you. You cannot totally disable the MTA. If you did, how would you get mail to the store?
    Also
    is it possible to use some another machine for
    webmail?Well, um, kind of. The webmail interface provided with Messaging Server interacts directly with the store, so you can't truly run that remotely, but .. .
    You can install the server on a remote box, and turn on "Messaging Express Multiplexor", a proxy for webmail. Users can then connect to the MEM box, and be forwarded to the store for their mails.
    It should be possible to use a third-party webmail product that uses something like IMAP to talk to the store, too. that would be unsupported, but possible. Most users find MEM to be very good.
    What problem are you trying to solve? Perhaps I can better help you if I know why you're asking these questions, and offer a better solution to you.
    >
    Thanks
    Haris

  • HTTP and OC4J on different server

    Hi
    We have HTTP server running on machine1 and HTTP and OC4J running on machine2.
    Because of security issues, We want to shutdown HTTP on machine2 and use HTTP server on machine1 and redirect requests to machine2.
    Can any one pls let us know how to do it.
    Thanks in Advance.

    hi user11159690
    Maybe this can help:
    "Oracle® HTTP Server Administrator's Guide 10g Release 3 (10.1.3) B25211-02"
    "7.32 mod_oc4j"
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b25211/confmods.htm#i1025739
    Maybe more specifically "Oc4jMount":
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b25211/confmods.htm#CIHJBGFB
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    success
    Jan Vervecken

  • Vista and 10g Http server +apex 3.0.1 Please help

    previous unanswered post about not being able to find correct installation method.
    I've setup 10gR2+Http server, installed apex 3.0.1 then copied images but from this point on cannot start http server with error 13 in app. log file.
    10gEX + apex 3.0.1 works perfectly but my client will need more than 4GB of storage so wanted to upsize.
    I've modified dads.conf and all other files as per guide but now http server is giving a '404' error. Should it be marvel.conf?
    Can still access EM for 10g
    Have checked alllocations for log files but none are being generated.
    Have I broken HTTP server?
    Please help or give some guidance as I have done this 9 times now without success!
    Thanks
    Marotuff

    Hi.
    Oracle HTTP Server is part of a separate download, the Application Server 10g Realease 3:
    http://www.oracle.com/technology/software/products/ias/index.html
    In the 'For Deployment" section, download the proper Zip File for Windows (It took an hour on my machine) and unzip to a writable folder on your server.
    Then you must use the Universal Installer to install.
    Choose 'Advanced Install" and choose the HTTP Server option.
    Make sure to read the Installation Guide. Good Luck.

Maybe you are looking for

  • Need suggestion on how to extract data from a table

    Many years ago, I wrote many Perl scripts to increase my work productivity. Now I am starting learning Java, Javascript and PHP for some purposes. Just wrote a simple html2txt java program. Now I need experts' suggestion for one specific purpose - ex

  • Photoshop CS6 file corruption

    I am running Photoshop CS6 on a brand new Macbook Pro 13 inch. I haven't even had this computer for 24 hours yet. I restored my old Macbook Pro's data onto it via a time machine backup, and everything is running perfectly. Except for photoshop CS6. I

  • I have CC photography but like to add Indesign. What's the best upgrade?

    I try to buy the full CC, an offer for the first year. But it says I have to contact support to validate that I'm entitled to the offer. (I just got the CC photography and realized I should have bought the whole thing..)

  • OLEDB Dataconnection and XML Schema

    Hi, I create a form with fields binding with a OLEDB dataconnection. It's work, I can request my database and store my data. I want to be able to can access these field in a process (with workbench ES). If I bind fields with a xml schema I can access

  • AAA configuration tuning

    Goals: 1) have AAA authenticate, authorize, log all commands the users have entered; 2) don't use the default aaa keyword to avoid unexpected behavior; I could not find any papers dealing with the issues in a single configuration and not using defaul