Toplink with sql server

I have sucessfully used Toplink with Oracle. ow I have to use it with MS SQL server and I am having problems. First of all, in the Mapping Worbench, the only SQL server driver listed is weblogic.jdbc.mssqlserver4.Driver. Why can't I use the regular ms sql driver, com.microsoft.jdbc.sqlserver.SQLServerDriver? Why should the mapping workbench be tied to Weblogic? If one did not have Weblogic, would it be impossible to use Toplink with SQL server? Well, I have Weblogic, so I tried using the weblogic driver with the url jdbc:microsoft:sqlserver://<host ip>:1433;DatabaseName=<db name>. When I try to connect, a dialog box appears that says: "java.sql.SQLException $$$$$$$$$$ License Exception $$$$$$$$$$ Missing license for: WebLogic Server 6.1. $$$$$$$$$$ License Exception $$$$$$$$$$ Username or password could be invalid." I have weblogic.jar in the classpath. I tried adding the line SET WLS61_HOME=M:\bea610\wlserver6.1 to workbench.cmd. It didn't help. Any suggestions?

I already tried this. It does not work. I put the following jars in the classpath in workbench.cmd: msbase.jar;mssqlserver.jar;msutil.jar. Then I start workbench. When I try to enter com.microsoft.jdbc.sqlserver.SQLServerDriver as the driver, I get an exception. Here is the stacktrace:
Exception occurred during event dispatching:
java.lang.ClassCastException: com.webgain.openapi.foundation.uitools.WGDefaultListModel
     at com.webgain.workbench.ui.db.BldrLoginInfoPanel.actionPerformed(Unknown Source)
     at com.webgain.openapi.foundation.uitools.WGListChooser.fireActionEvent(WGListChooser.java:664)
     at com.webgain.openapi.foundation.uitools.WGListChooser$ListDataHandler.contentsChanged(WGListChooser.java:473)
     at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
     at com.webgain.openapi.foundation.uitools.WGDefaultListModel.setSelectedItem(WGDefaultListModel.java:740)
     at com.webgain.openapi.foundation.uitools.WGListChooser.setSelectedItem(WGListChooser.java:1446)
     at com.webgain.openapi.foundation.plaf.basic.WGBasicListChooserUI$ListChooserModel.setSelectedItem(WGBasicListChooserUI.java:527)
     at javax.swing.JComboBox.actionPerformed(Unknown Source)
     at javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(Unknown Source)
     at java.awt.AWTEventMulticaster.focusLost(Unknown Source)
     at java.awt.AWTEventMulticaster.focusLost(Unknown Source)
     at java.awt.Component.processFocusEvent(Unknown Source)
     at javax.swing.JComponent.processFocusEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.setFocusRequest(Unknown Source)
     at java.awt.Container.proxyRequestFocus(Unknown Source)
     at java.awt.Container.proxyRequestFocus(Unknown Source)
     at java.awt.Container.proxyRequestFocus(Unknown Source)
     at java.awt.Container.proxyRequestFocus(Unknown Source)
     at java.awt.Container.proxyRequestFocus(Unknown Source)
     at java.awt.Container.proxyRequestFocus(Unknown Source)
     at java.awt.Container.proxyRequestFocus(Unknown Source)
     at java.awt.Container.proxyRequestFocus(Unknown Source)
     at java.awt.Component.requestFocus(Unknown Source)
     at javax.swing.JComponent.grabFocus(Unknown Source)
     at javax.swing.JComponent.requestFocus(Unknown Source)
     at javax.swing.text.DefaultCaret.mousePressed(Unknown Source)
     at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
     at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
     at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
     at java.awt.Component.processMouseEvent(Unknown Source)
     at com.webgain.openapi.foundation.uitools.WGPasswordField.processMouseEvent(WGPasswordField.java:99)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
If I ignore the exception and try to connect to the database anyway, it tries to use the weblogic driver.
Next I manually edited the database xml file and put in the driver name automatically. When I bought up the mapping workbench again, it again threw an exception. However, the correct driver name was in the file, so it did finally let me connect to the database. So it seems there IS a bug, although it has to do with the GUI and not SQL server per se.

