JDBC Adapter not active
Dear All,
In Adapter Monitoring, i am not able to see the JDBC adapter in the Onlly Installed and Started Adapters, but i am able to see the JDBC Adapter in the All Adapters.
When i tried to restart the JDBC adapter service in the Visual Administration, there it not giving option for either stopping or starting the JDBC adapter.
DefaultTrace log is as shown below.
#1.5 #0018FE28105C00710000101400002D7A0004554CA8859398#1219687640044#com.sap.aii.af.service.administration.impl.AlertingStatusListener##com.sap.aii.af.service.administration.impl.AlertingStatusListener.run()#J2EE_GUEST#0##n/a##4065565072d011dd95800018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@483756c4_185020##0#0#Error##Java###Unable to raise alert for fatal process status (adapter :, channel ): com.sap.aii.af.service.alerting.AlertingException: JCoClient connection missingHost:srpidev_SPD_00|AdapterType:File|Sender::BS_File_Sender|Receiver::|Interface:mi_vendor:http://file2idoc|MsgID:null#3#http://sap.com/xi/XI/System#File#39b1b7a3830a32978c0ebde7d7b6a672#
#1.5 #0018FE28105C005900000F8200002D7A0004554CA8D15AE3#1219687645010#com.sap.aii.adapter.file.File2XI##com.sap.aii.adapter.file.File2XI.invoke()#J2EE_GUEST#0##n/a##32b5c44072d011ddcbc00018fe28105c#XI File2XI[CC_File_Sender_to_ABAP/BS_File_Sender/]_185029##0#0#Error#1#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File#Plain###Channel CC_File_Sender_to_ABAP: No suitable sender agreement found#
#1.5 #0018FE28105C005800000F4900002D7A0004554CA8D16217#1219687645012#com.sap.aii.af.service.alerting.Connection##com.sap.aii.af.service.alerting.Connection.newJcoClientForCentralMonitoringServer()#J2EE_GUEST#0##n/a##8cafa8c072cc11ddbc6f0018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@3f72187f_185030##0#0#Error##Plain###Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=srpidev.srhouse.com SYSNR=00 GWHOST=srpidev.srhouse.com GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR hostname 'srpidev.srhouse.com' unknown
TIME Mon Aug 25 23:37:25 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -2
MODULE nixxhsl.cpp
LINE 223
DETAIL NiHsLGetNodeAddr: hostname cached as unknown
COUNTER 959
#1.5 #0018FE28105C005800000F4A00002D7A0004554CA8D16B2D#1219687645014#com.sap.aii.af.service.administration.impl.AlertingStatusListener##com.sap.aii.af.service.administration.impl.AlertingStatusListener.run()#J2EE_GUEST#0##n/a##8cafa8c072cc11ddbc6f0018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@3f72187f_185030##0#0#Error##Java###Unable to raise alert for fatal process status (adapter :, channel ): com.sap.aii.af.service.alerting.AlertingException: JCoClient connection missingHost:srpidev_SPD_00|AdapterType:File|Sender::BS_File_Sender|Receiver:null:null|Interface:null:null|MsgID:null#3#http://sap.com/xi/XI/System#File#e07325c431493887a7288ca7bb4c0318#
#1.5 #0018FE28105C005400000F1500002D7A0004554CA8E111AE#1219687646040#com.sap.aii.adapter.file.File2XI##com.sap.aii.adapter.file.File2XI.invoke()#J2EE_GUEST#0##n/a##39dafd8072d011dda2450018fe28105c#XI File2XI[comc_sender/BS_File_Sender/]_185023##0#0#Error#1#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File#Plain###Channel comc_sender: Error connecting to ftp server '150.0.150.76': com.sap.aii.adapter.file.ftp.FTPEx: 530 Login incorrect.#
#1.5 #0018FE28105C005000000FC800002D7A0004554CA8E11AB4#1219687646042#com.sap.aii.af.service.alerting.Connection##com.sap.aii.af.service.alerting.Connection.newJcoClientForCentralMonitoringServer()#J2EE_GUEST#0##n/a##347b1af072d011dd88d10018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@6784897_185031##0#0#Error##Plain###Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=srpidev.srhouse.com SYSNR=00 GWHOST=srpidev.srhouse.com GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR hostname 'srpidev.srhouse.com' unknown
TIME Mon Aug 25 23:37:26 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -2
MODULE nixxhsl.cpp
LINE 223
DETAIL NiHsLGetNodeAddr: hostname cached as unknown
COUNTER 991
#1.5 #0018FE28105C005000000FC900002D7A0004554CA8E1239A#1219687646044#com.sap.aii.af.service.administration.impl.AlertingStatusListener##com.sap.aii.af.service.administration.impl.AlertingStatusListener.run()#J2EE_GUEST#0##n/a##347b1af072d011dd88d10018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@6784897_185031##0#0#Error##Java###Unable to raise alert for fatal process status (adapter :, channel ): com.sap.aii.af.service.alerting.AlertingException: JCoClient connection missingHost:srpidev_SPD_00|AdapterType:File|Sender::BS_File_Sender|Receiver::|Interface:mi_vendor:http://file2idoc|MsgID:null#3#http://sap.com/xi/XI/System#File#39b1b7a3830a32978c0ebde7d7b6a672#
Please help me to resolve this issue.
Regards,
Ranjith
Hi
According to your Error Message,
Saying that JDBC Configuration is not Active.
Once again cross check all the config is Activated & also Test your Config Using Config Test Tool in ID
And also check in RWB-Adapter Engine-Adapter monitoring ---select the option instaled & Started. whether the JDBC Adapter is working fine or not
Similar Messages
-
Sender JDBC adapter not picking up data
Hi,
I'm using an adpater to poll dta from two tables using the below query:
SELECT TPartOrderMaster., (the editor convert the star to bold), TPartOrderDetail. FROM TPartOrderMaster INNER JOIN TPartOrderDetail ON TPartOrderMaster.OdrNo = TPartOrderDetail.OdrNo WHERE (((TPartOrderMaster.DocStatusCode)='OA'))
UPDATE TPartOrderMaster SET LastUpdatedDate= GETDATE(), DocStatusCode='OP' WHERE DocStatusCode ='OA'
However, the adapter doesn't pick any data and gives the below log continuously.
11/13/09 5:35:50 PM 7c2bb696-0832-423d-2d59-8e955a3d6e6e Processing finished successfully
11/13/09 5:35:30 PM Processing started
11/13/09 5:33:50 PM 7c2bb696-0832-423d-2d59-8e955a3d6e6e Polling interval started. Length: 120.0 seconds
I have tried running th equery in the SQL server and it works properly.
I even tried restarting the adapter, inactivating and activating it, restarted the adapter in Visual admin. There are no locks for the jdbc adapter in the Visual admin.
Can anyone please suggest what other measures can I take to solve this issue.
Thanks and Regards,
Merrilly
Edited by: Merrilly Don Thomas on Nov 13, 2009 5:50 PMSELECT TPartOrderMaster., (the editor convert the star to bold), TPartOrderDetail. FROM TPartOrderMaster INNER JOIN TPartOrderDetail ON TPartOrderMaster.OdrNo = TPartOrderDetail.OdrNo WHERE (((TPartOrderMaster.DocStatusCode)='OA'))
I doubt whether this works with Jdbc adapter even though the query fetches data when executed on database. The query selects two tables (TPartOrderMaster and TPartOrderDetail) which could be problamatic. Instead can you list out the resultant table(after join) fields in Select query instead of table names?
Refer this blog-
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID0202753750DB11861200566708306426End?blog=/pub/wlg/1725 -
JDBC adapter - not initialized after error
Hi,
While doing maintenance on the DB2 server we get the following error:
com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'XXXXXXXXXXXX': com.ibm.db2.jcc.b.SQLException: IO Exception opening socket to server XXXXX on port XXXXX. The DB2 Server may be down.
This is expected. But, after this error occurs the JDBC receiver adapter becomes unknown or not registered. Even after the DB2 server is brought back up when we process a mesasge through the adapter we get the following error:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
Doing a cache refresh resolves the issue, but is this expected? Should a DB2 connection issue cause the JDBC adapter to no longer be registered?
Thanks.
Best Regards,
DukeHi Duke,
Doing a cache refresh resolves the issue, but is this expected? Should a DB2 connection issue cause the JDBC adapter to no longer be registered?
-->yes, adapter framework is designed like that.
based on your cache refresh settings Adapter engine will update the details and register the service again. i think the cache refresh settings were not defined properly for your server that is the reason it gave you that error and manually refresh is required.
Regards,
Sukarna.Chirumamilla -
Hi.
I have a frustrating problem. I set up a sender file adapter.However even after activating the adapter it does not show up in the adapter monitor.I can see a entry for file but no lights(Green or Red).The XI file adapter service is activated in the j2ee administration tool.
Running XI sp9.
Any ideas where to go look next.check out question 3 in the adapter section:
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
this will solve your problem
Regards,
michal -
FTP adapter not activating on its own
Hi all,
I have set up a sender FTP adapter and whenever a file falls in there the process is not trigered automatically...Everytime we need activate our directory settings to send the file through FTP adapter...I am not able to figure out why the FTP ADAPTER cannot get activated once it receives a file..
Any ideas...
-TeresaHi teresa
What I can figure out is , I think you might not given the polling time , after certain time adapter needs to poll the file from source and excute it. add some value of polling say 60( 60 sec) . It will poll the file after every 60 sec and excute it. also make sure that mode should not be test otherwise it will excute it every time after polling time and u will have huge no of messages in XI.
Hope this will help .
regards
Vinod ahir -
JDBC adapter can't find the jdbc driver class
Hello, my jdbc driver give an very strange error
11:46:13 (4207): JDBC adapter terminated
Mon Aug 02 11:46:13 CEST 2004 *****
11:46:13 (4210): ERROR: Attempt to load JDBC driver failed ("java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver")
Attempt to intialize JDBC adapter failed
11:46:13 (4203): Unable to start JDBC adapter (not initialized)
I know that the jdbc driver is in the classpath, and to confirm that I have created a java program in the IB (repository) which import the class oracle.jdbc.driver.OracleDriver. I can compile and run that program without problems.
Here you can see my jdbc adapter configuration file:
jdbc adapter java class
classname=com.sap.aii.messaging.adapter.ModuleDB2XMB
mode=DB2XMB
Integration Engine address and document settings (example, see docu)
XMB.TargetURL=http://<host>:<port>/sap/xi/engine?type=entry
XMB.SenderBusinessSystem=ExtAdapterSender
XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
XMB.SenderInterfaceName=ExtAdapterSenderIF
XMB.QualityOfService=EO
##DB Adapter specific parameters (example for SQL-Server, see docu)
db.jdbcDriver=oracle.jdbc.driver.OracleDriver
db.connectionURL=jdbc:oracle:<user>:<password>/hello@<url>:<port>:<instance>
db.processDBSQLStatement=Select * emp
db.pollInterval=600
xml.recordsetsPerMessage=1Hi Ernesto,
Can you try to the following:
1. Remove your JDBC driver entries from the CLASSPATH.
2. Put those jars into your jre/lib/ext directory.
3. Restart the whole adapter engine, and
4. Config the driver java class for the adapter. the class name to be used can be found in your JDBC driver document.
Let me know whether it works.
Hart -
Need help reg sender JDBC adapter
Hi,
I am having a requirement like, i need to fetch the data from two data base tables. and after fetching the data, i need to update those two tables.
For selecting the data from two tables, two select statements i need to write, how i can give two select statements in sender JDBC comm channel.
In sender JDBC channel, only one update query we can give...how i can update two tables?
Regards,
Venkata Ramana.Hello Venkat,
For your requirement, go for stored procedure and find the below thread.
Fetching data from JDBC without using JDBC sender adapter
Re: Executing an Oracle Stored Procedure from Sender JDBC adapter
Re: Sender JDBC adapter not picking up data
Re: Retrive data from two diffirent tables
hope this will help you
Thanks,
Venky -
I want to connect to MS sql server.
what driver i should use and the connection string.
Regards,
Vishal KHi ,
you need to download JDBC driver for your SQL version
Please see
Note 0000639702 - JDBC Driver for Microsoft SQL Server
And deploy the driver by following the below notes.
Note 0000831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter
Note 0001138877 - PI 7.1 : How to Deploy External Drivers JDBC/JMS Adapters
Note 0000850116 - XI 3.0 / PI 7.0 JDBC Adapter: Type 2 JDBC Driver Deployment
Note 0001123333 - Redeploying same component with JSPM
Note 0000639702 - JDBC Driver for Microsoft SQL Server -
Resent successful message failed at JDBC adapter
Hello,
I have successfully configured scenario IDOC to JDBC.
Now I have one issue that if my message passes successfully from SAP XI and get stuck at JDBC adapter (not reached to database bcoz of any reason like server is shutdown, etc).
I need to resent this message when oracle server problem is solved.
Can I resent the message which is passed successfully thru XI and stucked at Adpater side?Hi,
If the channel is inactive , it will error out in Integration Engine itself, so u can restart those messages manually.
Also, lets say the receiver system is not reachable(example JDBC), then what happens? You can find those messages in
http://host:port/MessagingSystem/monitor/monitor.jsp . In the window left frame choose Received Messages , in the right frame choose Status Not Delivered. Change the time frame and click tab(there is no enter) , u can find list of messages. Now for each message u can find two options Delete, Re-Deliver ,click on Re-Deliver the message, it will go thru.
Regards
Seshagiri -
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 -
JDBC Sender Adapter - NOT FETCHING RECORDS...
Hello Experts,
I know this was answered in a separate thread (JDBC Sender Adapter - NOT FETCHING RECORDS -PROCESSING STARTED).
However, my question is, Is there a way that we can be notified if a channel has stopped fetching records?
or is there a reporting tool that can be used to check/monitor if a channel is not processing any messages?
Thanks & Kregards,
allarHi Sreedhar,
Thanks for your reply.
These case is not being captured by our alert configuration because its not throwing any error.
in the communication channel monitoring, we see only something like this..:
3/16/09 8:25:19 PM Processing started
3/16/09 8:34:20 PM Processing started
3/16/09 8:33:55 PM Processing started
3/16/09 8:32:54 PM Processing started
but no error is being displayed nor sent.
Also, there was a case that the channel just stopped fetching, even though everything is active.
example log:
3/12/09 8:32:54 PM Processing started
We're looking for ways on how we can trap these scenarios as early as possible, get us notified and perform adapter-lock release when needed.
Regards,
allar -
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 - DELETE operation not working in receiver backend system
Hi All,
In my scenario ,I want to delete entire records of the table from one backend system.
I have created the inbound message and after mapping it is as below:
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:abc_delete xmlns:ns0="http://abc/xi/BACKEND/IB_IF_18/100">
<STATEMENTNAME>
<F12345 action="DELETE" />
</STATEMENTNAME>
</ns0:abc_delete>
here F12345 is the table name.
When I execute this scenario I get black and white flag in XI SXMB_MONI but in backend system (SQL Server) no records get deleted the table is as it is.Please have a look on this (same mentioned by Bhavesh)...
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm
<b><b> <StatementName3>
<dbTableName action=DELETE>
<key1>
<col2>val2old</col2>
<col4>val4</col4>
</key1>
<key2>
<col2>val2old2</col2>
</key2>
</dbTableName>
</StatementName3></b></b>
● action=DELETE
Statements with this action cause existing table values to be deleted. One or more <key> elements formulate the condition for which table values are deleted. The names of <key> elements are arbitrary. Column values within a <key> element are combined with a logical AND; different <key> elements are combined with a logical OR.
The corresponding SQL statement for StatementName3 in the example above is as follows:
DELETE FROM dbTableName WHERE ((col2=val2old AND col4=val4) OR (col2=val2old2))
The response document contains the following element:
<delete_count>count</delete_count>
If there is no <key> element, or if there is a <key> element but it is empty, then no condition is specified and the entire table is to be deleted. This may not be permitted by the configuration of the JDBC adapter for security reasons and will therefore result in an error during message processing and an appropriate error message.
Thanks
Farooq. -
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 -
Sender JDBC adapter -- Update SQL statement NOT work for the last record
I'm trying to use SAP XI to send records from Oracle database to As/400 using JDBC adapter. I've defined the communication channel for sender
(1) The "Query SQL statement" = select a_bgn_dt, a_end_dt from PX_PXXD WHERE NOT CU_ACTION_CD='P'
(2) The "Update SQL statement" = update PX_PXXD set CU_ACTION_CD='P' WHERE NOT CU_ACTION_CD='P'
Supposed that 3 records were retrieved from (1) and successfully updated to AS/400 but only the first 2 records in Oracle database are updated according to (2)
Any advise.
PansyHi Pansy,
You select and update query is looking like wrong
kindly check below query,If you are using oracle
(1) The "Query SQL statement" = select a_bgn_dt, a_end_dt from PX_PXXD WHERE CU_ACTION_CD !='P'
(2) The "Update SQL statement" = update PX_PXXD set CU_ACTION_CD='P' WHERE CU_ACTION_CD !='P'
Thank you
Sateesh
Maybe you are looking for
-
Hey Adobe, I need Rotate View in Illustrator please!
Same as in Photoshop, preferably silky smooth. thank you
-
this is what happened when i installed the 10.6.8 update last week (twice!!) Thankfully, I had a time machine back-up, but how can I upgrade to Lion if this update doesn't work? My iMac Model Name: iMac Model Identifier: iMac7,1
-
Issue in attachment of smartform to VF03
Hi Experts, I have done research still the issue is not solved. I have to attach customized smartform in vf03. When the user clicks the print option, it should open the print preview of the smartform. In menu, when I click billing document-->issue ou
-
Hello i lost my itunes library how do i recover it thank you
hello i lost my itunes library on my mac how do i recover it thank you
-
SELECT CASE WHEN e.EA_STATUS IN ('E4', 'U4', 'P5', '02', '03', '04') and t.TRANS_GROUP IN ('3500', '9100') THEN 1 -- PROJECT WHEN e.EA_STATUS NOT IN ('E4', 'U4', 'P5', '02', '03', '04') and t.TRANS_GROUP IN ('3500') THEN 2 -- NON PROJECT ELSE 0 -- UN