JDBC receiver MS SQL Server encryptation

Hi all,
I have to configure a communication channel from a PI 7.0 to MS SQL Server 2005 database to execute updates. I have already deployed the com.microsoft.sqlserver.jdbc.SQLServerDriver driver.
I have been asked whether SSL encryptation can be used. I have found an example for an Oracle database. The following aditional parameters can be specified:
driver.oracle.net.encryption_clien = ACCEPTED
driver.oracle.net.encryption_types_client = RC4_40
driver.oracle.net.crypto_checksum_client = ACCEPTED
driver.oracle.net.crypto_checksum_types_client = MD5
Does anybody know if these or similar parameters can be used for the SQL Server Driver?
Thanks in advanced for your advice

>Does anybody know if these or similar parameters can be used for the SQL Server Driver?
Search in microsoft SQL Server web link for this. Sure, you cannot use the same oracle syntax for SQL Server. Plus what SQL Server do you use ?  These server encryption are required to configure at database server too. If the version what do you use does not suppor then there is no point in configuring at the channel side.
The oracle parameters are supported only Oracle 10 and above versions only. I believe you are referring this link
http://wiki.sdn.sap.com/wiki/display/XI/EncryptioninscenariosinvolvingJDBCAdapterwithOracleDatabase

Similar Messages

  • JDBC Driver for SQL Server 7

    Is there a free JDBC Driver for SQL Server 7 available? If so, where? I created a server program that listens to a port and inserts records based on information it receives. It uses sun's JDBC:ODBC Bridge but it crashes randomly (sometimes weeks, sometimes days, sometimes hours after starting program). Each time it crashes it generates a error log file like this:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77f821e1
    Function name=RtlEnterCriticalSection
    Library=C:\WINNT\System32\ntdll.dll
    Current Java thread:
         at sun.jdbc.odbc.JdbcOdbc.driverConnect(Native Method)
         at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at com.xxxxx.data.DataAccess.connect(DataAccess.java:20)
         at com.xxxxx.xxx.server.Broadcaster.insertOrder(POSServer.java:71)
         at com.xxxxx.xxx.server.ClientListener.run(POSServer.java:298)
    Dynamic libraries:
    0x00400000 - 0x00405000      C:\WINNT\system32\java.exe
    0x77F80000 - 0x77FFB000      C:\WINNT\System32\ntdll.dll
    0x77DB0000 - 0x77E0C000      C:\WINNT\system32\ADVAPI32.dll
    0x77E80000 - 0x77F35000      C:\WINNT\system32\KERNEL32.DLL
    0x77D40000 - 0x77DB0000      C:\WINNT\system32\RPCRT4.DLL
    0x78000000 - 0x78046000      C:\WINNT\system32\MSVCRT.dll
    0x6D420000 - 0x6D4F0000      C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\hotspot\jvm.dll
    Local Time = Mon May 06 10:36:33 2002
    Elapsed Time = 124
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
    Or this:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77f821e1
    Function name=RtlEnterCriticalSection
    Library=C:\WINNT\System32\ntdll.dll
    Current Java thread:
         at sun.jdbc.odbc.JdbcOdbc.freeConnect(Native Method)
         at sun.jdbc.odbc.JdbcOdbc.SQLFreeConnect(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcDriver.closeConnection(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcConnection.close(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcConnection.finalize(Unknown Source)
         at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
         at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
         at java.lang.ref.Finalizer.access$100(Unknown Source)
         at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00405000      C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\javaw.exe
    0x77F80000 - 0x77FFB000      C:\WINNT\System32\ntdll.dll
    0x77DB0000 - 0x77E0C000      C:\WINNT\system32\ADVAPI32.dll
    0x77E80000 - 0x77F35000      C:\WINNT\system32\KERNEL32.DLL
    0x77D40000 - 0x77DB0000      C:\WINNT\system32\RPCRT4.DLL
    Local Time = Mon May 06 10:13:59 2002
    Elapsed Time = 137
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
    I think this error occurs because I'm using sun's JDBC:ODBC Bridge. I'm hoping that using a different driver will solve the problem.
    Thanks,
    Dan

    I used Sun's jdbc odbc driver for a while, with no problems, with Sql Server 7. But anyways, if you want a free type 4 driver, you can get the freetds driver at
    https://sourceforge.net/projects/jtds/

  • 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 help

    Hi,
    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
    Mahesh

    Hi,
    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.

  • *****Error in Microsoft JDBC drivers for SQL Server 2000****

    hi guys,
    I am getting the following error in my application. The error seems to have thrown by Microsoft JDBC drivers for SQL Server 2000
    The application tries to execute the the following query when the error is thorwn:
    SELECT getDate(); // getDate is a function which returns currebt date time. The error is thrown occassionally. Other times the same query is executed correctly by the application.
    Can any one help with this one.
    The error is:
    java.lang.NullPointerException
         at com.microsoft.jdbc.base.BaseImplStaticCursorResultSet.setupTempFiles(Unknown Source)
         at com.microsoft.jdbc.base.BaseImplStaticCursorResultSet.<init>(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.chainInServiceImplResultSets(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.getNextResultSet(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonGetNextResultSet(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
         at com.sanderson.tallyman.util.TallymanDB.executeQuery(Unknown Source)
         at com.sanderson.tallyman.util.TallymanDB.getCurrentDate(Unknown Source)
         at com.sanderson.tallyman.operations.interfaces.RecordUpdateControl.updateRecord(Unknown Source)
         at com.sanderson.tallyman.operations.interfaces.DebtInterfaceControl.processUpdate(Unknown Source)
         at com.sanderson.tallyman.operations.interfaces.DebtInterfaceControl.processInterface(Unknown Source)
         at com.sanderson.tallyman.operations.interfaces.InterfaceHandler$ProcessRecord.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    rgds,

    Hi,
    Did you ever get an answer to this? I am also having this problem.

  • JDBC connection to SQL Server 2000 Service Pack 4

    Hello Everyone,
    I'm trying to do a simple application which save some values into a MS SQL Server 2000 Database's Table.
    The source code I've written is:
    package Logging;
    import com.brekeke.net.sip.sv.session.*;
    import com.brekeke.net.sip.sv.session.plugins.*;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    public class Logging extends AccountingBase {
    public int eventSessionStart( EventStat evstat, String[] argprm )
    int ris =0;
    int line=999;
    try {
    EventStat a;
    a = evstat ;
    String username;
    username=a.urlCaller;
    String callee;
    callee=a.urlCallee;
    Statement stmt = null;
    try {
    line=1;
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    line=2;
    Connection conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://BSSQL:1433;DataBaseName=Test;User=sa;Password=biesse");
    line=3;
    // Create and execute an SQL statement that returns some data.
    String SQL = "INSERT INTO log VALUES ('" + a.urlCaller + "','" + a.urlCallee + "')";
    line=4;
    stmt = conn.createStatement();
    line=5;
    line=stmt.executeUpdate(SQL);
    line=10;
    catch (Exception e) {
    e.printStackTrace();
    finally {
    if (stmt != null) try { stmt.close(); } catch(Exception e) {}
    File f = new File("c:/prova.txt");
    FileOutputStream fos=new FileOutputStream(f);
    PrintStream ps=new PrintStream(fos);
    ps.println(line);
    ps.println(a.urlCaller);
    ps.println(a.urlCallee);
    fos.close();
    catch ( Exception ex ) {
    return ris;
    The problem is that into the Table no value is written, no problem compiling it and into the file prova.txt I can see only the value line=1 written!
    So there should be something wrong in the connection.
    I've already installed the JDBC drivers for SQL Server 2000 and I've addedd into the libraries the "msbase.jar, the mssqlserver.jar and the msutil.jar".
    But nothjng written into the Database :-(
    Can you help me please?
    Thank you very much in advance,
    Best Regards
    Francesco

    Hi,
    Yes i am able to connect from ISQL. Only connecting from JDBC is a problem.

  • Microsoft Jdbc driver for SQL Server memory leak

    I'm using Microsoft Jdbc driver and see there's some leak after running application for a while. I'm sure that it's from Jdbc driver because I sitch to Jtds and the issue went away. My question is is there anybody knows which web sites talk about memory leak issue in Microsoft Jdbc driver for SQL Server?
    Appreciate your help

    I'm using Microsoft Jdbc driver and see there's some leak after running application for a while. I'm sure that it's from Jdbc driver because I sitch to Jtds and the issue went away. My question is is there anybody knows which web sites talk about memory leak issue in Microsoft Jdbc driver for SQL Server?
    Appreciate your help

  • JDBC driver for SQL Server Compact Edition

    Hi,
    I'm trying to run pc java application on Pocket Pc (Mobile 5.0) with SQL Server Compact edition.
    The error message is:
    java.lang.UnsatisfiedLinkError: java/sql/DriverManager.getCallerClassLoader()Ljava/lang/ClassLoader;
    at java.sql.DriverManager.getConnection(Unknown Source)...
    Should I use a special jdbc driver for SQL Server Compact Edition? Is there one?
    Mixxo

    Hi,
    I got an answer from msdn forum:
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2307542&SiteID=1.
    There is no jdbc driver for SQL Server Compact Edition. OleDB and ADO.net are available. Now I need to know how to use them (in Java)...
    Thanks, Mixxo

  • JDBC driver for SQL Server

    Does anyone know of a JDBC driver for SQL Server 2000 that supports Windows Authentication?
    Meaning a username and password does not need to be supplied when connecting to the database.
    Thanks,
    James.

    Yes.
    JDBC-ODBC.

  • Using JSP & JDBC driver for SQL Server 2000 on Red Hat

    I successfully have a .jsp app running on windows server 2000 using JDBC
    driver for SQL Server 2000. Which I installed in order to the following
    Red Hat:
    http://msdn.microsoft.com/MSDN-FILES/027/001/779/install.htm
    I moved the .jsp app over to the Red Hat 9 server running Tomcat, while
    keeping the MS SQL 2000 on windows. The issue I have is setting up the
    JDBC driver for SQL Server 2000 on the Red Hat server.
    I created a folder called /usr/java/MSSQLdriver and unzipped the tar file with
    the driver for SQL Server 2000. And ran the install.ksh script.
    The /usr/java/MSSQLdriver/lib has the following files within it:
    msbase.jar, msutil.jar, & mssqlserver.jar
    I chmod 0777 each of the *.jar files.
    I then went into /etc/profile.d/tomcat.sh and adding the following:
    CLASSPATH=.;/opt/msSQLjdbc/lib/msbase.jar;/opt/msSQLjdbc/lib/msutil.jar;/opt/msSQLjdbc/lib/mssqlserver.jar
    Each time I login and pull up the termial I get the following error:
    bash: /opt/msSQLjdbc/lib/msbase.jar: cannot execute binary file
    bash: /opt/msSQLjdbc/lib/msutil.jar: cannot execute binary file
    bash: /opt/msSQLjdbc/lib/mssqlserver.jar: cannot execute binary file
    And can't connnect to the database within the .jsp app.
    Is there anyone out there using DBC driver for SQL Server 2000 on the Red Hat server?
    Michael

    Sorry, I needed to correct some information of where the drivers were installed.
    I created a folder called /usr/java/MSSQLdriver/new and untar the Microsoft file with the driver for SQL Server 2000. I ran the install.ksh script "sh install.ksh"
    installed the driver into the default directory "/opt/msSQLjdbc".
    The /opt/msSQLjdbc/lib has the following files within it:
    msbase.jar, msutil.jar, & mssqlserver.jar
    Michael

  • JDBC driver for SQL Server 2000 with windows authentication

    Does anyone know of a JDBC driver for SQL Server 2000 that supports Windows Authentication, that is that a username and password does not need to be supplied when connecting to the database.

    You can use the JDBC-ODBC-Bridge.
    ODBC provides windows-authentication.
    Hope it helps.
    Freddy

  • Are there any JDBC Drivers for SQL Server 2000?

    Hello Everyone,
    Any news on the JDBC drivers for SQL Server 2000? I know it is not
    certified yet but is there a date when it will be.
    Which versions of WLS will they work with? Any help is appreciated.
    Sincerely,
    --Luis

    Hello Michael,
    Any news on the JDBC drivers for SQL Server 2000? I know it is not
    certified yet but is there a date when it will be.
    Which versions of WLS will they work with? Any help is appreciated.
    Sincerely,
    --Luis
    "Michael Girdley" <[email protected]> wrote in message
    news:3a6549bb$[email protected]..
    Not yet, but they will appear on the web site in about two weeks.
    Thanks,
    Michael
    Michael Girdley, BEA Systems Inc
    Learning WebLogic? Buy the book.
    http://www.learnweblogic.com/
    "Stefano Picozzi" <[email protected]> wrote in message
    news:[email protected]..
    Are there any JDBC Drivers for SQL Server 2000 for Weblogic Server.

  • JDBC for MS SQL Server 2000

    Hi all, i'm newbie here and i have some problems doing with Java for my Final Project, just for my graduation...
    Here's the problem ...
    First i install the JDK 1.5 and MS SQL Server 2000. And then i also install JDBC for MS SQL Server 2000 sp3. Than i'm doing some experiments with JDBC, but its result error that i couldnt understand how to fixed it...
    I'm asking is JDBC for MS SQL Server 2000 sp3 doesn't support j2ee 1.5.0 and where i can find native driver jdbc for MS SQL Server 2000.
    Please help me....

    Than i'm doing some experiments with JDBC, but
    its result error that i couldnt understand This is the most important part of your post yet you don't seem to recognize it as such.
    Tell us what the error is. Not what you think it is. Exactlly what it says. And please provide a relevent, formatted snippet of code.

  • Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000] String data, right truncation [SQLSTATE 01004] [SQLSTATE 08S01] error

    I'm looking for some general guidance on this complete error:
    Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
    String data, right truncation [SQLSTATE 01004]
    Msg 16389, Sev 16, State 1: The connection is no longer usable because the server response for a previously executed statement was incorrectly formatted. [SQLSTATE 08S01]
    This error is caused by a SQL Agent Job, but it does not always occur. I understand this could be an issue with SQL dropping the connection, but what is the best way to troubleshoot this?
    Thanks,
    Phil

    Hi philliptackett77,
    It would be more helpful for troubleshooting the issue if you post the SQL Server error log and SQL Server version. Additionally, please state what purpose of using the agent job.
    Based on my research, [SQLSTATE 08S01] error means communication link failure. If the executed statement returns invalid value in the job, the connection between server and client will fail. This error could be caused by the error of [SQLSTATE HY000] and
    [SQLSTATE 01004]. I’d like to share my knowledge about these errors as below.
    Quote: String data, right truncation [SQLSTATE 01004]
    This error could occur when passing data whose length is larger than the received object,and the passed value is truncated, and returns invalid value. So please check if the data type of the objects are identical and the length of passed value is not larger
    than the received object.
    Quote: Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
    The error could occur in the two cases below.
    1. If you use SQL Server version 6.50, and execute the cursor in the job step, set the statement options to use a server-side cursor and prepare a select statement on a SQL Server system table. The first execution of the select creates the cursor successfully.
    After you close this cursor, if you execute the prepared statement again, the error could occur.
    I recommend you to apply the latest service pack firstly. If the error still occurs, you could change your code by using a forward-only cursor instead of a static, keyset, or dynamic cursor on the system tables. If a forward-only cursor is unacceptable,
    prepare the select statement again on the system table and execute it to create a server-side cursor. For more information about the process, please refer to the article:
    http://support.microsoft.com/kb/151693/en-us
    2. The TDS stream from the server is invalid when transfer data between a database server and a client. This error is typically caused by a problem on the server. For more information about errors above, please refer to the article:
    http://technet.microsoft.com/en-us/library/aa937531(v=sql.80).aspx
    Regards,
    Michelle Li

  • Any one can provide me a free JDBC dirver for SQL Server 7.0

    I have searched it on microsoft web site, but I can only find it for SQL Server 2000, is anybody can provide me a free JDBC dirver for SQL Server 7.0?
    Thanks a lot!

    cheers chiliast,
    yeah aveconnect trial version did expire
    after 30 or something.. days.. and it did provide unlimited no of
    connections ..
    We found it to be really worth a try and even buy..
    I think that for commercial purposes and serious programing,
    its better to buy a driver, because all the better ones are
    evaluation versions :-( , and there are no many free drivers
    around.
    anyway if you really need a free driver,..
    there is an open source driver from the Free TDS..
    see
    http://www.freetds.org/
    It does have some limitations in functionality, but supports sql 7.
    hope it helps,
    Jer

Maybe you are looking for

  • Error while creating new Scheduling for scenarios in ODI

    Hi Experts, Good Morning. I am facing with the below error : ODI-23037: To use scheduling please associate a Logical Agent to a Physical Agent via the Logical Architecture Accordion in the Topology Navigator. But, when i try to create the logical age

  • Parsing of xml file in oracle stored procedure on linux server

    We have an XML file in the "/database/stats/dev/xml1/" path and tried to parse the file using the below code : p := xmlparser.newParser; xmlparser.setValidationMode(p, FALSE); -- xmlparser.setErrorLog(p, errfile); xmlparser.setBaseDir(p, dir); xmlpar

  • Why can not  setInt be used on the RedHat linux

    I used one of PreparedStatement mothed, setInt, to insert a int number into database table such as emp. It does run normally on the windows2000, but it can't run on the linux. Could you tell me the answer? my email is: [email protected] . It is emerg

  • Strange stuff in my PCM debug.log

    I have been installing patches on a number of machines and they were not going away in my patches list for the devices. Looking in my debug.log I am seeing the following strange entries on a number of patches. Normally it would list a file or a regis

  • CS6 Won't Start, Lock up at "restore window" prompt?

    I decided to download SubScript from Astute Graphics, followed their instructions, and completed install. During the wrap up of the installation, AI jammed, and had to be force quit. After restarting I get a promt asking if I want to restore the wind