IndexOutOfBoundsException with BPEL FTP adapter
I am running SOA Suite 10.1.3.4 on WebLogic Server 9.2, and have deployed a simple test BPEL process that is using the FTP adapter to poll for files on a remote SFTP server, retrieve the opaque payload, then copy it to a destination file on another SFTP server. For small files this works fine. For larger files (e.g., a 3.5MB file with ~25000 fixed-length records) I get the following in my OracleSOAServer.log file:
===========================================
java.lang.IndexOutOfBoundsException
at java.io.ObjectInputStream.read(ObjectInputStream.java:822)
at oracle.xml.comp.CXMLStream.ensureReadCapacity(CXMLStream.java:1673)
at oracle.xml.comp.CXMLStream.readChars(CXMLStream.java:1324)
at oracle.xml.comp.CXMLStream.readUTF(CXMLStream.java:870)
at oracle.xml.parser.v2.XMLText.readExternal(XMLText.java:905)
at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2853)
at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
at oracle.xml.parser.v2.XMLDocument.readExternal(XMLDocument.java:3394)
at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:345)
at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2580)
at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:933)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:526)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleInvoke(CubeDeliveryBean_yt19iq_ELOImpl.java:931)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
<2009-03-06 00:12:12,931> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-09222
Cannot deserialize DOM element.
Failed to deserialize the DOM element from binary format, the document id c4ee9a6854f6381d:-649649f8:11fda9c39f2:-7fcb. The exception reported is
at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:355)
at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2580)
at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:933)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:526)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleInvoke(CubeDeliveryBean_yt19iq_ELOImpl.java:931)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Exception: ORABPEL-09222
Cannot deserialize DOM element.
Failed to deserialize the DOM element from binary format, the document id c4ee9a6854f6381d:-649649f8:11fda9c39f2:-7fcb. The exception reported is
Handled As: com.collaxa.cube.CubeException
ORABPEL-00000
===========================================
This happens immediately after the polling FTP adapter picks up the file. The IndexOutOfBoundsException is particularly troubling...is this error solely a function of memory (no OutOfMemory exception is being thrown), or is some other factor at work here? Any insights are appreciated.
Thanks,
--Gary
Hi Anirudh,
Thanks for the response. To clarify: my BPEL process starts with a Receive activity (with "createInstance" set to "yes"), which is receiving from an FTP Adapter PartnerLink. This PartnerLink is polling for a file on an SFTP server. When this file is present, and is relatively small, the whole BPEL process completes successfully. When it is of a larger size, I get the error described in my original post. The cause of the indexOutOfBoundsException is what I'm trying to determine. Here is the source for my BPEL process:
===================================
<?xml version = "1.0" encoding = "UTF-8" ?>
<!--
Oracle JDeveloper BPEL Designer
Created: Tue Mar 03 17:01:11 GMT-07:00 2009
Author: Gary
Purpose: Empty BPEL Process
-->
<process name="KFS_CNV_OpaqueFileRouting"
targetNamespace="http://xmlns.oracle.com/KFS_CNV_BPEL_OpaqueFileRouting"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
queryLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
abstractProcess="no" enableInstanceCompensation="no"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns7="http://xmlns.oracle.com/pcbpel/adapter/ftp/ReceiveInputFile/"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/file/"
xmlns:client="http://xmlns.oracle.com/KFS_CNV_BPEL_FileRouting"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:ns8="http://xmlns.oracle.com/pcbpel/adapter/ftp/WriteOutputFile/">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<partnerLinks>
<partnerLink myRole="GetFile_role" name="ReceiveInputFile"
partnerLinkType="ns7:GetFile_plt"/>
<partnerLink name="WriteOutputFile" partnerRole="PutFile_role"
partnerLinkType="ns8:PutFile_plt"/>
</partnerLinks>
<variables>
<variable name="ReceiveFileContents_GetFile_InputVariable"
messageType="ns7:GetFile_msg"/>
<variable name="FtpHeaderData" messageType="ns3:InboundHeader_msg"/>
<variable name="DestFileHeader" messageType="ns3:OutboundHeader_msg"/>
<variable name="OutboundFileContents" messageType="ns8:PutFile_msg"/>
</variables>
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<receive name="ReceiveFileContents" partnerLink="ReceiveInputFile"
portType="ns7:GetFile_ptt" operation="GetFile"
variable="ReceiveFileContents_GetFile_InputVariable"
createInstance="yes" bpelx:headerVariable="FtpHeaderData"/>
<assign name="AssignDestFileHeader">
<copy>
<from variable="FtpHeaderData" part="inboundHeader"
query="/ns3:InboundFTPHeaderType/ns3:fileName"/>
<to variable="DestFileHeader" part="outboundHeader"
query="/ns3:OutboundFTPHeaderType/ns3:fileName"/>
</copy>
</assign>
<assign name="AssignDestFileContents">
<copy>
<from variable="ReceiveFileContents_GetFile_InputVariable" part="opaque"
query="/ns2:opaqueElement"/>
<to variable="OutboundFileContents" part="opaque"
query="/ns2:opaqueElement"/>
</copy>
</assign>
<invoke name="PushFileContents" partnerLink="WriteOutputFile"
portType="ns8:PutFile_ptt" operation="PutFile"
inputVariable="OutboundFileContents"/>
</sequence>
</process>
===================================
Thanks,
--Gary
Similar Messages
-
Hi!
I have two problem using the FTP Adapter in a BPEL process.
The first can be described as follow: I have a BPEL process that incapsulates the FTP Adapter and it is deployed correctly on the BPEL default domain. It's working fine in a normal context with no error. Now I want to simulate a "read FTP Server" crash; so I put the FTP Server from which I'm reading off-line. When the GET module of the FTP Adapter tries to poll the server, it generates a Null Pointer Exception and on the server command window I can read, after a while, that the process state will be set to OFF. But when I enter in the console I always see the state ON! But the interesting question is: is there an automatic way to recovery the process and to restart it? I see that in the domain parameter there are two values: rcvAgentDelay (7200) and rcvThreshold (600). I tried to set them to some other values, for example (120) and (10), but the process still remains "blocked" and no new polling seems to happen.
The second problem is about the creation and the deploying on a new domain. I create a new domain called "bulk" and I tried to deploy my process on it but I can't do it due to the generation of many exception! Can I deploy a process with a FTP Adapter component inside on a domain different from the default one? And if the response is positive, like I think, can you summarize the most important steps of it and if I must configure some specific domain parameters?
Thanks a lot,
Busnelli.OK, firstly I want to thank both of you, Rakesh and Maneesh.
Here are the details requested:
Operation System = Windows XP Pro SP2
BPEL Process Manager = 10.1.2
BPEL Server version = 2.2 (build 1361)
JDeveloper version = 10.1.2 (build 1811)
BPEL Designer version = 10.1.2 (build 050322)
Usually after any modification I'm used to restarting the BPEL server.
Today I have downloaded the "Oracle JDeveloper 10g (10.1.3) - Developer Preview" (I think to be the Post Beta 3) and as soon as possible I will try to use it.
Thanks to both! -
BPEL FTP Adapter - tutorial/sample?
Hi,
Is there a sample or tutorial available for the BPEL FTP Adapter for v10.1.2.0? Please let me know.
Thanks
NYes, there's an end-to-end tutorial that ships with 10.1.2 and can be found in samples\tutorials\129.FTPAdapter.
HTH,
Navneet -
Hi Friends,
I have a bpel process which sends xml data over ftp. The name space in FTPed data looks as below:
"<?xml version = "1.0" encoding = "UTF-8" ?>
_+<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://aiv-external.s3.org.com/UnboxMetadata.xsd" xmlns:tns="http://www.org.com/UnboxMetadata/v1" xmlns="http://www.org.com/UnboxMetadata/v1">+_
<tns:Movie><tns:PartnerName>ABC</tns:PartnerName><tns:UniqueID>1263456</tns:UniqueID>
</tns:Movie>"
However receive of ftpied data expect following (Please note change in sehmalocation:
" <?xml version = "1.0" encoding = "UTF-8" ?>
_+<Metadata xsi:schemaLocation="http://www.amazon.com/UnboxMetadata/v1 http://aiv-external.s3.amazonaws.com/UnboxMetadata.xsd"+_
_+xmlns="http://www.amazon.com/UnboxMetadata/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+_
<Movie><PartnerName>ABC</PartnerName><UniqueID>1263456</UniqueID>
</Movie>"
Is i t possible to control/change schema location and get file in expected form?
Thanks,
Sachin.
Edited by: user10051771 on May 1, 2013 2:31 PMThanks Everybody for the prompt response .
1) What error does one get when trying to connect to FTP Sever which only support active mode
No Error , but no file transfer happens. SR and Bug Request for the same is already in place .
QUESTION
========
Does BPEL FTP Adapter supports active ftp mode (instead of passive).
ANSWER
======
No, FTP Adapter only supports passive mode. For that purpose there is an Enhancement Request
already, the Bug 6866124 - NEED SUPPORT FOR PASSIVE FTP ADAPTER AND CUSTOM FTP
COMMANDS :
1. The FTP Server needs to be active for the Adapter to work. So, both FTP Server and the FTP adapter must be active for it to work.
Also you only support PASSIVE mode in our FTP JCA adapter. ACTIVE mode is currently
considered bad practice and a security vulnerability.
But, we would require both ACTIVE and PASSIVE modes.
2. Custom commands are not supported. But, we need the samples for custom FTP Commands and support for it.
for example: quote site fixrecfm 90... -
Does BPEL FTP Adapter supports active ftp mode (instead of passive). Apparently the ftp site for one of the Interfaces uses FTP Adapter and that ftp server it is using supports ONLY active ftp sessions, NOT passive.
Want are configuration to made to changed to support active mode
oc4j-ra.xml for ACTIVE ftp and not passiveThanks Everybody for the prompt response .
1) What error does one get when trying to connect to FTP Sever which only support active mode
No Error , but no file transfer happens. SR and Bug Request for the same is already in place .
QUESTION
========
Does BPEL FTP Adapter supports active ftp mode (instead of passive).
ANSWER
======
No, FTP Adapter only supports passive mode. For that purpose there is an Enhancement Request
already, the Bug 6866124 - NEED SUPPORT FOR PASSIVE FTP ADAPTER AND CUSTOM FTP
COMMANDS :
1. The FTP Server needs to be active for the Adapter to work. So, both FTP Server and the FTP adapter must be active for it to work.
Also you only support PASSIVE mode in our FTP JCA adapter. ACTIVE mode is currently
considered bad practice and a security vulnerability.
But, we would require both ACTIVE and PASSIVE modes.
2. Custom commands are not supported. But, we need the samples for custom FTP Commands and support for it.
for example: quote site fixrecfm 90... -
Issues with Seeburger FTP adapter
Can one of you with Seeburger FTP adapter experience share some information on these issues I'm facing
1. Do I need to setup resource management in Seeburger workbench. If so, do I need to configure, resource, server and reservations. Do you have more information and what parameters I need here.
2. In the Seebuger FTP adapter, I have
Module Key - exit
Parameter Name - JNDIName
Paramter Valu - deployedAdapters/SeeXIFTP/shareable/SeeXIFTP
JNDIName, should I be replacing this with some other name. I'm trying to get Seeburger FTP to work and in the messaging monitor, I see the message as passed to Module Processor but it does go anywhere from there.
Can one you throw some light on this subject...what to expect from this definition.
Thank you for all your replies,
ParimalaI'm resending this since I did not have any luck with it the first time.
We also have an oss note waiting to be responded on this subject.
When I send messages using Seebuger FTP adapter, I see the following information in the SAP message monitor -
"Message entered module processor exit bean and will be transferred to JCA adapter".
But does not get to IBM VAN mailbox. How do I trace from this point onwards.
Should I use Seeburger monitoring tool for this? If so, I don't see anything in Seeburger monitoring (used all criteria).
Please let me know if you have any information on this subject.
Thanks,
Parimala -
Dynamic file naming with File/FTP adapter
Hi all,
I have a requirement for writing files with names of the files based on a customer ID.... a dynamic name based on a value retrieved from the customer DB.
I have already tried using the dynamic file naming suggestion in the bpel dev guide, it does not work. I followed the instructions, the process fails to compile and throws "part" and "undefined variables" errors etc.
Has anyone succesfully used file/ftp adapter to write files with dynamic file names (using a varibale), not %SEQ% or %datetime% formats?
Thanks,
HasanYou can create a header variable that will allow you to set the outbound file name inside the process. This variable is a message type. From the type chooser select:
Message Types
Partner Links
Outbound Partner Link
Outbound wsdl
Message Types
Imported WSDL
fileAdapterOutboundHeader.wsdl
OutboundHeader_msg
This variable will have a part filename.
Set this part to whatever you wish your file to be named.
Select the invoke to your outbound file/ftp partnerlink. Move to the adapters tab and select the header variable you created as the Input Header Variable. -
Hi,
I've setup an ftp-adapter in d3l mode where the eventname and Objectname in iStudio match with the declaration in the d3l-file.
But somehow I get an error: java.lang.RuntimeException: unknown attribute `ContractmutatiesNavfin' in `contracten null
at oracle.oai.agent.adapter.technology.D3LMessageData.get
What can be wrong?
d3l definition:
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE message SYSTEM "d31.dtd">
<message type="Contractmutaties" name="ContractmutatiesNavfin" object="contracten" header="filename" value="NAV-CON-MUT%">
<imparray id="ContractmutatiesArray">
<typeref type="ContractmutatiesType"/>
</imparray>
<struct id="ContractmutatiesType">
<field name="Bedrijfsnummer"><termstring endchar=";"/></field>
<field name="Mutatienummer"><termstring endchar=";"/></field>
<field name="Totaal"><termstring endchar=";"/></field>
<field name="Aantalregels"><termstring endchar="\r\n"/></field>
</struct>
<struct id="Contractmutaties">
<field name="line"><typeref type="ContractmutatiesArray"/></field>
</struct>
</message>
adapter logging:
Wed Sep 06 14:30:56 CEST 2006: Service started successfully.
Wed Sep 06 14:31:21 CEST 2006: Transport logs:
File: NAV-CON-MUT-1regel.csv - dir: oaitmp
Wed Sep 06 14:31:21 CEST 2006: Successfully matched value NAV-CON-MUT-1regel.csv of header filename against pattern NAV-CON-MUT% belonging to D3L ContractmutatiesNavfin.xml
Wed Sep 06 14:31:21 CEST 2006: Bridge { agent=oracle.oai.agent.client.AgentImpl@e14d81 application=NAVFIN_FTP partition=null active=true #d3ls=2 } encountered the following problem while receiving a message from external application
java.lang.RuntimeException: unknown attribute `ContractmutatiesNavfin' in `contracten null
at oracle.oai.agent.adapter.technology.D3LMessageData.get(D3LMessageData.java:125)
at oracle.oai.agent.client.AgentImpl.fillInAOFromMessageData(AgentImpl.java:429)
at oracle.oai.agent.client.AgentImpl.initMessageFromEventMap(AgentImpl.java:416)
at oracle.oai.agent.client.AgentImpl.createMessageObject(AgentImpl.java:193)
at oracle.oai.agent.adapter.technology.TechBridge.run(TechBridge.java:706)
at java.lang.Thread.run(Thread.java:534)
Wed Sep 06 14:31:21 CEST 2006: Transport logs:
[IPT_RecProcessingError] Error encountered while processing message received on Wed Sep 06 14:31:18 CEST 2006.
Wed Sep 06 14:31:21 CEST 2006: Transport logs:
[IPT_RecMessageMoved] Failed message moved to exception location file://localhost/u1/app/oracle/product/appl1012/integration/interconnect/adapters/ftpNAVFIN/ftpfiles/inbound_errors.
Wed Sep 06 14:31:21 CEST 2006: Transport logs:
[IPT_RecPurgeMessage] Purged processed message.Hi,
Did you fill in the field Object Name in the Define Application View page in the Publish Wizard of your Application in iStudio?
There you have to fill in the name of the Business Object to which the event is corresponding. This makes it possible for the adapter to find the Common View.
Regards,
Aard Jan -
Hi everyone!
Is there anyone who can tell me where I can find some information about the usage of the FTP adapter included in BPEL PM 10.1.2.
Thanks!Hi!
By the using of the beta FTP guide I have solved my doubts about the configuration of the adapters for getting and putting files on different FTP server.
But during the execution of the process I have noticed a strange thing in the BPEL server console. It seems to be a âgreatâ delay between the activation of the process after the deploying and the effective transferring of files from server1 to server2. I mean, for example, that if I deploy the process at 9,07AM the first transfer begin at 9,28AM, about twenty minutes after and so on for the other istances.
The situation is that:
The polling frequency is fixed to 60 seconds;
The Minimum file age is fixed to 0 seconds;
The files on server1 have a minimum age of about 2 minutes (and have an extension of type .txt);
The instances are initiated automatically because I have checked the âcreate instanceâ box in the invoke component configuration parameters.
Initially I think that the delay was due to the difference between my pc-time and the server1-time but modifying my pc-time I have obtained only a little improvement.
Could it be due to any activation or scheduling parameter in some BPEL file or it is probably a synchronization problem between my pc and server1?
I bag your pardon if the message is so long but I hope to have success in explaining the problem!
Thanks,
Busno. -
Maximum file size that can be generated with an FTP adapter
Hy
At our 'Vehicle Order Management'-project within Toyota Moter Europe we process in- and outbound interface by using FTP adapters in interconnect. For certain outbound interface we generate semi-large amount of files >9MB. Due to parameter setting this amount can be bigger. What is the maximum amount of files that interconnect can generate and how is this being determined?
Is the maximum size determined by the filesystem or setting in interconnect or ... Please point me in a direction where to find this information.
Kind RegardsWELCOME TO Digitizing Group
You seem to be looking for quality machine embroidery designs. If you are looking for embroidery digitizing, then
digitizing-group was exactly the right place. we, a team of digitizers with more than 10 years experiences would like to
offer you the best service with a very reasonable price. We provide 24-hours service 7 days a week, and you will
receive your completed file within 24 hours after sending us your artwork. Certainly the rush tape can be provided in
just a few hours, and all with the same flat rate!!!
. Extremely fast turnaround time
. Competitive Pricing
. Available Format
. Easy payment - we take company check, Visa, Mastercard, T/T, Western union.
. High quality design that will keep your customers bring continuous order.
We would like you to try our service. We are confident that you will be impressed by our quick turnover, excellent
digitizing quality, and low prices.
And that will help you succeed with keeping your customers coming back. Therefore we have always focused on how
we can improve the quality and serive. please contact us,
Tel: 1-801-938 6699 -
Production Issue with Receiver FTP Adapter
Hi all,
We have so many interfaces with ECC To FTP via XI, working fine.
We had problem with one particular Interface, FTP Owner is saying that we did not received any files since last night for this interface. But that receiver channel's log is saying clearly that file has been written to folder with given name.
Nearly 140 files needs to be received at FTP site. Suddenly they told that received all 140 files at a time with time all with stamp 11:40am
What might be the cause for this?? has any one faced this kind of issues??
Please share your thoughts
Regards
SumanHi rajesh,
Thnx for replying, there is no receiver channel on scheduled
Receiver communication channel time stamp is showing as same as time ecc generated with idoc.
But received at FTP is different time( more time difference)
Checked with FTP Admin, and there is no issues or downtime with FTP at that time.
>>use messaging system and search with message id for knowing this step time stamp.
How to check this, please let me know the link.
Regards -
I am trying to run the tutorials/129.FTPAdapter example.
1) placed my FTP configuration in Oracle_Home\integration\orabpel\system\appserver\oc4j\j2ee\home\a
pplication-deployments\default\FtpAdapter\oc4j-ra.xml file.
2) created the input, output folder is my ftp
3) deployed the FTPDebatching process.
The process started polling the FTP- input directory immediately after deployment.
But when I place the container.txt file in the input folder then its not reading the contents of that file and no exception message is thrown
But when I manually initiate the process by giving some input then its writing the input in to a file in FTP- output directory.
But it should pick up the file from input directory when it is place over there.
polling frequency is 1 minute.
Am I missing some configuration ????????Did you define in your first activity to create an instance? If you stated in your first activity in your bpel process he needs to create an instance, he will instantiate your process when a file is picked up by the polling mechanism.
-
BPEL FTP Adapter Error : Error ModificationTimeFormat
Hi ,
I have a requiremnt to copy a file from FTP server and put that file into my Local Machine .
For that I have created a BPEL Process .
One Partner Link ( FTP ) - There is a option to "delete the file " . I dont want this option , Because I want to copy the file from FTP server to Local Machine not to move the file .
If I check this " Delete the File " option , instance is sucessfully created and files get moved from FTP server to Local Machine .
My Question is : I want to "copy" the file from FTP Server to Local Machine , so I deselected the option " Delete the file " . After that I set Time Modification and Format .
But When I deploy this BPEL process I am getting the follwing error .
[u]<2007-01-22 11:24:21,164> <DEBUG> <default.collaxa.cube.ws> <FileAdapter::Outbound> PollWork is calling onFatalError for exception Failed to get file modification time.
Could not get file modification time for file :/MySharedFolders/Testpdf_folder\P
LSQL Fundamentals - II.pdf. Verify that the values for the "ModificationTimeFor
mat" activation parameter are correct.Ensure the time format pattern and filenam
e begin index and end index are specified according to the specific FTP server.
Check the error stack and fix the cause of the error. Contact oracle support if
error is not fixable.
Please help me out how to get rid of this problem .
Thanks
PrashantHi ,
I have a requiremnt to copy a file from FTP server and put that file into my Local Machine .
For that I have created a BPEL Process .
One Partner Link ( FTP ) - There is a option to "delete the file " . I dont want this option , Because I want to copy the file from FTP server to Local Machine not to move the file .
If I check this " Delete the File " option , instance is sucessfully created and files get moved from FTP server to Local Machine .
My Question is : I want to "copy" the file from FTP Server to Local Machine , so I deselected the option " Delete the file " . After that I set Time Modification and Format .
But When I deploy this BPEL process I am getting the follwing error .
[u]<2007-01-22 11:24:21,164> <DEBUG> <default.collaxa.cube.ws> <FileAdapter::Outbound> PollWork is calling onFatalError for exception Failed to get file modification time.
Could not get file modification time for file :/MySharedFolders/Testpdf_folder\P
LSQL Fundamentals - II.pdf. Verify that the values for the "ModificationTimeFor
mat" activation parameter are correct.Ensure the time format pattern and filenam
e begin index and end index are specified according to the specific FTP server.
Check the error stack and fix the cause of the error. Contact oracle support if
error is not fixable.
Please help me out how to get rid of this problem .
Thanks
Prashant -
Use of see burger adapter replacing with File (FTP) adapter
Hi All,
My current scenario is file to proxy and want to replace file adapter with the see burger adapter.
Can any one expalin step by step procedure(after installation of see burger adapter in SDM) using sender see burger adapter with the port details?
For this do we need to write any adapter modules in integration directory?
Also pls give me clarification on 850 and 997 messages?
Regards,
Nani.Hi,
Deploy the standard seeburger mapping provided by see burger on XI .Then you need to call that mapping in the adapter module which does the conversion from EDI to XML and XML to EDI. You need to call the BIC module in the communication channel configuration and configure the module parameters like
bic- destSourceMsg = MainDocument
bic- destTargetMsg = MainDocument
bic- mappingName-something like ....See_E2X_ANSIX12_850_V4010
Once if you are able to convert the edifile to xml, then the remaining proxy configuration will be same as just for normal scenarios.
>>For this do we need to write any adapter modules in integration directory
You can use the standard BIC module or you can very well write your own adapter module to convert EDI to xml and configure it in the communication channel.
>>>Also pls give me clarification on 850 and 997 messages
850 is purchaseorder EDI document and 997 is the functional acknowledgement
The links provided by Luis will really help you in understanding the basics. Also go through the below links
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10b17369-9522-2c10-84a6-d75d8a8ace22
Regarding EDI
Seeburger BIC Help!!
Regards,
Priyanka -
Urgent: Conversion with File/FTP adapter
Hi Guru.
I've a problem:
I need to read a binary file (like an image) and convert it to a hex format.
How can I do it?
Have you some idea?
Thanks
ManuelHI Manuel
<b>Configuring the sender FILE adapter </b>
The sender file adapter is configured to pick the normal payload (file1.xml), which is specified in the File
access parameters, and the additional image file (file1.jpg) that is to be sent as an attachment is configured
under the Additional File(s) as shown in the screenshot below. The file type would still remain binary.
<b>Since, by default, XI sends payload and attachments in XML format, we need to call two beans, namely the </b>
MessageTransformBean and the PayloadSwapBean to help us is transforming the content to jpeg format
and also change the file extension.
The PayloadSwapBean module is used to replace the application payload of the XI message that holds the
data with another payload which is appended to the message as an attachment. In our case, the payload
would be file1.xml whereas the attachment would be file1.jpg
The swap module is denoted in our scenario with the module key swap. It has two parameters from the
MIME header. They are
if want the step-via step doc mail me at my Primary Id at SDN
Thanks
Questions are welcome here!!
<b>Also mark helpful answers by rewarding points </b>
Regards
Abhishek Agrahari
Maybe you are looking for
-
Can I labled the same song to more than one albums? As you know, some songs are repeated in different albums.
-
No power to Satellite A30 PSA30E
Hi, I have a Toshiba Satellite A30 (Part No. = PSA30E-00E5-EN) laptop and recently when connected to the mains the battery doesn't charge, in fact it dis-chargers. When the laptop is turned off if you connect the mains the orange battery charging ico
-
WLC 5508 issue with 4 ports in portchannel
Hi, We have one WLC 5508 and LAG is enabled on it but when we connect 4 cables to a distribution switch only 3 links are sending and receiving traffic and the 4th one is up with outgoing traffic from the distribution switch to WLC but nothing incomin
-
Thunderbolt display suddenly not working
I have a brand new MBP (retina), purchased about 2 months ago. I also purhased a 27in thunderbolt display about 1 week ago. The display has been working fine until tonight. When i tried to wakup my laptop from sleep the thundebolt display didn't d
-
Command to clear the bgp vrf table.
Hi, I want to clear the bgp table on this vrf. Here is how it looks like :- address-family ipv4 vrf mj redistribute connected neighbor 12.12.12.12 remote-as 1111 neighbor 12.12.12.12 activate neighbor 12.12.12.12 send-community neighbor 12.12.12.12 a