Customising/Personalising the XDODTEXE Java Concurrent Program
Hi,
Does Oracle provide any API/Personalisation for the generic XDODTEXE Java Concurrent Program. I am not talking about customising any particular report by modifying the Data Template XML in the Data Definition of that report. Rather my requirement is something like the following...
I want all reports using XDODTEXE Java Concurrent Program as the executable to insert the XML data generated by the report to a generic custom Table. Something like an extra Generic After Report Trigger/program which XDODTEXE will execute apart from the codes in the Data template XML. I dont want to modify the individual XML Data Template.. but the XDODTEXE runs it for every report run.
Does Oracle provide an API or Hook to accomplish the same?
Thanks
Biju Radhakrishnan
Pl post details of OS, database and EBS versions, along with what business/technical problem you are trying to solve. AFAIK, I am not aware of anything that will let you write the output from XDODTEXE to a custom table.
HTH
Srini
Similar Messages
-
Question related to Java Concurrent Program
Hi Friends,
I have a basic question related to Java Concurrent Program in the Oracle application. I would like to know the how Java concurrent program is executed in Oracle applications.Also, want to know where can I find the document for the AOL packages for Java concurrent program. Document for packages like oracle.apps.fnd.cp.request.* , oracle.apps.fnd.util.*.
Please let me know.
-Thanks,
SatyaYou may also check:
Note: 250964.1 - How to Register Sample Java Concurrent Program
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=250964.1
Note: 186301.1 - How to register and execute Java Concurrent Program ?in Oracle Applications R11i?
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186301.1 -
How can i get the source code from java concurrent program in R12
Hi 2 all,
How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
Regards,
Zulqarnainuser570667 wrote:
Hi 2 all,
How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
Regards,
ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to Compile & Deploy the Java Concurrent Program File
Hi,
There is a requirement to create the Java Concurrent Program in Oracle eBusiness. I am able to create the Java Concurrent Program file. But unable to do the following things:
1.Since it is custom file, which location I will deploy the file?
2. How to compile the file?
3. In the execution file path and executable file name what should I specify for JCP?
Please guide me.
ThanksPlease see (How to register and execute Java Concurrent Program ?in Oracle Applications R11i ? [ID 186301.1]) for the complete steps (i.e. define concurrent program and add it to the request group, .etc.) -- This is also applicable to R12.
You may also see:
Classpath Setting of Third Party Jar Files in R12 Java Concurrent Program (JCP) [ID 1292694.1]
Integrating Custom Applications with Oracle Applications [ID 176852.1]
Java Concurrent Program FAQ [ID 827575.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Program&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to customize the Java Concurrent Program(PO Output for Communication)
Hi,
How to customize the Java Concurrent Program(PO Output for Communication)
I need to add the Line level Ship To Address ,Line Notes and Extended Price fields on Java Concurrent Program.
Please any body help/guide me in this regard.Hi,
Changing Java Conc. program for "PO Output for Communication" is difficult.
Actually, if you observe closely, "PO Output for Communication" program uses PO<HEADER/LINES..>_XML views.
So if you could change these views and add your requireed columns to it, you can automatically see your changes in XML data file.
See if the following link will you to get there.. http://chandramatta.blogspot.com/
thanks,
Matt -
Testing Java Concurrent Program on the command line in Windows
I'm using the suggestions in:
http://blogs.oracle.com/xmlpublisher/2007/05/02
to test my Java concurrent program on the command line. Our production environment is running on Unix. I've been able to test it successfully on the Unix environment from the command line. However, it fails when I try to test it on the Windows command line with the following stack trace:
Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps
.jtf.base.resources.FrameworkException: IAS Cache initialization failed
at oracle.apps.jtf.cache.IASCacheProvider.init(IASCacheProvider.java:225
at oracle.apps.jtf.cache.CacheManager.activateCache(CacheManager.java:14
44)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:752)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileSto
re.java:498)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileS
tore.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContex
t.java:4312)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:
1171)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:970)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:952)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
:958)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
:918)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:752)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
Caused by: oracle.apps.jtf.base.resources.FrameworkException: null
null
CacheDefaultConfig.properties (The system cannot find the file specified)
at oracle.apps.jtf.base.resources.FrameworkException.convertException(Fr
ameworkException.java:607)
at oracle.apps.jtf.base.resources.FrameworkException.addException(Framew
orkException.java:585)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
eption.java:66)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
eption.java:88)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
eption.java:202)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
eption.java:218)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
eption.java:249)
... 26 more
Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache n
ot initialized
at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(AT
GCacheMgrDelegateImpl.java:325)
at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCac
heFactoryImpl.java:44)
at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:116
9)
at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
I've put the appsborg2.zip file in my classpath. I've also copied the entire (1 GB) worth of Java .class files for Oracle apps onto my computer and placed it on my classpath. Is there something that prevents me from testing out my Java concurrent program on my Windows machine from the command line?i think if u run the ap in the command line then it has to stay open, you could try writing a .bat file then when that is executed it will only open the command line for the program execution (i think)
-
Unable to import the package for java concurrent program
Hi all
i m trying to work on java concurrent program ,but when i tried to import these classes
import oracle.apps.fnd.cp.request.CpContext;
import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
the compiler is throwing
cannot access class oracle.apps.fnd.cp.request.CpContext; file oracle\apps\fnd\cp\request\CpContext.class not found
it is not giivng the cp package
please can somebody have idea ,what could be the reason .
thanx in advance
regards
pratapPratap,
Please download the cpcontext files whose package structure is oracle.apps.fnd.cp.request.CpContext
from the google or other search sites or download it from application unix server $JAVA_TOP/oracle/apps/fnd/cp/request/CPContext .
If it is a class file then convert it to java file by using java decompiler.
then plalce the file respective folder by creating folder of this name. e.g. if
the package structure is oracle.apps.fnd.cp.webui the create folders in myproject folder in jdeveloper
oracle, then under oracle folder cretae aapps folder and so on...
Thanks,
Kumar -
How to get the source code of Java Concurrent Program?
Hi,
How to get the source code of Java Concurrent Program?
Example
Programe Name:Format Payment Instructions
Executable:Format Payment Instructions
Execution File Name:FDExtractAndFormatting
Execution File Path:oracle.apps.iby.scheduler
Thanks in advance,
SenthilGo on Unix box at $JAVA_TOP/oracle/apps/iby/scheduler
You will get class file FDExtractAndFormatting.
Decompile it to get source code.
Thanks, Avaneesh -
Issue in Java concurrent program for Digital Signature Stamping
Hi All,
Im calling a Java concurrent program which does digital signature stamping on the PDF report generated.Program able to able to read the PDF file as input and also digital signature stored as file in the application but
ends in error in create signature method , need help in this regard.
Error:
Parameter 0 is Request id of with out Digital signature file
Parameter 1 is employee id of approver
Parameter:0:99203256
Parameter:1:1414603
$$$$ start query fileinfo with callable statment
programName>>>>>>>>BTPOPORPXML
$$$$ Without digital Signature file Name $$$
$/inst_top/finprod/apps/FINPROD_CPNQERPAAPZP10/logs/appl/conc/out/BTPOPORPXML_99203256_1.PDF
PFX File Reading Start
PFX File Reading Ends
PFX File size is: 6460 Byte size is: 6460
Elements present
java.lang.NullPointerException
at
com.lowagie.text.pdf.PdfSignatureAppearance.getAppearance
(Unknown Source)
at
com.lowagie.text.pdf.PdfSignatureAppearance.preClose
(Unknown Source)
at
com.lowagie.text.pdf.PdfSignatureAppearance.preClose
(Unknown Source)
at com.lowagie.text.pdf.PdfStamper.close(Unknown
Source)
at
btvl.oracle.apps.po.digsig.BTVLDigSign.runProgram
(BTVLDigSign.java:151)
at oracle.apps.fnd.cp.request.Run.main
(Run.java:157)
Edited by: 999033 on May 16, 2013 7:20 PMHi Charls,
I have successfully implemented at our end in 11i. Pl.try at your end.
v_request_id := FND_REQUEST.SUBMIT_REQUEST (passed your arguments... );
COMMIT;
IF NVL( v_request_id , 0 ) = 0 THEN
DBMS_OUTPUT.PUT_LINE( 'Item Assignment to Organization Program Not Submitted');
p_status := 'FAILURE' ;
p_err_msg := 'ERROR RAISED AFTER SUBMITTING THE IMPORT ITEM ORG.ASSIGNMENT CONCURRENT REQUEST ... ' ;
ELSE
v_finished := FND_CONCURRENT.WAIT_FOR_REQUEST
request_id => v_request_id,
interval => 0,
max_wait => 0,
phase => v_phase,
status => v_status,
dev_phase => v_request_phase,
dev_status => v_request_status,
message => v_message
LOOP
EXIT WHEN ( UPPER(v_request_phase) = 'COMPLETE' OR v_phase = 'C');
END LOOP;
HTH
Sanjay -
How to call a BPEL process from Oracle Apps Java Concurrent program
Hello,
I need to trigger a BPEL process from Oracle Apps. Can anybody tell me how to do that? I have two triggering option--
1. On button click from a Form 6i screen
2. Using Java Concurrent program.
Thanks in advance.
DebkantaI am not sure how concurrent program works, but may be one of the way might work out, let me know if Java Concurrent Program works a bit different way
- [if async] Through concurrent program, you can insert message token to db or aq, and BPEL can be instantiated from there
or
- If it supports pure java call, then you can look at multiple documents (e.g. http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf) to invoke your process
- You can also use oracle db utility to invoke soap operation and get the result back
HTH,
Chintan -
Error occurred during execution of java concurrent program in R12.2 instance
Hi All,
The R12.2 instance is a cloned instance. I am getting the below error while compiling the java concurrent program in R12.2 instance.
Has anybody had this error before?
Any help or advice will be really appreciated.
Thanks in advance.
Kind regards,
RanjanHi,
The error could be because of the XSD attributes.
In the Source message CustomerDetails, check the XSD attributes of the DataType CustNumber in the 'Detail' column in the IR. For example, it may have a pattern or whiteSpace or some other attribute.
Then check the input file contents for the CustNumber node. One of those values may not match these attributes.
Hope this helps,
Bhanu -
Error finding/creating AM from Java Concurrent Program
Hi All,
Here is what I am attempting to do in a Java concurrent program
--------------- Code Start - Error description in the code snippet comments ---------------
public void runProgram(CpContext pCpContext)
DBTransactionImpl mDBTransactionImpl
= new DBTransactionImpl(pCpContext.getJDBCConnection());
OAApplicationModule am = null;
// At this point I tried to call various methods on DBTransactionImpl
// And each method call, causes the CP to error with a different exception
// Calling findApplicationModule() causes the following exception
// java.lang.NullPointerException
// at oracle.jbo.server.DBTransactionImpl.findApplicationModule(DBTransactionImpl.java:4840)
// at xxicon.oracle.apps.xbol.pa.cp.XXIconImportUnitsFrmXls.runProgram(XXIconImportUnitsFrmXls.java:101)
// at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
am = mDBTransactionImpl.findApplicationModule(IMPORT_UNITS_AM_INS);
// Calling createApplicationModule() causes the following exception
// java.lang.NullPointerException
// at oracle.jbo.server.DBTransactionImpl.createApplicationModule(DBTransactionImpl.java:4954)
// at xxicon.oracle.apps.xbol.pa.cp.XXIconImportUnitsFrmXls.runProgram(XXIconImportUnitsFrmXls.java:109)
// at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
am = mDBTrx.createApplicationModule( IMPORT_UNITS_AM_INS
,IMPORT_UNITS_AM_DEF);
// Calling isConnected() causes the following exception
// java.lang.NullPointerException
// at oracle.jbo.server.DBTransactionImpl.isConnected(DBTransactionImpl.java:4335)
// at xxicon.oracle.apps.xbol.pa.cp.XXIconImportUnitsFrmXls.runProgram(XXIconImportUnitsFrmXls.java:65)
// at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
if (mDBTransactionImpl.isConnected())
// Log the fact that DBTrx is connected
--------------- Code End - Error description in the code snippet comments ---------------
Would someone be kind enough to tell me what is it that I am doing wrong here?
Thanks a ton!
KH
Message was edited by: Kiran
kiran.k.hegdeKiran,
How did you convert/cast the CpContext into an AppsContext to supply to createRootAM?
Would you maybe share some more code?
Update
No need for that, a simple
public void runProgram( CpContext ctx )
String amName;
String methodName;
OAApplicationModuleFactory amF = new OAApplicationModuleFactory();
OAApplicationModule am = amF.createRootOAApplicationModule( ctx, amName );
am.invokeMethod( methodName );
will do...
Message was edited by:
TyskJohan -
Calling Web service from Java Concurrent Program
Hi,
I created a Java concurrent program and created executable. Here is my code.
public void runProgram(CpContext ctx) {
String value = "Java Concurrent Program Testing";
Hello hell = new Hello();
String returnValue = hell.testURL(value);
if(returnValue.equalsIgnoreCase("TRUE")){
ctx.getLogFile().writeln("-- Java Concurrent Program Testing --", 0);
ctx.getOutFile().writeln("-- Java Concurrent Program Testing --");
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
else{
ctx.getLogFile().writeln("-- Hello World! --", 0);
ctx.getOutFile().writeln("-- Hello World! --");
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
}testURL() call the web service and get the response. but when I am selecting View Output option I am always geting out put as
-- Hello World! --I tested the logic of calling web service. It giving me out put "true". Here is my Web service calling code
public String testURL(String Value){
HttpURLConnection httpConn = null;
ByteArrayOutputStream bout = null;
String setWebServiceURLResponse = "";
String responseString="";
String outputString = "";
try{
httpConn = getHttpConnection();
bout = new ByteArrayOutputStream();
String xmlInput = soapBodyStart +
"<ns1:getTestURL>\n" +
" <ns1:URL>"+Value+"</ns1:URL>\n" +
" </ns1:getTestURL>"+
soapBodyEnd;
byte[] buffer = new byte[xmlInput.length()];
buffer = xmlInput.getBytes();
bout.write(buffer);
byte[] b = bout.toByteArray();
httpConn = setHttpConnectionRequest(b,httpConn);
//Read the response.
InputStreamReader isr = new InputStreamReader(httpConn.getInputStream());
BufferedReader in = new BufferedReader(isr);
//Write the SOAP message response to a String.
while ((responseString = in.readLine()) != null) {
outputString = outputString + responseString;
//Parse the String output to a org.w3c.dom.Document and be able to reach every node with the org.w3c.dom API.
Document document = parseXmlFile(outputString);
String formattedSOAPResponse = formatXML(outputString);
System.out.println("Formatted response = \n" +formattedSOAPResponse);
//NodeList nodes = document.getElementsByTagName("setWebServiceURLResponse");
//NodeList nodes = document.getElementsByTagName("getTestURLResponse");
NodeList nodes = document.getElementsByTagName("ns0:getTestURLResponse");
int len = nodes.getLength();
System.out.println("Inside testURL Node Lenght = "+ len);
for(int s=0; s<nodes.getLength() ; s++){
Node authenticateResultNode = nodes.item(s);
if(authenticateResultNode.getNodeType() == Node.ELEMENT_NODE){
Element authenticateResultElement = (Element)authenticateResultNode;
//NodeList authenticateResultValueNode = authenticateResultElement.getElementsByTagName("ns0:return");
//NodeList authenticateResultValueNode = authenticateResultElement.getElementsByTagName("return");
NodeList authenticateResultValueNode = authenticateResultElement.getElementsByTagName("ns0:return");
Element authenticateResultValue = (Element)authenticateResultValueNode.item(0);
NodeList textFNList = authenticateResultValue.getChildNodes();
//System.out.println("Authenticate Result : " + ((Node)textFNList.item(0)).getNodeValue().trim());
setWebServiceURLResponse = ((Node)textFNList.item(0)).getNodeValue();
//System.out.println("Authenticate Response in getAuthenticate method : " + authenticateresponse);
}//end of if clause
}//end of for loop with s var
System.out.println("Inside setWebServcieURLToFile response = " + setWebServiceURLResponse);
catch(Exception e){
e.printStackTrace();
return setWebServiceURLResponse;
}Where I am going wrong ?
Regards,
Ajay Sharmasample code:
static string url = "http://my.webservice.url"; ---------------> The actual web service URL
Call = new Call(url); --------------------------------------------------> The call object used by JAX-RPC
Object[] params = new Object[]{param1, param2};---------> build the call parameters
Boolean/Integer/Whatever result = call.invoke("method name", params);------>call the invoke method to get the result -
Sourcing : Error while Running Java Concurrent Program
Hi All,
Navigations:
Application: Sourcing
Responsibility : Sourcing Buyer
Concurrent Program : Generate and Store Sourcing response spreadsheet
I am trying to run
Java Concurrent Program : Generate and Store Sourcing response spreadsheet in SRS Window,
it completed with Error status.
Please let me know How can I run this Concurrent Program with Normal status and able to view/save the Output.
Please provide resolution on this.Thanks for your reply..
Program: Generate and Store Sourcing response spreadsheet
ShortName: PON_EXPORT_RESPONSE
Application: Sourcing
Executable: ExportResponseCp
Method: Java Concurrent Program
Responsibility : Sourcing Buyer.
Has this ever worked? If yes, any changes been done recently?
=> No
Is this the seeded concurrent program or a custom one?
=> Its seeded program.
EBS: R12.1.3
Login as Sourcing Buyer Responsibility :
When you create RFQ and then Close RFQ and then create Surrogate quote and after you Export the Spreadsheet in SelfService Pages it generates the output.
But if You run the concurrent program (Generate and Store Sourcing response spreadsheet) it errors out.
Error : Exception in thread main java .lang.stringIndexOutOfBoundException:
Thanks.. -
Java Concurrent Program .class file location
Hi frnds,
I need to know the .class file location of a java concurrent prog. I know the filename from concurrent program executables and my concurrent program filepath is oracle.apps.xxogl.f04.cp.file. But I dont know where the exact location of the file is. pls help me.
I searched for the same and found the following article in many places which doesnt seem to help me much.
http://geektalkin.blogspot.com/2008/03/oracle-apps-java-concurrent-program.html
pls help. thanks in advance.
LisanHi;
pls file can be found like
/apps_st/appl/bom/12.0.0/patch/115/sql/
Contains SQL*Plus scripts used to upgrade data, and .pkh, .pkb, and .pls scripts to create PL /SQL stored procedures.
Regard
Helios
Maybe you are looking for
-
ical will open with month calendar populated but can't click on any item and can't move between weekly, daily or monthly view. After opening the only active function is quit ical. Any suggestions?
-
Hello Okay to start my iMac here is connected directly to a DSL modem with no router through Ethernet. I saw that you can share Ethernet connections and use AirPort to create a Computer-to-Computer network and enable internet connection sharing. Woul
-
Analysis for Office support multi thread?
Does Analysis for Office support multi thread/core? If so, what verison? I tried searching around this site as well as note 1466118 - Hardware & Software requirements for Analysis, edition for MS Office but was unable to find an answer. I am on an In
-
IMac G5 sharing files with windows computer
Hi, I have an iMac g5 which is wireless, I want to be able to access my other windows based computers to share files. I have a Netgear wireless router and my iMac g5 is connected to the network (i.e. the internet works). From a windows computer I can
-
Multiple JRE Installations and Coexistence
Hi Guys Could any of you please help at all. I am looking to find out is anyone has experienced or knows of any coexistence issues relating to Sun JRE installations. We have the following JRE versions deployed on our estate: 1.4.2_04, 1.4.2_05 and 1.