Similar Messages

  • TopLink with SQL Server 2005

    Could someone help answer this question:
    Has TopLink 10.1.3.x been certified to support SQL Server 2005?
    I appreciate your information.
    Haiwei

    It is certified on SQL Server 2000.
    I know some customers are using it with SQL Server 2005, though.

  • Compatibility of Toplink with SQL SERVER 2005 Enterprise edition

    Hi All,
    We have J2EE application developed using TopLink ORM, which is running on SQL server 2000 standard edition, and now we are planing to migrate the SQL server 2000 to SQL server 2005 Enterprise edition, so please let me know whether TopLink supports for SQL server 2005 Enterprise edition or is there any disadvantages.
    Looking for your advice earliest
    Thanks in advance.
    Anand Siddacharya.

    Yes, TopLink supports any SQL compliant database with a JDBC compliant driver.
    As long as you have a JDBC driver that works correctly, I can't see any issues in the upgrade.
    James : http://www.eclipselink.org

  • Sharepoint Foundation 2010 compatibility with SQL Server 2014

    Due to a requirement to use Sharepoint without Active Directory access.  I am trying to find explicit confirmation whether Sharepoint Foundation 2010 is compatible with SQL Server 2014.  I have seen that Sharepoint Server 2010 and 2013 are compatible
    with SQL Server 2014 as of CU 1 (released in April).  But there is no mention of Sharepoint Foundation.
    This chart is great except it doesn't mention whether the Foundation versions are supported.
    http://msdn.microsoft.com/en-us/library/gg492257.aspx
    Thanks.

    Note that that is for the Reporting Services component, but not necessarily for the SQL Database Engine component (which comes from the SharePoint Product Group, rather than the SQL Product Group). I haven't seen any confirmation that SharePoint 2010 is
    supported at all with SQL 2014 as a Database Engine.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Can I use Same ADF application with SQL server 2008 as well as Oracle 11g?

    Hi ,
    I have created a application in ADF(Using J-Developer). I used SQL server 2008 as Database Provider. I have same Database in Oracle 11g. I want to connect my appliction to Oracle 11g database. I changed connection and connected to Oracle. But, when I tried to save or delete any data from front end, it gave error. Any solution on this?
    Thanks

    Hi,
    I have created Entity object and View object for every page in my application. That objects created from sql server database. Application is working fine with sql server. But when connected with Oracle 11g. It is giving following errors:
    On clicking search control it gives: ORA 00923 From keyword not found where expected.
    On searching with perticular field it gives: ORA-01722: Invalid Number.
    On Clicking save buttonit gives: ORA-00933: SQL command not properly ended.
    These are error messages from IntegratedWebLogicServer-Log:
    java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <QueryCollection> <buildResultSet> [3929] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3947] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3948] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3949] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3950] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3951] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3952] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3953] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3954] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    java.lang.NullPointerException

  • DI Server with SQL Server 2008

    Hello.
    In the company where I work we develop an application that uses B1WS.
    In the development environment had the following characteristics:
    SAP Business One 2007 SP01, PL 09
    SQL Server 2005 Developer Edition
    Windows XP Professional SP 3
    SAP Business One Web Services 1.0
    At the time we applied to the deploying the SAP Business One version 8.8, but I had a serious problem. The test environment has the following characteristics:
    SQL Server 2008 Enterprise Edition
        SAP Busines One 8.8 * PL 10
    Windows Server 2008
    The problem is that when trying to connect to the DI Server generates the following messages:
    The TAO NT Naming Service has stopped. (WithOut DBUser and DBPassword)
    Unable to access SBO-Common database Login (With DBUser and DBPassword)
    I tested the connection directly to the DI Server disponbile by example in the SDK and it generates the same error. For the SAP interface is connected correctly.
    DI Server allows connect with SQL Server 2008?
    Messagge:
    <DatabaseServer>mv-05910a0046</DatabaseServer>
    <DatabaseName>Prueba</DatabaseName>
    <DatabaseType>dst_MSSQL2008</DatabaseType>
    <DatabaseUsername>sa</DatabaseUsername>
    <DatabasePassword>12345</DatabasePassword>
    <CompanyUsername>manager</CompanyUsername>
    <CompanyPassword>12345</CompanyPassword>
    <Language>ln_English</Language>
    <LicenseServer>mv-05910a0046:30000</LicenseServer>
    Thanks
    Edited by: Andres Naranjo on May 14, 2010 12:47 AM
    Edited by: Andres Naranjo on May 14, 2010 3:56 PM
    Edited by: Andres Naranjo on May 14, 2010 3:58 PM

    Had the same error
    'The TAO NT Naming Service has stopped.'
    Was using the external IP address for the LicenceServer - which is on the same server as SAP DIserver and B1WS.
    I changed to using localhost:30000 and that solved the issue.
    I suspect if I had used the internal IP it would have worked as well (ie the one you get from ipconfig) but as it works I'm not going to test that.
    HTH

  • JDBC with SQL Server

    Hi,
    I am trying to connect to a SQL server database by giving table name in (SPVC) database as spvc.dbo.tablename.. If i want to access another database (SPVC_D), how can i do it without changing my java code?? Can i be able to add the database name to the connection string and i can remove the hard coding (spvc.dbo.) from my java code?? How shall i be able to do that..
    Please let me know.. I am very new with JDBC with SQL server..
    Thanks
    Praveen Padala

    In the MS SQL Server that I use, the following syntax
    spvc.dbo.tablename
    Breaks done as follows...
    <database>.<user>.<tablename>
    However connections are always to a database. Thus when one uses the above syntax it basically runs 'in' the one database and accesses another.
    Depending on various attributes of the tables, if and only if, a table called 'tablename' exists in a database called 'spvc_d' then if you connect to 'spvc_d' then you can access 'tablename' just by using 'tablename'.
    So if that is what you are doing you will not have a problem.

  • Connectivity with sql server

    Dear community members;
    I am using Oracle 10g DB. Now I want to connect with SQL Server 2005. Is there any possiblity for connectivity. Because we have to pick some data from sqlserver on online transaction entry time.
    Waiting for usefull response.
    Thanks
    Shahab Ahmed Khan

    I am using oracle 11gR1 on windows 2003.
    This is my initaccessdb.ora(Path HS/ADMIN)
    HS_FDS_CONNECT_INFO = ACCESSDB
    HS_FDS_TRACE_LEVEL = OFF
    Listner File
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = APPSERVER)(PORT = 1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtProc)
    (ORACLE_HOME=E:\app\Administrator\product\11.1.0\db_1)
    (PROGRAM=extproc)
         (SID_DESC =
         (SID_NAME = accessdb)
    (ORACLE_HOME = E:\app\Administrator\product\11.1.0\db_1)
    (PROGRAM = ACCESSDB)
         (ENVS=LD_LIBRARY_PATH=D:\)      
    TNSNAME.ORA
    ORCL =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.0.14)(PORT = 1521))
         (CONNECT_DATA =
              (SERVER = DEDICATED)
              (SERVICE_NAME= ORCL)
    ACCESSDB =
    (DESCRIPTION=
         (ADDRESS =(PROTOCOL = TCP)(HOST=172.16.0.14)(PORT=1521))
              (CONNECT_DATA =
              (SERVICE_NAME=ACCESSDB))
                   (HS = OK)
    I successfully completed all steps as mentioned in your sending links documents but when i test my dblink query it gives the error message
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> conn ahmed
    Enter password:
    Connected.
    SQL> drop database link test;
    Database link dropped.
    SQL> create database link test using 'ACCESSDB';
    Database link created.
    SQL> SELECT * FROM EMPLOYEE@TEST;
    SELECT * FROM EMPLOYEE@TEST
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from TEST
    Note: Please tell me that should i install ODBC driver ("Microsoft Access Driver *.mdb).If this should be installed then i have done correctly.
    Thanks

  • Connecting with SQL Server

    Dear All,
    I m new to JDeveloper and want to make a connection with SQL Server 2008 but in Connection Dialogue with following Settings :-
    Connection Type: SQL Server
    UserName: sa
    Password: ******
    HostName: EServer
    DatabaseName: DBName
    PortNumber: 1430
    Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Library:
    As I Press Test Connection it gives following error:
    Test failed: Driver class not found.
    Verify the Driver location
    Pls suggest

    Download sqljdbc.jar and Add it to the Viewcontroller Libraries and Classpath (Project Properties of ViewController)

  • DBConnect with SQL Server

    Hi,
    we have a dbconnect source system with sql server.
    The installation is correct and we have the list of tables and views.
    We can get a list of table/view content too.
    But, when we make an infopackage request there is no idoc generated and the status color of the request get yellow.
    Tips:
    - We have in SQL the user with permissions to do selects and create views.
    - The list of tables/views in source system not extract this user owner. Only extracts the sa owner.
    - We connect with our user, not with sa.
    Any one have an idea
    Tanks
    Xavo

    Hi,
    This is some sort of privileges problem . The user which is used in  the Source system definition ,Should have Atleast select statement privileges on the table and view. If you are using view you can change the owner of this view to user , which is used in the Source system definition .
    With rgds,
    Anil Kumar Sharma .P

  • Forms with SQL Server

    hi,
    Is it possible to connect forms with sql server? if yes, how?
    Any help will be highly appreciated

    Maybe. see:
    <Note:212382.1> How to Build Forms against Microsoft Sql Server
    also do a Metalink search on:
    'oracle client adaptor'
    Best of luck,
    ejs

  • SQL Server to Oracle migration with SQL Server DTS

    I migrate database from SQL Server to Oracle with SQL Server DTS. the process is success. I can select table_name from user_tables or user_objects. I also can see the table from DBA Studio. But When I use desc to list the structure of table in SQLPLUS. it tell me object don't exist.
    What is wrong?
    Thanks

    use sp_help <tablename>

  • Server 2008 with SQL server 2003 installation problem in SAP 8.8 in clint

    Hello Sir
    I want to install clint for SAP B1 8.8 and we have windows server 2008 with sql server 2005
    when i install the clint i got one error in DI API installation that licence server name and port number is not available.
    Please tell me the complete process to install 8.8. clint with which supporting software i have to install in clint machine.
    and what things i have to check in server for installation .
    Please kindly reply ASAP.
          Thanks
    Vaibhav Kothari

    Hi,
    every question / issue you should know, is descripted in the following manual, please read it and follow the installation instruction manual:
    https://websmp201.sap-ag.de/~sapidb/011000358700000150922010E.zip
    Regards Steffen

  • Crystal Report 8.5 with SQL SERVER 2005 problems

    Post Author: AREVA
    CA Forum: Data Connectivity and SQL
    Hi All !We have some problems with Crystal Reports version 8.5 with SQL Server 2005: 1) When we want to generate a report (using data in SQL Server 2005) we have a popup message error : "impossible to loaded pdssql.dll".2) If we want to use SQL Server 2005, which Crystal Reports version we must used ? Is there any restrictions with this connectivity with 8.5 version ?Please, let me known, all informations about SQL Server 2005 and Crystal Report 8.5.Thanks for all !Best regards Anthony

    Hello Kamlesh,
    There is no expectation that the ActiveX viewer (RDC?) from CR8.5 will work in any version of Visual Studio .NET. There is also no expectation that the ActiveX viewer from CR8.5 will work on a machine with a 64 bit operating system.
    You're using VS2008. You should migrate to the bundled edition of CR for VS2008 (v10.5), the ReportDocument object, and the .NET Windows form viewer or Web form viewer.
    Sincerely,
    Dan Kelleher

  • Error While Installing IDES ECC6 with SQL Server 2005

    Dear Experts,
    I found an error while installing IDES ECC6 with SQL Server 2005. The error is raising at the stage of 17 of 24 processing the procedure of 195 of 197 (sap_z_set_permissions).
    I have tried several times by configuring different type of activites but still i am facing the same problem at the same stage. Please help me in thig regard.
    I herewith pasted hereunder log files information
    Regards,
    B.Sudharsan
    ERROR 2008-01-17 18:38:47
    FCO-00011  The step ExeProcs with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs was executed with status ERROR .
    INFO 2008-01-17 18:40:05
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs".
    ERROR 2008-01-17 18:38:47
    MDB-05053  Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.

    Sudarshan,
    Occasionally, mid-way through the upgrade, DB permissions to users might change. Check to see, if the users SAP<SID>, OPS$ users have the DBA privilege. Re-assign the role and try continuing with the upgrade.

Maybe you are looking for

  • Magic Mouse issues after updating to iTunes 11

    Hi, Just updated to iTunes 11, and immediately after installing I have been losing Bluetooth connection to my Magic Mouse.  This usually happens when I click on an icon in my dock to launch an App.  Specifically, most often when I am launching iTunes

  • Can I use a usb external hard drive larger than 2TB?  I have tried to use a 3TB but it shows up as 800GB.

    Can I use a usb external hard drive larger than 2TB?  I have tried to use a 3TB but it shows up as 800GB.  Even tred to reformat in disk utility but only shows as 800 gb as well.  It is a Seagate 3TB harddrive and enclosure.  Nothing on the Seagate s

  • Why wont my mac turn on?

    I shut down my computer after upgrading traktor by Native Instruments. I came home and now my mac wont turn on. What could i do?

  • How to turn OFF status LED on VC220?

    I'm looking for a way to turn off the status LED on a VC220.  This is not the IR LED, but instead the large blinking LED on the front. The documentation mentions that it can be turned off, but I can't find a menu option for this. Thanks for your help

  • Indesign is stuck on executing start up services

    Having trouble starting Indesign. It is stuck on "executing start up services" and just stays there. Tried re installing it since it had the recent update, and also tried running as admin just in case and no luck. Using Creative Cloud, dunno if that