-----Google Analytics Code Start----> <-----Google Analytics Code Close---->
Home |
Technical Articles |
Training Articles |
Receive Email for New Articles |
Contributors |
Apps Book |
Testing OAF Extensions from jDeveloper -Things to keep in mind | | Print | |
Written by Anil Passi | |||||||||||||||||||
Thursday, 31 January 2008 | |||||||||||||||||||
Ideally, you must develops and test all your extensions from jDeveloper itself. This avoids the need for clearing meta-data cache or bouncing the apache or mid-tier However, you do at times need to test your changes on the server. Generally you will do so when extension is very minor. When to bounce what, I mean, should we bounce just the Apache or the entire Mid-tier?, for OA Framework changes to take effect. What is the difference from end-user perspective between apache bounce and mid-tier bounce?
Usually when we begin development on OAF, in early days we are not sure when to bounce what when deploying your OA Framework developments or extensions to the server.
NOTE:- No need to bounce the complete mid-tier
Here is the table that explains the same
Comments
(13)
![]() ![]() written by kuber , February 04, 2008
Anil Sir,
Warm Regards from Me. Thanks for being a guide for us since quite a long time. We have been referring your site and the articles in it and gaining knowledge from it. Thanks Again. Like so many issues which I am being facing, we got a solution for that in your site/Metalink. I am facing an issue where I would like to enable the Concurrent Request Submission on Self-Service (XML generated by RDF with Word Template or XML generated by PL/SQL stored procedure with word template) for the users. The user will have the opportunity to submit the request without using the Oracle Core Forms. Following are the queries from my end:- o Is this possible to do? I have tried the same using Oracle Reports (RDF) and succeeded. o If Yes, How can it be done? o If No, can you suggest me an alternative solution? Request your help on this. Thanks & Regards Kuber 91 9999110457 kuber.singh@wipro.com , Kuber.vikramsingh@genpact.com
Hi Kuber
Please dont call me Sir To run XMLP program, fist call API FND_REQUEST.SET_PRINT_OPTIONS Then call API FND_REQUEST.SUBMIT_REQUEST SYntax will be x_submit_status := fnd_request.set_print_options( printer => l_printer_name, style => 'YourPrintStyleHere', copies => 1, save_output => TRUE, print_together => 'N'); I think if you call fnd_request.submit_request from within a Report, then print options are already found to be set in advance. The same may not be happening when running the XMLP from Form Thanks, Anil Passi
Hi Anil,
I have installed Apps 11.5.10.2 on my pc and want to install Jdev. Which version of JDev will be ideal for this Apps version? Earlier, you said Jdev9 would be ideal, but i didn't find any downloads for this version in Oracle site. Can u pls suggest me. Thanks & Regards, Gopi
hi Anil,
I have been a great follower of this site. And thanks to your articles i have been really able to learn good knowledge of OAF. I have just started working on some OAF components. right now i am trying to extend some objects in Iprocurement. what i am trying to do is that i want to add some code in AM and invoke the method from a controller. but while i am trying to extend in jdeveloper , i am not able to see any business component. this i believe is because there is not server.xml file in the server directory for the some component. so i just want to know how do i get this . i have look up in the server but the server.xml is not present. so i had read sometime ago i have to ask for the server file to oracle. can you please guide me on what to do in this regard? your response would be most appreciated.
Hi Anil,
Thank you very much for the server.xml solution you provided. It Solve the problem of the object extension. This is the first time i am doing an AM extension but now i am stuck with one problem. My idea was to extend the AM and as well as at the same time modify one the method in the OLD AM. So is this possible? because this method would allow me to some db transaction with the values i required to. I would be modifying the logic of the method but just to put some extra line of code in the method. what i am planning to do is copy the old method from the old AM and put it in new AM and modify the method.but i am worried if this is going to work or not? Please advise me on the same. Regards, Ronel
Hi Anil,
I have followed the Option 2 for adding logic to old Method in Old AM. I will give u whole breif of what i have done till now. 1. i hava extended correctItemsAM as xxicxCorrectItemsAM 2. then i have added a custom method execsql() in the newAM 3. i have copied the public boolean correctitems() method from the OLD AM into the NEW AM and added my code in the correctitems(). 4. I then substitute the old AM with the New AM 5. I tried compiling and it's giving a lot compilation errors after i have added the correctitems() method. then i copied the imports from Old AM and put into the new AM . that fixed some of errors but still some compilation errors persist. Am i missing something in the above steps? Regards Ronel T.
Hi Anil,
the errors are becaused of the some of the variables used are not defined in the new AM. 1. rcvutil.starttimeprocedure(''); rcvutil not found 2. correctvoimpl not found. etc. this are some infact some of the variables used in the old AMImpl not explicitly defined. i can't send u the copy the errors as the desktop i m working is not accesible from my system. Regards Ronel T. You must be logged in to a comment. Please register if you do not have an account yet.
|
I am aware of looging in as the 'appl' user in the mid tier
> cd $ADMIN_SCRIPTS_HOME
>adapcctl.sh stopall
>adapcctl.sh startall
Is this apache bounce or mid-tier bounce ? I have noticed doing this also ends any forms session open.
Thanks,
-Debojyoty