Deploying JDBC drivers in PI 7.0
Dear All,
My PI consultant facing following error,
Error during database connection to the database URL 'jdbc:sqlserver://10.0.96.2;databaseName=GSPCGASAsset;user=**;password=**;' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection :: SAPClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver'
asking for installing JDBC Driver?
which driver i need to install? and how to install that? how to check that?
I checked in visual admin there is already some JDBC Driver Install?
From,
Ketan Kapadi
Please check the version of sqldatabase whether its 2005 , 2008 , go to microsoft site and then search for drivers
please follow the links and how to guide giving you some idea
take help of BASIS wherever required
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
PI - JDBC Adapter - JDBC Driver Install
INSTALLATION OF JDBC Driver for PI7.1 ehp1 for ORACLE and SQL Server 2008
thanks
Ninad
Similar Messages
-
Deploy JDBC drivers - SAP PI 7.0
Hi guys,
I have to deploy JDBC drivers to implement JDBC adapter in SAP PI 7.0. I've found some guides for XI 3.0 or SAP PI 7.1 but not to SAP PI 7.0. Can I apply guide for XI 3.0 or another exists?
Best regards,
PabloHi,
>>>I've found some guides for XI 3.0 or SAP PI 7.1 but not to SAP PI 7.0. Can I apply guide for XI 3.0 or another exists?
the one for 3.0 works for 7.0
Regards,
Michal Krawczyk -
JDBC Drivers deployment in SAP PO system
Hi Experts,
Could any one provide information regarding deployment of JDBC drivers in SAP PO system. As I can see one of the option in NWA (Below is the screen snap) to deploy directly driver file in to SAP PO system. Is this is the way ?? If not please show some light on this.
Regards,
Anusha.Hi Anusha
You can use SDA maker tool to build and include JDBC driver jar file in com.sap.aii.adapter.lib.sda file. You can also get this sda file by following the steps in SAP Note 1770304.
Ensure that the jar file is compatible with SAP JVM used in your PI system.
After you build the sda file, deploy it using telnet or SUM.
regards
AKD -
Issue in deployment of External JDBC drivers
Hi
This is the case for deploying external drivers for Oracle DB.
After adding classes12.jar and provided entry in provider.xml file in aii_af_jmsproviderlib.sda file, tried to deploy the application. But it was giving error like
Manifest attributes are missing or have badly formatted value: attribute keylocation is missing attribute keyname is missing.........
But while adding jar file we know that needn't update manifest file rather just update of provider.xml file only.
Please advice me what needs to be done to deploy safely.Hi Prateek
I have followed the following SDN-blog
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
But I didn't make any changes to meta-inf file. That remains same. Then how come error relating to attributes in Meta file?
Please advice me. -
Oracle10g Jdbc Drivers issue with EJB on Weblogic 7
Hi there,
We are facing a critical issue on production environment related to Oracle jdbc drivers.
We have a J2EE application with swing client. We are using MVC framework where client calls go to stateless session bean which redirect it to specific POJO which then uses Entity Beans for persistence.
We have following environment.
JDK1.4.2, Weblogic 7 with SP5, Oracle10g on AIX 5.2
Now the problem is that we were using Oracle 8 jdbc driver classes12.zip for our application. Everything was working smoothly. Recently we moved our weblogic and oracle Servers machines locations, after that movement we started to get an exception when weblogic initializing connection pool that makes connection to a different oracle10g database. Oracle supports ask us to upgrade the jdbc driver. So we moved to 10g driver ojdbc14.jar but during testing one functionality is failing with a exception where rest of application seems to be working fine. The exception occurs when we try to post a record and during the creation of a child entity bean the transactions rollback for some unknown reasons. Using the old oracle8 classes12.zip driver the same code working fine again. We have also tried the classes12.zip driver of Oracle10g but error persist. I have checked the code and deployment descriptors but they seems fine. If i comment the creation of that particular entity bean the parent bean get created successfully and transaction commit successfully. Please also note that we have not created any relation b/w both entity beans not even in the database. They both are sort of independent.
Can any one having any idea why Oracle10g driver not working or what might be the problem with our configuration. Any help will be highly appreciated. Please see the Exception below.
<Jan 29, 2008 6:03:10 PM PKT> <Info> <EJB> <010036> <Exception from ejbStore: javax.ejb.NoSuchEntityException: Instance
of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHist
oryEntityPK@93e447fa' not found.
javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup
.security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.
at com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.__
WL_store(SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.java:2208)
at com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.ej
bStore(SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.java:2012)
at weblogic.ejb20.manager.DBManager.storeBean(DBManager.java(Compiled Code))
at weblogic.ejb20.manager.DBManager.beforeCompletion(DBManager.java(Compiled Code))
at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManager.java(Compiled Code))
at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java(Compiled Code))
--------------- nested within: ------------------
weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager
$TxListener@44a824cd
Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityR
atingHistoryEntityPK@93e447fa' not found. - with nested exception:
[javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setu
p.security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.]
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java(Compiled Code))
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java(Compiled Code))
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java(Compiled Code))
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java(Compiled Code))
at com.cdc.fms.server.common.ConsolidatorSessionBean_fz4673_ELOImpl.processRequest(ConsolidatorSessionBean_fz467
3_ELOImpl.java:57)
at com.cdc.fms.server.common.GatewaySessionBean.processRequest(Unknown Source)
at com.cdc.fms.server.common.GatewaySessionBean_oehtlw_EOImpl.processRequest(GatewaySessionBean_oehtlw_EOImpl.ja
va:407)
at com.cdc.fms.server.common.GatewaySessionBean_oehtlw_EOImpl_WLSkel.invoke(Unknown Source)
<Jan 29, 2008 6:03:10 PM PKT> <Info> <EJB> <010051> <EJB Exception during invocation from home: com.cdc.fms.server.commo
n.GatewaySessionBean_oehtlw_HomeImpl@3e13a4aa threw exception: javax.ejb.EJBException: nested exception is: weblogic.tra
nsaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager$TxListener@
44a824cd
Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityR
atingHistoryEntityPK@93e447fa' not found. - with nested exception:
[javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setu
p.security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.]
javax.ejb.EJBException: nested exception is: weblogic.transaction.RollbackException: Unexpected exception in beforeCompl
etion: sync=weblogic.ejb20.internal.TxManager$TxListener@44a824cd
##################################################################weblogic 7? when the current production version is 10.2?
don't play yourself. fund a project to upgrade your weblogic version.
can't tell based on what you've posted, and I fear that the stuff you'll have to post to get an answer here will be too much. this isn't a good place to come for an answer.
% -
Deploy JDBC driver for SQL server 2005 on PI 7.1
How to deploy JDBC driver for SQL server 2005 on PI 7.1
We are in SAP NetWeaver 7.1 Oracle 10G
Third party system is SQL server 2005
There are different JDBC versions are available to download for SQL server 2005.
I am not sure about the applicable version for the PI 7.1 SP level. Again JMS Adapter needs to be deploy along with this.
Please helpHi,
Hope this How to Guide help you.
How To Install and Configure External Drivers for the JDBC & JMS Adapters from
www.sdn.sap.com/irj/sdn/howtoguides
Regards,
Karthick.
Edited by: Karthick Srinivasan on Apr 13, 2009 4:07 PM -
Deploying JDBC driver for SQL Server 2005 on PI 7.1
How to Deploy JDBC driver for SQL Server 2005 on PI 7.1 on Windows 2003 server
We are in NW PI 7.1 and third party db is sql server 05.
Found How-to Guide SAP NetWeaver u201804 but unable to find for NW PI 7.1
Can any one help me on this? (looking for guide step by step procedure)
Regards
MaheshHi,
Check these:
Re: Installing JDBC Drivers for PI 7.1
how to deploy MS Sql Server 2005 and 2008 jdbc driver
Mention of a SAP Note in the first link or refer this note [831162|https://service.sap.com/sap/support/notes/831162]
Regards,
Abhishek. -
Installing JDBC drivers in PI 7.1
Hello! Previously I used PI 7.0 and have an instruction Howto install JDBC driver. But now I can't find how to install drivers in PI 7.1
Could you help me please?hi,
have you seen this new SAP note -
1138877 - PI 7.1 : How to Deploy External Drivers JDBC/JMS Adapters ?
is that what you're looking for ?
Regards,
Michal Krawczyk -
JDBC drivers not working in QA for multibye characters
Hi,
we have a problem with JDBC and deployed in DEV system and its works fine, but the same when we deply in QA its not working.
the problem we are trying to use the simple select query from ORACLE DB.
In ORACLE DB they converted the chenise char to English after that our JDBC drivers are not able to pick the multibite char.
XI JDBC Adapter shows below error with a SELECT Query
SELECT Query:SELECT * FROM APPS.ITEM_XI_V The Chinese character are converted to English and becomes multibye characters.
Error:Error during conversion of query result to XML: java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv
Assumption is that the issue with older version of ojdbc14.zip (JDBC Driver file)
Reference:http://www.coderanch.com/t/299231/JDBC/java/UTF-conversion
implement SAP Note 941317 in order to resolve the current issue.
Note 941317 - XI / PI JDBC Adapter: Known Problems / Incompatibilities JDBC Driver Deployment. Refer to SAP Note 831162
after apply as per note for DEV system its works fine, but the same when we did for our QA system still the same error.
Thanks,
Venkat.Hi Gurus,
Any idea where i am doing wrong.. in QA i am able to extract data with simple select statment with normal tables...
Thanks,
Venkat -
How to view JDBC drivers installed?
Hi,
How could I see in XI which JDBC drivers are currently installed on the system.
I have an XI user with, if I don't go wrong, all the privilegies, but no access to the installed OS.
Thanks in adv. for your suggestions.
Cheers,
gregHello Greg,
The SDA has now been deployed in the J2EE serveru2019s file system. You can verify this by inspecting the directory
/usr/sap/<SID>/DVEBMGS<SYSNO>/j2ee/cluster/server0/bin/ext/com.sap.aii.af.jmsproviderlib, where you will find
all JAR files you previously added to the SDA.
Regards
Prasad -
JDBC drivers for SQL Server 2008 and PI7.0
HI,
I have deployed the JDBC drivers (sqljdbc.jar and sqljdbc4.jar) available for the SQL Server 2008 from the microsoft website as described in the how to document for deploying and configuring JDBC and JMS adapters.
I am running a JDBC to FIle(XML) scenario. When I go and see on the RWB CC monitoring, I get this error
Error during database connection to the database URL 'jdbc:sqlserver://hostname:1433;databaseName=123_Nagasatya' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://hostname:1433;databaseName=123_Nagasatya': UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 50.0)'
WRT to the SQL server the port 1433 is open on the host and there is no firewall on the PI server as well as the SQL Server. Both are on different machines.Any help would be greatly appreciated.
Regards.Hi Sujan,
This is the link.
[JDBC|http://www.microsoft.com/downloads/details.aspx?familyid=c47053eb-3b64-4794-950d-81e1ec91c1ba&displaylang=en]
or
You can also use the one on the market place.
Go to http://service.sap.com/msplatforms -> SQL Server
get zip-file sqljdbc_12_hotfix.zip contains the sqljdbc.jar file.
It should work.
Please let me know if you have any questions.
Regards. -
Appropriate JDBC drivers for 7.0 version and SP16
Hi all
we are using XI 7.0 SP 16.
what type/verion of JDBC drivers should be used for database connectivity?
while i was going through "How to install external JDBC Drivers" it was suggesting to use
Oracle 9i and Oracle 10g:
ojdbc14.jar
u2022 Microsoft SQL Server:
msbase.jar, mssqlserver.jar, msutil.jar
(in screen shots as well it was showing he was using msbase.jar, mssqlserver.jar, msutil.jar and ojdbc14.jar)
should we use both ojdbc14.jar and msbase.jar, mssqlserver.jar, msutil.jar or else one of them would be sufficient?
Is OJDBC a type 4 and type 2 driver?
Full Points are guaranteed
Regards
BhaskerHi,
You have to use ojdbc14.jar or classes12.zip/.jar for Oracle and msbase.jar, mssqlserver.jar, msutil.jar for Microsoft SQL Server. Thus both are required to be deployed on J2EE server.
And Oracle JDBC is a type 4 driver.
refer --> http://www.aquafold.com/docs-jdbcdrivers-oracle10g.html
Refer
SAP Note : 1078420, 831162, 941317, 1138877
Thanks
Swarup
Edited by: Swarup Sawant on Aug 4, 2008 10:25 AM -
Hi ..
We have successfully deployed the JDBC drivers but in RWB(Communication channel monitoring) ,when executing we are getting an error
Received XI System Error. ErrorCode: EXCHANGE_PROFILE_ACCESS ErrorText: ErrorStack: Error while reading exchange profile for system PI7 and client 001
2006-12-05 12:33:25 Error Transmitting the message to endpoint http://sap1:8001/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: EXCHANGE_PROFILE_ACCESS:.
<b></b><i></i>
Any suggestions
Thanks
Gopal
Message was edited by:
Gopal krishnan
Message was edited by:
Gopal krishnanHi..
I did it but here i am wondering becoz my RFC connection SAPSLDAPI works fine
But at transaction SLDCHECK..it throws an error like
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call returned exception code 4
=> Check whether the SLD is running!
Summary: Connection to SLD does not work
=> Check SLD function and configurations
But the SLD URL pops up and opens wih put any error.in a same fashion,it happens in SXMB_ADM--> integration engine config.it says connections to SLD doesnot work
any idea to verify
Thanks
Gopal -
Installing JDBC Drivers on SQL Server 2008 r2
I am unable to create JDBC data source on Web logic server ;the system displays the error that "can not load the jdbc drivers". The web logic server has to be configured to start or deploy the server for primavera contract management.
I am not getting why this configuration not possible.
Please let me know how to create the JDBC data source on the Web logic configuration for primavera contract management.Hello,
If you wan to connect to SQL Server 2008 R2 database from your java application, you should download and install Microsoft JDBC Driver for SQL Server from the following link:
http://www.microsoft.com/en-in/download/details.aspx?id=11774
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
Hi Experts,
we are working on JDBC interfaces..we currently have Oracle 9 JDBC drivers in SAP PI...which is working good..
one of our vendor DB migrated to Oracle 12c...those messages are failing in PI.
now, we would like to install Oracle 12 in addition to Oracle 9 which is already existing....Is it OK to have 2 Oracle drivers installed in PI?
how will it work? By default which Drivers will be taken into consideration? how can we switch between these 2 drivers?
Please advise.Hi Smith,
As far as i know in PI 7.1 the installation process restarts the java stack, in PI 7.3X i dont know if it is necessary, we usually do it but we didnt check if it was necessary.
Check these documents:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8000cffc-6b92-2d10-3493-f2ac1399242f?overridelayout=t…
Deploying Oracle JDBC Driver in PI 7.3 System through SUM
REgards.
Maybe you are looking for
-
Mighty Mouse: Problems with it everyday!
Can someone please advise me on what to do with my new mighty mouse? I've had it for a couple of months now, and everyday it is affected by at least one of three functional glitches. These are: 1. The click, scroll and side bars stop functioning (the
-
Check access on page that inherit security
Hi, I'm building a dynamic menu which needs to render a page_group with all his pages and subpages. I want to implement security in such a way that only pages are shown wherefore the current logged-in user has manage rights for. Currently I have 2 pa
-
Hello, I'm Italian, sorry for my English. I bought my Nokia 5530 a week ago and I often enjoy the facebook application. However I've two problems: 1- I can't see notifications 2- When I go to a friend-of-mine wall I can't see any previous post. Can I
-
10.5.5 - Any camera updates?
Specifically, support for Olympus E520. ?
-
My deepest thanks to everyone in the Apple Support Communities
I am a 74-year-old newby to the world of Mac. I have always had to use Windows based PCs at work. After I retired, I purchased a beautiful 27" iMac and I realize that until now, I was only working with half a computer. Three times I needed to submit