Tip - bouncing Apache

If you need to bounce apache running mod_jserv, wait at least five seconds between shutting it down and restarting it.
This gives time for the java virtual machine (java.exe) to shut down.
If you don't, when it starts up, apache sees the jvm for the previous one (which is being shut down) and does not start a new one.
To test that the java stuff is working go to http://<HOSTNAME>/servlet/IsItWorking/

Hi Husseinr,
Use Windows Task Scheduler to accomplish this.
there is no diect option to schedule the service to restart and Actually i don't have batch script to schedule through Task Scheduler.
Why don't you try to fix the issue instead of bouncing Apache? Did you log a SR?
We raised SR and We are Following SR also it is has been running for long time,so until SR Solution i want to bounce the Apache servie through Scheduled Batch Script.
Thanks
Umair

Similar Messages

  • Do we have to Bounce Apache evertime JSP changes are made ?

    Hi all
    Do we have to Bounce Apache evertime JSP changes are made ?
    I am making a change in my JSP change (changing a sql query and adding a display text which is static) but the changes are not getting reflected when I upload the page to my server. Do I have to bounce the server everytime I make a change to a JSP Page?
    Regards Ali

    Hi
    Wich version of Oracle Application Server are you?
    regards

  • Bouncing Apache service through schedule batch script

    Hi
    We are using Oracle11i(11.5.10.2) with Database version 10.2.0.3 on windows 2000 server.
    We are getting login page error frequently for temporary solution we are bouncing apache service frequently.
    Now i want to restart Apache service through schedule batch script ,is it possible?
    Thanks
    With Regards
    Umair

    Hi Husseinr,
    Use Windows Task Scheduler to accomplish this.
    there is no diect option to schedule the service to restart and Actually i don't have batch script to schedule through Task Scheduler.
    Why don't you try to fix the issue instead of bouncing Apache? Did you log a SR?
    We raised SR and We are Following SR also it is has been running for long time,so until SR Solution i want to bounce the Apache servie through Scheduled Batch Script.
    Thanks
    Umair

  • Is there any alternative of Bouncing apache server

    i was working on look and feel of oracle apps OA pages.
    Create some skins for OA pages from Customizing Look and Feel Administrator responsibilty and assined to my profile.
    i could not see the changes untill and unless a bounce happned.
    i cant bounce the production server evry time, is there any other alternative to see the changes with out a bounce.
    Thanks in advance.
    Mahindra

    Hi Mahindra,
    If it is only about the page changes then there is an alternative.
    Go to Functional Administrator Responsibility -> Core Services -> Caching Framework -> Global Configuration and click on Clear All Cache.
    It would clear the cache and you could see your page changes. No need to bounce apache if the changes are only in the PG.xml
    -- Arvind

  • Need  Suggestion : Bounce Apache Mandatory or Not ?

    Hi All,
    I am new to OAF,
    recently only we migrated to R12 from 11i ..... so we started  development in  OAF newly......
    generally, we do not  bounce  production apache ,
    But in the case of  OAF extensions , we have to bounce apache......
    Is there any other way to achieve this ? or Is that mandatory to bounce ?
    Plz.. clear my doubt ......
    Thank u very much ,
    Regards,
    Jaya

    According to support.oracle.com DocID:  759038.1, you should not use Functional Adminstrator to 'Clear all Cache' in a Prod environment.
    "WARNING: Clearing the OA Framework cache in a PRODUCTION instance can cause data issues if multiple users are engaged and transacting data in the application at the time cache is cleared.  Please only utilize this in Production if advised by Oracle Support Services or Oracle Development."

  • How to Bounce Apache or OC4J for OAF Development

    hi all,
    yesterday i've been trying to get answers as to why the changes i make in an OAF page does not reflect immediately. after doing research i found out that i need to bounce the apache or oc4j everytime i make changes to ui xml or class files.
    i then realized that it would be really annoying to bug our dba to bounce the apache or oc4j everytime i make changes. so i came up with this idea where i create a concurrent program and hope that maybe this can bounce the apache or oc4j for me.
    i create a shell script with the code below
    $INST_TOP/admin/scripts/adapcctl.sh restart
    exitunfortunately the script i have doesn't work and returns an error.
    01/09/10-11:49:19 :: adapcctl.sh: exiting with status 204
    ================================================================================
    01/09/10-11:57:59 :: adapcctl.sh version 120.7.12010000.2
    01/09/10-11:57:59 :: adapcctl.sh: stopping OPMN managed OHS instancei then search for codes on how to restart the apache and found this thread
    Bouncing Apache for OAF deployment
    Kali V wrote:
    Sharwan,
    Bouncing the server is different in 11i and R12, Check the following,
    To clear HTML cache and bounce Apache at R12 level :
    1.
    cd $INST_TOP/admin/scripts
    dierctory is :
    /global/oracle/your_sid/inst/apps/sid_server/admin/scripts
    here are the scripts :
    adalnctl.sh adexecsql.pl adoafmctl.sh adstrtal.sh jtffmctl.sh
    adapcctl.sh adformsctl.sh adopmnctl.sh gsmstart.sh mwactl.sh
    adautocfg.sh adformsrvctl.sh adpreclone.pl ieo mwactlwrpr.sh
    adcmctl.sh adoacorectl.sh adstpall.sh java.sh
    2.
    adapcctl.sh stop
    3.
    To clear HTML cache :
    cd $COMMON_TOP/_pages
    Direcetory is :
    /global/oracle/your_sid/apps/apps_st/comn/_pages
    Here are the java classes to clear.
    Do rm * in _pages directory after having checked there are only compiled classes in this directory
    4.
    cd $INST_TOP/admin/scripts
    dierctory is :
    /global/oracle/your_sid/inst/apps/sid_server/admin/scripts
    adapcctl.sh start
    Thanks.
    With Regards,
    Kali.
    OSSI.just wanted to know if putting this in my shell script, it will continue the process even though i get disconnected to the EBS Form? one thing i'm assuming is that if the apache is stop, i will have no access to its web / form interface.. so basically after i run the concurrent program i most likely will get disconnected.
    can anyone help me with this.
    thanks
    allen

    user12195296 wrote:
    Hi A.Sandiego ,
    You can use these steps to bounce apache in R12
    1) login to your instance with putti or any other software
    2) cd $ADMIN_SCRIPTS_HOME
    3) adapcctl.sh stop
    4) adoacorectl.sh stop
    5) adapcctl.sh start
    6) adoacorectl.sh start
    Every time you bounce apache you need to follow these steps in same sequence.
    Try This i am sure this will work
    Regards.thank you for your suggestion.
    currently my user in the unix box does not have the permission to execute these scripts which is why i went ahead and thought of creating a shell script that executes those lines of codes for me. then i will create a concurrent program in Oracle EBS which executes this script. now my concern is, if i run the program that executes the shell script, most likely i will get disconnected from Oracle EBS. my question is, will the program run in the background even though i have been disconnected from Oracle EBS?
    thanks
    allen

  • How to clear cache in oracle without bouncing apache,

    Hi guys,
    Can any one please suggest how to clear cache without apache bounce....
    Thanks in advance

    Thanks for your reply....
    I have done controller extension ,through personalization i have added the new controller path to the seeded page............
    But now i need the actual controller instead of my new custom controller for this i have firstly disabled Personlization for my user then i went to that page i have clicked on 'Inherit'() option ,then again i have enabled personalization ...now when i open that page itz still pointing to the custom controller path instead of the original controller......
    Help me to solve this issue without Apache bounce....
    Edited by: 912808 on Mar 21, 2012 6:19 AM

  • User Hooks: Bouncing Apache Issue

    I have create a hook on UPDATE_PEOPLE_EXTRA_INFO. Whenever I am changing the package I need to rebounce the apache to test the code again. Other wise it gives the following error
    ORA-20001 The system cannot find the program unit being called. This could be because the application API pre-processor has not been run. Contact your system administrator quoting the following details: Error ORA-06508 in API module UPDATE_PERSON_EXTRA_INFO at hook Before Process.
    I tried clearing the cache from function administrator responsibility but it didnt help. Is there way to make this work without bouncing the apache.
    Thanks

    That's odd. For what You say I guess You are working on Web Pages instead of forms. Some issued we've found on both:
    - Customizations are set by first caller and until cache refresh they persist for every user. Even tough no error shows, just incorrect behavior of what could be expected.
    - On changing packages (even after compiling) an Package State Discarded may appear, failing execution. Changing responsibilities or logging out and then back usually is enough to take changes.
    On what You could do
    Sometimes in order to force a change, we explicitly introduce an error in package to invalidate it and then try to use the function that call it to get an error. Then fix and compile and try again.
    Clearing iAS cache, not for applications only but from management console of iAS.
    Just for fun, move your code to another package, and call it from the one that's behaving odd. Once working, modify the new package to see if it still have the same problem as it may be something related to pl/sql engine.

  • Bouncing Apache for OAF deployment

    Hi,
    We are facing issue in reflection of .class file changes after Apche port bounce for OAF custom development on R12.
    We deploy our BC4J and Controller codes (.xml and .class) to $JAVA_TOP and Import the page xml to MDS. After this we request the DBA to bounce the apache server with clear cache option. After the bounce the page changes are getting reflected, but BC4J changes are not.
    In the mean time when DBA recompiles entire jsp files manually using “ojspCompile.pl” the changes are getting reflected. This manual compilation takes about 30 mins which is not desired.
    I am not clear why its happening, as we never deploy any JSPs, so how JSP compilation is refreshing the changes? Logically the Apche bounce shall reflect the change.
    Please suggest!
    Thanks:
    Shrawan

    Shrawan,
    If you have bounced the server and compiled all the java files on the server, there is no reason that your BC4j changes in BC4J compoenent files are not gettng reflected.(If u still are in doubt of class files on server not being the latest delete the class files and then compile java files.)
    Have u put debug messages and chacked the log to see the flow?Moreoever, as far i know R12 has OC4J server and not Apache.
    Y ur dba is compililng jsp files? oa framework pages don't include jsp files, unless otherwise u have used specially.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Test the code without Bouncing Apache(R12)

    Hi All,
    Is there any way to test the updated code(class files) without bouncing oacore(oacorectl.sh stop/start).
    Like any parameter can we set, such a way that the system will pickup the new class file available in the directory?
    Thanks.
    With Regards,
    Kali.

    Hi Kali,
    Please try this.
    Functional Administrator - > Core Services -> Caching Framework -> Global Configuration -> Clear All Cache
    This may clear all middle tier cache for you. However, it impacts performance due to all cache clearance. Hence should be taken with cautious , if the instance is a production instance.
    Abdul Wahid

  • 11.5.10.2 - Why So Many Apache Bounces

    Hello.
    We have been struggling for years between 11.5.9 and 11.5.10.0 and 11.5.10.1 and 11.5.10.2 to get updates to properly appear on the self-service home page after changes to functions, menus, profile options, and even added responsibilities.
    What can often happen is when a change is made, it is not always reflected on the SS Home Page until after Apache is bounced. Clearing the client's browser cache has no effect. Only an Apache bounce fixes the issue.
    Oracle Support has been little help. They admitted to the issues in 11.5.9 and assured us that in 11.5.10 it would be fixed. Here we are now are CU2 and it's still a problem.
    Although it does not happen every time, it is often enough to cause plenty of bounces to be needed. This won't work for production, that's for sure.
    The problem has been reduced in each newer version of the Apps, but it has not been resolved.
    Has anyone determined a work around that they can share?
    Thank you.

    I agree that sometimes the need to bounce Apache after every change is ridiculous. OAF development within JDeveloper should weed out the testing issues (although I can't get Jdeveloper to work for every development test I do).
    However, changes to the UI through personalisation, FND changes etc should never require a bounce in my view.
    An even more frustrating problem is workflow development now, where, PL/SQL package states are cached in the JVM database connection and if you change them you get invalid package state exceptions, which, using the OAF Workflow Manager are sometimes impossible to clear without a bounce.
    Never used to be this hard with the old PL/SQL Server pages!!
    Ideally there should be a way of purging an object from the JVM and forcing it to reload the new state so bounces would not be required. That may or may not be technically possible as it's definitely over my head!!
    Any more views?
    Chris

  • *** URGENT *** Poplist VO results not current unless Apache is bounced.

    All,
    In my "create" page I use a VO for my poplist. The VO utilizes a "where" clause to identify specific accounts to choose from based on a configuration value. My poplist doesn't update properly when updating the configuration value unless I bounce Apache. Is typical within OAF?
    select cont_cd, cont_cd||' - '||customer customer
    from spl_account_map
    where attribute4 <> 'N'
    or attribute4 is null
    When I update Attribute4 = "Y" for specific accounts, they don't appear in poplist unless Apache is bounced. Is this typical? Would an LOV work instead?
    Thanks,
    -Scott
    Edited by: sreese on Jun 8, 2009 1:53 PM

    Prior to release 11.5.10, poplist data was cached on the middle tier in a proprietary OA Framework cache that could not be refreshed without bouncing the Java Virtual Machine (JVM). As a consequence, poplists could not reflect changes in the underlying data source while users were actively working. Starting with release 11.5.10, poplist data is cached using the Oracle Applications Java Caching Framework, and as a result, you can implement cache invalidation to automatically refresh poplists when the data they query changes. For example, if a poplist queries the values A, B, C, and D, and a new value E is inserted in the underlying table, your poplist can automatically reflect the addition of this fifth value the next time it renders its data.
    Dev guide says "Apply patch 3688496 to any environment in which you plan to deploy this caching functionality.", seems to solve this this. For details refer to "Cache Invalidation" in dev guide.

  • Apache and Mid Tier Bounce

    Hi
    Plz help me on this,
    When to bounce, apache bounce and mid-tier bounce
    plz share the commands on this.
    Thanx

    Please refer this link
    http://oracle.anilpassi.com/restart-or-bounce-apache-in-oracle-apps-11i-2.html
    Hope it helps!!
    Thanks
    AJ

  • Apache Bounce Must for Application Message Changes???

    Hi Friends,
    Is it necessary to bounce apache and oc4j whenever we need to change the text of an application message that is being used on an OAF page?
    Thanks,
    Amit

    Thanks Ashish.
    What I got from that post is that it is mandatory to bounce apache for application message changes to get reflected.
    What we are doing is -> String strObligStmt = pageContext.getMessage("APPL_SHORT_NAME", "XX_XX_NAME_OF_MSG", msgToken);
    OAFormattedTextBean obligStmtBS = (OAFormattedTextBean)webBean.findIndexedChildRecursive("ObligMsg");
    obligStmtBS.setText(strObligStmt);
    Another thing I got from that post is that we can read the message text directly from FND_MESSAGES and hence get the latest text at all times. But in that case, we will have to substitute the message tokens manually right?
    Actually the whole purpose of application messages is getting defeated here. If we have to bounce apache, it is as tedious as sending a code deployment and the flexibility of having application messages is being compromised.
    THIS QUESTION IS STILL OPEN.
    Thanks,
    Amit

  • Problem with APACHE server

    HI hsawwan,
    Istore pages are not refreshing after bounced apache(remove cache also).
    How can we fix it?
    Thanks,

    Hi Hussein,
    What is the application release?
    11.5.10.2How did you clear the cache?
    1.stop the apache -- ./adapcctl.sh stop
    2. go to common_top , and remove pages  rm pages
    3. start the apache .. ./adapcctl.sh start
    When I check ./adapcctl.sh status command[oracle@joust DEV_joust]$ ./adapcctl.sh status
    adapcctl.sh version 115.54
    Apache Web Server Listener is not running.
    Apache Web Server Listener (PLSQL) is not running.
    adapcctl.sh: exiting with status 1
    Thanks,
    Ali

Maybe you are looking for