Errors with Blob
Hi,
I'm working with servlets and jsp's but my error occurs at the Blob object level. In my jsp I have an <img> tag and the src="" of that image(which will be binary data) will be retrieved from a servlet that recieves a Blob(the image) from the session and writes it to the jsp. The error is a null pointer exception at the line where I try and get the binary stream from the Blob b, but after debugging I realize that the blob is not null. I'm not sure if the problem lies in the differences between the standard java Blob or Oracle's BLOB. I use java's but somehow, somewhere, I think it gets cast(implicity) to a BLOB. Anyone have an idea of why I get a null pointer exception and why I can't write it to the standard out
Here is some of my code:
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
resp.setContentType("image/jpeg");
HttpSession session = req.getSession(false);
Blob b = (Blob)session.getAttribute("image");
try
long length = 0L;
DataOutputStream dot = new DataOutputStream(resp.getOutputStream());
length = b.length();
InputStream blobStream = b.getBinaryStream(); ****EXCEPTION****
length = b.length();
byte x[] = new byte[10240];
for(int i = 0; (i = blobStream.read(x)) != -1;)
dot.write(x, 0, i);
blobStream.close();
Thanks
Sorry, small correction in the code.
the first appearence of: length = b.length();
shouldn't be there
Similar Messages
-
Error while importing a table with BLOB column
Hi,
I am having a table with BLOB column. When I export such a table it gets exported correctly, but when I import the same in different schema having different tablespace it throws error
IMP-00017: following statement failed with ORACLE error 959:
"CREATE TABLE "CMM_PARTY_DOC" ("PDOC_DOC_ID" VARCHAR2(10), "PDOC_PTY_ID" VAR"
"CHAR2(10), "PDOC_DOCDTL_ID" VARCHAR2(10), "PDOC_DOC_DESC" VARCHAR2(100), "P"
"DOC_DOC_DTL_DESC" VARCHAR2(100), "PDOC_RCVD_YN" VARCHAR2(1), "PDOC_UPLOAD_D"
"ATA" BLOB, "PDOC_UPD_USER" VARCHAR2(10), "PDOC_UPD_DATE" DATE, "PDOC_CRE_US"
"ER" VARCHAR2(10) NOT NULL ENABLE, "PDOC_CRE_DATE" DATE NOT NULL ENABLE) PC"
"TFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS"
" 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "TS_AGIMSAPPOLOLIVE030"
"4" LOGGING NOCOMPRESS LOB ("PDOC_UPLOAD_DATA") STORE AS (TABLESPACE "TS_AG"
"IMSAPPOLOLIVE0304" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10 NOCACHE L"
"OGGING STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEF"
"AULT))"
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'TS_AGIMSAPPOLOLIVE0304' does not exist
I used the import command as follows :
imp <user/pwd@conn> file=<dmpfile.dmp> fromuser=<fromuser> touser=<touser> log=<logfile.log>
What can I do so that this table gets imported correctly?
Also tell me "whether the BLOB is stored in different tablespace than the default tablespace of the user?"
Thanks in advance.Hello,
U can either
1) create a tablespace with the same name in destination where you are trying to import.
2) get the ddl of the table, modify the tablespace name to reflect the existing tablespace name in destination and run the ddl in the destination database, and run your import command with option ignore=y--> which will ignore all the create errors.
Regards,
Vinay -
Oracle Rdb Driver 3.1.0.0 problem with blobs
I am trying to convert an MsAccess application to use an MsAccess front end and an Oracle Rdb back end.
I've created the test database under VMS and can successfully link to the Oracle Rdb tables from MSAccess 2000. One of the main reasons for converting to Oracle Rdb is to be able to store large word documents in the database. I was able to do that using Oracle rdb Driver v 3.00.02.06. I recently converted to Oracle Rdb Driver version 3.1.0.0 and can no longer access the Blob field containing the Word document. MsAccess now sees this field as type Binary and I keep getting an invalid field type error. (with 3.00.02.06 this field was seen by MsAccess as an Ole Object and the getchunk and appendchunk functions for getting and saving a blob worked reasonably well).
Is this a bug in 3.1.0.0 or is there some way to get MsAccess to recognize this Binary field type?I suspect you'll need to contact Oracle support on this. There aren't, to my knowledge, any RDB folks around here.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Problem while importing table with blob datatype
hi i am having a database 9i on windows xp and dev database 9i on AIX 5.2
while i am taking export of normal tables and trying to import i am successful.but when i am trying to import a table with blob datatype it is throwing "tablespace <tablespace_name> doesn't exist" error
here how i followed.
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Oct 8 14:08:29 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: test@test
Enter password: ****
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> create table x(photo blob);
Table created.
exporting:
D:\>exp file=x.dmp log=x.log tables='TEST.X'
Export: Release 9.2.0.1.0 - Production on Mon Oct 8 14:09:40 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Username: pavan@test
Password:
Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
Current user changed to TEST
. . exporting table X 0 rows exported
Export terminated successfully without warnings.
importing:
D:\>imp file=x.dmp log=ximp.log fromuser='TEST' touser='IBT' tables='X'
Import: Release 9.2.0.1.0 - Production on Mon Oct 8 14:10:42 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Username: system@mch
Password:
Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining op
tions
JServer Release 9.2.0.6.0 - Production
Export file created by EXPORT:V09.02.00 via conventional path
Warning: the objects were exported by PAVAN, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses US7ASCII character set (possible charset conversion)
. importing TEST's objects into IBT
IMP-00017: following statement failed with ORACLE error 959:
"CREATE TABLE "X" ("PHOTO" BLOB) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS "
"255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "TESTTB"
"S" LOGGING NOCOMPRESS LOB ("PHOTO") STORE AS (TABLESPACE "TESTTBS" ENABLE "
"STORAGE IN ROW CHUNK 8192 PCTVERSION 10 NOCACHE STORAGE(INITIAL 65536 FREE"
"LISTS 1 FREELIST GROUPS 1))"
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'TESTTBS' does not exist
Import terminated successfully with warnings.
why it is happening for this table alone?plz help me
thanks in advanceHere is exerpt from {
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:378418239571}
=============================================
Hi Tom,
I have a dump file containing blob datatypes, when i import the dump file in a schema it gives an
error stating that the tablespace for Blob datatype does not exists. My question is how do i import
the dump file in the default tablespace of the importing user.
Followup March 2, 2004 - 7am US/Eastern:
You'll have to precreate the table.
do this:
imp userid=u/p tables=that_table indexfile=that_table.sql
edit that_table.sql, fix up the tablespace references to be whatever you want to be, run that sql.
then imp with ignore=y
for any MULTI-SEGMENT object (iot's with overflows, tables with lobs, partitioned tables, for
example), you have to do this -- imp will not rewrite ALL of the tablespaces in that
multi-tablespace create -- hence you either need to have the same tablespaces in place or precreate
the object with the proper tablespaces.
Only for single tablespace segments will imp rewrite the create to go into the default if the
requested tablespace does not exist.
===================================================
To summarize: precreate target table when importing multi-segment tables -
Hello everybody.
Im working with Oracle 10G R 1.2
Im trying to upload a file from filesystem (/tmp) into a BLOB item in memory. (lob_loc)
I have a ora-22275 error with those lines
src_file := bfilename(l_directory,l_filename);
dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
v_length := dbms_lob.getlength(src_file);
dbms_lob.loadfromfile(Lob_loc, src_file, v_length
I have read some documentation and it say that I must initialize the Blob Item (lob_loc)
How I can do this?
Thanks in advanced to everybody and regards to all.I don't know, what type of modification you will do in the "binary" file. However here is an example of loading a file into a temporary LOB then modify it and then inserting it into table.
SQL> CREATE TABLE test_blob (id INTEGER,blob_col BLOB);
Table created.
SQL> DECLARE
2 file_handle UTL_FILE.file_type;
3 v_fname VARCHAR2(20) := 'mytest.txt';
4 buffer VARCHAR2(32767);
5 BEGIN
6 file_handle := UTL_FILE.fopen('TEST_DIR', v_fname, 'W');
7 buffer := 'This is first line';
8 UTL_FILE.put_line(file_handle, buffer, TRUE);
9 buffer := 'This is second line';
10 UTL_FILE.put_line(file_handle, buffer, TRUE);
11 buffer := 'This is third line';
12 UTL_FILE.put_line(file_handle, buffer, TRUE);
13 UTL_FILE.fclose(file_handle);
14 END;
15 /
PL/SQL procedure successfully completed.I will use the file created above (three lines) into my LOB.
SQL> DECLARE
2 v_src_loc BFILE := BFILENAME('TEST_DIR', 'mytest.txt');
3 v_amount INTEGER;
4 v_b BLOB:=EMPTY_BLOB; -- Necessary to initialize.
5 v_offset INTEGER; -- Where to write.
6 my_var VARCHAR2(32767):='This is fourth line';
7 v_lobloc BLOB;
8 BEGIN
9 DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY);
10 v_amount := DBMS_LOB.GETLENGTH(v_src_loc);
11 DBMS_OUTPUT.put_line('The length before modification:'||v_amount);
12 -- initalize the new blob
13 dbms_lob.createtemporary(v_b,TRUE);
14 DBMS_LOB.LOADFROMFILE(v_b, v_src_loc, v_amount); -- Loading from file
15 ---Adding one line
16 Dbms_LOB.WRITEAPPEND(v_b,length(my_var),utl_raw.cast_to_raw(my_var));
17 INSERT INTO test_blob
18 VALUES
19 (1, EMPTY_BLOB())
20 RETURNING blob_col INTO v_lobloc;
21 v_amount := DBMS_LOB.GETLENGTH(v_b);
22 DBMS_OUTPUT.put_line('The length after modification:'||v_amount);
23 --Inserting the modified LOB into file
24 DBMS_LOB.copy(v_lobloc,v_b,v_amount);
25 DBMS_LOB.CLOSE(v_src_loc);
26 END;
27 /
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.This step is just for verification purpose!. The file had three lines, it should have four lines.
SQL> DECLARE
2 v_lob_loc BLOB;
3 CURSOR cur IS
4 SELECT id, blob_col FROM test_blob;
5 v_rec test_blob%ROWTYPE;
6 BEGIN
7 OPEN cur;
8 LOOP
9 FETCH cur
10 INTO v_rec;
11 v_lob_loc := v_rec.blob_col;
12 DBMS_OUTPUT.PUT_LINE('The length is: ' ||
13 DBMS_LOB.GETLENGTH(v_lob_loc));
14 DBMS_OUTPUT.PUT_LINE('The ID is: ' || v_rec.id);
15 DBMS_OUTPUT.PUT_LINE('The blob is read: ' ||
16 UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(v_lob_loc,
17 200,
18 1)));
19 EXIT WHEN cur%NOTFOUND;
20 END LOOP;
21 CLOSE cur;
22 END;
23 /
PL/SQL procedure successfully completed.
SQL> set serverout on
SQL> /
The length is: 80
The ID is: 1
The blob is read: This is first line
This is second line
This is third
line
This is fourth line -
XML upload (with BLOBs) failed
I want to import XML data (with BLOBS) from a APEX-2.0 XML data download.
The upload works fine on another Server having APEX2.0 installed.
Installing on XE results in: XML load error.
Using an XML data export without BLOB works fine.
Any ideas?sorry, first reply write error
had already looked for language-problems, but there are not:
export from htmldb.oracle.com(APEX2.0)->
NLS_DATABASE_Parameters: AMERICAN_AMERICA.AL32UTF8
atabase is
import in XE(APEX2.1)->
NLS_DATABASE_Parameters: AMERICAN_AMERICA.AL32UTF8
NLS_LANG: AMERICAN_AMERICA.AL32UTF8
"XML load error" occurs only with the BLOB inside, if I export the table data without the blob column, it works.
Importing in an APEX2.0 EE-environment (even if is WE8MSWIN1252 database, not UTF8 database) -
HelloThank's for your helpsI hope this document is helpfulBest Regards,
Date: Sun, 22 Jun 2014 17:10:17 -0700
From: [email protected]
To: [email protected]
Subject: when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
created by Anoop9178 in Adobe Reader - View the full discussion
Hi,
Would it be possible for you to share the document?
Regards,
Anoop
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Reader by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.thank's for reply and your help
i did the step's that you told me but i still have the same problem
i have the latest v.11.0.7
i
i disable the protected mode -
Odd Error with decode function in Order By Clause
I am trying to compile a procedure and can't get around an error with a dynamic order by that doesn't make much sense to me. I can repoduce the error with a plain select statment in sql plus so I can rule out a declaration error. Here is an example with 2 numeric columns and a date column.
select task_id, display_date, remark_id from task_list
where task_id > 1000
order by decode('Task_ID', 'Task_ID',Task_ID, 'Display_Date', Display_Date, 'Remark_ID',Remark_ID)
returns the error:
select task_id, display_date, remark_id from task_list
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected NUMBER got DATE
I'm not sure why this error is occuring, because it doesn't even hit the Display_Date field in the Decode statment. If I take the Display_date out of the statement, it runs properly. If I change Display_Date to To_Char(Display_Date) it also runs fine, but the sorting is incorrect. Also I'm running 9.2, and do not want to use dynamic sql to build my query. Any Ideas out there as to the cause of this error?I did find a workaround to this issue by breaking the decode statment into three separate statement, but I still think that the way it is written above should work, and may be a bug, or an error that I don't understand fully.
The Order by was rewritten like this:
order by decode(pSort, 'Task_ID',Task_ID), decode(pSort, 'Display_Date', Display_Date),
decode(pSort, 'Remark_ID',Remark_ID);
Thanks -
XML Publisher Error with reports published in XML publisher
Hi All,
I am geting the following error with a report published using XML Publisher
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
How can i Rectify this?Hi Ark,
In order to generate a report using xml publisher. we need the following.
1. XML Data
2. Template file (RTF/PDF/..)
XML data will not be created by the template file.
We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
Thanks,
K.Nataraja Suthan, -
Graphic problems/errors with Mainstage 3 and MBP (15'' 2011)
Hi,
I bought Mainstage 3 for my MBP (15'' 2011).
When i click con "perform" i get graphic errors.
I have the same issue with the old Mainstage version since Mountain Lion.
Also a fresh installation didn't help.
I think i'm not the only one with this issue!
I don't know how to report a bug?
Perhaps someone can help me.
(and I'm probably not the only one (see feedback in Apple Store) If you also have this problem, please add a comment with your configuration (Hardware, Software))
/forgotten ebi
So, here an example how it looks like when i click on "perform":Same configuration,same problem. BUT I found a workaround.
Mainstage has this error with the AMD video card and/or a second monitor connected.
With a little app (http://gfx.io) it's possible to really force the MBPro to use the Intel Graphics card.
This will work only with the internal screen, not with a second screen connected.
And sometimes you need to restart, to really make the Intel video card free.
This works fine...In the meantime of a fix. -
HI BI gurus,
we have a problem with an infoset.
We create an infoset in RSA1 linked to a cube and a DSO.
We activate it in english without problems and I can create a query with no errors (with a english logon).
If I try to create a query in italian language the query designer show mw this error: " unexpected error - RCF_SYSTEM_FAILURE. You must restart the query designer."
Do you have any idea how to fix and solve this problem? We try to activete the infoset in Italian but the error remains.
Thanks for any help.
SBHi,
is italien installed as a language in your system?
Siggi -
I took a lot of pictures and video on my recent trip to Ireland. Now I am trying to download the photos and videos from my iphone to my mac - iphoto. I have tried 3 times and each time (at a different point) I get a message telling me that there was an error with one of my photos and it wont load the pictures. Help!!
Try using Image Capture to download to a folder on the Desktop. If there's a damaged file on the iPhone that's preventing the download you can isolate it with Image Capture and then delete it from the iPhone.
-
Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1
I am learining to build CAF apps in Developer Studio in NW CE 7.1. Here are my steps and the errors I am getting:
Open Developer Studio
Switch to the CA perspective
File->New->Project
Choose Development Component under Development Infrastructure
Press Next
Choose Composite Application under sap.com
Choose MyComponents[demo.sap.com] under 'Local Development'
Vendor: demo.sap.com
Name: carpool
Caption: Car Pool
Language: American English
Domain: SAP-xApps
Support Component: CAF-APP (typed in, not chosen)
Press Finish
The following error appears:
Status ERROR
Plugin : com.sap.ide.metamodel.core.services.eclipse
code=0
Internal error
Plugin name: Metamodel Core
Internal error : com.sap.ide.metamodel.core.services.eclipse
Class : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
Method : computeIdeJarProperties
Message : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
Exception : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:70)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install.
Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
The deployment of the archive failed with an exception!
([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
occurred while sorting the deployment batch items regarding the
dependencies.;nested exception is:
com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
found for the following deployment items:
1. Component: name:'carpool~ear',vendor:'my.company',location:
'localDevelopment',version:'20080501110329',software type: 'J2EE',
dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
'cafcoreear',vendor:'sap.com']
Unresolved dependency:
name:'cafruntimeear',vendor:'sap.com' (not found in the admitted
batch items and the repository)
Unresolved dependency:
name:'cafcoreear',vendor:'sap.com' (not found in the admitted
batch items and the repository)
Please check the error log for further informations.
Again, this looks like I am missing some components.
Any assistance is greatly appreciated.
TBFurther developments: As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time. In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated. Does anyone know how I can change the lookup directory for this dependency (or any dependency)?
Thanks,
TB -
PeopleSoft XML Publisher report error with java.io.FileNotFoundException
Hi,
I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
[012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
[012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
at java.io.FileInputStream.<init>(FileInputStream.java:89)
at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.We encounter the same problem. Did you get the answer for this issue? Thanks in advance.
-
when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
if you can help me thank's
[email address removed by host]thank's for reply and your help
i did the step's that you told me but i still have the same problem
i have the latest v.11.0.7
i
i disable the protected mode
Maybe you are looking for
-
Ok so my MacBook Pro shuts itself down and restarts at least 4 times a day. Usually this happens when im away from my computer and its been idle or sleeping or whatever it does, however just 30 minutes ago this happened while i was using it and then
-
Is it possible to add a UDF in province/states table?
Hi, Basically I would like to add a default tax code for each province/state, I think it should be a UDF in province table. But I can't find where I can add this UDF in UDF management form. Any idea? Thanks! Lan
-
Hi There: I am having a problem where pdf files on the web (i.e., links in a Word doc) open after an extended time and only as gobbldygook ( a file containing a series of characters and letters that make no sense). This also happens for another Mac
-
How do I set my numbers to automatically add comma separators at thousand increments?
I make a lot of charts with large numbers and it's time consuming to add all the commas every time. For example 1,234,567 instead of 1234567. I need the formula to work for all sizes of numbers.
-
So Im trying to locate specific RAM for my computer. Is there a way to type in a serial number and find out which RAM specifically I would need? Sorry if this is in the wrong forum.