NW04s JDBC Connection for MSSQL not working

In portal JDBC settings are:
Connection properties
URL = jdbc:microsoft:sqlserver://192.168.0.101:1433;DatabaseName=Northwind
Driver = com.microsoft.jdbc.sqlserver.SqlServerDriver
User Management
User mapping type = admin,user
I assigned a user to Administrator under User Administration
Visual Administrator settings are:
DriverName = com.microsoft.jdbc.sqlserver.SqlServerDriver
URL = jdbc:microsoft:sqlserver://192.168.0.101:1433;DatabaseName=Northwind
UserName = empty
Password = empty
Result
Connection test fails in portal. The settings appear ok.
The only thing I can think of is that user specified in portal user mapping is not setup properly on SQLServer.
Also:
When I run link:
http://localhost:53000/TestJDBC_Web/TestJDBCPage.jsp
my jdbc service MSSQL_JDBC does not appear. MSSQL_JDBC was cloned from SDK_JDBC and the libray for drivers was added
I am running MSSQL 2000 SP4 but using JDBC drivers for SP3 as I didn't find any for SP4 and assumed they would work for SP4
What am I missing?

Raynald,
I think I am having a similar problem.
I also cloned the connection names in Vis. Administrator to the SDK_name.
Indeed it now appears in the test servlet, and I can succesfully execute SQL statements from there.
So the connector seems ok.
But I have still problems with the Connection Test in the Portal.
I am trying to make BI JDBC system to be able to use my database from the Visual Composer.
I am using these properties:
CodeLink = com.sap.portal.systems.bi.SAP_BI_JDBC
ConnectionFactoryClass = SDK_TESTDB
ConnectionUrl = jdbc:jtds:sqlserver://sapserver:1433;databaseName=TestDb
(this url is the same as in Vis. Administrator)
Driver Class Name =  net.sourceforge.jtds.jdbc.Driver
Fixed Catalog = empty
Fixed Schema = empty
System Type = SAP_BI_JDBC
User Mapping = admin, user
I am logged in as Administrator, so I added the login credentials at the User Mapping page of the Administrator user.
When I use Connection Test function from the portal I get the following messages:
Retrieval of default alias successful
Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
What can I do to solve this problem?

