JDBC ERROR IN SAP XI
Hi,
I am working in the following scenery: FILE->XI->JDBC.
I already accomplished all of the configurations in Integration Repository, Integration Directory and System Landscape. When it went to turn the scenery described above appears the following screen enclosed. We are using the database Oracle.
Error
Receiver Adapter v1718 for Party 'DATACENTER', Service 'CCD':
Configured at 10:38:06 2005-08-02
Initialization error: Loading jdbc driver 'oracle.jdbc.driver.OracleDriver' failed: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Found in negative cache
Loader Info -
ClassLoader name: [service:com.sap.aii.adapter.jdbc.svc]
Parent loader name: [Frame ClassLoader]
References:
service:com.sap.aii.af.cpa.svc
service:com.sap.aii.af.ms.svc
service:com.sap.aii.af.svc
service:com.sap.aii.adapter.xi.svc
library:com.sap.aii.af.lib
library:com.sap.aii.messaging.runtime
library:com.sap.xi.util.misc
common:service:iiop;service:naming;service:p4;service:ts
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
library:ejb20
library:sapxmltoolkit
library:com.sap.util.monitor.jarm
library:com.sap.guid
library:com.sap.tc.Logging
library:jms
Resources:
/usr/sap/XID/DVEBMGS14/j2ee/cluster/server0/bin/services/com.sap.aii.adapter.jdbc.svc/aii_adapter_jdbc_svc.jar
Loading model: {parent,local,references}
Available JDBC drivers:
No deployed JDBC Drivers found
This drive already default in database Oracle or should we download the drive and to install in the servant of the XI?
Does some note exist to be applied?
Which are the necessary steps to do the deployed of the drive?
Which are the steps to solve this problem?
HI Sergio,
It seems you need to iconfigure oracle driver on the server.
go to this link:
https://websmp101.sap-ag.de/nw-howtoguides/xi
you will find this pdf:
'How To Install and Configure External Drivers for JDBC & JMS'
for additional info:
chk this thread:
Re: JDBC Adapter Conect to Oracle Database
Similar Messages
-
I have developed Java web application which uses Crystal Report 2013 , java 1.6 , Windows 32 bit System, All the reports are loading fine in the Following environment
Development Environment
Windows7 Professional Service pack 1 -32 bit
Java - 1.6
Internet Explorer 11
Oracle Client 10g 32 bit ODBC driver
Testing Environment
Windows Server 2008 R2 Enterprise - 64 bit
java 1.6
Internet Explorer 9
Oracle Client 11g 62 bit ODBC driver
While loading reports in the 64 bit server the error occurs
ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
ERROR dataengine.datasource : Failed to read next recurring database record: database row set error.
com.crystaldecisions.reports.reportdefinition.datainterface.j: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at com.crystaldecisions.reports.reportdefinition.datainterface.q.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.m(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.l(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.ab(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.h(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aE(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
at com.erm.controller.ALMReportsController.queryDll(ALMReportsController.java:1681)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.erm.authentication.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.if(Unknown Source)
at com.crystaldecisions.reports.queryengine.l.bN(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.eg(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.e(Unknown Source)
at com.crystaldecisions.reports.queryengine.b2.f(Unknown Source)
at com.crystaldecisions.reports.queryengine.b2.dy(Unknown Source)
... 89 more
Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(Unknown Source)A few things to note:
1) Crystal Report 2013 doe snot install any SDK. Thus the assumption is that you are using CR from teh following link:
SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
2) Since you are using a 64 bit connection (Oracle Client 11g 62 bit ODBC driver) you will have to make sure you are using 64 bit JVM. Otherwise, follow Dell's advice and use a 32 bit ODBC datasource.
3) On one test you are using Oracle Client 10g 32 bit ODBC driver and the other you are using Oracle Client 11g 64 bit ODBC driver. You might want to see if you can run your app using Client 11g 32 bit ODBC driver.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada -
Hi Friends,
I got the error while doing jdbc scenario using java mapping.i got the following error "Error while parsing or executing XML-SQL document: ERROR occured parsing request:com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:65)(:main:, row=1, col=65) -> com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:65)".
please help me on this error.sender is file and receiver is jdbc.
my input file looks like:
<?xml version="1.0" encoding="UTF-8"?><ns0:SENDER_MSG_TYPE xmlns:ns0="http://FILE2JDBC_US"> <ORGANISATION>MICROSOFT</ORGANISATION> <FIRSTNAME>KUMAR</FIRSTNAME> <LASTNAME>RAJESH</LASTNAME> <STREET>DALAL</STREET> <CITY>MUMBAI</CITY> <STATE>MAHARASTHRA</STATE> <ZIP>430002</ZIP> <PHONE>3187321</PHONE> <FAX>145965</FAX> <ORDERNUMBER>4569</ORDERNUMBER> <POTYPE>OPEN</POTYPE> <ORDERDELIVERYDATE>14041970</ORDERDELIVERYDATE> <ORDERSTATUS>DELIVERED</ORDERSTATUS> <BANKNAME>SBI</BANKNAME> <ACCOUNTNUMBER>123659874</ACCOUNTNUMBER> <BRANCHCODE>345</BRANCHCODE> <PAYMENTTYPE>CASH</PAYMENTTYPE> <CURRENCY>INR</CURRENCY> <PARTNERNAME>IBM</PARTNERNAME> <QUANTITY>TONNE</QUANTITY></ns0:SENDER_MSG_TYPE>
i need the output to be inserted in to asingle field in the database as a string/blob/clob.
and my output looks like.
<?xml version="1.0" encoding="UTF-8"?><ns0: RECEIVER_MSG_TYPE xmlns:ns0="http://FILE2JDBC_US"><STATEMENT><DATABASETABLE ACTION='insert'><TABLE>DATABASETABLE</TABLE><ACCESS><DETAILS><?xml version="1.0" encoding="UTF-8"?><ns0:SENDER_MSG_TYPE xmlns:ns0="http://FILE2JDBC_US"> <ORGANISATION>MICROSOFT</ORGANISATION> <FIRSTNAME>KUMAR</FIRSTNAME> <LASTNAME>RAJESH</LASTNAME> <STREET>DALAL</STREET> <CITY>MUMBAI</CITY> <STATE>MAHARASTHRA</STATE> <ZIP>430002</ZIP> <PHONE>3187321</PHONE> <FAX>145965</FAX> <ORDERNUMBER>4569</ORDERNUMBER> <POTYPE>OPEN</POTYPE> <ORDERDELIVERYDATE>14041970</ORDERDELIVERYDATE> <ORDERSTATUS>DELIVERED</ORDERSTATUS> <BANKNAME>SBI</BANKNAME> <ACCOUNTNUMBER>123659874</ACCOUNTNUMBER> <BRANCHCODE>345</BRANCHCODE> <PAYMENTTYPE>CASH</PAYMENTTYPE> <CURRENCY>INR</CURRENCY> <PARTNERNAME>IBM</PARTNERNAME> <QUANTITY>TONNE</QUANTITY></ns0:SENDER_MSG_TYPE></DETAILS></ACCESS></DATABASETABLE></STATEMENT></ns0:RECEIVER_MSG_TYPE>
PLEASE HELP ME ON THIS ISSUE . -
Hello XI Gurus,
Thanks for all the help so far. Right now I am in the process of doing file to jdbc scenario. I am following this link: /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
<b>I am getting the follwoing error in the JDBC adapter monitoring:</b>
Receiver Adapter v2606 for Party '', Service 'JDBC_Service':
Configured at 16:31:32 2006-09-08
Last message processing started 16:47:07 2006-09-08, Error: TransformException error in xml processor class, rollback:
Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
SXMB_Moni says that the message has been processed succesfully.
Here are my data:
<b>Here is my Source XML(XI is picks this xml file thru file adapter):</b>
<p2:data_filesender_MT xmlns:p2="http://filetojdbc">
<EMPID>JDK</EMPID>
<EMPNAME>JohnDoe</EMPNAME>
<EMPAGE>3</EMPAGE>
<FLAG>Yes</FLAG>
</p2:data_filesender_MT>
<b>Here is my target XML (in the message mapping test window)</b>
<p2:data_jdbcreceiver_MT xmlns:p2="http://filetojdbc">
<STATEMENTNAME>
<Table1>
<action>INSERT</action>
<TABLE>Table1</TABLE>
<access>
<EMPID>JDK</EMPID>
<EMPNAME>JohnDoe</EMPNAME>
<EMPAGE>3</EMPAGE>
<FLAG>Yes</FLAG>
</access>
</Table1>
</STATEMENTNAME>
</p2:data_jdbcreceiver_MT>
Please let me know what I am doing wrong:
Regards,
N.SHi Swamy,
As Bhavesh mentioned check the mapped xml message i.e JDBC message structure. By seeing the your post, you mentioned action as a element. It should be attribute.
<p2:data_jdbcreceiver_MT xmlns:p2="http://filetojdbc">
<STATEMENTNAME>
<Table1 action = INSERT</Table1>
<TABLE>Table1</TABLE>
<access>
<EMPID>JDK</EMPID>
<EMPNAME>JohnDoe</EMPNAME>
<EMPAGE>3</EMPAGE>
<FLAG>Yes</FLAG>
</access>
</Table1>
</STATEMENTNAME>
</p2:data_jdbcreceiver_MT>
In this Table1 should be your Table Name.
To know more
http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
btw what is the error in the RWB->message monitoring->Message DisplaY tool . also check JDBC communication channel in the Adapter monitoring
Regards,
Moorthy -
Good day,
I did a FILE-RFC-FILE scenario and my file sender adapter returns the error "Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId".
I got hold of blog with the similar error(JDBC - Sender adapter Weird Issue), with a suggestion to deactivate the comm. channels, do a full cache refresh and restart the comm. channels. I did all that but still getting the same error.
Your assistance will be higly appreciated.
Regards,
CharmaineHi,
Not very sure but this could be due to wrong configuration of CC or adapter may got locked.
Check for the same in Visual Admin under
Cluster Tab -
> Locking Adapter
If it has got locked then you can reset it here.
Regards,
Sarvesh -
Intermittent JDBC error in Enhanced Receiver Determination
Hi,
I have an interface that use Enhanced Receiver Determination in PI 7.1 EHP1.
The database is DB2 on i5/os 6.1
Sometimes message ends in error :Error when determining the receiver: Problem while determining receivers using interface mapping: Runtime exception occurred during application mapping com/sap/xi/tf/_HI01_to_ReceiverDetermination_;
But the same message with same values is successfull earlier.
This is not a design problem; the interface is working well 95% of the time.
I found some JDBC error in NWA java logs:
Error in sax handler parsing request: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.
Error when calling an adapter by using the communication channel CC_RECEIVER_JDBC_PIDB2 (Party: *, Service: INTEGRATION_SERVER_PX1, Object ID: cb7ea38fb2ac3a06b12d79f5ade2bcf7) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
Thrown:
com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214)
at com.sap.aii.af.service.api.AdapterAccess.execute(AdapterAccess.java:283)
at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:119)
at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:76)
at com.sap.aii.mapping.lookup.DataBaseAccessor.execute(DataBaseAccessor.java:74)
at com.sap.aii.mappingtool.flib7.SelectSingle.selectSingle(SelectSingle.java:54)
at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
Any idea? Can high volume cause the JDBC Receiver to fail?
Martinhi,
you r trying to impliment Lookup for the file adapter which is not synch in nature and hance u r not getting the responce back.
please find the link which deals with how to impliment lookup for file adapter.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252blookup%252bin%252budf.
now once u get rhe runtime receiver u can perform enhanced receiver determination (write a simple UDF)
regards,
navneet. -
XI to jdbc error: No more data to read from socket
i have a XI to JDBC scenario, where a receiver JDBC communication channel sends a query to the database, i get an error in the response (from database) as:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'NAME' (structure 'STATEMENT'): java.sql.SQLException: No more data to read from socket</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>Hi Sudeep,
This error most likely occurs when you use DB connection pool, which I think is the case in XI. When the JDBC adapter tries to connect to the database and discovers that the connection has been timed out/lost, then this exception is generated. Please have a look of the connection settings of your JDBC adapter and also at the note 831162.
Cheers...
Vasu
<b>** REward POInts if found useful **</b> -
IDOC to JDBC :Error using JDBC
Hi Frnds,
My scenario is Idoc to JDBC scenario, I am getting the follwoing error while trying to process an idoc. Please help me in hadling this error.
Error Message:
JDBC message processing failed; reason Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://180.1.32.194:1433;DatabaseName=CZZ03;': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
Regards,
ShivHello Shiva,
Are you installed JDBC Drivers?
Go through this links,
/people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
To install JDBC driver follow the how to guide.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
Configuration of JDBC Adapter for SQL Server
JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
UserID and Password.
If the connection is not working find the correct port number.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
JDBC- X I - R/3 Scenario
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Please check the driver path as mentioned below.
JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
No JDBC driver required.
Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
follow this thread
Re: Problem when connecting to MS Access through JDBC Adapter.
SAP Note 850116 has details
Thanks,
Satya Kumar
Reward if it is usefulll -
Dashboard Widget Error in SAP B1 8.81 PL-08
Hi Experts,
I have installed the SAP B1 integration component and establish the connection of B1D1 and JDBC connection with company database and clicked on Test connection and it runs successfully.But when clicked on Dashboard Widget from General Settings->Cockpit-click on checkbox of Enable Dashboard Widget then it gives error "Install SAP Business One Integration Service before enabling Dashboard widget."
Please give me solution asap.
Regards
SUbhradipCould be a firewall or antivirus issue as the dashboard uses active x.
-
Hi experts,
This is error I got in communication channel monitoring.Any body please analyse it and provide me the with right solution.
{Error during database connection to the database URL 'jdbc:odbc:Driver:demo;DBQ=C:\Documents and Settings\Administrator\My Documents\db1.mdb' using the JDBC driver 'sun.jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver:demo;DBQ=C:\Documents and Settings\Administrator\My Documents\db1.mdb': SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'}
Thanks,RamHello Raju,
You need to deploy the JDBC Drivers..
Go through this links,
/people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
To install JDBC driver follow the how to guide.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
Configuration of JDBC Adapter for SQL Server
JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
UserID and Password.
If the connection is not working find the correct port number.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
JDBC- X I - R/3 Scenario
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Please check the driver path as mentioned below.
JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
No JDBC driver required.
Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
follow this thread
Re: Problem when connecting to MS Access through JDBC Adapter.
SAP Note 850116 has details
Thanks,
Satya Kumar
Reward if it is useful -
JDBC Error: This driver is locked for use with embedded applications
Hi Experts,
My sender adapter is throwing the below error:
Error during database connection to the database URL 'jdbc:nwmss:sqlserver://<host>:<port>;databaseName=<dbname>' using the JDBC driver 'com.sap.nwmss.jdbc.sqlserver.SQLServerDriver': 'java.sql.SQLException: [NWMss][SQLServer JDBC Driver]This driver is locked for use with embedded applications.'
What could be the problem? How can I resolve it?download the latest version of SQL driver from MS site and re deploy it on PI
-
T-code or Table to find total errors in SAP APO like ST22 in ABAP
hi all,
Could please tell me the T-code or Table to find total errors in SAP APO like ST22 t-code in SAP ABAP.
Thanks.
Suryam SHello Venu,
Do you mean other functional errors?
You can check SLG1, /SAPAPO/C3, STAD
Best Regards,
R.Brahmankar -
How to Report a product error in SAP Business One
Hi Experts
I have found a product error in SAP Business one
i need to know how it can be notified to SAP
Thanks
KrishHi Krish,
If You Post a Meessage to SAP Support Center
Require S-user ID and Password
First post a message to SAP Support Center with what problem you are facing.
then he analyse your problem and told its a BUG or some other workaround.
Check the following thread
Re: How to Send message to SAP Support center
*Close the thread if issue solved.
Regards
Jambulingam.P
Edited by: Jambulingam P on Aug 13, 2009 12:35 PM -
Hi Experts,
We have many File to EDI scenarios wherein XI System pick up the XML and sent to customers via EDI. Recently we faced a problem so created a Back-up System (Production copy) and tested successfully. After sometime the messages were routed to this back-up system and when we notice it and then stopped the back-up system. All the messages that were routed to back-up system, we try to send the same messages from the actually Production system to our customers. Now the problem is XI system (Production system) is unable to pick these files and I check the communication monitoring and encountered the below error message.
Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550.550
Can anyone let me know how to fix the issue or what needs to be done?
Your help is highly appreciated.
Regards
FaisalHi,
It seems to be problem with permission of files. Please ask your basis to do following:
1. Set the permissions to FTP User you are using as 777 rights(full access to read , write and delete)
2.If you have access to PI server, try to telnet /connect to ftp using command prompt (open ftp .....) the FTP server form there, you should see the same error there , inform this to your network guys.
3.Clear all the files places already in the ftp (take backup) and test afresh after permissions are set by basis team.
Regards
Aashish Sinha -
ERROR MESSAGE sap system manager:work process restarted, session terminated
Hi,
i am a beginer in SAP administration, users are getting this error message and i have done all my research and not able to resolve this issue. Here are the details
SAP Version :ideas 4.7
Database :Oracle
OS : windows 2003
Module user is working on MM
user working on it is a Super user with all the permissions
SAP is configure to run under the European date and decimal format.
I have never done any database administration on it, it is a new install and has been rarely used.
User creates a RFQ and when he tries saving it , seems like for the first time after either restarting the macine or restarting the service it might work and at time it might not, this is a very sporadic error and most of the times it crashes out with the message "sap system manager:work process restarted, session terminated" and kicks the user out of the session.
Below are the details of the error message from ST22 :
name of the runtime error : system_core_dumped
below are the details of the error message and its resoltion as suggested by sap help :
========
Runtime Errors SYSTEM_CORE_DUMPED
Occurred on 01.02.2008 at 07:52:19
Process terminated by signal " ".
What happened?
The current ABAP program had to be terminated because the
ABAP processor detected an internal system error.
The current ABAP program "SAPLCLSC" had to be terminated because the ABAP
processor discovered an invalid system state.
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An SAP System process was terminated by an operating system signal.
Possible reasons for this are:
1. Internal SAP System error.
2. Process was terminated externally (by the system administrator).
Last error logged in SAP kernel
Component............ "Taskhandler"
Place................ "SAP-Server server1_DEV_00 on host server1 (wp 1)"
Version.............. 1
Error code........... 11
Error text........... "ThSigHandler: signal"
Description.......... " "
System call.......... " "
Module............... "thxxhead.c"
Line................. 9555
How to correct the error
The SAP System work directory (e.g. /usr/sap/c11/D00/work ) often
contains a file called 'core'.
Save this file under another name.
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. " "
Application server....... " "
Network address.......... " "
Operating system......... " "
Release.................. " "
Hardware type............ " "
Character length......... " " Bits
Pointer length........... " " Bits
Work process number...... " "
Short dump setting....... " "
Database server.......... " "
Database type............ " "
Database name............ " "
Database owner........... " "
Character set............ " "
SAP kernel............... " "
Created on............... " "
Created in............... " "
Database version......... " "
Patch level.............. " "
Patch text............... " "
Supported environment....
Database................. " "
SAP database version..... " "
Operating system......... " "
User, transaction...
Client.............. " "
User................ " "
Language key........ " "
Transaction......... "ME41 "
Program............. "SAPLCLSC"
Screen.............. "SAPMM06E 0320"
Screen line......... 71
Information on where termination occurred
The termination occurred in the ABAP program "SAPLCLSC" in "EXECUTE_SELECT".
The main program was "SAPMM06E ".
The termination occurred in line 131 of the source code of the (Include)
program "LCLSCF2G"
of the source code of program "LCLSCF2G" (when calling the editor 1310).
=============
i even tried increasing the dialog processes but with no use.The same error occurs.
I appreciate every one of help i can get, i am working on a deadline which is tomorrow evening to resovle this issue, any kind of help is highly appreciated.
thanks
mudessir.Hi
follow correction method suggested in this dump,
" The SAP System work directory (e.g. /usr/sap/c11/D00/work ) often
contains a file called 'core'. Save this file under another name."
have you done this?
with regards,
raj.
<i>pls, award points</i>
Maybe you are looking for
-
Program ID in Sender RFC adapter.
Hi Experts, I have created 9 interfaces between same R3 (RFC Sender) and FTP (file receiver)server. , Do i need to create 9 RFC sender communication channels with different program ID (for registered server program in RFC destination type TCP/IP
-
How to store data from channels into constants
Hi I currently have a six channel data acquisition system for LVDTs. The way the process works is we do a calibration run on the LVDTs and store the values we get and then use these baseline values during actual measurement. My question is how do I a
-
PP confirmations Goods movements ONLY allowed when final confirmation.
Dear All, Transaction CO11N. Is there a possibility to do the goods movements of components which are on back flush only on final confirmation of the operation? Any help is more then welcome! Best regards, Luc Knuts
-
Need some assistance. I have 2 Ironport in a cluster running. I need to swap hardware one at a time. One device is already disconnected form the cluster. I download the config and uploaded to the new hardware but i always get an error while uploadin
-
Issues with new iTunes and iPod Shuffle:
I just updated my iTunes in a Windows 7 PC and since then I cant sicronize or even restore my iPod Shuffle 3rd gen. I reinstall every SW recomended from Apple but the problem persists. After to try restore the iPod SW a new message appears saying tha