Error while trying to Insert a pdf file in database

Hi All,
I have sent this problem to Informix. By any chance if you had faced the same problem and found the solution, pls send mail to [email protected]
Thanks
Babu
Hi there,
I tried to insert a pdf file in to Informix database. I followed the guidelines
given in the "InformixJDBC Driver
Programmer's Guide". Actually my program works if i use
PreparedStatement.setBytes method. But why
PreparedStatement.setBinaryStream method is not working????.
Here is the code snippet.....
Connection conn = null;
PreparedStatement ps = null;
try
File ff = new File("C:\\test.pdf");
InputStream value = null;
FileInputStream fileinp = new FileInputStream(ff);
value = (InputStream) value;
int len = (int) ff.length();
System.out.println("len: " + len);
conn = connect();
String sql = "INSERT INTO dbep04m@inf10004:pg_wip_t (c_db,n_object,u_img) VALUES (\"2\",?,?)";
if (conn != null)
long stTime = System.currentTimeMillis();
ps = conn.prepareStatement(sql);
for (int ii=1;ii<=10000;ii++)
ps.setInt(1,ii);
ps.setBinaryStream(2,value,len);
int rtVal = ps.executeUpdate();
//System.out.println("return value" + rtVal);
ps.close();
conn.close();
long endTime = System.currentTimeMillis();
System.out.println("Total time taken for this run: " + (endTime-stTime)/(1000) + " seconds");
catch (FileNotFoundException ex)
ex.printStackTrace();
catch (IOException ex)
ex.printStackTrace();
catch (SQLException ex)
ex.printStackTrace();
finally
try
if (ps != null)
ps.close();
if (conn != null)
conn.close();
catch (SQLException ex)
ex.printStackTrace();
I am getting the following error message.......
java.sql.SQLException: Insufficient Blob data
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java)
at com.informix.jdbc.IfxSqli.sendStreamBlob(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.sendBlob(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.sendBind(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.sendExecute(IfxSqli.java)
at com.informix.jdbc.IfxSqli.sendCommand(IfxSqli.java)
at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java)
at com.informix.jdbc.IfxResultSet.executeUpdate(IfxResultSet.java)
at com.informix.jdbc.IfxStatement.executeUpdateImpl(IfxStatement.java)
at com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java)
at com.aexp.eaim.iu.isp.testcase.InsertBlob.insertUsingSql(InsertBlob.java, Compiled Code)
at com.aexp.eaim.iu.isp.testcase.InsertBlob.main(InsertBlob.java:194)
Here is the example given in the "Informix JDBC Driver Programmer's Guide". In the line maked bold, the blob size was hard coded as 10. Then
why you are trying to find the file length???.
try
stmt = conn.createStatement();
stmt.executeUpdate("create table tab1(col1 byte)");
catch ( SQLException e)
System.out.println("Failed to create table ..." + e.getMessage());
System.out.println("Trying to insert data using Prepare Statement ...");
try
pstmt = conn.prepareStatement("insert into tab1 values (?)");
catch (SQLException e)
System.out.println("Failed to Insert into tab:" + e.toString());
File file = new File("data.dat");
int fileLength = (int) file.length();
InputStream value = null;
FileInputStream fileinp = null;
int row = 0;
String str = null;
int rc = 0;
ResultSet rs = null;
System.out.println("Inserting data ...\n");
try
fileinp = new FileInputStream(file);
value = (InputStream)fileinp;
catch (Exception e) {}
try
pstmt.setBinaryStream(1,value,10); //set 1st column
catch (SQLException e)
System.out.println("Unable to set parameter");
set_execute();
public static void set_execute()
try
pstmt.executeUpdate();
catch (SQLException e)
System.out.println("Failed to Insert into tab:" + e.toString());
e.printStackTrace();
Best Regards
Babu

sorry!!!. There is an error in the code
old code :
value = (InputStream) value ;
should be code :
value = (InputStream) fileinp;

Similar Messages

  • Receiving error  message while trying to insert a pdf file into a Word document

    Error while trying to insert a pdf file as object into a word documnet , error: "The program used to create this object is AcroExch. That program is either not installed on your computer or it is not responding.

    Try disabling Protected Mode in Adobe Reader [Edit | Preferences | Security (Enhanced)].

  • Error while trying to open exported PDF file from Datagridview??

    Hi everyone ,
       I want to export datagridview to PDF file,After generating the pdf I'm not able to open that file..when i try to open it shows file corrupted error message and also not getting "Pdf Generation successfully " Message.
    Here is my code :
    private void btnExportPdf_Click(string heading, string filename)
                try
                    SaveFileDialog saveFileDialog = new SaveFileDialog();
                    saveFileDialog.Filter = "All Files | *.*  ";
                    if (saveFileDialog.ShowDialog() == DialogResult.OK)
                        string path = saveFileDialog.FileName;
                        Document pdfdoc = new Document(PageSize.A4); // Setting the page size for the PDF
                        PdfWriter writer = PdfWriter.GetInstance(pdfdoc, new FileStream(path + ".pdf", FileMode.Create)); //Using the PDF Writer class to generate the PDF
                        writer.PageEvent = new PDFFooter();
                        // Opening the PDF to write the data from the textbox
                        PdfPTable table = new PdfPTable(dataGridView1.Columns.Count);
                        //table.TotalWidth = GridView.Width;
                        float[] widths = new float[] 
                            dataGridView1.Columns[0].Width, dataGridView1.Columns[1].Width, dataGridView1.Columns[2].Width 
                        table.SetWidths(widths);
                        table.HorizontalAlignment = 1; // 0 - left, 1 - center, 2 - right;
                        table.SpacingBefore = 2.0F;
                        PdfPCell cell = null;
                        pdfdoc.Open();
                        //doc.Open();
                        //   Phrase p = new Phrase(new Chunk(heading, titleFont));
                        // doc.Add(p);
                        foreach (DataGridViewColumn c in dataGridView1.Columns)
                            cell = new PdfPCell(new Phrase(new Chunk(c.HeaderText)));
                            cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.VerticalAlignment = PdfPCell.ALIGN_CENTER;
                            table.AddCell(cell);
                        if (dataGridView1.Rows.Count > 0)
                            for (int i = 0; i < dataGridView1.Rows.Count; i++)
                                PdfPCell[] objcell = new PdfPCell[dataGridView1.Columns.Count];
                                for (int j = 0; j < dataGridView1.Columns.Count - 1; j++)
                                    cell = new PdfPCell(new Phrase(dataGridView1.Rows[i].Cells[j].Value.ToString()));
                                    cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
                                    cell.VerticalAlignment = PdfPCell.ALIGN_CENTER;
                                    table.AddCell(cell);
                                    //lstCells.Add(cell);
                                    objcell[j] = cell;
                                PdfPRow newrow = new PdfPRow(objcell);
                                table.Rows.Add(newrow);
                        pdfdoc.Add(table);
                        MessageBox.Show("Pdf Generation Successfully.");
                        pdfdoc.Close();
                catch (Exception ex)
                    MessageBox.Show("Error in pdf Generation.");
    Thanks & Regards RAJENDRAN M

    Your question sounds like it is related to PdfWriter as that is how you're saving the file.  These forums are for MS products.  Please post questions related to third-party products in their forums.

  • When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read"

    I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read". I am able to open pdf files in IE and other programs.

    I am encountering the same problem -- though with .qfx files from my bank. This worked fine in Firefox 31 ESR, but since upgrading to Firefox 33.0, I get the "<name>.qfx.part could not be saved, because the source file could not be read" when I attempt to download. (I should add that downloading PDF statements from the same site works fine, and that the qfx downloads work fine in IE and Chrome.)
    I tried safe mode, it is still broken. Tried v34 beta, no luck. I reverted to version 31, it works again.
    I guess I will stick with the older version until a solution is found...or just use an alternate browser to download my financial data.

  • Webutil error while trying to open an excel file

    Hi, I´m using oracle forms to read an excel file, I have two installations in different servers using oracle app server 9.04 and in one of this installations while trying to read an excel file i get the following error message in the java console:
    2006-jul-14 10:45:27.718 ERROR>WUO-708 [OleFunctions.get_obj_property()] No se ha podido obtener la propiedad: Workbooks; Excepción
    com.jacob.com.ComFailException: A COM exception has been encountered:
    At Invoke of: Workbooks
    Description: An unknown COM error has occured.
    2006-jul-14 10:45:36.140 WUO[getProperty()] Getting property WUO_OLE2_CREATE_ARGLIST
    2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 2
    2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_ADD_ARG to SD:\UPLOADS\FILE.xls
    I dont really know where to start to try and solve this issue, any help is greatly appreciated
    Thanks
    Hi, I´m using oracle forms to read an excel file, I have two installations in different servers using oracle app server 9.04 and in one of this installations while trying to read an excel file i get the following error message in the java console:
    2006-jul-14 10:45:27.718 ERROR>WUO-708 [OleFunctions.get_obj_property()] No se ha podido obtener la propiedad: Workbooks; Exception
    com.jacob.com.ComFailException: A COM exception has been encountered:
    At Invoke of: Workbooks
    Description: An unknown COM error has occured.
    2006-jul-14 10:45:36.140 WUO[getProperty()] Getting property WUO_OLE2_CREATE_ARGLIST
    2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 2
    2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_ADD_ARG to SD:\UPLOADS\FILE.xls
    I dont really know where to start to try and solve this issue, any help is greatly appreciated
    Thanks

    I created a system DSN named odbc_excel. Then, I created a file named initexcelsid.ora with the following arguments:
    HS_FDS_CONNECT_INFO = odbc_excel
    HS_AUTOREGISTER = TRUE
    HS_DB_NAME = dg4odbc
    In the location, I put excelsid in the Service_Name entry. Do you need me to post the listener.ora file or something else?
    Thank you.

  • I get an error when trying to open certain PDF files in Lion on Mac.

    I am having trouble opening CERTAIN .PDF files on my MacBook Pro. I am running Lion. The file is attached to a Gmail message as a standard .PDF file.
    This is my error:
    "File "XX" cannot be opened. It may be damaged or use a file format Preview does not recognize."
    I have also downloaded Adobe X reader to see if the compatibility issue is just with Preview. I get an error that the file is "damaged" and cannot be recovered. Meanwhile, the file downloads/opens just fine on Windows XP Office and iOS (on my iPad). So I am thinking that it must be some sort of compatibility issue with Lion.
    So far, other .PDF files open on my MB Pro. I haven't tried all of my saved .PDF files, but I did try a couple.
    Anybody have any suggestions? There seems to be an error with this particular file opening in Lion, but not with the same file opening on another operating system.

    The issue mysteriously resolved itself. I shut down the computer, and the next day I booted back up and tried to open the same file, and everything was OK. Very bizarre, since I had opened it previously on this same MacBook. Anyway, anyone have any insight into what happened?

  • Error while trying to insert data on a database through a mediator

    I have build a simple project on 11g TP$, which consists of a mediator, a file adapter, that reads an xml file and a DB adapter that inserts data on a database.
    The mediator connects the file adapter to the DB adapter and through a routing rule it inserts data on a table of the database.
    When I try to run this project the input file is consumed by the file adapter, but after that I get the following error
    SEVERE: Part {body} return null from the message :in
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.service.transformation.XSLTransformer getPartDocument
    SEVERE: payload map source message :{opaque=oracle.xml.parser.v2.XMLElement@19b0076}
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.service.transformation.MediatorTransformationHandler transform
    SEVERE: Transformation failed
    oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    at oracle.tip.mediator.service.transformation.XSLTransformer.getPartDocument(XSLTransformer.java:191)
    at oracle.tip.mediator.service.transformation.XSLTransformer.transform(XSLTransformer.java:102)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:103)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:196)
    at oracle.tip.mediator.service.DataActionHandler.getNextPayload(DataActionHandler.java:145)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:53)
    at oracle.tip.mediator.service.OneWayActionHandler.oneWayRequestProcess(OneWayActionHandler.java:67)
    at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:34)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:61)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:103)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:465)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:361)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:254)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:149)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:533)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:634)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:138)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy70.post(Unknown Source)
    at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:574)
    at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:295)
    at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:2127)
    at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:1719)
    at oracle.tip.adapter.file.inbound.ProcessWork.translateAndPublish(ProcessWork.java:677)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:320)
    at oracle.integration.platform.blocks.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.integration.platform.blocks.adapter.fw.common.ThreadPool.run(ThreadPool.java:283)
    at java.lang.Thread.run(Thread.java:595)
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.serviceEngine.MediatorServiceEngine process
    SEVERE: Updating fault processing DMS metrics
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.serviceEngine.MediatorServiceEngine process
    SEVERE: Got an exception: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    at oracle.tip.mediator.service.transformation.XSLTransformer.getPartDocument(XSLTransformer.java:191)
    at oracle.tip.mediator.service.transformation.XSLTransformer.transform(XSLTransformer.java:102)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:103)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:196)
    at oracle.tip.mediator.service.DataActionHandler.getNextPayload(DataActionHandler.java:145)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:53)
    at oracle.tip.mediator.service.OneWayActionHandler.oneWayRequestProcess(OneWayActionHandler.java:67)
    at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:34)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:61)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:103)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:465)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:361)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:254)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:149)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:533)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:634)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:138)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy70.post(Unknown Source)
    at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:574)
    at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:295)
    at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:2127)
    at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:1719)
    at oracle.tip.adapter.file.inbound.ProcessWork.translateAndPublish(ProcessWork.java:677)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:320)
    at oracle.integration.platform.blocks.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.integration.platform.blocks.adapter.fw.common.ThreadPool.run(ThreadPool.java:283)
    at java.lang.Thread.run(Thread.java:595)
    Dec 5, 2008 2:24:55 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=> Read ReadAdapter Service Read was unable to perform delivery of inbound message to the composite due to: oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    Dec 5, 2008 2:24:55 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=> Read
    oracle.fabric.common.FabricInvocationException: oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:599)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:634)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:138)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy70.post(Unknown Source)
    at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:574)
    at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:295)
    at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:2127)
    at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:1719)
    at oracle.tip.adapter.file.inbound.ProcessWork.translateAndPublish(ProcessWork.java:677)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:320)
    at oracle.integration.platform.blocks.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.integration.platform.blocks.adapter.fw.common.ThreadPool.run(ThreadPool.java:283)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    at oracle.tip.mediator.service.transformation.XSLTransformer.getPartDocument(XSLTransformer.java:191)
    at oracle.tip.mediator.service.transformation.XSLTransformer.transform(XSLTransformer.java:102)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:103)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:196)
    at oracle.tip.mediator.service.DataActionHandler.getNextPayload(DataActionHandler.java:145)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:53)
    at oracle.tip.mediator.service.OneWayActionHandler.oneWayRequestProcess(OneWayActionHandler.java:67)
    at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:34)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:61)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:103)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:465)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:361)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:254)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:149)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:533)
    ... 24 more
    Dec 5, 2008 2:24:55 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=> Read ReadonReject: The resource adapter 'File Adapter' requested handling of a malformed inbound message. However, the following Service property has not been defined: 'rejectedMessageHandlers'. Please define it and redeploy the module. Will use the default Rejection Directory file://jca\Read\rejectedMessages for now.
    Dec 5, 2008 2:24:55 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=> Read ReadonReject: Sending invalid inbound message to Exception Handler:
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.common.error.ErrorMessageEnqueuer$EnqueuerThread run
    SEVERE: Failed to enqueue error message
    javax.jms.TransactionInProgressException: Cannot call commit on a XA capable JMS session.
    at oracle.j2ee.ra.jms.generic.RAUtils.make(RAUtils.java:595)
    at oracle.j2ee.ra.jms.generic.RAUtils.toTransactionInProgressException(RAUtils.java:846)
    at oracle.j2ee.ra.jms.generic.RAUtils.toTransactionInProgressException(RAUtils.java:840)
    at oracle.j2ee.ra.jms.generic.SessionWrapper.commit(SessionWrapper.java:197)
    at oracle.tip.mediator.common.error.ErrorMessageEnqueuer$EnqueuerThread.run(ErrorMessageEnqueuer.java:187)
    at java.lang.Thread.run(Thread.java:595)
    I have checked the .xsd file and my xml several times and it seems that they are correct. Moreover, the .xsl file is also correct.
    Does anyone have any idea of what may produce this problem?
    Thanks

    I was finally able to get my project working. Heidi - You were right, there was a problem with the XSL generated by the XSL map editor.
    I am trying to locate if this issue has already been reported, but I am highlighting it here, in case someone else faces the same.
    The XSL generated was as follows:
    &lt;xsl:stylesheet version="1.0"
    xmlns:dvm="[http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue]"
    xmlns:bpws="[http://schemas.xmlsoap.org/ws/2003/03/business-process/]"
    xmlns:ns1="[http://xmlns.oracle.com/pcbpel/adapter/db/ReadEmps/Read/DB/]"
    xmlns:plt="[http://schemas.xmlsoap.org/ws/2003/05/partner-link/]"
    xmlns:ns0="[http://www.w3.org/2001/XMLSchema]"
    xmlns:hwf="[http://xmlns.oracle.com/bpel/workflow/xpath]"
    xmlns:xp20="[http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20]"
    xmlns:xref="[http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions]"
    xmlns:tns="[http://xmlns.oracle.com/pcbpel/adapter/file/ReadEmps/Read/Read/]"
    xmlns:xsl="[http://www.w3.org/1999/XSL/Transform]"
    xmlns:ora="[http://schemas.oracle.com/xpath/extension]"
    xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance]"
    xmlns:imp1="[www.TargetNameSpace.com/EmpTrack|http://www.targetnamespace.com/EmpTrack]*"*
    xmlns:top="[http://xmlns.oracle.com/pcbpel/adapter/db/top/DB]"
    xmlns:ids="[http://xmlns.oracle.com/bpel/services/IdentityService/xpath]"
    xmlns:orcl="[http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc]"
    xmlns:mhdr="[http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.GetRequestHeaderExtnFunction]"
    exclude-result-prefixes="xsl plt ns0 tns imp1 ns1 top dvm bpws hwf xp20 xref ora ids orcl mhdr"&gt;
    &lt;xsl:template match="/"&gt;
    &lt;top:EmployeeTrackingCollection&gt;
    &lt;xsl:for-each select*="/imp1:ROWSET/imp1:ROW*"&gt;
    &lt;top:EmployeeTracking&gt;
    &lt;top:locationId&gt;
    &lt;xsl:value-of select="*imp1:LOCATION_ID*"/&gt;
    &lt;/top:locationId&gt;
    &lt;top:employeeId&gt;
    &lt;xsl:value-of select="*imp1:EMPLOYEE_ID*"/&gt;
    &lt;/top:employeeId&gt;
    &lt;top:employeeX&gt;
    &lt;xsl:value-of select="*imp1:EMPLOYEE_X*"/&gt;
    &lt;/top:employeeX&gt;
    &lt;top:employeeY&gt;
    &lt;xsl:value-of select="*imp1:EMPLOYEE_Y"*/&gt;
    &lt;/top:employeeY&gt;
    &lt;/top:EmployeeTracking&gt;
    &lt;/xsl:for-each&gt;
    &lt;/top:EmployeeTrackingCollection&gt;
    &lt;/xsl:template&gt;
    &lt;/xsl:stylesheet&gt;
    The Xpath included the "imp1:" tag to reference the namespace. I tested this XSL and it didn't work. However, on removing the namespace "imp1:" from the Xpath, the XSL works fine and I am able to insert into the database. "No suitable driver" still appears in the log, but all rows from the XML are inserted into the database.
    Heidi - do you think this is a bug?

  • Getting Error While Attaching Concurrent Program Output PDF file for POAPPRV Workflow

    Hi All,
    I am getting the below error when I am trying to attach concurrent program output to the PO Approval Notification.
    An Error occurred in the following Workflow.
    Item Type = POAPPRV
    Item Key = 1040589-528378
    User Key =945871
    Error Name = WF_ERROR
    Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
    Wf_Notification.GetAttrblob(3604701, ZZ_PREVIOUS_PO_COMPARE, text/html)
    WF_XML.GetAttachment(3604701, text/html)
    WF_XML.GetAttachments(3604701, http://oraerp.am.corp.xxxx.com:8099/pls/DEV, 11283)
    WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    Wf_Event.setMessage(oracle.apps.wf.notification.send, 3604701, WF_XML.Generate)
    Wf_Event.dispatch_internal()
    Error Stack =
    Activity ID = 190844
    Activity Label = AL_NOTIFY_APPROVER_PROCESS:ZZ_PO_PO_APPROVE_ATTCH
    Result Code = #MAIL
    Notification ID = 3604701
    There are several threads for this error however I cannot find any specific solution to the problem.
    Please find the code below -
        wf_engine.setitemattrdocument(itemtype=>itemtype,
                                      itemkey=> itemkey,
                                      aname=>'ZZ_PREVIOUS_PO_COMPARE',
                                      documentid =>'PLSQLBLOB:zz_po_reqapproval_init1.xx_notif_attachments/' || to_char(l_request_id_prev_po)||':'||to_char(l_document_num));
    -- here l_request_id_q_and_s is the request id of the program and l_document_num is the PO document number
    PROCEDURE xx_notif_attachments(p_request_id    IN VARCHAR2,
                                   p_document_num  IN VARCHAR2,
                                   p_document      IN OUT BLOB,
                                   p_document_type IN OUT VARCHAR2) IS
      v_lob_id          NUMBER;
      v_document_num    VARCHAR2(15);
      v_document_prefix VARCHAR2(100);
      v_file_name       VARCHAR2(500);
      v_file_on_os      BFILE;
      v_temp_lob        BLOB;
      v_dest_offset     NUMBER := 1;
      v_src_offset      NUMBER := 1;
      v_out_file_name   VARCHAR2(2000);
      v_conc_prog_name  VARCHAR2(500);
      v_conc_req_id     NUMBER;
      CURSOR get_output_file(p_concurrent_request_id NUMBER) IS
        SELECT cr.outfile_name, cp.concurrent_program_name
          FROM fnd_concurrent_requests cr, fnd_concurrent_programs_vl cp
         WHERE request_id = p_concurrent_request_id
           AND cp.concurrent_program_id = cr.concurrent_program_id;
    BEGIN
      --    set_debug_context('xx_notif_attach_procedure');
      v_conc_req_id  := to_number(substr(p_request_id,
                                         1,
                                         instr(p_request_id, ':') - 1));
      v_document_num := substr(p_request_id,
                               instr(p_request_id, ':') + 1,
                               length(p_request_id) - 2);
      OPEN get_output_file(v_conc_req_id);
      FETCH get_output_file
        INTO v_out_file_name, v_conc_prog_name;
      CLOSE get_output_file;
      v_out_file_name := substr(v_out_file_name,
                                instr(v_out_file_name, '/', -1) + 1);
      v_file_name     := to_char(v_document_num) || '-Previous_PO_Rev.pdf';
      utl_file.fcopy(src_location  => 'APPS_OUT_DIR',
                     src_filename  => v_out_file_name,
                     dest_location => 'PO_DATA_DIR',
                     dest_filename => v_file_name);
      --  v_lob_id := to_number(v_document_id);
      v_file_on_os := bfilename('PO_DATA_DIR', v_file_name);
      dbms_lob.createtemporary(v_temp_lob, cache => FALSE);
      dbms_lob.fileopen(v_file_on_os, dbms_lob.file_readonly);
      dbms_lob.loadblobfromfile(dest_lob    => v_temp_lob,
                                src_bfile   => v_file_on_os,
                                amount      => dbms_lob.getlength(v_file_on_os),
                                dest_offset => v_dest_offset,
                                src_offset  => v_src_offset);
      dbms_lob.fileclose(v_file_on_os);
      p_document_type := 'application/pdf;name=' || v_file_name;
      dbms_lob.copy(p_document, v_temp_lob, dbms_lob.getlength(v_temp_lob));
    EXCEPTION
      WHEN OTHERS THEN
        wf_core.CONTEXT('ZZ_PO_REQAPPROVAL_INIT1',
                        'xx_notif_attachments',
                        v_document_num,
                        p_request_id);
        RAISE;
    END xx_notif_attachments;
    Please help me find a to the above mentioned error.
    Thanks,
    Suvigya

    There are two ways to look at what error the PLSQLBLOB API is throwing.
    1) Call your PLSQLBLOB API GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment directly from a PLSQL block and verify that it returns the BLOB data successfully.
    You could also call another WF API that in turn executes the PLSQLBLOB API internally. For example,
    <pre>
    declare
    l_document blob;
    l_doctype varchar2(240);
    l_aname varchar2(90);
    begin
    dbms_lob.CreateTemporary(l_document, true, dbms_lob.Session);
    -- 207046 - This is the notification id of your failed workflow
    -- PO_REPORT - Document type attribute
    -- 'text/html' - Content Type being generated for
    Wf_Notification.GetAttrBLOB(207046, 'PO_REPORT', 'text/html', l_document, l_doctype, l_aname);
    -- Print the size of the document here to verify it was fetched correctly
    end;
    </pre>
    2) Turn on log for SYSADMIN user with following attributes.
    Log Enabled = TRUE
    Log Level = ERROR
    Log Module = wf.plsql%
    Restart the Workflow Deferred Agent Listener and Workflow Notification Deferred Agent Listener and run your workflow process. Search for log messages written for above context and you can identify the error at wf.plsql.WF_XML.GetAttachment module with message starting as "Error when getting BLOB attachment ->"
    Hope this helps.
    Vijay

  • Getting error while trying to import the eex files

    I am facing few problem while importing..
    here is the error message from log
    Processing files for US language ...
    Searching D:/sachin/Discoverer/AU_TOP/discover/US directory for files to import ...
    Number of files to process for US language : 2648
    adupdeul.sh: line 766: perl: command not found
    ERROR : adupdeul_ald2 is unable to determine character set encoding
    for D:/sachin/Discoverer/AU_TOP/discover/US/abmactaccdaseflo.eex file.
    adupdeul_ald2 is exiting with status 1
    I checked the code in adupdeul.sh
    here is the code which errored out
    firstspace=" "
    cset=`head -10 $topdir/$lang/$fname | \
    perl -e 'while(<>){' \
    -e ' if (/^<\?xml.*\sencoding=\"(.+)"/){ ' \
    -e ' print uc "$1\n";' \
    -e ' }' \
    -e '}' `
    if test "$cset" = ""; then
    echo "ERROR : $program is unable to determine character set encoding"
    echo " for $topdir/$lang/$fname file."
    exit 1
    else
    echo "$cset" >> $tmpcsetfile
    fi
    First 10 lines from D:/sachin/Discoverer/AU_TOP/discover/US/abmactaccdaseflo.eex file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <EndUserLayerExport SourceEULId="20001214113219" SourceEULVersion="4.1.44.00.00" MinimumCodeVersion="4.1.0" ExportFileVersion="4.1.0">
    <ExternalElement>
    <APPS Header="$Header: abmactaccdaseflo.eex 115.7 2003/02/19 18:11:04 pkm ship $"> </APPS>
    </ExternalElement>
    <ExternalElement>
    <OraTranslatability>
         <XlatElement Name="BusinessArea">
              <XlatID>
                   <Key>DeveloperKey</Key>
    I think this code should work...
    Please help me :-(
    - Sachin

    Hi,
    I'm following the note 139516.1 on metalink to use Discoverer 4i with E-Business Suite 11.5.10.2.
    Everything goes well until I try to import the eex files (downloaded to my Windows XP desktop). Here is what I get:
    You are running adupdeul, version 115.11
    Start of adupdeul session
    Date/time is Fri Jul 27 10:15:16 WEST 2007
    Log file is adupdeul.log
    Command line arguments are
         "connect=apps/apps@CESEBTST"
         "resp=System Administrator"
         "gwyuid=APPLSYSPUB/PUB"
         "fndnam=APPS"
         "secgroup=standard"
         "topdir=/cygdrive/c/oracle/Disco4i/Discover/discover"
         "language=US"
         "eulprefix=EUL"
         "eultype=OLTP"
         "mode=complete"
    Processing files for US language ...
    Searching /cygdrive/c/oracle/Disco4i/Discover/discover/US directory for files to import ...
    Number of files to process for US language : 2648
    Determining the character set for the import session ...
    The following encoding schemes have been found
         ISO-8859-1
         UTF-8
    ERROR : adupdeul does not support importing files with
    multiple encodings.
    adupdeul is exiting with status 1
    End of adupdeul session
    Date/time is Fri Jul 27 10:20:20 WEST 2007
    Could someone explain me this multiple encodings error and tell me how to avoid it?
    Thanks in advance!

  • Getting error While attaching Report out put Pdf file to POAPPRV workflow

    I am getting below error in workflow
    Item Type = POAPPRV
    Item Key = 60383-243513
    User Key =40515
    Error Name = WF_ERROR
    Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
    GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment(60383-243513 OAPPRV, text/html)
    Wf_Notification.GetAttrblob(207046, PO_REPORT, text/html)
    WF_XML.GetAttachment(207046, text/html)
    WF_XML.GetAttachments(207046, http://gnedxbebsdev.gerab.ae:8003/pls/DEV, 850
    WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 207046)
    WF_XML.Generate(oracle.apps.wf.notification.send, 207046)
    WF_XML.Generate(oracle.apps.wf.notification.send, 207046)
    Wf_Event.setMessage(oracle.apps.wf.notification.send, 207046, WF_XML.Generate)
    Wf_Event.dispatch_internal()
    Error Stack =
    Activity Id = 124108
    Activity Label = NOTIFY_APPROVER_SUBPROCESS:GNE_PO_NOTI_TO_CEO
    Result Code = #MAIL
    Notification Id = 207046
    The Code used in procedure is given below
    procedure Gne_Create_File_Attachment (document_id in varchar2,
    display_type in varchar2,
    document in out blob,
    document_type in out varchar2)
    is
    l_itemtype varchar2(100);
    l_itemkey varchar2(100);
    l_output_directory varchar2(30);
    l_filename varchar2(255);
    src_loc bfile;
    bdoc blob;
    src_offset number := 1;
    dst_offset number := 1;
    amount number;
    l_request_id varchar2(100);
    begin
    l_itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
    l_itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
    select attribute4
    into l_request_id
    from po_headers_all
    where to_char(PO_HEADER_ID)=l_itemtype;
    l_output_directory := 'APPLCSF/APPLOUT';
    l_filename := 'o'||l_request_id;
    src_loc := bfilename(l_output_directory,l_filename);
    dbms_lob.createTemporary(bdoc, FALSE, dbms_lob.call);
    dbms_lob.fileopen(src_loc, dbms_lob.file_readonly);
    dbms_lob.loadblobfromfile(bdoc,src_loc,dbms_lob.lobmaxsize,src_offset,dst_offset);
    dbms_lob.fileclose(src_loc);
    amount := dbms_lob.getLength(bdoc);
    dbms_lob.copy(document,bdoc,amount,1,1);
    document_type := 'application/pdf; name=attach.pdf';
    EXCEPTION
    WHEN OTHERS THEN
    wf_core.CONTEXT('GNE_PO_CREATE_FILE_ATTACHMENT'
    ,'Gne_Create_File_Attachment'
    ,document_id
    ,display_type);
    RAISE;
    end GNE_Create_File_Attachment;
    PROCEDURE Gne_Assign_wf_Attribute(
    itemtype IN VARCHAR2,
    itemkey IN VARCHAR2,
    actid IN NUMBER,
    funcmode IN VARCHAR2,
    resultout OUT NOCOPY VARCHAR2)
    IS
    v_user_name varchar2(100);
    BEGIN
    IF FUNCMODE = 'RUN' THEN
    wf_engine.setitemattrdocument
    (itemtype => itemtype
    , itemkey => itemkey
    , aname => 'PO_REPORT'
    , documentid =>'PLSQLBLOB:GNE_PO_CREATE_FILE_ATTACHMENT.GNE_Create_File_Attachment/'
    || itemkey
    || ':'
    || itemtype);
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    wf_core.CONTEXT('GNE_PO_CREATE_FILE_ATTACHMENT'
    ,'Gne_Assign_wf_Attribute'
    ,itemtype
    ,itemkey);
    RAISE;
    END Gne_Assign_wf_Attribute;
    Can Any Body Please help me....
    It is very urgent..
    Thanks In Advance
    Anil Kumar

    There are two ways to look at what error the PLSQLBLOB API is throwing.
    1) Call your PLSQLBLOB API GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment directly from a PLSQL block and verify that it returns the BLOB data successfully.
    You could also call another WF API that in turn executes the PLSQLBLOB API internally. For example,
    <pre>
    declare
    l_document blob;
    l_doctype varchar2(240);
    l_aname varchar2(90);
    begin
    dbms_lob.CreateTemporary(l_document, true, dbms_lob.Session);
    -- 207046 - This is the notification id of your failed workflow
    -- PO_REPORT - Document type attribute
    -- 'text/html' - Content Type being generated for
    Wf_Notification.GetAttrBLOB(207046, 'PO_REPORT', 'text/html', l_document, l_doctype, l_aname);
    -- Print the size of the document here to verify it was fetched correctly
    end;
    </pre>
    2) Turn on log for SYSADMIN user with following attributes.
    Log Enabled = TRUE
    Log Level = ERROR
    Log Module = wf.plsql%
    Restart the Workflow Deferred Agent Listener and Workflow Notification Deferred Agent Listener and run your workflow process. Search for log messages written for above context and you can identify the error at wf.plsql.WF_XML.GetAttachment module with message starting as "Error when getting BLOB attachment ->"
    Hope this helps.
    Vijay

  • SECURITY - Error while trying to access a remote file

    Hello All,
    I've got a little issue !
    I've got two PCs on the network. On the first one there is a server running.
    This server has to read a textfile to add data in a database.
    The second one only contains textfile to transfer.
    When I try to read a textfile located one the same Pc as the server there is no problem.
    But when I try to read a textfile located on the second PC I've got an error
    FILE NOT FOUND :\\\\frc-pil_trieur\\Log_Trieur\\Log_Message.txt
    java.io.FileNotFoundException: \\frc-pil_trieur\Log_Trieur\Log_Message.txt (�chec d'ouverture de session : nom d'utilisateur inconnu ou mot de passe incorrect)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:9 )
    at ressource.FileReaderThread.initFile(FileReaderThread.java:233)
    at ressource.FileReaderThread.run(FileReaderThread.java:114)
    at java.lang.Thread.run(Thread.java:595)
    I'm working on a windows environment.
    I think it's security problem but I don't what I can use to solve the issue
    Please help me...

    Hi ;
    pelase check below which could be similar error like yours
    Troubleshooting of Runtime Errors of Customer Intelligence Reports [ID 284829.1]
    Regard
    Helios

  • IMP-00067 Error while trying to import demo mapviewer dump files

    Getting IMP-00067 Error while trying to import demo dump files
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>imp mvdemo/mvdemo file=C:\oracl
    exe\app\oracle\admin\XE\dpdump\usstates.dmp full=y ignore=y
    Import: Release 10.2.0.1.0 - Production on Sun Mar 21 19:25:44 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productio
    n
    Export file created by EXPORT:V10.02.00 via conventional path
    Warning: the objects were exported by SCOTT, not by you
    import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses US7ASCII character set (possible charset conversion)
    IMP-00067: Could not convert to server character set's handle
    IMP-00000: Import terminated unsuccessfully
    Regards
    Thomas

    Have you resolve this? I am running in to same error.

  • Error while trying to start OSAUD collector.

    Hi,
    We have installed Oracle Audit Vault 10g (10.2.2) and trying to collect audit data from a Oracle 10g (10.2.0.1) by using the OSAUD collector. We are able to add the collector successfully by using the avorcldb all_collector command but we are getting an error while trying to start the collector.
    Source database Oracle 10g (10.2.1) is configured to collect the audit records in the OS audit trail by using the following statement: ALTER SYSTEM SET AUDIT_TRAIL=OS SCOPE=SPFILE; and the SHOW PARAMETER AUDIT command returns the following values :
    NAME TYPE VALUE
    audit_file_dest string                     C:\ORACLE\PRODUCT\10.2.0\ADMIN\<db_name>\ADUMP
    audit_sys_operations   boolean        TRUE
    audit_trail string                             OS
    We don't know if the values set for the audit_file_dest is correct but after we start working on the database and execute some statements, Oracle is not creating any files on this destination, while for the same statements when the Audit_trail=DB, EXTENDED the audit values for these statements are written in the appropriate table.
    So when we try to start the OSAUD collector defined on the Audit Vault Server it can not start and gives us the follwing error: *"could not start collector OSAUD_Collector for source <source name>, directory access error for C:\ORACLE\PRODUCT\10.2.0\ADMIN\<db_name>\ADUMP"*.
    We would really appreciate some help with this issue.
    thanks in advance.
    Engrid

    Thanks for your answer.
    We have been trying to find Oracle Audit Vault 10.2.3 for Windows Server 2003 but we couldn't find it anywhere for download. On Oracle's website only Audit Vault Agent 10.2.3 for Windows Server 2003 is available for download. We suppose that in order to download Oracle Audit Vault Server 10.2.3 for Windows Server 2003 and any other kind of patches or updates we need to have an account at Metalink????
    Regarding auditing, when we set the Audit_trail =OS on the source database, what does this mean? Does this mean that audit data will be collected both from the Database and the Operating System audits? If so where are this audit records written, in a separate file or on a particular table inside the database itself like in the case when Audit_trail=DB (EXTENDED)?
    Thanks again for your interest, and sorry but we are new at database auditing and Oracle Audit Vault.
    Best Regards
    engrid

  • I'm trying to convert a pdf file to word and I continue to get the message "An error occurred while signing in".  I believe I'm properly signed in, I can see my account, etc.  Any suggestions?

    I'm trying to convert a pdf file to word and I continue to get the message "An error occurred while signing in".  I believe I'm properly signed in, I can see my account, etc.  Any suggestions?

    Hi tkam,
    It sounds as though you just need to install the latest Reader update. Please choose Help > Check for Updates in Reader and install the latest update. An update to Reader 11.0.07 resolves this sign-in issue.
    Let us know how it goes!
    Best,
    Sara

