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

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

  • 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

  • Can default report server  and OC4J be  used ..?

    Hi,
    *1*. I had a report server named stcreportserver that was working fine during the testing phase but suddenly it started throwing errors like cannot connect to report server,cannot open file and cannot get the job id........
    I would like to know when i host this application on the windows server 2003 for the users can i use the default report server instead of creating a new server.....
    *2.* I have got another application say app2 ...so for hosting do i need to make some additional configurations like creating a new oc4j instance for this application...or can i use the default oc4j instance that i use for my first application.
    Note: I use the same database for both the application but different schemas.

    <p>
    We did some tests and discovered the following: <strong> </strong>
    </p>
    <p>
    <strong>Using "null" for the filename.</strong>
    </p>
    <p>
    If I pass in "null" for the fileName, my code runs without any issues and the FRS file is now changed to a new random file, but this file does not have the .rpt extension. I can preview the report in the CMC without any issues, but the underlying file is missing the .rpt extension. I can manually add the .rpt extension and open the report in the CR Designer without any issues. In this case, the InfoObject's SI_UPDATE_TS property is updated.
    </p>
    <p>
    <span style="font-weight: bold">Using a new filename</span><br />
    If I change the fileName in anyway, such as prepending "1" to the fileName, my code runs without errors as well. I can see that the FRS file has been updated with the new name and it does have the .rpt extension.<br />
    <br />
    In this case, the InfoObject's SI_UPDATE_TS property is updated as well.
    </p>
    <p>
    <em>Currently we don't know the following things:</em>
    </p>
    <p>
    <em>Is this supported, or is this just a bug?</em>
    </p>
    <p>
    <em>I don't know the answer right now but at least you know more now. I'll try to update you if I hear anything.</em>
    </p>
    <p>
    Rob Horne<br />
    <a href="/blog/10">Rob's blog - http://diamond.businessobjects.com/robhorne</a>
    </p>

  • What is difference between Oracle Application Server and OC4J

    Thanks in advance
    Regards
    Sunil

    OC4J is only the Oracle Container for Java, using a inner HTTP Server.
    Oracle Application Server, the components depend of the installation type.
    Components
    1. OC4J : Oracle container for Java ... without inner HTTP Server, this component use Apache to presentation tier.
    2. OC4J_SECURITY (SSO) : Single SingOn
    3. Forms and Report Server, Wireless ....
    4. Apache : Presentation Tier (use .so or .dll) for OC4J
    All the components of this suite are controlled by the OPMN (This component is installed in the OC4J).
    OPMN : Oracle Process Manager to control all the components.

  • Deploying to App Server and OC4J

    Hi,
    I am deploying my web service to our Oracle 9i 9.0.3 app server. During testing, I noticed that every consumer does not get it's own instance of the provider. Hence, it does not support concurrent web service calls.
    From my understanding, this is an OC4J configuration issue, and you can change the deployment options where every session has it's own instance. Does anybody know how to do this?
    Thank you in advance!!!!

    Well,
    Yes and no. I want every consumer to have it's own instance of the web service provider, BUT when the consumer is done, I want that instance garbage collected. In essence, I want to support concurrent stateless web service calls.

  • Using Shared Review via Network Folder on Windows server and PC and Mac users commenting

    We are having initiation and connection problems on the Macs (running OS 10.6.4 Snow Leopard)  with Shared Reviews (from Acrobat 9) that are stored on a Windows 2008 Server connecting via SMB. I would be very interested to hear from anyone who is successfully:
    1) Initiating Shared Reviews from a Macintosh via "Automatically collect comments on my own internal server" and navigating to a folder (with full read/write permissions for all) on a Windows server. We cannot get Acrobat (via the automated SR set-up wizard) to verify the network folder location on the Macs so that a Mac user can initiate a Shared Review. On Windows (using Parallels or logging in to a PC directly), the same users have no problem initiating and accessing Shared Reviews.
    2) Accessing Shared Reviews on a network folder (set up on a Windows 2008 server) via a Mac running OSX 10.6.4 and Acrobat 9. All users have read/write access to the folder and can navigate to it via the server. They can save documents to the network folder and open other documents there as well. When they open a Shared Review-enabled PDF for commenting, they get the error message that Acrobat cannot connect to the server. Retry results in the same error message.
    We use Shared Reviews extensively and have no problems with PC users accessing the files and Mac users accessing them via Windows (Parallels or on a PC). This is very frustrating so I would really appreciate any ideas, especially if anyone is actually doing Shared Reviews this way.
    Thanks.

    Unfortunately, this is NOT fixed based on the testing I have done.
    1) I am still unable to connect to the network folder on a Windows server from the Mac to initiate a Shared Review In Acrobat version 9.4.6. Same error message as previous Unable to locate server. See screenshot:
    2) One of the Mac users (also upgraded to Acrobat 9.4.6) who was invited to participate in a Shared Review (initiated using Parallels/Windows) was initially able to open the file and Publish comments. However, after she did and closed the file, she was unable to reopen the same file, connect to the server and add comments. And no other Mac user could access the file after she added her first comments. We all got the error message "Unable to connect etc" See screenshot.
    3) I opened the same file in Parallels/Windows with no problem. However, the Mac user's comments were not there. I could add comments and publish in Windows.
    4) When I tried to access the Tracker from my Mac (review was initiated via Parallels), I got the error message File not Found when I tried to access the test review via my Mac (see screenshot).
    Could you give me more information about the fix? I would also be happy to talk to you or send more details if that would help.
    Our set up has not changed from the original information I sent (there may have been some Mac updates -- we are all on OS 10.6.8 but still Snow Leopard). Server has not changed.

  • Configure Internal Server Settings

    Hello,
    I am trying to configure internal server settings and when I choose my LMS to be Internal Server and then click on the Configure button the first box that should show is Server as in the image below but I get Adobe ID: and Password: boxes.  I do not understand what is going on.  Please help.

    Do the reporter and read php files have to be at the same level as the actual captivate file in the website?
    I put the two files at the root directory level.
    Thanks.

  • Setting up an Internal Server for Captivate 5 using ASP

    We recently purchased Captivate for one of the features of being able to setup an internal server.  I viewed the blog entry about setting up an internal server and it seemed pretty straight forward except that our server is setup for ASP not PHP.  Does anyone have a template for ASP coding and have you set up an Internal Server for collecting Quiz Results in the Quiz Results Analyzer instead of using Acrobat.com.

    Server address = FTP host
    Host directory is optional but you need to ensure that Dreamweaver is looking at the root directory of your website in Remote View.
    If you see a folder such as public_html or html or httpdocs or similar then you're one level too far up in the folder hierarchy on the server.
    Simply put the root directory folder name (public_html or html or httpdocs or whatever it's called on your server) into the Host Directory field in Dreamweaver.

  • PI 7.0 SOAP message reply HTTP 500 and after the fault message

    Hello Everybody,
    I have the scenario RFC -> XI -> SOAP in synchronous mode.
    I use for the mapping XSLT because I have to put some dynamic data comming from the RFC in the header of envelope.
    At level of adapter receiver SOAP , I flag the "do not use envelop"
    In normal, that works .
    When the is an fonctionnal error in SOAP service, it sends me back an error HTTP 500 and afterwards the fault message in a soap envelop format. In that case, how can I pass over this error to treat the envelop because in adapter, it is stopped and it returns a short dump to the RFC.
    Is there somebody who can help me with this problem ?
    Thanks in adavance for your answers .
    Regards.
    Eric.

    Hi,
    In case of a SOAP error while processing the request, the SOAP HTTP server MUST issue an HTTP 500 "Internal Server Error" response and include a SOAP message in the response containing a SOAP Fault element
    Thanks,
    RamuV

  • Error while run OAF, HTTP 500 - Internal server error  Internet Explorer

    I have installed R12 on my laptop having windows 2003 Server, which running successfully.
    In Same machine i have installed Jdeveloper for OAF customization by following 416708.1.
    While running test OAF page from Jdev, following error accruing. I have Run autoconfig as well.
    There is a problem with the page you are trying to reach and it cannot be displayed.
    Please try the following:
    Open the r12.oracle.com:8988 home page, and then look for links to the information you want.
    Click the Refresh button, or try again later.
    Click Search to look for information on the Internet.
    You can also see a list of related sites.
    HTTP 500 - Internal server error
    Internet Explorer

    What is the JDev version?
    Check if the below fixes the issue.
    Go to Tools -> Embedded OC4J Server Preferences-> Global -> Startup. Select the option -> Default Local IP Address.
    Thanks
    Shree

  • HTTP 500 - Internal server error when trying to run simple HelloWorld.jsp

    Hello,
    I've searched the forum for a related issue and have not been able to resolve this error.
    I have created a simple HelloWorld.jsp and continue to receive the Internal server error. I have tried using the host as well as the ip address to access the jsp but neither of them solve the issue.
    JDev 10.1.3.2.0
    These are the settings that I have configured for the embedded oc4j server:
    HTTP: 8988
    RMI: 23891
    RMI-SSL: 24043
    IIOP: 5655
    IIOP-SSL: 5656
    JMS: 9227
    I also modified the proxy settings to use 8988 as well as the full host name.
    If I click on the IP home page it takes me to the OAS overview page but I get the same error if I try to launch the App server control or example jsp's.
    There are no messages in the log files.
    Any ideas?

    Hi,
    does the problem show when running thr JSP in the embedded OC4J in JDeveloper, or after deploying it to a stand alone OC4J or OracleAs?
    Frank

  • EBS Login error - HTTP 500 internal server error

    Hi All,
    We are working on cloning ebs r12 application,after successfully adcfgclone.pl script, when we try to open the login page we are hitting Http 500 internal server error.
    But Autoconfig completed successfully, Please see the application log below.
    13/04/14 17:09:11.579 html: Servlet error
    java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.sso.Utils
            at oracle.apps.fnd.sso.AppsLoginRedirect.AppsSetting(AppsLoginRedirect.java:221)
            at oracle.apps.fnd.sso.AppsLoginRedirect.init(AppsLoginRedirect.java:287)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4830)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4754)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2978)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:738)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
            at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
            at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
            at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
            at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
            at java.lang.Thread.run(Thread.java:619)We have followed the metalink note ID 467562.1 and recompiled the jsps
    Also checked Troubleshooting 500 Internal Server Error in Oracle E-Business suite [813523.1] but still could not solved the issue..
    Any suggestions please...?
    Our environment:
    DB - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    Oracle EBS Application: 12.1.1

    Hussein Sawwan wrote:
    Please run the script in (How To List E-Business Suite Profile Option Values For All Levels Using SQLPlus [ID 201945.1]) to verify if this profile option is set or not at all levels. For the profile option name, please use "FND_INIT_SQL".
    Hi Hussein,
    When i run this select Script,
    It returns as Level_set is Undefined , Please see below
    SHORT_NAME                     NAME                                     LEVEL_SET       CONTEXT                        VALUE
    FND_INIT_SQL                   Initialization SQL Statement - Custom    UnDef           UnDef I Checked the note id *Using Profile Option 'Initialization SQL Statement - Custom' [ID 135389.1]* for setting this profile option to Application Level or Higher.
    But they only mention steps to enable session level trace or logging through this profile option.
    Can you help me, how to set this profile option to Application Level with any values as setting this profile option can solve the error
    javax.servlet.ServletException: Could not initialize class oracle.apps.fnd.sso.Utils , As by note id ID 1497554.1
    Thanks

  • Getting 'HTTP 500 Internal Server error'.

    hi,
    I am trying to run a simple hello world page from my PC, but I am getting an error saying 'HTTP 500 internal server error'. Please let me know is there any OC4J settings that i am suppose to modify.
    thanks and regards,
    Danish

    Hello,
    Thank You very much for the solution. I had uninstalled the previous JDeveloper 10g installation and installed a new instance of the same. After which it worked without much of a problem.
    However, my application requires to use MySQL database, so how do I tackle such an error. What was wrong with the connection? I mean MySQL instance seemed to work fine. Is there any version with which JDeveloper can work? Right now am using MySQL 5.0.? Please do advise.

  • HTTP 500 - Internal Server Error from Discoverer Viewer to Portal

    HI,
    I created a tab with a list of workbooks created with Discoverer Viewer and published with Discoverer Portliest Provider (List of Database Workbooks). Another tab contains four Discoverer Worksheets created with the same account. Everything works well but if i click on a report in list and open Discoverer Viewer, when i return to portal and go to tab containing worksheets i see message "HTTP 500 - Internal Server Error" and i'm not able to do anything. I only can close my browser and i must reconnect to portal!
    Can you help me?
    My portal version is cg (9.0.4), i'm using Windows 2000 ESP and Internet Explorer 6.
    I tried with Olin and Mazola but result did not change.
    I used a public connection bud i tried a private connection too. Nothing happened.

    The application.log file, under the OC4J which running your Discoverer provider, should give you some hints about the problem you're facing.
    Peter

Maybe you are looking for