trouble with compiling to run the bi Publisher api
trying to compilepackage oracle.apps.xdo.common.pdf.util does not exist
where can I find it
package pdftester;
import java.io.File;
import java.util.Properties;
Import oracle.apps.xdo.XDOException;
Import oracle.apps.xdo.common.pdf.util.PDFDocMerger;
public class PDFMerger {}
public PDFMerger() {}
The output of the merged PDF document destination.
File outFile = new File("c:\\temp\\mergePDF.pdf");
To merge PDF documents.
File [] inpFiles = new file [2];
("inpFiles [0] = new File("c:\\temp\\1.pdf ");
("inpFiles [1] = new File("c:\\temp\\2.pdf ");
Create the instance of PDFDocMerger.
PDFDocMerger pdfMerger = new PDFDocMerger (inpFiles, outFile);
Set the property of security
Properties prop = new Properties ();
Prop.put ("PDF-Security", "true");
Prop.put (PDF-Open-Password "," Welcome");
pdfMerger.setConfig (prop);
Run the merge process.
try {}
pdfMerger.process ();
} catch (XDOException e) {}
e.printStackTrace ();
}
}
Public Shared Sub main (String [] args) {}
PDFMerger pDFMerger = new PDFMerger();
}
}
in the office, you will have
C:\Program Files\Oracle\BI Publisher\BI editor Desktop\TemplateViewer\lib
Add these lib to your class path, it will work.
Tags: Business Intelligence
Similar Questions
-
help on how to compile and run the awt programs
any1 can tell how to compile and run the awt programs
Published by: 863765 on July 18, 2011 03:29The same way you compile and run any other Java program.
-
Having trouble with a script distort the selection of items that are part of an envelope.
Hello, first assignment in time I hope I'm doing this correctly.
Basically I have a file that requires a modification of the text which is then exported and edited in Photoshop. I recently started experimenting with fake envelope because it gave me more control over the duration of my text boxes of documents, but when I run my script on the document, it fails to catch any text that is wrapped with a distortion of the envelope. I guess it's because the script is looking for managers of related texts and partly of a distortion of the envelope text becomes something else.
Thank you!
OK, this should do the trick...
Break and remake it!
var sel = app.activeDocument.selection; app.executeMenuCommand ('Release Envelope'); var sel2 = app.activeDocument.selection; for(var i = 0; i < sel2.length; i++){ if(sel2[i].typename == "TextFrame"){ sel2[i].contents = "new text for envelope"; } } app.executeMenuCommand ('Make Envelope');
-
Install HRCS9.0 with Linux question: run the script hrcs90ora.dms error
People,
Hello. I install HCM and Campus Solution 9.0 with Internet Architecture PT8.53/WebLogic11g/Tuxedo11g/OracleDataBase11g.
My macine server is Oracle Linux 5.10 and Windows XP-based Client computer.
In the Oracle database Linux 5.10 Server machine, what instance HRCS90 configuration, select Demo or system, the next step "select PeopleSoft Applications" has only a single element:
(1) PeopleSoft HRCS Demo Database - US English.
I select this option to run the Wizard "setup.sh" that alters the scripts 'createdb10.sql, utlspace.sql, hrcddl.sql, dbowner.sql, psroles.sql, psadmin.sql and connect.sql. Then I executed 7 SQL scripts > one by one in Linux. Then need to load Windows XP data in the Oracle Linux 5.10 DB HRCS90 instance.
After you have installed the Windows of HCM and Campus Solution 9.0 version in Windows XP with PT8.53 and log in Data Mover, I create the hrcs90ora.dms script, there's a step like below:Select the PeopleSoft Application
(1) PeopleSoft HRCS Database - US English
(2) PeopleTools System Database - US EnglishI select "PeopleSoft HRCS Database - English American". When run the hrcs90ora.dms script, the error message as below:
Release of Data Mover: 8,53
Database: HRCS90 (ENG)
Input file: C:\PT8.53\data\hcengs.db (ENG)
Import AAP_ETHNIC_PMPT
Import AAP_ETHNIC_PMPT 0
Update statistics for AAP_ETHNIC_PMPT
The remaining records: 21003
Import AAP_TBL
Create Table AAP_TBL
Import AAP_TBL 0
Indices of real estate required for AAP_TBL
-SQL error. Position of the error: return 66: 959 - ORA-00959: tablespace "PSINDEX" does not exist
UNIQUE INDEX CREATE PS_AAP_TBL WE PS_AAP_TBL (ESTABID) TABLESPACE PSINDEX STORAGE (40000 INITIAL FOLLOWING 100000 MAXEXTENTS UNLIMITED PCTINCREASE 0) PCTFREE 10 PARALLEL NOLOGGING
Error: Unable to process create for AAP_TBL statement
Spaces SQL: 0 tables: triggers 1: index 0: 0 views: 0Unsuccessful end
But when again, run the hrcs90ora.dms script, the error is a party for the current record and goes to the next record. I ran the scripts 10 times and get the following result:
Release of Data Mover: 8,53
Database: HRCS90 (ENG)
Input file: C:\PT8.53\data\hcengs.db (ENG)
Import AAP_ETHNIC_PMPT
Import AAP_ETHNIC_PMPT 0
Update statistics for AAP_ETHNIC_PMPT
The remaining records: 21003
Import AAP_TBL
Import AAP_TBL 0
Update statistics for AAP_TBL
The remaining records: 21002
Import AAP_TBL_LNG
Import AAP_TBL_LNG 0
Update statistics for AAP_TBL_LNG
The remaining records: 21001
Import AAP_YEAR
Import AAP_YEAR 0
Update statistics for AAP_YEAR
The remaining records: 21000
Import AAP_YEAR_GOALS
Import AAP_YEAR_GOALS 0
Update statistics for AAP_YEAR_GOALS
The remaining records: 20999
Import AAP_YEAR_JG_GLS
Import AAP_YEAR_JG_GLS 0
Update statistics for AAP_YEAR_JG_GLS
The remaining records: 20998
Import AAP_YEAR_JOBGRP
Import AAP_YEAR_JOBGRP 0
Update statistics for AAP_YEAR_JOBGRP
The remaining records: 20997
Import AA_COMPARE_JPN
Import AA_COMPARE_JPN 0
Update statistics for AA_COMPARE_JPN
The remaining records: 20996
Import AA_CONV_JPN_AET
Import AA_CONV_JPN_AET 0
Update statistics for AA_CONV_JPN_AET
The remaining records: 20995
Import AA_COST_RT_JPN
Import AA_COST_RT_JPN 0
Update statistics for AA_COST_RT_JPN
The remaining records: 20994
Import AA_CR_EFFDT_JPN
Create Table AA_CR_EFFDT_JPN
Import AA_CR_EFFDT_JPN 0
Indices of real estate required for AA_CR_EFFDT_JPN
-SQL error. Position of the error: return 103: 959 - ORA-00959: tablespace "PSINDEX" does not exist
UNIQUE INDEX CREATE PS_AA_CR_EFFDT_JPN WE PS_AA_CR_EFFDT_JPN (EMPLID, EMPL_RCD, EFFDT DESC) TABLESPACE PSINDEX STORAGE (40000 INITIAL FOLLOWING 100000 MAXEXTENTS UNLIMITED PCTINCREASE 0) PCTFREE 10 PARALLEL NOLOGGING
Error: Unable to process create for AA_CR_EFFDT_JPN statement
Spaces SQL: 0 tables: triggers 1: index 0: 0 views: 0Unsuccessful end
My questions are:
First of all, means "PeopleSoft HRCS Demo Database" in Linux and "PeopleSoft HRCS database" in Windows causes the error above? How to solve the error above?
Secondly, when I created PeopleTools 8,53 Database Instance PT853, I'm not running the 'ptddl.sql' script, which creates many storage areas. It causes the error above? I need to run "ptddl.sql" for example PT853?
Thank you.Probably, you set the init parameter db_files too low. As I remember, it is recommended and default to 1024 1021 on the Peoplesoft database. This is a static setting, change the value and it will restart the database.
Nicolas.
Post edited by: Nicolas.Gasparotto
-
CLASSPATH for running the IOM external API
Hello
Can I please know the names of the JAR which is required to be included in the classpath to run the following code:
import com.thortech.util.logging.Logger;
import java.util.HashMap;
import java.util.Hashtable;
Import Thor.API.tcResultSet;
Import Thor.API.tcUtilityFactory;
Import Thor.API.Exceptions.tcAPIException;
Import Thor.API.Exceptions.tcChallengeNotSetException;
Import Thor.API.Exceptions.tcColumnNotFoundException;
Import Thor.API.Exceptions.tcLoginAttemptsExceededException;
Import Thor.API.Exceptions.tcPasswordExpiredException;
Import Thor.API.Exceptions.tcPasswordResetAttemptsExceededException;
Import Thor.API.Exceptions.tcUserAccountDisabledException;
Import Thor.API.Exceptions.tcUserAccountInvalidException;
Import Thor.API.Exceptions.tcUserAlreadyLoggedInException;
Import Thor.API.Operations.tcUserOperationsIntf;
import com.thortech.xl.util.config.ConfigurationClient;
import java.lang.System;
public class SearchUserAttribs
{
public SearchUserAttribs()
{
}
Public Sub findUser() throws tcColumnNotFoundException, tcAPIException,.
tcChallengeNotSetException,
tcLoginAttemptsExceededException,
tcPasswordResetAttemptsExceededException,
tcPasswordExpiredException,
tcUserAccountDisabledException,
tcUserAccountInvalidException,
tcUserAlreadyLoggedInException
{
Config ConfigurationClient.ComplexSetting = ConfigurationClient.getComplexSettingByPath ("Discovery.CoreServer");
Hashtable env = config.getAllSettings ();
tcUtilityFactory ioUtilityFactory = new tcUtilityFactory (env, "xelsysadm", "test1234");
tcUserOperationsIntf userIntf = (tcUserOperationsIntf) ioUtilityFactory.getUtility ("Thor.API.Operations.tcUserOperationsIntf");
String userId = "[email protected]";
UserMap HashMap = new HashMap();
userMap.put ("usr_login", username);
Try
{
tcResultSet userSet = userIntf.findUsers (userMap);
System.out.println ("ROWS" + userSet.getRowCount ());
for (int i = 0; i < userSet.getRowCount (); i ++)
{
userSet.goToRow (i);
Take long = userSet.getLongValue ("Users.Key");
System.out.println ("take::" + take);
}
} catch (tcAPIException e)
{
throw new RuntimeException ("Unable to create instance API" + "instance", e);
}
}
Public Shared Sub main (string args []) throws tcColumnNotFoundException, tcAPIException,
tcChallengeNotSetException,
tcLoginAttemptsExceededException,
tcPasswordResetAttemptsExceededException,
tcPasswordExpiredException,
tcUserAccountDisabledException,
tcUserAccountInvalidException,
tcUserAlreadyLoggedInException
{
System.setProperty ("XL. HomeDir","/usphlsoweb07/u13/sg20/app/mwora/10.3.0/oim/xellerate/");
System.setProperty("java.security.auth.login.config","usphlsoweb07.sas.sungardrs.com/u13/sg20/app/mwora/10.3.0/oim/xellerate/config/authwl.conf");
System.setProperty("java.security.policy","/usphlsoweb07/u13/sg20/app/mwora/10.3.0/oim/xellerate/config/xl.policy");
System.setProperty("log4j.configuration","/usphlsoweb07/u13/sg20/app/mwora/10.3.0/oim/xellerate/config/log.properties");
private static Logger LOGGER = Logger.getLogger ("Xellerate.WebApp");
SUA SearchUserAttribs = new SearchUserAttribs();
sua.findUser ();
System.out.println ("back to the function of hand");
}
}
I'm getting many errors of shit just because of the classpath associated with logging and thor.api exceptions. Please let me know.
Thank you
-oidm.Try the link below.
-
Impossible to compile and run the project
Hello
Last night, my project ran and deployed to the alpha of dev without problem.
This morning (and the only thing I've done is changed my icon and splash screen) it just sits there at 91%. When you look at the progress window there are two progress bars:
1 says Syncing and application startup
2 said launch myapp (blocked: user operation is pending of "" to complete).
This eventually give up and display a dialog window:
There is problem
Synchronization and application startup
Deployment failed: Info: request shipment: install and launch
News: Native on debugging
Information: size of the 648916759 file
Info: installation
Info: Treatment 648916759 bytes
News: Progress 0%...
News: Advance 4%...
Info: 99% progress
actual_id:
actual_version:
result: failure 812/var/tmp/cgic247239: duplicate member name ' native/MyAppName '.
It's that last line that concerns me.
Any ideas what is happening? My other projects compile and deployment very well. I tried to use the device-debug and release. I rebooted the PC and dev alpha and even delete the running configs so that they recreated
Thank you very much
After more digging, I came across http://supportforums.blackberry.com/t5/Cascades-Development/App-Wont-Launch/m-p/1955639/highlight/tr...
I also tried to create a new project, but the problem persisted. But what it show me was a warning in the bar file descripter. The assets he suggested I had a duplicate png file. The assets tab listed my assets folder (where the image was in fact), but it was also alongside icon.png. So I removed that in the list and hey presto - all is well again.
-
How can I sync my ipad and iphone with my PC running the software microsoft etc. ?
above problem
You can try this app that should work with firefox sync: https://itunes.apple.com/us/app/bookmarks-on-the-go/id550037184
-
Works fine on the desktop. Customer now has this on their website and the buttons save as now do not work in different browsers... IE 8, Chrome, etc. Any suggestions?
Hello Cara,
Please refer to this link Why doesn't the submit button work on my PDF form?.
Kind regards
Nicos
-
Regarding the BI Publisher API
Hi all
Y at - it no other java api which will convert RTF to XSL - FO file, as I previously used class model and model support for download RTF to XML Publisher and get the XSL - FO output, but that seems to be not support forms (Rectangle or square, etc.) in the RTF document.
So, I need any other API that will do that.
Thank you.Yes you are right, the forms are not supported in 5.0. I can't tell if they are supported in 5.6.2. You really need to upgrade. I suspect that your not on 11.5.10, your 11.5.9 on.
-
Run the statement in a stored procedure with Out parameters and
Hi all
I have a stored procedure that calls a select statement. Here it is...
CREATE OR REPLACE PROCEDURE BLABLA_VIEW_PROCEDURE
* (BLABLA_KEY IN NUMBER, *)
XML_OUTPUT ON VARCHAR)
AS
BEGIN
SELECT SYS. XMLTYPE.getStringVal (OBJECT_VALUE) in XML_OUTPUT FROM BLABLA_VIEW WHERE extractValue (OBJECT_VALUE, ' / BLABLA_TYPE/BLABLA_KEY ') = 2876;
END;
Is to have both IN and OUT parameters as described above. I am able to compile and run the procedure.
The problem I want to share with everyone is...
I want to run the stored procedure together with a single EXEC command.
I tried different ways using the EXEC command but of no use.
Could someone help me?
Thanks in advance.
Published by: user10763276 on June 3, 2010 15:47Please visit the following...
sudhakar@ORCL>CREATE OR REPLACE PROCEDURE BLABLA_VIEW_PROCEDURE 2 (BLABLA_KEY IN NUMBER, 3 XML_OUTPUT OUT VARCHAR) 4 AS 5 BEGIN 6 XML_OUTPUT := BLABLA_KEY || ' and whatever else...'; 7 END; 8 / Procedure created. sudhakar@ORCL> sudhakar@ORCL>var XML_OUTPPUT varchar2(100); sudhakar@ORCL>exec BLABLA_VIEW_PROCEDURE (9151, :XML_OUTPPUT); PL/SQL procedure successfully completed. sudhakar@ORCL>print XML_OUTPPUT; XML_OUTPPUT -------------------------------------------------------------------------------- 9151 and whatever else... sudhakar@ORCL>
Post tells you...
var OUTPUT VARCHAR exec BLABLA_VIEW_PROCEDURE (9151, :OUTPUT); print OUTPUT
VARCHAR is not a valid TYPe to declare. Use VARCHAR2 (nnn) where nnn is a number.
VR,
Sudhakar B. -
I had a update to my Photoshop CC this morning, after having updated, I now have the following Windows message: "this application cannot run on your PC" 'to find a version of your PC, check with the software publisher. No error code not nothing. Anyone else is and you know what?
No doubt sounds like something went kablooey; I updated my copy of CC PS this morning without any problems on Windows 10. Try a complete uninstall/reinstall again?
-
Problem running the report with the Web Service and BI Publisher
Hello
In fact, I'm trying to run a report of Bi Publisher via the Web Service.
I use the following documents:
-http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
-"How to integrate Oracle BI Publisher via Web Services in the form of Oracke.
Everything works fine. But when I try to copy the file on the local computer is 0 length. I use the method of "getReportBytes".
Here's the code I tried with:
String userName = "Administrator";
String password = "Administrator";
System.out.println ("calling" + myPort.getEndpoint ());
System.out.println (myPort.validateLogin (username, Password));
ReportRequest repReq = new ReportRequest();
RepRes ReportResponse = new ReportResponse();
repReq.setAttributeFormat ("pdf");
repReq.setAttributeLocale("en-US");
repReq.setAttributeTemplate ("sales world");
repReq.setReportAbsolutePath ("/ Sales Manager/World Sales/World Sales.xdo");
repRes = myPort.runReport (repReq, userName, passWord);
System.out.println (repRes.getReportContentType ());
Byte [] binaryBytes = repRes.getReportBytes ();
OutputStream out = new FileOutputStream ("D:
out.pdf");
out. Write (binaryBytes);
out. Close();
System.out.println ("success for performance report');
Thanks in advance.Hello
I assume you are using 10.1.3.4. Otherwise, my index is not relevant to you...
There is a new parameter in the web service API to set the size of the segment. HéLas is by default not so, the behavior is as in versions (not size segment... the entire document at once). If you set the size of segment-1, you should get your document. So, try adding
repRequest.setSizeOfDataChunkDownload(-1);concerning
Rainer -
I recently bought a cDAQ-9172 with several modules. One of the modules is a NI 9481 relay module. I created an application using Labview and built an exe file. If I run the exe on the computer, it was developed on the relays work properly, that is, they remain locked up until their status is changed. If I run the same exe on a computer with only the Labview runtime installed (no software installed), the pulse relay contacts and not locked. I'm using Labview version 7.1 for my development and execution. Everyone knows about this problem?
Ignore this announcement, the error stems from a difference between each computer ini-files and has nothing to do with the Labview Labview runtime vs, my bad developer.
-
Lenovo X120e in trouble with the system update
Hi, I am building a brand new X120e (0596) with an AMD E-350, 4 GB of RAM I have loaded with X 64 Win 7 Enterprise. Everything is fine, but whenever I try to run the Lenovo system update I get the message: "the server to update the system is currently unavailable. Please try again later. "Normally I just wait a day and try again, but I've waited three days and tried every day and still not the same error. Also I tried to download things like the Manager of power and integration of hotkey directly from Lenovo, and while they install although they do not work properly. The power manager does not detect the battery and the shortcut keys work only partially. Usually after I get 'not available' error I try to use the update of the system on a 301 x and a t41 I have and it works on both. Also I had similar trouble on an older 120 x I have rebuild after the user filled the HARD disk with spam and viruses, but I attributed the problem to the reconstruction. This is a brand new fresh out of the box of Lenovo machine. Any ideas?
Final update; I'll just recreate the image with Win7 Pro. The features I wanted in Ent do not work in all cases and I have Lenovo Tech Support suggests the redefinition thus. So thank you for all your help in any case.
-
We have lookout Integrator 5.1 license and we make any changes to this license. now, we had bought the time of lookout Server 6.5 only run. We want to use the compiler CBL to compile the lookout 5.1 file to get the lookout6.5 file. We are able to convert the file with the CBL compiler and generated the l4p, L4t & LKA file also. There is no error in the error file generated by the compiler CBL. but we are not able to keep the value in the lookout 6.5 file and all values are enabled by default everything by restarting the process file. Please suggest the solution for reatined last values in this case.
Thanks for the solution.
Maybe you are looking for
-
Enabling OAuth2 on GMail account existing (bug 1176773)
I just upgraded to Thunderbird 38.0.1 version 37.something, and I can't seem to get to work with my existing GMail account OAuth2. My settings are:Username: [email protected]: imap.google.comPort: 993Security: SSL/TLSAuthentication: Normal p
-
How to make BIGGER right scrolling?
I just want to make the scroll bar BIGGER - NOT "toolbars" that keeps popping up.
-
Black Mesh for bike 360 compatible watch straps
Hello I have a 360 motorcycle and I want to get a watch band mesh black steel for her I love their way of seeing and I think it would look really nice with the bike 360, the only problem is that I heard the 360 has these "notches" bike, which means t
-
I install 4 cod error 80244022 updates
I install 4 cod error 80244022 updates
-
Windows Installer installation of XP SP3 test software
I've upgraded to SP3 and for some reason any Windows Installer started trying to install some of the test provided with the computer software. How can I stop this? He asked for me to insert a disc, I did not. With the help of McAfee security and ha