DB Adapter is not polling
Hi All,
I implemented DB Adapter polling in one of my services.
It was working fine for last 3 months.
Today I tested service, it is not polling to DB table, so it is not picking any data from table.
Can Any one tell me, what could be possible reason for this?
Thanks in advance.
It is a known bug to my knowledge.
Until 10.1.3.1, you need to restart SOA suite itself. Now things are better -- just switching off and on the process is fine..
More reliably, latest MLR makes sure that polling continues to work until SOA restart. after that it might need a onetime off-on
HTH,
Rev
Similar Messages
-
B2B adapter is not polling any data from EDI X12 810 ECS file
Hi All,
I am new to Oracle B2B. I am using
Jdev 11.1.1.6
Oracle Editor : 7.0.5.4016
Document Protocol : EDI_X12
Document type : 810 (Invoice )
Version: 4010
Weblogic server :11.1.1.6.0
Requirement is : i had an EDI file and i need to translate the EDI map using the B2B adapter, transport to SOA Suite and insert into a custom DB.
Issue is : B2B adapter is not polling any data from EDI X12 810 ECS file
for this i created sample EDI X12 810 ecs file, i converted the same to .xsd and .dat file. I created partner, and while configuring channel i used '*Generic File 1.0*' protocol and i given folder path( i also checked, by just giving folder Name) in the folder name property of 'Transport Protocol Parameters' , i also placed sample xml file into this folder. And I created sample process in Jdev to poll data from this folder.
build and deployment is fine for this process, but no instances is created for this process. and the Process is not Polling any data from the folder which i mentioned in the Transport Protocol Parameters.
is this the way am doing is wrong for my current requirement or am i did any wrong step (as stated above ) ? Please help me. How can i receive data from this EDI file to my bpel process so that i can continue with the rest of the Process. Thank you in advance
Edited by: 979032 on Feb 12, 2013 11:02 PM
Edited by: 979032 on Feb 13, 2013 12:14 AMHi Anuj ,
I placed .dat file now. The file Picked by B2B adapter. But i was getting the Error. The error i found in Business Message as
"Error Code B2B-50547
Error Description Machine Info: (soabpm-vm) Description: Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type 810-3070-INBOUND.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type 810-3070-INBOUND. "
But i created agreement for the partner and my document type name is "NewDocumentType" and in the wire message a am getting as shown below
Id 7F00000113CFC36785C0000017D7E2B0
Message Id 7F00000113CFC36785C0000017D7E2B0
Business Message 7F00000113CFC367A450000017D7E2B7
Packed Message Packed Message
Payload Payload
Protocol Message Id EDIX12810.dat@7F00000113CFC36799B0000017D7E2B4
Refer To Protocol Message Id
Protocol Collaboration Id
Protocol Transport Binding filename=EDIX12810.dat filesize=2289 ChannelName=MyCompany_ListeningChannel file_ext=dat fullpath=/home/oracle/Desktop/B2BFiles/EDIX12810.dat timestamp=2013-02-21T01:58:21.000-08:00 MSG_RECEIVED_TIME=Thu Feb 21 02:04:53 PST 2013
Message Digest Message Digest
Digest Algorithm
Transport Protocol File
Transport Protocol Version 1.0
Url file://localhost//home/oracle/Desktop/B2BFiles/
security
Transport Headers filename=EDIX12810.dat filesize=2289 ChannelName=MyCompany_ListeningChannel file_ext=dat fullpath=/home/oracle/Desktop/B2BFiles/EDIX12810.dat timestamp=2013-02-21T01:58:21.000-08:00 MSG_RECEIVED_TIME=Thu Feb 21 02:04:53 PST 2013
certificates certificates
State ERROR
Reattempt Count
Error Code
Error Description
Error Text
exchangeRetryInterval
exchangeRemainingRetry
Message Size 2289
I also has one more doubt, now i created ecs,xsd and .dat by selecting sample EDI file in Document editor. suppose i want create the same ecs ,.xsd and .dat for my gentran file which is of EDI x12 810 standard but i have it in PDF format , then how can i access that to in Document editor ( in the import option, i found Gentran DDF and Gentran Unix IG and i was getting the following error while importing my PDF file
ErrorCode : 0xC00CE508
File Position : 10
Line Number : 2
LineByte Position :2
Reason: An invalid character was found in text content error) so that i can create .dat file and i can place the same in my folder in order to pick the file.
Please help us . Thank you .
Regards,
Kotresh
Edited by: 979032 on Feb 21, 2013 2:17 AM -
Sender file adapter is not polling the file.
Dear all,
Sender file adapter is not polling the file.(But Receiver file adapter is getting the file)
we have installed SP15.
It was worked fine for previous SP14.
I have cheked in Adapter monioring also.
Can you help me out of this problem
Regards
DhanabalHi Dhanabal,
Is the XI system running on a unix machine ?
If yes, from the OS level for the folder you are using in the file comm. channel, execute the command
<b>chmod 777 <folder_name></b>
The reason for the file to show up in receiver side and not get deleted might be that the xi user mighht be having only read access to the folder...
Thanks,
Renjith. -
JDBC adapter is not polling as scheduled
Hi,
we have observed JDBC adapter is not polling database correctly. adapter is scheduled at every 1 second, but it is plooing for every 5 sec or 6 sec.
is there any way the issue can be fixed?
Thank You,
Madhavhi,
in my mind, the issue is your polling's choice of 1s !
so to have a real-time exchange whereas you use a polling method to reach a server with is not the PI server itself, and perhaps also not on the same network, by opening perhaps also the database connexion at each request in order to call a SQL request or a stored procedure...
I don't know your complete flow, but if you really need a 100% real time, maybe it should be better to trigger the sender JDBC adapter from outside when (and only when) the data is produced / changed in your database....
Anyway, personally, I never recommend to have a polling of 1s. 10s (and often only 60s) is enough is most of the cases... because after the polling you have the XML conversion, the PI mapping, the sending to ECC, the ECC treatment... all these steps take time, and so the interest of checking of every 1s is (in my mind) clearly reduced by all these steps.
(*) I'm sure if SAP will define a polling in milliseconds, some people would like to use a polling of 1ms, but that's a non-sens...
regards.
mickael -
File Adapter is not polling File.
Hi All,
I am using file adapter to poll a file. When I am restarting server then it is picking file. After then when I am dropping a file then File Adapter is not picking File.
Can any one guide me what si problem?
I am using SOA SUITE 10.1.3.4
Thanks in Advance.First clusterGroupId is a unique value. Do not use the same clusterGroupId across different adapters even in different process.
Once clusterGroupId is defined, the multiple activations of the same adapter Activation Agent is to be detected implicitly and automatically by all the instances of the adapter framework active in that cluster. The cluster will allow onlye one node activation to start the reading the files/messages. The adapter framework instances chooses one among multiple nodes, randomly to assume the Primary Activation responsibility. The other activations (instances) in the cluster will initiate to a hot stand-by state, without actually invoking EndpointActivation on the JCA resource adapter.
If a primary activation at some point becomes unresponsive, is deactivated manually or if it crashes/exits, then any one of the remaining adapter framework members of the cluster group will immediately detect this, and reassign the primary activation responsibility to one of activation agents standing by.
This feature uses JGroups underneath for the implementation, hence the clusterGroupId property. These features require cluster and JGroups configuration in collaxa-config.xml and jgroups-protocol.xml. All BPEL instances participating in the cluster must share the same cluster name in collaxa-config.xml,and the same multicast address and port in jgroups-protocol.xml.
As far as for this issue, I too face the same across diff environments and searching for the exact reason. I believe this happens when primary activation agent crashes, the hand-over to the other node is not happening properly through jgroups.
Nirav -
File adapter : Do not poll if directory does not exist
Hi people !
I have a BPEL process that takes files as Input messages.
I use a file adapter to do that.
It works well but I would like to avoid polling the directory if it does not exist, do you know how to control if the directory actually exists ?
Here is the File Adapter configuration :
<jca:operation
PhysicalDirectory="PhysDir"
ActivationSpec="oracle.tip.adapter.file.inbound.FileActivationSpec"
PhysicalArchiveDirectory="ArchiveDirl"
DeleteFile="true"
IncludeFiles=".*\.xml"
PollingFrequency="30"
MinimumAge="0"
OpaqueSchema="false" >
</jca:operation>
Even if the directory does not exist, the process endlessly tries to poll that directory.
Thanks in advance,
Romain.I do agree with you that the directory should exist because the adapter was configured to poll on that directory !!
Nevertheless, I would like to know how to control its existence before polling...
Romain. -
Sender file adapter not polling the file
hi all,
i have configured a filexifile scenario....
but the file sender adapter is not polling the file at all....
i dont c any message either in RWB or in SXMB_MONI
i checked the adapter framework url at <i>http://<ximachine>;<port>/AdapterFramework</i>....and the status for the file adapter is green...
but the message it gives there is
<i>Sender Adapter v1014 for Party '', Service 'TASL_FILE_SENDER':
Configured at 03:07:24 2006-02-02
Up and running - no message processing until now
last poll interval started 04:01:24 2006-02-02
length 60,000 secs</i>
y is the sender adapter not polling the file..
i am using NFS as my File System....i gave the source directory as <i>d:/test_dir/</i>
is this way of specifying the source directory on a windows machine correct...
thanks
pavanThere is probably something wrong with the File Adapter. You will need to go to the RunTime Workbench >> Component Monitoring >> Display >> Click on the Adapter Engine >> More information will display and click on the button 'Adapter Monitoring' >> A new window will display and click on the arrow next to your adapter engine. This displays a list of adapters running on your system. Green light means good; Red, you have a configuration problem. Look at the error and try and resolve it.
-
Jms adapter not polling messages from jms topic
Hi
We have a jms adapter configured in BPEL process which need to poll messages from JMS topic.Unfortunately its not polling message from JMS Topic if we add Message Selector and Durable Subscriber properties in jca file.Please find jca file content below
<adapter-config name="SyncCustomerPartyListCDHJMSConsumer" adapter="JMS Adapter" wsdlLocation="oramds:/apps/AIAMetaData/AIAComponents/ApplicationConnectorServiceLibrary/CDH/V1/ProviderABCS/SyncCustomerPartyListCDHProvABCSImpl.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/jms/aia/syncCustomerParty_cf" UIJmsProvider="WLSJMS" UIConnectionName="Dev"/>
<endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
<activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
<!--property name="DurableSubscriber" value="XYZ"/-->
<property name="PayloadType" value="TextMessage"/>
<!--property name="MessageSelector" value="Target in ('XYZ')"/-->
<property name="UseMessageListener" value="true"/>
<property name="DestinationName" value="jms/aia/Topic.jms.COMMON.CustomerParty.PUBLISH"/>
</activation-spec>
</endpoint-activation>
</adapter-config>
If we remove Durable subscriber and message selector properties,its able to poll messages.
Any pointer will help
thanks in advance
BajiAfter changing below property in jca file.JMS adapter is able to poll messages from JMS Topic.
<property name="UseMessageListener" value="false"/>
But if i un comment below line and deploy my code again, it stop pulling the messages from topic.
<property name="DurableSubscriber" value="XYZ"/>
If i bounce the server after above change and deployment ,it will start polling the message.I am not sure why i need to restart my server after adding above property.
Thanks
Baji -
Hi,
We have a clustered environment in Oracle SOA 10.1.3.4 MLR#1. We are setting up 3 different bpel processes polling 3 different locations and using 3 different data source. When we deploy them none of the ftp polling is working. We looked at various blog and added property for ClusterId
<property name="clusterGroupId">myBpelAdapterCluster</property>
I also tried using a different clustergroupid for each of the bpel process.
Does this clusterGroupId should be different for each BPEL process or can we use myBpelAdapterCluster for all 3. Please suggest me what may be the cause for the ftp adapter not polling.
Thanks
Jagan.I was contacted by our DBA team for an exception received while writing a file to a FTP location.
Then i looked at the exception message and asked them to check the whether they are able to contact the ftp server using command prompt then they said the user password got expired.
They reset the password and its working now.
Am i missing something here :(
Exception:
WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
Unable to send file to server.
; nested exception is:
ORABPEL-11429
Error sending file to FTP Server.
Unable to send file to server.
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
Thanks,
Vijay
Edited by: veejai24 on 25-Jul-2012 07:10 -
BizTalk Server 2013 SFTP Adapter with private key - Did not poll any files
Hello,
We have a requirement to connect SFTP secure site with the private key and polling files. Initially I have
tested BizTalk Server 2013 SFTP Adapter receiver Port using Bitvise SSH SFTP Server tool and it was working perfectly in our local network environment( with public private key authentication).
However when we connected to Client SFTP server with private key authentication, It successfully connected to SFTP Server but
did not poll any files from SFTP Site. I added only one file to SFTP Server ( 145 kb file) for testing purpose.
However BizTalk Server 2013 SFTP Send Adapter is working well with the same configuration.
I could not find any errors in Event viewer also. I can download\upload file using WinSCP tool .
So I downloaded nSoftware SFTP Adapter trial version and deployed on server. nSoftware SFTP adapter is also working find
without any issues for Client SFTP Site.
This is the configuration on SFTP Receive Adapter
This is how SFTP Server download folder permission configured. I have got this details using WinSCP tool.
<o:p></o:p>
Appreciate your help on this.<o:p></o:p>
Thanks<o:p></o:p>
PrabathD<o:p></o:p>BizTalk Adapter for SFTP is where the polling logic is implemented. It is not part of the SFTP Client logic. any SFTP Client is for User Interaction and you do what you want/when you want.
The BizTalk Receive however is for purposes of automation and the adapter polls the receive location using the credentials every polling interval to check for the files matching the filter. When it find a file, it will read and publish to message box or
submit to pipeline for processing. Your setting the polling interval to 0 (ZERO) might actually be disabling the polling.
Set your poll interval to a non-zero value and check the behavior.
Regards. -
Sender SFTP Adapter channel is not polling for files
Hello All,
Couple of SFTP sender adapter channel was failing in Developent system with u201Cdirectory listingu201D error.All SFTP sender channels stopped polling for the files in Developent system . We were unable to find the reason for adapter failure, Hence we restarted the j2ee server and adapter started polling files. Later we are facing the same issue in Quality system. THe adapter cahnnel is not polling files in Quality system even.
All lean tool adapters were showing the u201CHost key was not accepted erroru201D on 27th of Feb . As per the other channel trace, the time stamp of last successful polling and error time stamp of lean tool sender channels are exactly same
Eventhough two communication channels access the same SFTP adapter, one communicationchannel is getting 'Host key was not accepted error' but in other communication channel, files are getting picked.
Please let me know the solution if you have come accross this issue previously
Regards,
DilipKumarHi Mike,
Thanks for your reply.
Its not a standard SFTP adapter rather its a C-BURGER SFTP adapter.
Sorry I did not mention this in my previous post
Regards,
DilipKumar -
Hi Guys,
The Sender file adapter which i had setup is not polling onto the R/3 AL11 whereas it is polling on the XI, AL11....
The configuration is done to pick the file from R/3. Iam using the NFS as Transport Protocol.
Thanks in Advance.....Hi Kittu,
Whenever u r using NFS, it only refers to XI system. i.e., it picks up the file from the system where XI is installed.
In order to pick a file from any other location than XI, u need to configure an FTP server for Transport Protocol.
Regards,
Prateek -
How DB adapter works when polling strategy is "remove row selected"?
How DB adapter works when polling strategy is "delete the rows that were read"?
I want to know how database adapter works when polling startegy is "remove row".This polling strategy helps for polling the changes to table and remove records after new records are inserted or changes are done to table.Here,i want to understand how DB adapter identifies which record to be deleted.
For example: there is a table with 100 recorrds.How DB adapter works when polling strategy is "delete the rows that were read"?
I want to know how database adapter works when polling startegy is "delete the rows that were read".This polling strategy helps for polling the changes to table and remove records after new records are inserted or changes are done to table.Here,i want to understand how DB adapter identifies which record to be deleted.
For example:
There is a table EMP with 100 recorrds.Now, i deploy a BPEl process with db adapter polling on table EMP for changes.So that ,if any change happen to records in table that records will be picked up.I use a polling startegy "delete the rows that were read" .
Now i insert 9 new records and update one existing records.These 10 records should be picked up and then deleted by Db adapter.In this 109 records how DB adapter identifies these 10 records when it polls.How it differentiatess old records with new records when there is no flag field or no sequence id used to identify the new or modified records.
Please let me know.
Why i want to know this?
Some times customer may not allow BPEL process to do any modifications to source table or source database.In this case the options provided by database adapter wizard are not useful.
If there is any mechanism to identify new or modified records without having a FLAG field or sequence table,then it is possible to have an option like only read the changes from table rather than deleting the records after reading.Which helps in meeting above requirement.
Please let me know if there is any way to do this.
thanks
ArureddyOnce the record has been read it is deleted. Therefore, you can update rows in this table as many times you like before it is read. Once it is read there will be nothing to update as it will be deleted.
If you don't want to use a sequence table, you can use a sequence file. You can only use this functionality if the key you are using increments sequentially. e.g. 1,2,3,4. If your key is random, e.g. 2,1,3,5,7,4 then your options are delete or use a processing flag.
The other option is to create a trigger that inserts a key into a polling table when insert or updates occur. You can then use the delete, which is the most desirable as it uses database locking.
cheers
James -
How to notify in case SQL query(JDBC sender adapter) does not fetch records
hi,
How can we notify(by alerts or something) in case SQL query(JDBC sender adapter) does not fetch records? In channels logs it only says processing started & finished(no message is created for same).
Thanks,
MayankHi,
1 ) What is exact audit log message ?
2) Try fetching the count in SQL statement if there are any valid records it will give the count.
May for testing you can use <TEST> in update statement.
3) Have you used taskTimeout parameter ?
4) Are multiple channels polling on same table ?
regards
Ganga -
How do you know that the DB Adapter has stopped polling
Hi,
Is there a smart way to figure out if the DB Adapter has stopped polling a table ? [We are using logical delete polling strategy].We are looking for a better alternative than just verifying the entire laundry list of tables for the markUnreadValue after every polling interval.
rgds,
RamThank you for your post. Although this is a feature for Buzzword, right now it's not possible to know if someone has viewed a file you've sent via Share. We are working to integrate Share/My Files/Buzzword so that this will be corrected in future.
Let me know if you have additional questions.
Michelle
Maybe you are looking for
-
Hi, I am trying fresh install of exchange2007, everything gone well but, finally it thrown a error saying : Unable to initialize the Microsoft Exchange Information Store service. Failed to find the working directory parameter from the registry - Erro
-
Hi. I've just installed Oracle 8i Lite. When I try to access my database using Sql Plus, I got the message No listener. If I take a look at my services (under Windows 2000 Pro), there's nothing like Oracle.. :( I dont even have a file named "lsnrctl*
-
MG5460 blurry vertical printing with PGBK ink only?
Hi All, Have a not so old (replaced an old MP830 which rocked!) MG5460 printer which has an issue printing vertical stuff aligned correctly, but only in the PGBK ink. So on the printers test page, at top is the PGBK test with a grid of lines, horizon
-
& the video frozen 50 times before giving up. Tried watching the iPhone 6 event over my 12Gb fiber connection. All was well up until 1 minute before the event started. From there on out it was nothing but video freezes, dropped connections to the A
-
Insert data from java to oracle object created
Hi How can i insert data from java to table test with column LIST_QRY_RES_DN_MEMBER_INFO as below after create object type CREATE OR REPLACE TYPE QRY_RES_SERVICE_VALUES AS OBJECT ( PARAMETER_CODE VARCHAR2(60), PARAMETER_VALUE