Generate a process which generates pdfoutput
Hi
i want to automate generating pdf with output..
until yet i call as a web service OutPutService in my dotnet application
in this application i merge a file.xdp with a file.xml. As there are several record in my file.xml the result is several file.pdf.
until yet it is ok.
But i want to automate this process by create a process in workbench.
i want this process to generatePDFOutput with file.xml and file.xdp in input and i want this process to permit me to count all the pdf file which are generated, the date of creating file and at the end of the process, it should be send an email to user that inform the user of the number of pdf generated and the date of creating.
i am a very beginner and i don't know (even with the quickstart creating process) what to do and how to begin.
i created a process with generatingpdf operation but i don't know how to count the number of pdf generated.
thanks for help
it's ok when i call output service and i set render option generate multi file = true and recordname = name_element and i put <batch> </batch>
in the beginning end end of my xml file it's running.
My problem is that i want to create a process with operation generatepdfOutput and something in this process should count the number of pdf generate and when all is generate it should send a email to a user provide in input.
actually i am far for that because just create a process with generatePdfOutput seems to be impossible!!!!
when i invoke the process and give the parameter i have a probleme with one of them : dataxml which should give the path of the xml file which contain the data.
in my process i define xmldata as a variable document input and i do that in my code :
BLOB inData = new BLOB();
String inPutFile = "C:\\creerPdf\\PurchaseOrder.xml";
FileStream fs = new FileStream(inPutFile, FileMode.Open);
int longueur = (int)fs.Length;
Byte[] byteArray = new byte[longueur];fs.Read(byteArray, 0, longueur);
inData.binaryData = byteArray;
BLOB generatePDFOutputMetaDataDoc = new BLOB();
BLOB generatePDFOutputResultDoc = new BLOB();
OutputResult outResult = new OutputResult();
EssaiOutputService essaiOutput = new EssaiOutputService();essaiOutput.Url +=
"?blob=base64"
;essaiOutput.Credentials =
new System.Net.NetworkCredential("administrator", "password");generatePDFOutputMetaDataDoc = essaiOutput.invoke(
"c:\\creerPdf", inData, "BonCmdeDynamiq.xdp", out outResult, out generatePDFOutputResultDoc);
and it renders this error :
ALC-DSC-127-000: com.adobe.idp.dsc.LongLivedInvocationException: The Long Lived Service EssaiOutput can not be invoked synchronously.
is somoene knowing what it is wrong?
Similar Messages
-
Processes in v$process which do not exist in v$session(help)!!
Hi, all.
The database is 2 node RAC database (10.2.0.2.0)
on 32 bit windows 2003 EE SP1.
Our database is suffering "CKPT hang" from time to time.
I checked v$process and v$session on both node by the following sql.
select addr,pid,spid,username, program
from v$process
where addr not in (select paddr from v$session)
ADDR PID SPID USERNAME PROGRAM
56E2 1 PSEUDO
56E2 18 3984 SYSTEM ORACLE.EXE (D000)
56E2 19 4020 SYSTEM ORACLE.EXE (S000)
56E2 27 3176 SYSTEM ORACLE.EXE (PZ99)
56E3 39 2296 SYSTEM ORACLE.EXE (PZ97)
●select * from v$px_process
SERVER_NAME STATUS PID SPID SID SERIAL#
PZ97 AVAILABLE 39 2296
PZ99 AVAILABLE 27 3176
●select * from V$PX_SESSION
--> no rows
●select slave_name,status from v$pq_slave
SLAVE_NAME STATUS
PZ97 IDLE
PZ99 IDLE
I found the above processes which do not exist in v$session.
Is this normal??
Thanks and Regards.
Message was edited by:
user507290Hi,
>>I can see incomplete checkpoint message in alert log files.
This message indicates that Oracle wants to reuse a redo log file, but the current checkpoint position is still in that log. In this case, Oracle must wait until the checkpoint position passes that log. In fact, the "checkpoint not complete" messages are generated because the logs are switching so fast that the checkpoint associated with the log switch isn't terminated. Oracle stops processing until the checkpoint completes successfully.
In this case, normally you need to increase the size of the redo logs or add more redo log groups. Take a look on http://www.dbazine.com/oracle/or-articles/foot2
Now, as you said that the current redo size is 2 GB, how frequently redo log switch's occurs in the database ? See the SQL's below:
Log Switching Distribution
select to_char(first_time,'DD/MM/YYYY') day,
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'00',1,0)),'999') "00",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'01',1,0)),'999') "01",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'02',1,0)),'999') "02",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'03',1,0)),'999') "03",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'04',1,0)),'999') "04",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'05',1,0)),'999') "05",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'06',1,0)),'999') "06",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'07',1,0)),'999') "07",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'08',1,0)),'999') "08",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'09',1,0)),'999') "09",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'10',1,0)),'999') "10",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'11',1,0)),'999') "11",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'12',1,0)),'999') "12",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'13',1,0)),'999') "13",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'14',1,0)),'999') "14",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'15',1,0)),'999') "15",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'16',1,0)),'999') "16",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'17',1,0)),'999') "17",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'18',1,0)),'999') "18",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'19',1,0)),'999') "19",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'20',1,0)),'999') "20",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'21',1,0)),'999') "21",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'22',1,0)),'999') "22",
to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'23',1,0)),'999') "23",
sum(1) "TOTAL_IN_DAY"
from v$log_history
group by to_char(first_time,'DD/MM/YYYY')
order by to_date(day);
Average Switch Time
select to_char(first_time,'DD/MM/YYYY HH24')||':00:00' "Time",
count(*) "Nbswitch",
trunc(60/count(*),1) "Average switch time(minutes)",
count(*)*rsize "EstimateSize"
from v$log_history, (select sum(bytes/1024/1024)/count(*) rsize from v$log)
group by to_char(first_time,'DD/MM/YYYY HH24'),rsize
order by to_date(to_char(first_time,'DD/MM/YYYY HH24'), 'DD/MM/YYYY
HH24')desc;In addition, If you have access on Oracle Metalink, see the Note:147468.1 about Checkpoint Tuning and Troubleshooting Guide.
Cheers -
I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.
In particular, I am analyzing the example "Even Angle Reference Signal Processing (Digital Tacho, DAQmx).vi", whose documentation I am reproducing in the following:
<B>DESCRIPTIONS</B>:
This VI demonstrates how to extract even angle reference signals and remove the slow-roll errors. It uses DAQmx VIs to acquire sound or vibration signals and a digital tachometer signal. This VI includes a two-step process: acquire data at low rotational speed to extract even angle reference; use the even angle reference to remove the errors in the vibration signal acquired at normal operation.
<B>INSTRUCTIONS</B>:
1. Run the VI.
2. On the <B>DAQ Configurations</B> tab, specify the <B>sample rate</B>, <B>samples per channel</B>, device and channel configurations, and tachometer channel information.
<B>NOTE</B>: You need to use DSA PXI-447x/PXI-446x and PXI TIO device in a PXI chassis to run this example. The DSA device must be in slot 2 of the PXI chassis.
3. Switch to <B>Extract Even Angle Reference</B> tab. Specify the <B>number of samples to acquire</B> and the <B># of revs in reference</B> which determines the number of samples in even angle reference. Click <B>Start</B> to take a one-shot data acquisition of the vibration and tachometer signals. After the acquisition, you can see the extracted even angle references in <B>Even Angle Reference</B>.
4. Switch to the <B>Remove Slow-roll Errors</B> tab. Click <B>Start</B> to acquire data continuously and view the compensate results. Click <B>Stop</B> in this tab to stop the acquisition.
<B>ORDER ANALYSIS VIs USED IN THIS EXAMPLE</B>:
1. SVL Scale Voltage to EU.vi
2. OAT Digital Tacho Process.vi
3. OAT Get Even Angle Reference.vi
4. OAT Convert to Even Angle Signal.vi
5. OAT Compensate Even Angle Signal.vi
My question is: How is the synchronization produced at the time of the compensation ? How is it possible to eliminate the errors in a synchronized fashion with respect to the surface of the shaft bearing in mind that I am acquired data at a low rotation speed in order to get the "even angle reference" and then I use it to remove the errors in the vibration signal acquired at normal operation. In this application both operations are made in different acquisitions, therefore the reference of the correction signal is lost. Is it simply compensated without synchronizing ?
Our application is based on FPGA and we need to clarity those aspects before implementing the procedure.
Solved!
Go to Solution.Hi CracKatoA.
Take a look at the link bellow:
http://forums.ni.com/ni/board/message?board.id=170&message.id=255126&requireLogin=False
Regards,
Filipe Silva -
Configuring JMS adapter for a BPEL process which puts a msg in a Q of MQ
Hi,
I am trying to develop a BPEL process which picks up a message from a Q in Websphere MQ and puts that message in another Q of MQ after processing that.
I have updated the oc4j-ra.xml with the following inputs:
<connector-factory location="eis/MQSeries/Queue" connector-name="Jms Adapter">
<config-property name="connectionFactoryLocation" value="com.ibm.mq.jms.MQQueueConnectionFactory"/>
<config-property name="factoryProperties" value="QueueManager=TestManager;TransportType=1;Hostname=machine's ip address;Port=1414;Channel=channel name for connecting to client"/>
<config-property name="acknowledgeMode" value="AUTO_ACKNOWLEDGE"/>
<config-property name="isTopic" value="false"/>
<config-property name="isTransacted" value="true"/>
<config-property name="username" value="admin"/>
<config-property name="password" value="welcome"/>
</connector-factory>
But while testing the BPEL process, I get the error:
<remoteFault>
<part name="code" >
<code>null</code>
</part>
<part name="summary" >
<summary>file:/D:/OraBPELPM_2/integration/orabpel/domains/default/tmp/.bpel_MQMessaging_1.0.jar/Outbound.wsdl [ Produce_Message_ptt::Produce_Message(SourceEmployee) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: Adapter Framework unable to create outbound JCA connection. file:/D:/OraBPELPM_2/integration/orabpel/domains/default/tmp/.bpel_MQMessaging_1.0.jar/Outbound.wsdl [ Produce_Message_ptt::Produce_Message(SourceEmployee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12141 ERRJMS_CONN_FAC_NOT_FOUND. Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor com.ibm.mq.jms.MQQueueConnectionFactory neither through JNDI nor instantiate it as a Java class Please examine the log file to determine the problem. ; nested exception is: ORABPEL-12511 Adapter Framework unable to create outbound JCA connection. file:/D:/OraBPELPM_2/integration/orabpel/domains/default/tmp/.bpel_MQMessaging_1.0.jar/Outbound.wsdl [ Produce_Message_ptt::Produce_Message(SourceEmployee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12141 ERRJMS_CONN_FAC_NOT_FOUND. Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor com.ibm.mq.jms.MQQueueConnectionFactory neither through JNDI nor instantiate it as a Java class Please examine the log file to determine the problem. Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console. </summary>
</part>
<part name="detail" >
<detail>null</detail>
</part>
</remoteFault>
Can anyone tell me what has gone wrong in setting the connection factory for the Q or what else I have to configure to sort out this problem?
Thanks,
JayatuI am experiencing the exact same issue while configuring for Tibco EMS!!!
I have also checked the oc4j-xa.xml file etc and I am also unable to find any guidance on the steps required from XML config files through to adapter wizard entries! -
IView For GP - "Processes which I oversee"
We have a Business Requirement where the Business would like to see all the activities that's happening for a process. We are planning on assigning the user to "Overseer" role - But we do not want to give them the entire Runtime WorkCenter where they can initiate a new process as well. Is there any way we can launch the "Processes which I oversee" link (that's within the RTWC) directly via a iView without giving the users RTWC? We are in NW2004s SP09. Any help is appreciated!
Thanks!
- RaoHi Rao,
We also faced the same problem.
And We tried almost every iView provide by SAP . But we didn't find any result.
Runtime Work Center is one iView which contains all the Run Time information.
And the major drawback is that it contains link to 'Start a new Process' which is really horrible.
But somehow you can get related info by adding Run Time View named "Overview" to your process.
But this is again only useful if you are running single instance for process.
Regards,
Piyush -
How to Invoke bpel process which is deployed in weblogic using java code
Hi
I want to invoke a BPEL Process which is deployed in Weblogic server using Java code. Please provide me the code snnipet which will be used to connect and then invoke a BPEL Process.The simple way would be creating a java client to consume the SOAP webservice interface exposed by the bpel process.
If you have Oracle Service Registry you can also use UDDI to discover the endpoint at runtime.
But you can also use direct binding to do that.
If you search on internet you will find many blog entries about this as well as many related posts here on OTN.
I can't suggest a specific one, but looking on Google this one seems quite ok: Managing Oracle SOA Environment [10g/11g]: Invoking SOA11g Composite Using Direct Binding Invocation API -
[solved] To display Processes which are not running from constant process
i have constant processes prostat1,prostat2,prostat3,prosta4,prostat6,prostat8,prostat9 (6 processes) runs to support the application
Now my problem is
i want to display the process which is not running (from the above 6 processes)
Thanks in advanceTry this
echo "Constant processes not running"
echo
for PROC in prostat1 prostat2 prostat3 prostat4 prostat6 prostat8 prostat9
do
if [ ! "`ps -ef | grep $PROC | grep -v grep`" ]; then
echo $PROC
fi
doneBTW, those are 7....:-) -
Create a Rules Language process which add a XML payload
how to create a Rules Language process which add a XML payload in to the ICEPAYLOADEXT table??
Take a look at this post: How to send a request from MDM 1.6.1 to CC&B using JMS servers?
-
Trying to reinstall Acrobat Pro X from disc onto win 8.1 system. (Previous installation got corrupted) Continually getting message ‘Acrobat has detected another process which has not yet completed…’. Have now closed system both cold (full shutdown) and warm (restart) over 10 times. Every time I go to reinstall I get message.
I would run http://labs.adobe.com/downloads/acrobatcleaner.html and delete any Acrobat folders that have been created, then try again. Be sure to log in as the administrator and disable anti-virus when you have problems like this.
-
I keep getting an error message during step 5 of 7 in syncing process, which tells me I have to enter my password, so I do, but it can't finish syncing. Help!!
What EXACTLY does the message say?
-
Volume keys not working, what was the name of the process which controlled it?
Well because I hate programs that minimize my current window or stop what I'm currently doing.... I got really angry when HP support assistant minimized my tf2 window to tell me it was downloading updates.
As a result, I opened up the task manager and started ending almost every process which began with "hp"
Along with the the process which was probably in control of the very useful volume control buttons on my keyboard, so I was hoping if someone could give me the name of the process I ended so I can get these keys working again.
This question was solved.
View Solution.The program is called Quick Launch. It might be something like QLBCTRL.exe.
I am an HP employee.
Regards,
Vidya
Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
***Click on "Thumbs up" button to the bottom right side of my post to say thanks!*** -
My college wifi opens a pop-up in the login process, which my ipad is not allowing. how can i get to allow pop-ups in login process?
You may have pop-ups blocked.
Go to Settings>Safari and turn "Block pop-ups" off. You may needs to restart the ipad after turning off this settings if it doesnt work immediately -
To create workflow process which periodically examines one database table??
hi.......
plz tell me the complete details that how to create workflow process which periodically examines one database table??
also it will send email to specific address if certain condition is not fulfilled??
help is really appreciated
thanks nd regards
manish singlaHi,
I'd be wary of using a WAIT activity, since this will essentially have the workflow running forever in the same SQL session. If you ever need to shutdown the database, then you would have to kill the session (or do a shutdown abort), which will rollback all the Workflow transactional data.
I would leave the polling logic to a process outside the Workflow engine. In an Applications environment, this should be a Concurrent request. If this is standalone Workflow, then schedule something using DBMS_JOB. The job should check the database, and if necessary, initiate a new workflow to send the notification.
If the notification does not require a response, then I would be inclined to bypass Workflow competely, and have a job which calls UTL_SMTP to send an email.
HTH,
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com -
Creating a process which automatically generates Hiperlinks to a blog.
I would like to create a way to automatically generate hyperlinks to a blog from a pdf.
Example: In "A" pdf we have various articles from a magazine/newspaper, the generator analyze the pdf and creates links from tags linking to a (i. e.) blogspot blog where users may comment the article after reading it from the print/pdf .
I'm quite in difficulty and I really don't know where to start from...
if you have any idea what's so ever please help .
Thanks a lot.
ps. sorry for my english....italian learning schools are horrible!Hi Tommaso,
Here's what you should do:
- have a source file that contains your tags (typically an MS Word file)
- process your MS word file using the COM object model: analyze your file content and replace every tag by a hyperlink.
- generate a PDF file from your MS Word file, using a PDF converter that is able to properly handle hyperlinks in Office docs (Adobe PDFGenerator is one of these, but some PDF converters that use a printer driver or use a temporary postcript file do not convert hyperlinks)
-jerome -
Error during background processing which is created by Std.program RFBIBL00
Hi Gurus,
I am using standard program RFBIBL00 to generate batch session for the Tcode FB01.
My BDC is working fine , if i choose foreground or display error only option in SM35.But when i process the same session in
background it is giving error Field BSEG-DMBTR does exist in SAPMF05A 0302.
One more thing i want to point out when i process the session in forground or in display error only option
there i am getting information message Field BSEG-DMBTR does exist in SAPMF05A 0302. But for background due to same message i.e (Field BSEG-DMBTR does exist in SAPMF05A 0302) session processing is failed.
Actually through ZProgram data being uploaded to application server. Then i am executing std. program RFBIBL00 to generate session.And when i go to SM35 & choose the just created session for background processing,then processin i failed.
We have recently upgraded from 4.7 to ECC 6.0. Previously RFBIBL00 program is working fine but after upgrade it is not working.
Please give your valuable suggession.
Regards,
S C Patil.How are you related to this almost identical problem?
Field BSEG-DMBTR. does not exist in the screen SAPMF05A 0302
Thomas
Maybe you are looking for
-
Choosing a DVD burner replacement
I would like to ask Steve Grisetti (and Chuck) and other members of this Forum to assist me in replacing the original DVD burner (internal) On this Dell Dimension 4700 5 year old computer. (8x21w61, Windows XP) The cable is a ribbon cable that co
-
Agent Weightage in VSTS for Load test
Hi, 1- Could you let us know the Default Weightage assigned to Agents by Controller. 2- Could you please let us know if the assumption made in the below scenario is correct- Scenario - We need to run a Load test by simulating the Total load of 100 us
-
Hi; I have about 9000 missing or offline images according to my Lightroom3 software. However, they're not! I can see them in the folders on an external drive where Lightroom says they are not. I'm confused, baffled, fed-up! When I try to reimport the
-
Toplink Vs. JPA (Am I doing it right...)
Hi All, I am fairly new to Java & JSF and have a question regarding Toplink and JPA. Recently I attended an oracle training and the instructor said that JPA was the way to go, it's "Faster, simpler and more efficient" After my class I had an Oracle c
-
No 802.11n support in macbook pro leopard install
I upgraded my MacBook Pro to Leopard last week (and then updated to 1.5.1 yesterday) Other users here have claimed that they see 802.11n support in the Network utility (choosing en1 as the Network Interface). However, I do not. I only see a/b/g. I al