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

Similar Messages

  • 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

  • The account password was not specified. Error after setting up a second Crawl Database and Crawler on different server.

    We have a three server farm. (SPWebTest, SPAppTest, SPDBTest)
    We have added an additional database server (SPDBRMTest) and an additional application server (SPAPPRMTest).
    Today I created a new Crawl Database on SPDBRMTest and a new Crawler on SPAPPRMTest.
    I create a distribution rule to all crawling activity for 1 web application to the new crawl database on SPDBRMTest.
    This web application was part of the original crawl and had no errors or issues. We are trying to scale our Search to improve performance but when a full crawl is executed against this content source I get the following crawl error:
    "The account password was not specified. Specify the password."
    I have tried re-entering the "Default Content Access Account" but the issue continues.

    Hi Brian,
    when you add the crawl rules, do the account that is provided have the permission to read the content at the web application?
    http://technet.microsoft.com/en-us/library/jj219686(v=office.15).aspx
    please disable the loopback check, perhaps it may help:
    http://support.microsoft.com/kb/896861
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • ODI and Essbase in different server to read the file error

    Hi,
    I have ODI and Essbase installed in different server.
    I have created an interface to execute a calc script on top of an essbase cube. I kept the Caclscript.csc file in one folder in ODI server and provide the path
    EXTRACTION_QUERY_FILE parameter is the path of the .csc file i placed in ODI server. it executed successfully to generate the extract file using the calc script in the specified path on Essbase server.
    Now i want to read that file and load it to a relational table so map the network drive from ODI server to Essbase server where the file has been generated and provided the EXTRACT_DATA_FILE_IN_CALC_SCRIPT parameter as the Network drive path but ODI is unable to read the file.
    any other option to read the file reside in essbase server and load it to relational table.
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Error occured while reading the data file produced by calculation script.
    -KP

    I would install an ODIAgent on the Essabse server and use this agent when running this particular operation

  • Essbase and database in different server

    Hi,
    It is possible to put the ESSBASE in one server and database(oracle , SQL Server) in another server? It is possible, what are the things i want to do?
    Thanks,
    PC

    Hi,
    Assuming that you've got powerful boxes for this purpose, if you are going to use database server just as a repository database server for say, Planning, then that's fine to have essbase and rdbms on the same server. However, it's not advisable to have essbase on a server where a heavy datawarehouse is co-hosted.
    Alp

  • Installation 10g and Apex on different server

    Hallo,
    I trying to install Oracle 10g Standard Edition on one server and the Oracle HTTP Server with HtmlDB/Apex on another one.
    Both systems are Linux (Ubuntu 8.4). The database works fine and the the Installation of HtmlDB with HTTP Server from the Companion CD worked also.
    I also configured the dads.conf but when i try to access htmlDB, there comes following failure:
    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.
    More information about this error may be available in the server error log.
    Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server Server at pecos-web Port 7777
    The error log shows the following:
    [Fri Jul 11 16:45:19 2008] [error] [client 127.0.0.1] [ecid: 1215787519:127.0.1.1:18046:0:2,0] mod_plsql: DAD '/pls/htmldb' is disabled because of misconfiguration. Please refer to the log entries during server startup for more information.
    [Fri Jul 11 16:52:15 2008] [crit] mod_plsql: DAD /pls/htmldb disabled => Duplicate DAD
    [Fri Jul 11 16:52:15 2008] [crit] mod_plsql: DAD /pls/htmldb disabled => Duplicate DAD
    [Fri Jul 11 16:52:15 2008] [notice] FastCGI: process manager initialized (pid 18110)
    [Fri Jul 11 16:52:16 2008] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -- resuming normal operations
    And last my configuration of the dads.conf:
    Alias /i/ "/home/oracle/oracle/product/10.2.0/db/Apache/Apache/images/"
    <Location /pls/htmldb>
         SetHandler pls_handler
         Order deny,allow
         Allow from all
         AllowOverride None
         PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
         PlsqlDatabasePassword password
         PlsqlDatabaseConnectString 192.168.1.73:1521:slmhot1
         PlsqlDefaultPage htmldb
         PlsqlDocumentTablename wwv_flow_file_objects$
         PlsqlDocumentPath docs
         PlsqlDocumentProcedure wwv_flow_file_manager.process_download
         PlsqlAuthenticationMode Basic
         PlsqlNLSLanguage     GERMAN_GERMANY.WE8MSWIN1252
    </Location>
    I hope there is anybody who can help me.
    Thanks

    There is an APEX forum ... please post your APEX related questions there. Thank you.

  • Webdynpro and EJB on different server

    I have a WebDynpro app that will be deployed to server A  and that has to access an EJB that will be deployed to server B, server A and server B don't from a cluster.
    I don't know how to call the EJB in my WebDynpro app via remote way.
    in WebDynpro app  call EJB code is:
         String result = null;
         Context ctx = null;
         Hashtable env = new Hashtable();
         PIEJB remote = null;
         PIEJBHome remoteHome = null;
         env.put(
              Context.INITIAL_CONTEXT_FACTORY,
              "com.sap.engine.services.jndi.InitialContextFactoryImpl");
         env.put(Context.PROVIDER_URL, "sapides:50304");
         env.put("force_remote", "true");
         try {
              ctx = new InitialContext(env);
              remoteHome =
                   (PIEJBHome) PortableRemoteObject.narrow(
                        ctx.lookup("PIEJBBean"),
                        PIEJBHome.class);
              remote = remoteHome.create();
              result = remote.getPIAvg("yesterday", "today").getValue();
         } catch (Exception e) {
              result = e.toString();
         wdContext.currentContextElement().setTest(result);
    when run this code,report error:
    java.lang.NoClassDefFoundError: com.xxx.piejb.PIEJBHome
    but i have add the piejb.jar in Used DC!
    can anyone tell me how to do?
    thanks advance!

    Hi Ha
    I just tested the link and it worked fine for me, if you want it, you can give an email and i'll send the pdf guide to you. Besides here you can find a guided example about calling the webserivces methods  from a WD on the Using the Car Rental Web Service with Web Dynpro, and on this one you can find information about the development of a webservices using an ejb.
    Hope it Helps
    Luis Barragá

  • IR, SLD, ID, RWB on different server

    Hi,
    Is it possible to install IR, ID, RWB and SLD on different server?
    If yes, what is the use of that.
    -Naveen.

    Hi Naveen,
    It is not possible.

  • Internal server error - Http server and OC4J intance

    Hi
    Internal Server error ( GET/&lt;app name&gt;
    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 /&lt;app name&gt; 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

  • 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

  • Logging HTTP and/or SOAP packets in standalong OC4J v10.1.3.2

    I'm running OC4J standalone v10.1.3.2 on RH5 linux. I'd like to know how to turn on logging so that all incoming HTTP data can be viewed.
    I've basically got a Web Service which is failing to execute from some clients (but not all) due to a SOAP11 version mismatch problem. If I could see the incoming HTTP and/or SOAP request then I could determine where the inconsistency is coming from.
    Here's an extract of the returned SOAP error:
    <faultcode>env:VersionMismatch</faultcode>
    <faultstring>Version Mismatch</faultstring>
    <faultactor>http://schemas.xmlsoap.org/soap/actor/next</faultactor>
    I've tried editing j2ee-logging.xml and set the logging level to FINEST and TRACE but it's still not logging out the HTTP traffic.
    Any ideas welcomed,
    Thanks

    Andy,
    Which log files are you looking at? There is a server.log that will be impacted when you set the logging level to FINEST. Since you want to look at http requests, have you considered using Fiddler on the client side? It's pretty verbose but you can see all sorts of info including data posted to forms.
    -Michael
    PS
    URL:
    http://www.oracle.com/technology/tech/java/oc4j/htdocs/oc4j-logging-debugging-technote.htmlTake a look at the "Debug Options in OC4J" section. There are several HTTP debugging options listed.
    Edited by: Michael F. Hardy on Dec 17, 2008 9:40 AM

  • Need a document about how to move the fact and dimension table's to different server's

    Hello Experts,
    I need a detailed doc on how to move the fact and dimension tables to different server's.Please help me out from this
           Thanks in advance....

    You still haven't told anyone what products besides Essbase you are using, without which this is an impossible question to answer.
    https://forums.oracle.com/thread/2585515
    https://forums.oracle.com/thread/2585171
    Are you connecting to these tables from Essbase with a load rule / ODBC?  Using Studio?  Using Integration Services?  Any Drill-Through reporting set up?
    This may sound harsh, but if you truly don't know how to answer any of these questions you should probably not be anywhere near this task...

  • Can a real Server be applied in two different server farms associated with two different VIP IP and TCP Port

    Good day everyone,
    I have a question in regard to real server operation with different server farms, and VIPs
    Can a Real Server be associated ( for simpliciy) with two different Server Farms that have a VIP associated with each, servicing the same TCP Port (443).
    Example:
    SF-A
    RSRV-1: 192.168.1.10 /24
    RSRV-2: 192.168.1.11 /24
    VIP-A: 192.168.1.20 /24
    VIP-A: https:web-A
    Protocol: HTTPS
    SF-B
    RSRV-2: 192.168.1.11 /24
    RSRV-3: 192.168.1.12 /24
    VIP-B: 192.168.1.30 /24
    VIP-b: https:web-B
    Protocol: HTTPS
    Client-A: 172.16.128.10
    Client-B: 172.16.128.15
    I have attached an sketch depicting the connectivity.
    As always any feedback/Suggestions will be greatly apprecaited.
    Cheers,
    Raman Azizian

    Raman,
    This type of config is no problem. What the server is doing is virtual web hosting. The server would have two different web services running for the same IP, but each listening for a unique host header.
    From an IP point of view both connections would be destined to the rserver address on port 80, but in the http header they would have two different Host headers.
    one for www.example1.com and the second for www.example2.com. If the web server is configured correct so each host name is tied to one web service it will not have any issues.
    The config you attached looks ok. The way you have the sticky group is ok doing source IP. If you use cookies for the sticky group I would suggest you create two sticky groups each with a different cookie name and add the same serverfarm to both groups. The client will only send a cookie for the domain it received it from so using the same cookie in two vips could cause problems if the same client hits both vips.
    Hope that helps
    Regards
    Jim

  • How Standalone OC4J and the Oracle Application Server linked to each other

    Hi ,
    Please let me know what is the relation between a Standalone OC4J and the Oracle Application Server ?
    In my application The Oracle Application Server is installed in C drive and there is a Stand alone oC4j .
    Please tell me how they are linked to each other .
    Thank you .

    It depends on your need and what features and functionality of Oracle Application Server you are interested in. Note that OC4J is a component of Oracle Application Server that can run as a standalone component or within Oracle Application Server. Question #6 in earlier mentioned FAQ document states:
    OC4J standalone is J2EE 1.3 compatible (1.4 and 1.5 too in later releases of OC4J) and is able to be used in both development and small scale production environments. OC4J standalone provides its own inbuilt HTTP/S listener to allow clients to execute Web applications that it has deployed. Application deployment and server configuration of OC4J standalone is performed by the manual editing of a simple set of XML files.
    For large scale enterprise deployments, the Oracle Application Server product is likely to be more suitable with its comprehensive feature set including Oracle HTTP Server, process monitoring and management capabilities, and its configuration and management console.
    So if you are happy with what you see in standalone OC4J and scalability isn't an issue for you, you can stay with standalone OC4J and don't need to move to Oracle Application Server.
    PS: If you do decide to use OC4J that's embedded with Oracle Application Server, you can't move your standalone OC4J inside Oracle Application Server. You will have to reconfigure embedded OC4J again (as you might have done with standalone OC4J) and redeploy your applications.
    Hope this helps.
    Thanks
    Shail

  • Error Message: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. The request failed with HTTP status 404: Not Found.

    I have a web page that contains a ReportViewer control.  I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control.  I have set the ReportPath and ReportServerUrl correctly.  I am
    getting an error message.
    Am I suppose to use an .rdlc file rather than a .rdl file?  Does the web server configuration need to use a certain account?
     I am getting the following error message:
    The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
    The request failed with HTTP status 404: Not Found.

    Hi bucaroov,
    The error "The request failed with HTTP status 404: Not Found." means the ReportServerURL configured in the ReportViewer control is invalid.
    Please follow these steps to solve the issue:
    Logon the Report Server machine.
    Open the Reporting Services Configuration Manager.
    Copy the Report Server URL from 'Web Services URL'.
    Logon the application server(in this case, it is the server that host the web page), check if we can use the URL we got from step 3 to access the Report Server. If so, please replace the ReportServerURL in the ReportViewer control with this URL. If it is
    not available, could you please post the error message.
    Additionaly, we don't need to provide the extension for a server report. The ReportPath should be like: /<reports folder>/<report name>
    For more information, please see:
    Walkthrough: Using the ReportViewer Control in Remote Mode:
    http://msdn.microsoft.com/en-us/library/ms251669(VS.80).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

Maybe you are looking for

  • QEMU host-only networking using tap devices

    I'm trying to setup host-only networking on my QEMU VM running Arch (actually, the Archiso; there is no Arch installation present yet). A short summary: What I want connect to the host from the guest system connect to the guest from the host system u

  • Pin layout for TV out header on RS480M2-il motherboard

    Hello, Does anyone know where I might find the pin information for the TV out header on this board (MS-7093)? I have the version with the COM port on the back panal rather than the TV out connectors, and can't find the MSI TV bracket anywhere, but ha

  • Oracle External Table SELECT FROM problem from workstation

    At Solaris Oracle database server console. Created directory on the Solaris server as Oracle owner. As SYS created oracle directory object on that Solaris directory Granted read/write to SCHEMA_OWNER on that oracle directory object. Using OS Oracle u

  • RMAN backup with no expiry

    Hi, We are using oracle 11gR2 on AIX 6.1, We have to take the RMAN backup which should be never expired and we dont have any catalog, for "KEEP FOREVER" option we require catalog, any other way not to expire RMAN backup? Thanks

  • SCN command

    What does the SCN command mean in a PDF file. Example: 0.99608 0 0 scn Thanks, -Lars