Maybe you are looking for

  • T520: Slice battery charging thresholds stuck

    I bought a T520 (4240) a few months ago and, like most people around here had the same issues with pulsing fans and, on applying BIOS 1.28, CPU throttling issues. I'm not sure if the latter one is fixed properly yet, but I also have a problem with th

  • Red channel seems very low resolution

    Iwth a HVX200 and P2 workflow, I have noticed in the past that in Final Cut the images look good, but if you export them, the red channel can have artifacts, it looks like a 1/8th of the resolution. This could do with the channel smoothing.. I dunno.

  • I need to open a file with an associated programm.

    I need to open a file with an associated programm. I'm looking for two solutions: 1. for Linux/Solaris/Unix/... 2. for Windows 95/98/Nt/2000 For Windows I have done this with command line Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandle

  • How to use page-number in xsl:if

    Hi I would like to use <fo:page-number/> in my if clause. Based on page number, I would like to add some more fields. If help on this greatly appriciated. Thanks, Ram.

  • Problems SOAP to SOAP scenario

    Hi my scenariao is as follows: nonsapA ->WebserviceA->XI30->WebserviceB->nonsapB I am working NON SAP to NON SAP. IR work: Syncrounous MI set up: I have created a webservice WSDL based on my MI for WebserviceA Imported from the web the webserve Webse