Similar Messages

  • BI JDBC Connection For MSSQL 2005

    Hi All,
    I am trying to establish an BI JDBC Connection with MSSQL 2005 Server. I follow the steps exactly mentioned in the guide but i was not successfull. I doubt the problem could be with the adapters and again downloaded a JAR file for MSSQL 2005 from microsoft website and proceeded with steps. But no luck this time also.
    How do i make a successfull connection. Below is the result of a test page
    ==================================================
    Details:
    com.sap.ip.bi.sdk.exception.BIConnectionFailedException: Cannot open the connection at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:238) at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getConnection(JDBCModel.java:797) at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getTables(JDBCModel.java:132) at com.sap.ip.bi.sdk.trialarea.connector.servlet.controller.Control2.doPost(Control2.java:23) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot open the connection at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:123) at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnectionFactory.createManagedConnection(JdbcManagedConnectionFactory.java:119) at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:320) at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189) at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:233) ... 19 more Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot connect to JDBC data source at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:394) at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connect(Connection.java:106) at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:118) ... 23 more Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:140) at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:376) ... 25 more
    ====================================================
    regards,
    Anand

    Hi Anand,
    did you check the WIKI:
    <a href="https://wiki.sdn.sap.com/wiki/display/VC/JDBCConnectionSetup">https://wiki.sdn.sap.com/wiki/display/VC/JDBCConnectionSetup</a>
    Best Regards,
    Marcel

  • Jdbc connectivity for mssql 2008 in ipv6

    trying to connect to mssql server 2008 in a machine enabled for ipv6 using the following code :
    Connection c = null; String url = "jdbc:sqlserver://;servername=fe80::21a:4bff:fecf:dfe5%4;port=1433;DatabaseName=mssql;selectMethod=cursor;"; String userid = "xxx"; String password = "xxx"; Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); try { c = DriverManager.getConnection(url, userid, password); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); }
    but getting the error:
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host  has failed. java.net.NoRouteToHostException: No route to host: connect at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:185) at ConnectDB.main(ConnectDB.java:84)
    what is the problem.can any one please suggest me how to connect to mssql using ipv6..
    Thanks in advance...
    Edited by: 789764353 on Sep 7, 2009 4:20 AM

    I guess you must have seen this. But, just in case.
    [Creating a Valid Connection String Using TCP/IP|http://msdn.microsoft.com/en-us/library/ms191260.aspx]
    Also,
    SQL Server and SQL Server Native Client fully support both Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6). When Windows is configured with IPv6 SQL Server, components automatically recognize the existence of IPv6. No special SQL Server configuration is necessary.[Connecting Using IPv6|http://msdn.microsoft.com/en-us/library/ms345359.aspx]

  • WLS 10.0 JDBC connection pool shrink not working

    We seem to be having a problem with jdbc connection pools not shrinking. In the connection pool properties in the WLS console we have:
    Initial Capacity 4
    Maximum Capacity 15
    Shrink Frequency 900
    However when I look at the underlying xml config file (see below) the last two values above are not present in the config!
    Any ideas what is going on here?
    thankyou,
    Chris
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns
    :xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLo
    cation="http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd">
    <name>mdmrDataSource</name>
    <jdbc-driver-params>
    <url>jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = xxxrac01-vip.nzlxxx01.com) (PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = xxxrac02-vip.nzlxxx01.com) (PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA =(SERVE
    R = DEDICATED) (SERVICE_NAME = xxxrac.nzlami01.com)))</url>
    <driver-name>oracle.jdbc.pool.OracleDataSource</driver-name>
    <properties>
    <property>
    <name>user</name>
    <value>xxx_comms</value>
    </property>
    <property>
    <name>fastConnectionFailoverEnabled</name>
    <value>true</value>
    </property>
    <property>
    <name>implicitCachingEnabled</name>
    <value>true</value>
    </property>
    <property>
    <name>connectionCachingEnabled</name>
    <value>true</value>
    </property>
    <property>
    <name>ONSConfiguration</name>
    <value>nodes=xxxrac1:6251,xxxrac2:6251</value>
    </property>
    </properties>
    <password-encrypted>xxx</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <initial-capacity>4</initial-capacity>
    <test-connections-on-reserve>true</test-connections-on-reserve>
    <test-table-name>SQL SELECT 1 FROM DUAL</test-table-name>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>jdbc/XXXX</jndi-name>
    <global-transactions-protocol>None</global-transactions-protocol>
    </jdbc-data-source-params>
    </jdbc-data-source>

    You are right that the XML seems to lask those other settings... Did you
    sae those settings from the console?
    This is what's in one of mine....
    <jdbc-connection-pool-params>
    <initial-capacity>0</initial-capacity>
    <max-capacity>300</max-capacity>
    <shrink-frequency-seconds>900</shrink-frequency-seconds>

  • Wireless and Ethernet connection for U330 not working - Help

    I need help with my wireless and ethernet connection for the U330 notebook. I can not connect to the internet since I received my U330 and if I try to connect to a wireless router, it knocks other users off. I called customer service already and they asked me to download the driver on the Lenovo Downloads and Drivers page. The page can not be found when you try to download the drive so I was not sure if there is another place I can download it since customer service mentioned that they will send me a disk which will take some time. Thanks in advance.

    Your router may be knocking you due to lots of facts. Those Ensteins suggested drivers reinstall because that's the only thing they know.
    Try changing your encryption mode, try adding your laptop's WiFi MAC-adress of whitelist of Route, try disabling firewall, try increase strength of signal.
    Driver is located at consumersupport.lenovo.com - do not hesitate to check.
    //help will save the world

  • Jdbc connection to Oracle not working

    I just had an Oracle 9i database source connection on my Web server created.
    It is called: Projects
    Here is what my login looks like into the Oracle 9i database:
    sqlplus jones/mypassword@//abcd123c/xyz
    I was able to connect with Cold Fusion MX tag and connect to the database.
    Now I tried to connect using JSP and it keeps saying datasource not found:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn = DriverManager.getConnection("jdbc.oracle:projects:@abcd123c:xyz","jones","mypassword");
    .......Please advise.

    Your database connection string looks wrong.
    There are two different drivers provided with Oracle. The "thin" driver and "oci8". You need to specify which one to use.
    Try the following connection string:
    jdbc:oracle:thin:@[IPADRESS]:[SID], userName, password
    String userName = "jones";
    String password = "mypassword";
    String address = "abcd123c";
    String SID = "xyz";
    Class.forName("oracle.jdbc.driver.OracleDriver");
    String connectionString = "jdbc:oracle:thin:@" + address + ":" + SID;
    Connection conn = DriverManager.getConnection(connectionString, userName, password);

  • JDBC drivers for MSSQL 7.0

    Hi,
    We have installed JDBC drivers for MSSQL by following guide "how to install and configure a JMS and JDBC adapter" and they are "msutil.jar, mssqlserver.jar, msbase.jar". Our platform is NETweaver 2004s PI 7.0 on UNIX and Oracle.
    The interfaces are working fine when we are sending data to MSSQL 2000, but when we are sending data to MSSQL 7.0, we are getting errors incompatible drivers.
    Are there seperate drivers MSSQL 7.0 or we need to have different set of drives. Checked Note 639702 and as per note we should be able to find drivers installed on system at
    - (NetWeaver 2004s:)
    usr\sap\<SAPSID>\SYS\exe\<NUC|UC>\Platform\mssjdbc
    I did not find the 'Platform' in my system at the above mentioned path.
    Can anyone help us with this issue.
    Thank You,
    Praveen

    Hi Praveen,
    As I know, there is no JDBC driver MSSQL 7.0, so there is no direct way to get access to it.
    But there is another way to do it if you have access to a MSSQL 2000 or above server.
    In MSSQL 2000 you can create a linked server to the MSSQL 7.0, and then you can use XI to get access to MSSQL 7.0 tables.
    Regards,
    Hui

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • Any suggestions for type 4 JDBC drivers for MSSQL

    I am currently using odbc-jdbc bridge for MSSQL 7.0 and I am considerring using a Type 4 driver so that my app can be ported anywhere. Any sugesstion for a FREE type4 JDBC driver for MSSQL 7.0 ??
    I have heard microsoft has released one for MSSQL 2K but I am not sure if it can be used with 7.0.

    you can check that at :
    http://industry.java.sun.com/products/jdbc/drivers

  • Problem with JDBC Connection for HDB hanadb 02

    Hi folks,
    Ok I have an instance based on the 7.4 SP5 HANA CAL solution.
    But when I suspend and restart the R3 system doesn't start again.
    I've followed the instructions in the user guide and can access the backend instance and see that for HDB GetProcessList everything is GREEN, running
    while for A4H GetProcessList everything is GREY, stopped
    When I try to start the A4H instance I get
    Checking HDB database
    Database is not available via R3trans
    Database must be started first
    The messages I found on SCN suggested this might be a license problem with the HANA database, so I tried to follow the install license instructions for the HANA database via the HANA studio, but when I try to open the HDB(SYSTEM) > Properties > Licence, I then get the messages
    Error while reading the licence information from system HDB hanadb 02
    Reason:
    Cannot retrieve JDBC Connection for HDB hanadb 02
    So what do I try now? 
    Any suggestions?
    Rgds,
    Jocelyn

    Thanks Ivanka! That sorted it.
    For the benefit of others...the error message was found in the server log files
    /var/log/applianceagent.log 
    /var/log/appliancedeploy.log

  • Save for web not working in Photoshop element 6

    Save for web not working in Photoshop element 6. I am using Mac os x version 10.5.8   Anyone know how to fix that please tell me. Thanks

    I just copy the preferences from my computer for you to see what are shown about adobe
    file:///Users/raymondsmith/Library/Preferences/Adobe/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Illustrator%20CS2%20Settings/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20CS2%20Paths
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20CS2%20Settings/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20Elements%206%20Paths
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20Elements%206%20Settings /
    file:///Users/raymondsmith/Library/Preferences/AdobeUM/
    file:///Users/raymondsmith/Library/Preferences/AppleWorks/
    file:///Users/raymondsmith/Library/Preferences/ByHost/
    file:///Users/raymondsmith/Library/Preferences/CD%20Info.cidb
    file:///Users/raymondsmith/Library/Preferences/CDDB%20Preferences
    file:///Users/raymondsmith/Library/Preferences/cfx%23FBSxPfw
    file:///Users/raymondsmith/Library/Preferences/com.adobe.acrobat.90.sh.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Acrobat.Pro7.0.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.acrobat.sh.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Acrobat.Uninstaller.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Adobe%20Help%20Viewer.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.ami.installer.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.bridge2.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.mediabrowser.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.PhotoshopElements.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Reader_ppc_9.0.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Reader.plist
    file:///Users/raymondsmith/Library/Preferences/com.aol.aim.plist

  • Jdbc Driver for MSSQL

    Where from i get the jdbc driver for MSSQL server. This is the driver i used
    JData2_0.sql.$Driver. Please give the location of this to download.

    Why don't you do a Google search before you ask this? You've been waiting for two hours to get an answer that Google would have brought right back for you.
    Anyway, try either one of these:
    http://jtds.sourceforge.net
    or
    http://www.microsoft.com/downloads/details.aspx?FamilyID=4F8F2F01-1ED7-4C4D-8F7B-3D47969E66AE&displaylang=en
    MOD

  • [svn:fx-trunk] 13257: Fix for @inheritDoc not working on a setter, but works on a getter

    Revision: 13257
    Revision: 13257
    Author:   [email protected]
    Date:     2010-01-04 10:49:13 -0800 (Mon, 04 Jan 2010)
    Log Message:
    Fix for @inheritDoc not working on a setter, but works on a getter
    QE notes: None.
    Doc notes: None
    Bugs: SDK-24727
    Reviewed By: Paul
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24727
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java

    steabert wrote:
    Hi,
    I had a similar problem with my Dell Latitude E4310, and apparently also the E6410, E6510.
    The solution for me was to add the following line to /etc/modprobe.d/modprobe.conf:
    options snd-hda-intel model=dell-s14
    I tried that, unfortunately it does not work with this chipset. I do get a different set of channels though but it still cannot record anything. Maybe this chipset is too "new" for alsa. The latest release dates back from the end of January. Support for it is explicitly stated in the changelog to 1.0.24 but perhaps the recording part of it slipped through the cracks. ALSA bug tracking system seems quite closed.

  • Wifi connection with 4s not working after installing new software ios6

    wifi connection with 4s not working after installing ios 6.

    Go to Settings > WiFi > Select your network and hit the right arrow to "Forget Network"
    Then go to Settings > General > Reset Network Settings  and try connecting again when the phone restarts.

  • Logging for AS not working

    Hi,
    In sm21, I cannot see any logs from the AS. I can only see the ones from CI.
    Any ideas how to solve this issue ?
    Anything is welcomed,
    Thanks.

    Hello
    This thread was locked for the following reasons:
    1) the topic does not relate to PI. This forum is for PI technical issues only.
    2) it is against forum rules to post the same issue on multiple forums - Re: Logging for AS not working
    Regards
    Moderator

Maybe you are looking for

  • Table for SPL screening date

    Hi All We are trying to prepare a report that consists requires give output business partners that are screened for SPL for a given period of time. please provide tables or logic to get this done. Thanks for your time. Thanks & Regards Karthi

  • Issue related to Payment Terms.

    Dear Gurus, The requirement is: We use payment terms as 3% discount if the customer pays the due in 7 days. How can system calculates the 3% discount If the customer pays the due within 7 days.  Because in the conditions the price is credit price.  S

  • What is NMDB and why does it want to connect to netbios?

    Only lately have I been getting a connection warning for this... what is it? Anyone know? e

  • Data flow between R/3 AND APO

    How the chars and Navigational attributes are flowing in-between the R/3 AND APO ? Why we need to maintain the chars and nav attrr in APO? . Any input will be highly appreciated Thanks

  • How to implement Static Designer Domain

    Hello, Can anybody give me a suggestion what's the best way to implement a static (designer) domain. For example the domain YESNO: Value in Database | Display Value on Screen(in poplist) Y | Yes N | No Thanks in advance Regards Erik