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 PM
Hi 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
Similar Messages
-
Java SSF for Digital Signatures and Document Encryption
Hello,
I have read in "SAP Help - Java Development Manual" that there is a Java SSF library for Digital Signatures and Document Encryption API.
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/65c3b32107964996a56e4165077e24/frameset.htm
I am trying to develop an example application in NWDS using Interfaces/classes (ISsfData, SsfDataXml...), but NWDS does not find this classes in any library.
I have searched for Javadocs in NWDS plugins directory and this classes and interfaces should be in JAR com.sap.security.api.jar, but they aren't there.
Our WAS version is: NW04s WAS 7.0 SP11 and he have downloaded Java Crypto Library (IAIK) and also SAP XML Toolkit.
Does anyone know how to find or obtain this library?
Thanks in advance,
Jorge LinaresHello Francesco,
I want to generate a digital signature (PKCS#7,XML) using SAP SSF API as explained in
http://help.sap.com/saphelp_nw04/helpdata/en/4f/65c3b32107964996a56e4165077e24/content.htm and in Amol Joshi's reply in
Digital Signatures and Document Encryption api
so my question is From which PI/XI version and its SPS this SAP SSF LIBRARY is supported ?
Kind Regards,
Kubra fatima. -
Generation .class file for Java Concurrent Program
Hi
Below if my sample java concurrent program code and registered concurrent program
package oracle.apps.sample;
import oracle.apps.fnd.cp.request.*;
public class Hello implements JavaConcurrentProgram {
public static final String RCS_ID = "$Header$";
public void runProgram(CpContext ctx) {
ctx.getLogFile().writeln("-- Hello World! --", 0);
ctx.getOutFile().writeln("-- Hello World! --");
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
Created a sample directory under $JAVA_TOP: $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
Copied Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample and ran below command to compile
$ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
But getting error
javac: file not found: /oracle/apps/fnd/cp/sample
Usage: javac <options> <source files>
use -help for a list of possible options
Please suggest what was issue and is there any option to generate class file in J developer in local (Windows) instead of doing on application server if yes what are steps to be followed to generate class in windows
Thanks
ArjunPlease post the details of the application release, database version and OS.
But getting error
javac: file not found: /oracle/apps/fnd/cp/sample
Usage: javac <options> <source files>
use -help for a list of possible optionsHow do you get this error?
Thanks,
Hussein -
NoClassDefFoundError for Java Concurrent Program in Oracle Apps
Hi,
I am accessing the Oracle Apps application which is installed in local server(Within the network).
I am trying to execute Java Concurrent Program in oracle apps (in Windows XP Professional). I did the following.
1. Created the concurrent program executable with Execution file name
as AvailableProg and Execution File Path as
oracle.apps.fnd.cp.request (this is where AvailableProg resides)
and Method as Java Concurrent Program.
2. Created the concurrent program and set the Options as -cp JAVA_CON.
3. Created a environment variable JAVA_CON (In Windows XP) with the
values D:\apps.zip and
D:\oracle.apps.fnd.cp.request.AvailableProg.class.
4. Registered the concurrent program.
5. While I submitted the request I got the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
oracle/apps/fnd/cp/request/Run.
Can anybody help me in resolving this issue?
Is there any documents available in executing java concurrent programs?
Please do the needful..
Thank You....Hi
I am having the same issues. Here are the setup I have for all the variables:
$ echo $AF_CLASSPATH
/u001/oracle/deltacomn/util/jre/1.1.8/lib/rt.jar:/u001/oracle/deltacomn/util/jre/1.1.8/lib/i18n.jar:/u001/oracle/deltacomn/java/appsborg.zip:/u001/oracle/deltaora/8.0.6/forms60/java:/u001/oracle/deltacomn/java
$ echo $JAVA_TOP
/u001/oracle/deltacomn/java
$ echo $AFJVAPRG
/u001/oracle/deltacomn/util/jre/1.1.8/bin/jre
$ echo $CLASSPATH
/u001/oracle/deltacomn/util/jre/1.1.8/lib/rt.jar:/u001/oracle/deltacomn/util/jre/1.1.8/lib/i18n.jar:/u001/oracle/deltacomn/java/appsborg.zip:/u001/oracle/deltaora/8.0.6/forms60/java:/u001/oracle/deltacomn/java:/u001/oracle/deltaappl/ncr_custom/ncrx/1.0.0/java
Please help.
Thanks
AE -
Issue with class loading - Java concurrent Program
Hi ,
We are facing a strange issue for one of our customer.
Scenario :
We have a Java Concurrent Program (A.java ) which refers another Java class (B.java) , we modified the file B.java for a fix and created a patch. after applying the patch and bouncing the apache ,we found that B.java is loaded the old version of the class file.
We asked them to restart the concurrent manager and related services, still we see that old version of B.java is loaded. (confirmed by adding code throwing exception - throw new Exception from a specific line and found that its not getting thrown at run-time)
Any clue on this?.
Thanks
Joseph GeorgeDeployed this file both tier - Database server tier and Application server tier.
I have face same issue, Concurrent program not picking file application server tier. its picking file from database server tier.
Thanks, Avaneesh -
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 -
No getting Report Output in OAF for java Concurrent program Method
I am not getting report output for java Concurrent Program(Concurrent Program Executable Method), for the reports which are of type PL/SQL Stored Procedure getting the output. for some of the reports the executable method is 'java Concurrent Program', so is there any thing i need to modify in my code.
Thanks
BabuThe Concurrent request is not able to generate output
getting following error in FNDCPREQUESTVIEWPAGE
The concurrent request 9923758 did not create an output file.
so what may be reasons for this?
Thanks
Babu -
Hello,
I am fairly new the Java Concurrent Programs concept. I was just trying a simple Hello World example but I cannot seem to run it from the operating system. Here is my Hello World java program I created using Jdeveloper:
package oracle.apps.fnd.cp.request;
public class Hello implements JavaConcurrentProgram {
public static final String RCS_ID = "$Header$";
public void runProgram(CpContext ctx) {
ctx.getLogFile().writeln("-- Hello World! --", 0);
ctx.getOutFile().writeln("-- Hello World! --");
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
It compiles fine in Jdev generating the class file. Here is what I did :
1) Created directory under $JAVA_TOP as follows :
mkdir $JAVA_TOP/oracle/apps/fnd/cp/sample
2) moved the Hello.java file there under sample directory
3) compiled java file using avac $JAVA_TOP/oracle/apps/fnd/cp/sample/Hello.java ( It compiles fine generating the class file )
4) Now I wanted to test running it : I tried using jre command first as I saw in other posts but this is not working :
jre -Ddbcfile=$FND_TOP/secure/k021kp-6180_r115dev1.dbc -Drequest.outfile=/export/home/sqadri/outfile oracle.apps.fnd.cp.request.Run oracle.apps.fnd.cp.sample.Hello
Error :
ksh: jre: not found
Then I tried using the other way I saw on posts which is using the java command :
java -cp $AF_CLASSPATH -Ddbcfile=$FND_TOP/secure/k021kp-6180_r115dev1.dbc -Drequest.outfile=/export/home/sqadri/outfile oracle.apps.fnd.cp.request.Run oracle.apps.fnd.cp.sample.Hello
This gives me the following error :
java.lang.NoClassDefFoundError: oracle/apps/fnd/cp/sample/Hello (wrong name: oracle/apps/fnd/cp/request/Hello)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Can anyone tell me what I am doing wrong ? I have tried everything even tried ftp the class file from my local but I get the same error. Any help would be appreciated.
ThanksAjay,
Yes you are right. I did not register my java program yet in the concurrent programs.
I thought I could test it out from the operating system command line before registering it. But looking at your document you sent me it seems I have to do all the steps i.e. define concurrent program etc before I can test it from the operating system. If that's the case then what's the use of trying to test it via operating system using
java -cp $AF_CLASSPATH -Ddbcfile=$FND_TOP/secure/k021kp-6180_r115dev1.dbc -Drequest.outfile=/export/home/sqadri/outfile oracle.apps.fnd.cp.request.Run oracle.apps.fnd.cp.sample.Hello
Thanks
Syed -
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 -
Java concurrent program doesn't use template
Hi all,
I have a report which executable is of type: Java Concurrent Program. I copied the original one and i created the same data definition and template with different names, set the Onsite Settings to my template but when submitting the report it gives me as output only XML. When i submit the request the template layout is not in "Upon Completion" option.
Version:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
"CORE 11.1.0.7.0 Production"
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - ProductionWhat kind of option do i have to solve the issue? Please kindly help.
Thanks in advance,
Alexander.Solved, JCP not allowed(i think so) to have in your data definition - data template and preview data(both). You have to upload only Data template.
BR,
Konska. -
"Java Concurrent Program" java.lang.ClassNotFoundException:
I am creating one Concurrent Program Type "Java Concurrent Program",
I followed steps as notes "250964.1"
Deployed the java file to specific Directory in $JAVA_TOP
Bounce the apache.
I am getting this issue?
java.lang.ClassNotFoundException: oracle.apps.fnd.cp.sample.Hello
at java.net.URLClassLoader.findClass(URLClassLoader.java:376)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
I am not getting this issue OA Framework Classes (CO, AM ....)
Looking for this solution ? This is urgent to me.
Let us know what may be issue?
Thanks, AvaneeshAvaneesh,
What do you mean by "
I am not getting this issue OA Framework Classes (CO, AM ....)"?
Did you test your java code on command line?
--Shiv -
Need to call OAF API from JAVA concurrent program
Hi Gurus,
I am trying invoke an OAF Application method which generate the Batch ID. I am trying the invoke the same from JAVA Concurrent program. Below is teh code used,
package oracle.apps.ego.item.cp;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import oracle.apps.ego.item.common.server.EgoBatchHeader;
import oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl;
import oracle.apps.fnd.cp.request.CpContext;
import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
import oracle.apps.fnd.cp.request.LogFile;
import oracle.apps.fnd.cp.request.OutFile;
import oracle.apps.fnd.cp.request.ReqCompletion;
import oracle.jbo.ApplicationModule;
import oracle.jbo.ApplicationModuleCreateException;
import oracle.jbo.ApplicationModuleHome;
import oracle.jbo.JboContext;
import oracle.jbo.domain.Number;
import oracle.jdbc.internal.OracleCallableStatement;
public class XX_EGO_BATCH_CREATE implements JavaConcurrentProgram {
static LogFile log = null;
public void runProgram(CpContext ctx){
//Obtain the reference to the Output file for Concurrent Prog
OutFile out = ctx.getOutFile();
EgoBatchHeader v_header = new EgoBatchHeader();
//Obtain the reference to the Log file for Concurrent Prog
log = ctx.getLogFile();
log.writeln("Batch Number Creation", 0);
ApplicationModule am = null;
try{
//Write your logic here
log.writeln("Batch Number Creation", 0);
log.writeln("definition of batch num",0);
Number batch_num;
Number ssid = new Number(10000);
String jdbcUrl =
"jdbc:oracle:thin:apps/[email protected]:10201:ARERP4";
ApplicationModule am_Member = null;
log.writeln("Before Calling Create method",0);
am_Member =
create("oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl",
jdbcUrl);
log.writeln("assigning ssid"+ssid,0);
EgoImportBatchHeaderAMImpl bheader = new EgoImportBatchHeaderAMImpl();
log.writeln("bheader object is :"+bheader,0);
log.writeln("calling getBatchObjectForCreate"+bheader,0);
v_header = bheader.getBatchObjectForCreate(ssid);
//System.out.println("v_header is :" + v_head);
log.writeln("calling createBatch"+v_header,0);
batch_num = bheader.createBatch(v_header);
log.writeln("Batch Number is :"+batch_num ,0);
out.writeln("This will be printed to the Output File");
log.writeln("This will be printed to the Log File", 0);
//Request the completion of this Concurrent Prog
//This step will signal the end of execution of your Concurrent Prog
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL,"Completed.");
//Handle any exceptional conditions
catch(Exception e){
log.writeln("Exception2 occurred here !!"+e,0);
log.writeln("calling createBatch"+v_header,0);
public static ApplicationModule create(String amDefName,
String jdbcConnStr) throws ApplicationModuleCreateException, Exception {
ApplicationModule am = null;
try {
OracleCallableStatement conn = null;
// Setup the hashtable of JNDI initialization parameters
log.writeln("inside create method .. ",0);
Hashtable env = new Hashtable(2);
env.put(Context.INITIAL_CONTEXT_FACTORY,
JboContext.JBO_CONTEXT_FACTORY);
env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
// Create an JNDI initial context
Context ic;
ic = new InitialContext(env);
// Lookup a home interface (factory) for the AppModule by name
ApplicationModuleHome home =
(ApplicationModuleHome)ic.lookup(amDefName);
if(home==null){
log.writeln("home is null... .",0);
}else{
log.writeln("home is not null"+home,0);
// Create an instance of the AppModule using the home/factory
am = home.create();
if(am!=null){
log.writeln("am is not null"+am,0);
}else{
log.writeln("am is null",0);
// Connect the application module to the database
am.getTransaction().connect(jdbcConnStr);
} catch (NamingException ex) {
log.writeln("NamingException occurred here !!"+ex.getMessage(),0);
ex.printStackTrace();
throw new ApplicationModuleCreateException(ex);
}catch(Exception ex){
log.writeln("Exception occurred here !!"+ex.getMessage(),0);
ex.printStackTrace();
throw new Exception(ex);
return am;
I am not able to call the web server and facing issues. Please let me know if you can help me to get a solution to this.
Thanks in advance
VeerendraHi Zafar,
I got an error saying :
Batch Number Creation
Batch Number Creation
definition of batch num
Before Calling Create method
inside create method ..
home is not nulloracle.jbo.server.ApplicationModuleHomeImpl@11d2572
Jul 9, 2008 5:04:21 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
Exception occurred here !!JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:401)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
at oracle.apps.ego.item.cp.XX_EGO_BATCH_CREATE.create(XX_EGO_BATCH_CREATE.java:139)
at oracle.apps.ego.item.cp.XX_EGO_BATCH_CREATE.runProgram(XX_EGO_BATCH_CREATE.java:57)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Exception2 occurred here !!java.lang.Exception: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
calling [email protected]9c -
Possible to extend java Concurrent Program and replace standard??
Hi All!
i have following developing need. There is a java concurrent program POXPOPDF (PO Output for Communication). The customer needs this program to do actually something complete different than printing the PO in PDF. The executable for this CP is java class PoGenerateDocumentCP in oracle.apps.po.communicate package.
We thought that we may be able to extend that class and then in some way made OA to use the extended java class instead of the standard. This is possbile and simple for OA Framework pages unsing classes as controllers, but I don't know how it could be done for CP (if there's a way to do it without violent intervention in standard system).. Is it possbile, can anyone help me with this.
The thing is that instead of reformatting the XML returned from PO_COMMUNICATION_PVT.POXMLGEN (function POXMLGEN in database package PO_COMMUNICATION_PVT) into PDF we want to reformat into another XML and then send it in other way to a webservice. Once I have the XML from POXMLGEN I have no problem to reformat it into another XML (I think, I have done it iwith other issues/processes). The webservice and the call to it is no problem and is already use with other purposes in other processes, but here (replaceing this stadard java class for an extension/new one) I am a little lost.
Appreciate very much your help.
Regards,
PatriciaNever mind, I see now that FND_REQUEST.SUBMIT_REQUEST() really does work, I tried with a different standard java concurrent program and it worked fine, and then I figured out that my parameters into fnd_request.submit_request for concurrent program APXVVCF4 were not correct (application short name was invalid for concurrent program).
Thanks for the Info! -
How to get Source code of a Schedular Java concurrent program in Payments
Hi Experts,
I am very new to Java Concurrent program.
I need java source code of a schedule java concurrent program.Following are the details of Executable.
Executable :Format Payment Instructions
Short Name :IBY_FD_PAYMENT_FORMAT
Application : Payments
Execution Method :Java Concurrent Program
Execution File Name:FDExtractAndFormatting
Execution File Path : oracle.apps.iby.scheduler
I searched in execution file path,but i am unable to find required java source.
Please someone help regarding this issue..
It's Urgent Issue.
Regards
AmarHi Srini,
Thanks for reply...
In the attached template of concurrent program "Format Payment Instructions", i need to add voucher number in the template.
How can i do this?how to decompile the executable?
It is a check printing.
Please give me suggestions..
Regards
Amar -
Java.lang.OutOfMemoryError when running java concurrent program
Hi,
i had written a java concurrent program to create the content items into Oracle Content Manager (OCM). Process the records from interface table and create the content items into OCM by calling the API IBC_CITEM_ADMIN_GRP.upsert_item().
I run the concurrent program with 2000 records in interface table, it's an one to one process, 563 records are processed and 563 content items are created successfully in OCM. After 563 records continuously throws the Exception
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.put_line('EX - bundle validation others--');
x_return_status := FND_API.G_RET_STS_ERROR;
FND_MESSAGE.Set_Name('IBC', 'A_BUNDLE_ERROR');
FND_MESSAGE.set_token('SITUATION', 'VALIDATION');
FND_MSG_PUB.ADD;
IF IBC_DEBUG_PVT.debug_enabled THEN
IBC_DEBUG_PVT.end_process(
IBC_DEBUG_PVT.make_parameter_list(
p_tag => 'OUTPUT',
p_parms => JTF_VARCHAR2_TABLE_4000(
'x_return_status', '*** EXCEPTION *** [' || SQLERRM || ']'
END IF;
in IBC_CITEM_ADMIN_GRP.validate_attribute_bundle() API.
Again running the concurrent program it process another 563 records. Can any one help me to fix this issue?
i figured out the exception. When debug the error, i got the actual error message like this
ORA-29532: Java call terminated by uncaught Java exception: java.lang.OutOfMemoryError
ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
ORA-29532: Java call terminated by uncaught Java exception: java.lang.ArrayIndexOutOfBoundsException: -2048 < 0
for this issue i increased the heap memory size up to 1024MB. Still i have the same issue. Can any one help to fix the issue?ORA-29532: Java call terminated by uncaught Java
exception: java.lang.NullPointerException
ORA-29532: Java call terminated by uncaught Java
exception: java.lang.ArrayIndexOutOfBoundsException:
-2048 < 0Aren't the null pointer and arrayindexoutofbounds, the ones which you get when you are trying to read beyond your array? (example: when your loop tries to access the 563rd element in your array, since your array index starts from 0)?
May be if you can try to write out your elements in the array, you might see what it is croaking about.
Thanks,
Chiru
Maybe you are looking for
-
I have yet another problem. I have groupwise 7.0.4 running on windows 2003. everything is running great. But when i send mail, it sends me the mail back to me saying "too many hops". I think this means that its connected to the internet but it can't
-
How to upload ESS.sca in to WAS server and how to configure it
How to upload ESS.sca in to WAS server and how to configure it. If business package ESS.epa how to deploy and configure it.
-
Travel Expense - Remove Workflow Attachments?
We have enabled standard SAP Travel Workflow WS20000040 - Approve Trip. Managers will perform approvals through the Universal Worklist within the SAP Portal. Each work item is generated with an attachment. When the attachment is launched via the U
-
No matter how many times I try, I cannot create a slideshow in QT Pro. I have followed the directions but instead of a slideshow I get one photo, the initial one I selected (per the directions). I may have to resort to MS PowerPoint, which will not g
-
I recently downloaded and installed a full version of Photoshop CS6 (without Cloud). A month ago I migrated the entire set-up of my old iMac to the new iMac. No PS update was downloaded. However, when I now open CS6 I automaticly open a CS6 Extended