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,
Madhav
hi,
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
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 -
JDBC Adapter configuration not initialized:null
i
we have a synchronous scenario with the following adapters , RFC <> XI <> JDBC.
1.JDBC Driver installation is done
2.RFC Destination type t is done in sap(sender) system.
3.checking the jdbc in VA is done
while running it is giving the following error.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
where we have to initialize JDBC Adapter configuration
Thanks in advance
Prasad Nemalikantihi prasad
There are 2 jar files that may be missing from your SQL JDBC driver --> msbase.jar and msutil.jar, I think once you add these to the driver it might work.
also check the driver string for the SQL driver 2 parameters
i.e 'com.microsoft.jdbc.sqlserver.SQLServerDriver' now becomes
'com.microsoft.sqlserver.jdbc.SQLServerDriver'
This will solve your problem
follow this link
Re: MS SQL Server jdbc Driver installation on XI .
XI JDBC Adapter using stored procedures
thanks
sandeep
Reward points if helpful -
JDBC Adapter configuration not initialized Error
Hi,
I am doing a RFC to JDBC scenario in PI 7.1. I am getting the following error:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: JDBC Adapter configuration not initialized: null
In communication channel monitoring, it shows the following,
Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL '<URL>': SAPClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
The JDBC parameters for driver & connection are correct only.
Is the problem related to deployment of JDBC driver or something else? How can i ensure that the JDBC driver deployment is succesful in PI 7.1?
Edited by: senthil nathan on Mar 25, 2009 10:57 AMHi Senthil,
Your drivers are not installed properly. Please re-deploy them through SDM.
Regards
joel -
JDBC Adapter configuration not initialized
Hi,
I have tested one scenario for WebService to JDBC. Integration engine shows success message.But i got some error in Adapter engine. It shows "JDBC Adapter configuration not initialized".
So, plz anyone give the solution for this problem.
Regards
VijayHi,
1.Check whether the JDBCAdapter is Activated.
2.Check if any firewalls are there frm client side and open
3.Check the password used to connect the Database is correct one.
If all these are fine..do the complete cache refresh once.
Please award marks if found useful.
Thanks
Hamja -
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. -
RFC to JDBC JDBC Adapter configuration not initialized: null
Hi Experts,
My scenario is Proxy to JDBC scenario. I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
there is no problem with the User id or password.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
let me know how to solve this.
Thanks,
Prem.I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
there is no problem with the User id or password.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
Can you ensure that Drivers are properly installed and no problem with them?
Also proper connection parameters are maintained in the JDBC receiver Channel.
Regards,
Abhishek. -
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 -
JDBC adapter type not visible in Communication Channel
Hi All,
I have deployed JDBC driver according to http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00b4a020-4ae6-2c10-5a95-fed4ad9a4b60?QuickLink=index&… .
Driver deployed successfully and I have checked it in folder \usr\sap\xxx\DVEBMGS30\j2ee\cluster\bin\ext\com.sap.aii.adapter.lib\lib and it's found ok. But this adapter type not showing in Communication Channel only RFC and SOAP are showing there. I have restarted the server also. Can any one tell me where the problem is?Hi Kuldeep,
Have you check the patch level of both java & abap has same ,if some thing different in Patch level of any of this it will not visible in communication channel
Check below links also
https://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
Sender JDBC adapter : data read from db but not in PI
Regards
K.N -
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 -
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. -
JDBC Comm Channel not Polling data
Hello,
In a JDBC to IDoc scenario, we have a sender JDBC communication channel which was set to poll for data in every 60 sec. It was working fine for long and suddenly it has stopped polling data. It's status was green and the channel was active.We couldn't find the reason so we configured one more comm channel keeping all the parameters same, and it has started working. We couldn't understand why it was not working earlier. Can any body please highlight on this?
Regards,
SugataHi,
@Barry,
Yes, it dont poll data from database although it was supposed to do so. We have tried to make some changes and then undo changes and save+activate. But that hasn't work.
@ PT Rao,
We tried that too, that also hasen't work.
@ Sumit,
could you please elaborate?
Sugata -
A JDBC adapter specific time polling setup
Hi All
I am looking for a way to setup a JDBC Sender adapter to poll at a certain time of day, like 18h00. I have tried to set it up for polling every 60000 seconds and starting that adapter at 18hoo but due to Maintenance weekends, the adapter engine gets restarted and reset my polling time, so I need setup the adapter to poll at a specific time. Can anyone help me with this problem?
Thanks in advance
ClintonHi Clinton,
you can go over JDBC receiver adapter and use a BPM with a wait step, where you can put a certain time. If you send only once a day a message, performance of BPM cant be a bottleneck.
Regards,
Udo -
Hi,
our JDBC Adapter is stopping polling automatically.
It seems if the adapter does not process an event for a long time. The adapter is stopping polling.
Can somebody help me?hi,
can you try using:
<b>"Disconnect from Database After Processing Each Message"</b> indicator
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
on your test system to see if the same will occur ?
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
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.
Maybe you are looking for
-
I had captured vendor excise invoice against PO in J1IEX Later while doing GR, I had selected Refer excise invoice by drilldown.The excise value flows correctly which were captured before. When i had posted GR & trying to see display of GR ,Excise ta
-
Each time I restart this exchange server, the Information Store and System Attendant don't start. If It try to manually start the services, I get the follow errors: Event ID 5003: Unable to initialize the Microsoft Exchange Information Store service
-
Oracle 8.1.6 and Redhat6.1 - worth the upgrade?
Hi to all of you who have taken the trouble to install the latest Oracle8i, I currently have Oracle 8.1.5.0.2 on Redhat linux 6.1. This was a long and painful process as I navigated around all the quirks of the installer and reinstalled Linux several
-
Pages 5.5 is now available in the App Store.
Start the testing! And let us know what works and what still doesn't. Peter
-
Help with resizing adjacent partitions on mirrored drives - Solaris 9 V240
Hi, I need some help here. I'm very new to unix administration. I am running out of space on my /var directory. I have a set of 72G disks that are mirroring each other. The /var is mounted on /dev/md/dsk/d5 which has only 262M available out of 5.8G.