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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Commercial Tools for OAF Deployment Management?

    Are there any commercial tools for the automation and management of OAF project deployments?
    Thanks,
    Kurz

    Kurz,
    I think there is no such tool. We generally make zip of all our development and import it with the help of shell scripts.
    The other way is to FTP the related object on to server and run the import command if any.
    Finally bounce the appache.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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

  • 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

  • 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

  • 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."

  • Apple ID for the Deployment Program and VPP is the same

    I created an Apple ID for the Deployment Program and authorized the same ID for VPP.  Now I learned these should be different.  Is this a problem and if so, how can the VPP ID be changed?

    You should be able to. The only hiccup will be that any apps that you have purchased with the older ID you will have to repurchase with the newer ID to be able to keep using them.
    Though of course this actually depends on how you plan to use the IDs. For example, I had an Apple ID through iTunes a few years before I opened a .Mac/MobileMe account (what iCloud is now in case you are new to Apple). Thus, my iPhone and iPad actually have two IDs on them, one for iTunes/App Store, and one for anything associated with iCloud. I've never really had any problems assoctiated with having two IDs on one device. Usually just an extra step when I get a new device or have to restore either of them for some reason. Though I understand that this is probably not what you plan on doing, I thought I would use it as an example of what the IDs are really associted with on the devices.

  • What is the path in the filesystem for the deployed Wendynpro application .

    What is the path in the filesystem for the deployed Wendynpro application in the WAB AS
    We have a different version of webdynpro application running in production and non production , what is the process for overwriting the deployed application from one enviorment to another.
    Please help..

    Hi,
    What is the path in the filesystem for the deployed Wendynpro application in the WAB AS
    If you search for your component under the /usr/<SID> folder
    We have a different version of webdynpro application running in production and non production , what is the process for overwriting the deployed application from one enviorment to another.
    If you have NWDI in place CTS would help in this, else you can deploy your application using sdm.
    in CE you can deploy the application from NWDS.
    Regards
    Ayyapparaj

  • How to configure apache for ssl in windows platform

    hi all,
    can anyone help me expalin how to configure apache for ssl in windows platform.

    George,
    I would take the following 'first steps'
    1)Install Apache20 on your Windows machine following the Apache online documentation
    http://httpd.apache.org/docs-2.0/misc/tutorials.html
    2)Make sure you can 'serve up' static HTML content from your Apache Server
    3)Install Weblogic Server per our online documentation
    http://edocs.bea.com/wls/docs61/install/index.html
    4)Also, make sure you can 'serve up' both static and dynamic (e.g., JSP) content
    directly from WLS server
    5)Once you have both of the above 'sanity' checks attempt to configure a simple
    proxy by ppath or mime type via our online documentation
    http://edocs.bea.com/wls/docs61/adminguide/apache.html#103803
    Chuck Nelson
    DRE
    BEA Technical Support

  • Data conversion for OAF pages

    Hi,
    Can dataload handle data upload in OAF application? or
    Is there any tools in the market for data conversion that is for OAF, instead form based application.

    Have you read Metalink Note 563047.1 - Using Oracle Application Framework (OAF) and Application Development Framework (ADF) ?

  • [SOLVED] Recommendations needed - Arch + Apache for local development

    Hello,
    I'm a new Arch user, and relatively new with Linux. I'm getting to like Arch very much.
    I do web development, and I do most of my programming in PERL.
    I have already installed perl and some tools, and I'm about to install apache. The Idea is to have the apache server just for local development and testing.
    So the question is: Do you recommend me to install some firewall?
    What security measurements should I take?
    Is there any easy way to enable and disable Internet access to the apache server?
    Thank you!
    Last edited by iopo (2009-10-28 19:24:14)

    Thank you friends.
    Yes, my Internet is via router. I like the Idea to set the server to listen at local address, I will try that.
    Now, as I'm new to Linux and Arch, I will like to know if I should take any extra security measurements. In windows I used anti-virus + firewall all the time, and I blocked apache to access the Internet with the firewall.
    I have set a strong root password, but the "normal user" has sudo. Is that secure enough?
    Is there any "must have" security tools or measurements to set is a box like mine (Desktop usage + local network (3 machines) + apache for local usage and testing only)?
    Is it common to get some malware, worm, trojan, spyware or some kind of phishing just by surfing the web without user "action" to install it?
    I know Linux is much safer because users and permissions. I like that very much, It feels a lot safer.
    Now, I have used Arch for a week or so with no firewall (router firewall is disabled also) and no anti-virus. Absolutely no special security measurements and there seems to be no log-in attempts in logfiles .. and no problems at all. Windows without firewall and anti-virus will die in a few hours just by leaving it connected to Internet....
    I just wanted to ask you all (Arch users) if you normally use Firewall, and if you take some special measurement to stay free of  trojans, spyware, etc...
    I will appreciate your comments.
    Thank you!

  • What is the best practice for AppleScript deployment on several machines?

    Hi,
    I am developing some AppleScripts for my colleagues at work and I don't want to visit each of them to deploy my AppleScript on their Macs.
    So, what is the best practice for AppleScript deployment on several machines?
    Is there an installer created by the Automator available?
    I would like to have something like an App to run which puts all my AppleScript relevant files into the right place onto a destination Mac.
    Thanks in advance.
    Regards,

    There's really no 'right place' to put applescripts.  folder action scripts nees to go in ~/Library/Scripts/Folder Action Scripts (or /Library/Scripts/Folder Action Scripts), anything you want to appear in the script menu needs to go in ~/Library/Scripts (or /Library/Scripts), script applications should probably go in the Applications folder, but otherwise scripts can be placed anywhere.  conventional places to put them are in ~/Library/Scripts or in a subfolder of ~/Library/Application Support if they are run by an application.  The more important issue is to make sure you generalize the scripts: use the path to command to get local paths rather than hard-coding them in, make sure you test to make sure applications or unic executables you call are present ont he machine, use script bundles rather tna scripts if you scripts have private resources.
    You can write a quick installer script if you want to make sure scripts go where you want them.  Skeleton verion looks like this:
    set scriptsFolder to path to scripts folder from user domain
    set scriptsToExport to path to resource "xxx.scpt" in directory "yyy"
    tell application "Finder"
      duplicate scriptsToExport to scriptsFolder with replacing
    end tell
    say "Scripts are installed"
    save this as a script application, then open the application pacckage and create a folder called "yyy" in the resources folder and copy your script "xxx.scpt" into it.  other people can run the app to install the script.

  • Best practices: Programming for future deployment

    Hi All.. I'm starting this thread to see if I can find a consensus about the best practices for programming for future deployment of Flex apps.
    Using Flex Builder, in creating a simple portal app I use "Import Web Service (WSDL)" to make the ActionScript framework for webservices which I consume. I have coded those web services in .asmx (c# web services for .NET) and run them locally. The framework Flex Builder creates is just fine, and I can run my app locally with no problem. Where I run into an issue is deployment.
    My intention is to distribute the database, the .NET webservices, and the Flex app as a complete solution to my end customers.
    What are the best practices in programming for complete deployability?
    The main issues I'm facing:
    1. Using inbuilt features like "Import Web Service (WSDL)" creates a framework around a named webservice. Upon deployment the URL for these services will change. How can you make it easy to switch the site webservices are consumed from? Can Flex apps be set up to use an environment variable, or even read a local file for the URL of the webservice I want it to point at? (i.e. something in web.config or elsewhere?)
    2. Should I NOT use "Import Web Service" at all, and write the code by hand? Note: this is VERY time consuming for the number of services that are exposed in larger apps. My typical dev cycle consists of parallel updates/upgrades to web services as they are demanded by elements incorporated in the Flex app.. so it's very convenient to just re-import the WSDL as I make changes.
    Thanks so much for your input!
    Brian

    Anyone?

Maybe you are looking for

  • Vendor Open Item Selections

    Hi experts, i need to select the open item based on document number and line item number. i have to use both Document number and line at a time to select the open items for vendors. please let me know the solution. Thanks & regards, srinivas

  • IMac freezes.  Can only start up through on/off button

    I have an iMac (2006) the white one.  For the past month or so, I've noted a horizontal line across opened pages (safari) and more often with videos.  The computer freezes during the loading of some videos and the only way to restart the computer is

  • I can't see some of my photos on my ipod touch, can someone help me?

    i took some photos recently and tried to see them a couple of hours later but they were all black as if they were never there. can someone tell me how to solve this problem?

  • Sqldeveloper /as sysdba connection

    I'm a total newbie in Oracle. I installed Oracle 11g XE R2. Also I installed SqlDeveloper 3.2.20.09 version. I have Java Version 7 Update 25 I generated auto connections, and I have 2 connections. One is: /as sysdba and another: system-XE I successfu

  • Where can i find my icloud documents on the iphone?

    I have icloud, and have documents that I've drafted on a Mac that I've stored on the cloud. How can I access these documents on my iPhone?