Connection to DataSource MSSQL

Dear all,
I want to extract data from MSSQL server. I got the paper on DBCONNECT, but it's not very clear. It says I have to install DBSL first. However, my basis guy said he got problem installing it.
Our BW system version is 3.5, running on A|X and Oracle. Which DBSL must be install?
Is there any documentation beside DBCONNECT paper.
Thanks,
Ricky

Ricky
Have you tried this
http://help.sap.com/saphelp_nw04/helpdata/en/50/63d6b37bda7f4a92e2dec21b14ceee/frameset.htm
Also check this previous post
Re: DB Connect MS SQL Server
Hope this helps
Thnaks
sat

Similar Messages

  • Connecting Tomcat to MSsql

    I am new to this and am having trouble connecting to a MSSQL database. I am getting the following error message...
    org.apache.jasper.JasperException: /pizza.jsp(11,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
    etc..
    Has anybody seen this before?
    I have downloaded j2sdk1.4.2_03, Tomcat 5.0 and the JSTL and have run a few simple examples like passing data from one page to another which are fine so I know the server is running ok - I think.
    I have also downloaded the SQL Server 2000 Driver for JDBC and put the 3 .jar files into the lib directory of my application.
    I have a test database called Orders on the same machine that I have Tomcat etc and the username and password are correct.
    The top of the jsp page is as follows:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <sql:setDataSource var="mdb" scope="application"
                                            driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"                         url="jdbc:microsoft:sqlserver://localhost/Orders:1433"
         user="username"                                   password="password" />
    <sql:query var="ordersx" dataSource="${mdb}">
         select * from Orders
    </sql:query>
    I am not sure what I have done wrong but I am hoping it is something very obvious.
    Thanks
    Sarah

    I guess the first question is what version of JSTL did you get, and how did you install it?
    It looks to me to be version 1.0 (compatible with JSP1.2) because of the taglib URIs.
    Seeing as you jave Tomcat 5.0, which is JSP2.0 compliant you should consider using the JSTL 1.1
    If you HAVE got JSTL 1.1 you should use these URIs for the taglibs:
    ie http://java.sun.com/jsp/jstl/core (note the addition of jsp into the URI)
    Now about this error.
    The error message refers to TLD files.
    It is complaining the the dataSource tag of the sql:query tag is not defined to accept expressions.
    That is confusing to me, because it should. (It works on my machine)
    Do you have entries in your web.xml for these taglibs? Where do they point?
    Do you have a tld file for these taglibs in your web-inf directory?
    If you answered yes to either of these, questions, then delete those files or remove those entries. They are unneccesary. Everything you need for JSTL should be in the jstl.jar and standard.jar files which are in your web-inf/lib directory. Entries in web.xml and tld files lying around will probably just confuse the web server, and create this error.
    Hope this helps,
    evnafets

  • Error while creating JDBC connection pool for MSSQL database

    Hi,
    From my windows m/c, I am trying to configure a connection pool to connect to
    an MSSQL database on another m/c. While setting the targets, i get the error :-
    <Mar 11, 2004 6:17:52 PM GMT+08:00> <Error> <JDBC> <Cannot startup connection
    pool "gcdb_connpool" Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
    I have added the path of the jars for the driver in the classpath.
    Any help would be appreciated.
    Thanks.

    Hi. Read the weblogic startup script, and follow how it creates
    a classpath argument for the server. You must get the driver jars
    into that classpath.
    Joe
    Neha wrote:
    Hi,
    From my windows m/c, I am trying to configure a connection pool to connect to
    an MSSQL database on another m/c. While setting the targets, i get the error :-
    <Mar 11, 2004 6:17:52 PM GMT+08:00> <Error> <JDBC> <Cannot startup connection
    pool "gcdb_connpool" Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
    I have added the path of the jars for the driver in the classpath.
    Any help would be appreciated.
    Thanks.

  • Login timeout expired-2EETW169 no connect possible:"DBMS = MSSQL" DBNAME=""

    Hi, SDN fellows.
    I finished applying SPs for Solman Manager 7.0 (updated to Solman 7.1 EHP1 - just the Java Stack with JSPM). Then, I decided to start install SAP ECC 6.0 IDES in D drive (solman currently installed in C drive). When I ran the SAP ECC installer till the screen where it require Solution Key, I stopped the process due to invalid solution key provided. 
    After that, my Solman system became not able to connect to MS SQL server anymore. Here is the trans messages I got from "R3Trans -d".
    Not sure what isthe root cause, but I found couple messages maybe the leads to root cause.
    I wonder why the DBNAME become empty on this line: 2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = 'MYSERVER101' DBNAME = ''".
    These message also shown that this maybe login related issue:
    4 ETW000  [     dev trc,00000]  CopyLocalParameters: dbuser is 'dbo'                                      19  0.004714
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                               
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000
    LOG BY0=>Login timeout expired [dblink#4 @ 433]  
    Thanks for advices,
    KC

    4 ETW000                                                                                45  30.272192
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  30.272209
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                63  30.272272
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 20  30.272292
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                42  30.272334
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  30.272351
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                38  30.272389
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  30.272406
    4 ETW000  [     dev trc,00000]  Using Provider SQLNCLI                                                 10214  30.282620
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: MARS property was set successfully.                  75  30.282695
    4 ETW000  [     dev trc,00000]  Sun Jul 24 07:23:58 2011                                             15172939  45.455634
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                                41  45.455675
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Login timeout expired
    4 ETW000                                                                                43  45.455718
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  45.455735
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                75  45.455810
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 27  45.455837
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                43  45.455880
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 16  45.455896
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                38  45.455934
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  45.455951
    4 ETW000  [     dev trc,00000]  failed to establish conn to np:(local).                                 6519  45.462470
    4 ETW000  [     dev trc,00000]  Retrying without protocol specifier: (local)                              30  45.462500
    4 ETW000  [     dev trc,00000]  Using Provider SQLNCLI                                                    60  45.462560
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: MARS property was set successfully.                  57  45.462617
    4 ETW000  [     dev trc,00000]  Sun Jul 24 07:24:14 2011                                             15636603  61.099220
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                                51  61.099271
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Login timeout expired
    4 ETW000                                                                                45  61.099316
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  61.099333
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                60  61.099393
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  61.099410
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                41  61.099451
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  61.099468
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                37  61.099505
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  61.099522
    4 ETW000  [     dev trc,00000]  Using Provider SQLNCLI                                                  5453  61.104975
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: MARS property was set successfully.                  59  61.105034
    4 ETW000  [     dev trc,00000]  Sun Jul 24 07:24:29 2011                                             15620154  76.725188
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                                43  76.725231
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Login timeout expired
    4 ETW000                                                                                45  76.725276
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 18  76.725294
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                79  76.725373
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  76.725390
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                42  76.725432
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  76.725449
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                103  76.725552
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 25  76.725577
    4 ETW000  [     dev trc,00000]  Using Provider SQLNCLI                                                  5413  76.730990
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: MARS property was set successfully.                  78  76.731068
    4 ETW000  [     dev trc,00000]  Sun Jul 24 07:24:45 2011                                             15600542  92.331610
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                                42  92.331652
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Login timeout expired
    4 ETW000                                                                                45  92.331697
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  92.331714
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                60  92.331774
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 16  92.331790
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                42  92.331832
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 16  92.331848
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                38  92.331886
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  92.331903
    4 ETW000  [     dev trc,00000]  failed to establish conn. 0                                             5491  92.337394
    4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error -1     performing CON [dblink#4 @ 433]             119  92.337513
    4 ETW000  [    dblink  ,00433]  ***LOG BY0=>Login timeout expired [dblink#4 @ 433]                        27  92.337540
    2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = 'MYSERVER101' DBNAME = ''"

  • Connecting webstart with MSSql server

    Can somebody help me about how to connect webstart with MSSQL on net .
    Thanks
    sushil singh

    Thanks for your reply,
    Where can i get Inzoom driver.I presume it is downloadable from the net.
    My application is using J2EE arthitecture(jsp/java/Struts and Frameworks/EJB/Sevelets with database as sql server).The application is deployed and running successfully on J2EE Sun Server.I want to shift this whole application to WSAD 5.0 as the Studio helps a lot in reducing the development time.
    I read on the site that one can use "WebSphere Connect JDBC Driver" for connection.The WebSphere Connect JDBC Driver is the WebSphere branded DataDirect Connect JDBC Driver that is shipped with WebSphere Application Server.
    But the driver "com.ibm.websphere.jdbc.sqlserver.SQLServerDriver" is not present in the licsensed wsad that we have here in the company.
    Mostly it is downloadable from the ibm site.
    Please suggest that which driver will suit my application and how to go about it.Atleast I want to run a sample application from WSAD which will connect to the SQL Server.
    Thanks in advance.
    Rahul

  • XA connection pools on MSSQL 6.5

    Hi,
    is it possible to use Weblogic XA connection pools on MSSQL 6.5 database? If not, what could be alternative solution?

    lol predicted that answer ^^ LOL @ MTU (BTW DOsent WORK)
    listen bro i have the exact same problem , execept with 1 v8
    i run a counter-strike server and i got 10mbps down and 1mbps up and the game lags about every 3-4 min on the dot...not hardware neither tis tha router cuz we got exact same problem .. "Little Hiccups" Any other suggestions?
    Message Edited by KnewbZ on 11-06-2007 06:37 AM
    (Edited post for guideline compliance. Thanks!)
    Message Edited by JOHNDOE_06 on 11-06-2007 06:42 AM

  • No connect possible DBMS = MSSQL

    we are getting the following error while performing tp check.
    4 ETW000  [dev trc     ,00000]  i'm dbo but there exists 1 users <> dbo with tables SVERS ==> connect terminated
    4 ETW000                                                                            4598  0.306362
    2EETW169 no connect possible: "DBMS = MSSQL                            --- 
    tpparam entries(thru STMS) maintained properly and we have refered notes 351586,98678,128126 and problem still persists.

    please reply.........

  • Unable to connect to datasource:(database not running)

    I was running this example Car Application.
    I downloaded SQL Studio and wanted to check if the db tables are created or not.
    Tried to open through SQL studio but got the following exception as a pop-up:
    <b>
    [SAP-AG][SQLOD32 DLL][SAP DB]unable to connect to datasource:(database not running).return-code:SQL_ERROR(-709)</b><i></i>
    I believe my J2EE engine is running fine with all the three boxes in green.
    Does anyone went through this kind of situation?
    Please help me in this regards.
    Thanks
    -Sudheer

    Nitzan,
    Thanks for the reply.
    To be honest, I didnt understand what u meant.Iam a beginner trying to learn N/W though Iam in J2EE for a long while.
    Here is what I have done so far:
    Installled WAS with developer studio ran this Car rental application.While doing this I installed SQL studio to check if the tables r created or not.
    I dont have any back end database like oracle or SQL server installed.The car application example documentation doesnt say so.
    This is what I have given in persistant.xml:
    Datasource Name:CAR_RENTAL_POOL
    Database Vendor: SAPDB
    I dont have visual admin installed.
    Please let me know if this makes any sense.
    And also there is another problem with car reservation application:
    The application seems to running fine except withe the saving part:
    when I tried to add a car reservation, there is no response , it's not getting added to the DB.There are no error messages on screen. The screen is same before and after.
    Any help would be greatly greatly appreciated.
    Thanks

  • Connection to a MSSQL-Server fails

    Hello,
    (Version: 1.1.2.25)
    when I try to establish a connection to a MSSQL-Server
    I get this Error Message:
    "Status: Failure -net.sourceforge.jtds.jdbc.Driver"
    Does anyone have any idea?
    Andre

    If you are getting connection refused, either the server isn't listening on the port you have specified or there is a firewall intervening.
    Can you connect to the database using any other MSSQL client tools (query analyzer for instance?) If so, make sure the setting you have there are the same in sqldeveloper.

  • Connection through Datasource

    hi..
    i need help to create connection using DataSource in my Desktop Application(Swing)..
    i am using mysql5.0 and jdk1.6.
    Thanks And Regards
    fun_with_me

    Try:
    String port = "xxxx", // You fill in
           sid  = "mysql";
    Class.forName( "com.mysql.jdbc.Driver" );
    URL url = "jdbc:mysql://localhost:"+port+"/"+sid;
    Connection con = DriverManager.getConnection( url, uid, pwd );  // uid and pwd passed in

  • Weblogic connection to datasource fails

    Read Weblogic connection to datasource fails
    Posted: Apr 24, 2007 7:31 AM
    * Click to edit this message Edit
    * Click to reply to this topic Reply to Topic
    Hi,
    can anyone please help me with at problem i am facing for the last couple of days ?
    I am trying to combine Spring 2.0.2, Hibernate 3.1.1 and Weblogic 9.2.
    Also i have a enterprise application that contains a datasource module and a webmodule.
    And the webmodule is trying to use the datasource defined in the ear.
    I am having a problem connecting to the datasource, that has been created with a correct name.
    I am sure that the datasource exists, because i can see the datasource from the weblogic admin console.
    Also i am sure that i am using a correct jndi lookup.
    So i thing it might be propery setting in the weblogic configuration files that might be wrong.
    Here is the error log:
    24-04-07/15:02:47 * INFO* [org.hibernate.cfg.Environment] - Hibernate 3.1.1
    24-04-07/15:02:47 * INFO* [org.hibernate.cfg.Environment] - loaded properties from resource hibernate.properties: {hiber
    nate.default_schema=konvcc, hibernate.cglib.use_reflection_optimizer=true, hibernate.cache.provider_class=org.hibernate.
    cache.NoCacheProvider, hibernate.current_session_context_class=thread, hibernate.dialect=org.hibernate.dialect.Oracle9Di
    alect, hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory, hibernate.format_sql=true,
    hibernate.show_sql=false , hibernate.bytecode.use_reflection_optimizer=false}
    24-04-07/15:02:48 * INFO* [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Building new Hibernate SessionF
    actory
    24-04-07/15:02:48 * INFO* [org.hibernate.connection.ConnectionProviderFactory] - Initializing connection provider: org.s
    pringframework.orm.hibernate3.LocalDataSourceConnectionProvider
    24-04-07/15:02:48 * WARN* [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 0, SQLState: null
    24-04-07/15:02:48 *ERROR* [org.hibernate.util.JDBCExceptionReporter] - Pool connect failed : java.sql.SQLException: Data
    Source app-datasource does not exist.
    24-04-07/15:02:48 * WARN* [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 0, SQLState: null
    24-04-07/15:02:48 *ERROR* [org.hibernate.util.JDBCExceptionReporter] - Cannot obtain connection: driverURL = jdbc:weblog
    ic:pool:app-datasource, props = {applicationName=ear-conversionunlocker-1#@1.0, connectionPoolScope=application, Emulate
    TwoPhaseCommit=false, moduleName=app-datasource, connectionPoolID=app-datasource, jdbcTxDataSource=true, LoggingLastReso
    urce=false, dataSourceName=app-datasource}
    24-04-07/15:02:48 * WARN* [org.hibernate.cfg.SettingsFactory] - Could not obtain connection metadata
    java.sql.SQLException: Pool connect failed : java.sql.SQLException: Data Source app-datasource does not exist.
    at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:249)
    at weblogic.jdbc.pool.Driver.connect(Driver.java:161)
    at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:647)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:137)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
    at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionP
    rovider.java:81)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1869)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1162)
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:804
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:7
    44)
    at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.j
    ava:131)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowi
    reCapableBeanFactory.java:1118)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireC
    apableBeanFactory.java:1085)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
    leBeanFactory.java:429)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis
    try.java:141)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable
    BeanFactory.java:270)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
    at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableW
    ebApplicationContext.java:156)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:376)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:82)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1609)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2764)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:
    136)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(Deployment
    ReceiverCallbackDeliverer.java:181)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiv
    erCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCal
    lbackDeliverer.java:67)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: java.sql.SQLException: Data Source app-datasource does not exist.
    at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:82)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:96)
    at weblogic.jdbc.pool.Driver.connect(Driver.java:150)
    ... 59 more
    24-04-07/15:02:48 * INFO* [org.hibernate.dialect.Dialect] - Using dialect: org.hibernate.dialect.Oracle9Dialect
    24-04-07/15:02:48 * INFO* [org.hibernate.transaction.TransactionFactoryFactory] - Using default transaction strategy (di
    rect JDBC transactions)Here is my configuration files:
    The weblogic-application.xml file:
    <module>
    <name>app-datasource</name>
    <type>JDBC</type>
    <path>META-INF/conversion-datasource-jdbc.xml</path>
    </module>The conversion-datasource-jdbc.xml file:
    <name>app-datasource</name>
    <jdbc-driver-params>
    <url>jdbc:bea:oracle://10.133.128.141:1521</url>
    <driver-name>weblogic.jdbc.oracle.OracleDriver</driver-name>
    <properties>
    <property>
    <name>user</name>
    <value>test</value>
    </property>
    <property>
    <name>portNumber</name>
    <value>1521</value>
    </property>
    <property>
    <name>sid</name>
    <value>testdb</value>
    </property>
    <property>
    <name>serverName</name>
    <value>10.133.128.141</value>
    </property>
    </properties>
    <password-encrypted>web</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>50</max-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>ConversionDS</jndi-name>
    <scope>Application</scope>
    </jdbc-data-source-params>This is the content of my weblogic.xml:
    <resource-description>
    <res-ref-name>app-datasource</res-ref-name>
    <jndi-name>ConversionDS</jndi-name>
    </resource-description>This is the content of my web.xml:
    <resource-ref>
    <res-ref-name>app-datasource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>And finally i have my spring application context file:
    <bean id="dataSourceCWA" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="app-datasource"/>
    </bean>
    <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
    <property name="dataSource">
    <ref bean="dataSourceCWA" />
    </property>
    <property name="hibernateProperties">
    <props>
    <prop key="hibernate.dialect">${hibernate.dialect}</prop>
    <prop key="hibernate.show_sql">${hibernate.show_sql}</prop>
    <prop key="hibernate.default_schema">${hibernate.default_schema}</prop>
    <prop key="hibernate.bytecode.use_reflection_optimizer">${hibernate.bytecode.use_reflection_optimizer}</prop>
    </props>
    </property>
    <property name="mappingResources">
    <value>hibernate.hbm.xml</value>
    </property>
    </bean>
    <bean id="transactionManager" class="org.springframework.transaction.jta.WebLogicJtaTransactionManager" />
    <bean id="txAttributeSource" class="org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource">
    <property name="properties">
    <props>
    <prop key="add*">PROPAGATION_REQUIRED</prop>
    <prop key="delete*">PROPAGATION_REQUIRED</prop>
    <prop key="insert*">PROPAGATION_REQUIRED</prop>
    <prop key="release*">PROPAGATION_REQUIRED</prop>
    <prop key="save*">PROPAGATION_REQUIRED</prop>
    <prop key="send*">PROPAGATION_REQUIRED</prop>
    <prop key="update*">PROPAGATION_REQUIRED</prop>
    <prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
    </props>
    </property>
    </bean>
    <bean id="txInterceptor" class="org.springframework.transaction.interceptor.TransactionInterceptor">
    <property name="transactionManager">
    <ref local="transactionManager" />
    </property>
    <property name="transactionAttributeSource">
    <ref local="txAttributeSource" />
    </property>
    </bean>
    <bean id="autoProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
    <property name="interceptorNames">
    <list>
    <idref local="txInterceptor"/>
    </list>
    </property>
    <property name="beanNames">
    <list>
    <value>*Service</value>
    </list>
    </property>
    </bean>
    Best Regards
    Cemil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

    Coz Koz <> wrote:
    ic:pool:app-datasource, props =
    {applicationName=[email protected],
    connectionPoolScope=application, Emulate TwoPhaseCommit=false,
    moduleName=app-datasource, connectionPoolID=app-datasource,
    jdbcTxDataSource=true, LoggingLastReso urce=false,
    dataSourceName=app-datasource} 24-04-07/15:02:48 * WARN*
    [org.hibernate.cfg.SettingsFactory] - Could not obtain connection metadata
    java.sql.SQLException: Pool connect failed : java.sql.SQLException: Data
    Source app-datasource does not exist.Hi,
    Did you configure the datasource with the JNDI name app-datasource?
    Pls check if it's available on the server itself . In the adminconsole go to
    Servers -> The managed server -> there click JNDI tree.
    It's also possible that Weblogic couldn't not connect to the JDBC connection
    at startup, and therefore it won't be available in the JNDI. Check the
    managed server .out file to find this out. (or post this)
    B
    Schelstraete Bart
    [email protected]
    http://www.schelstraete.org
    http://www.linkedin.com/in/bschelst

  • ConnectHow to Connect to the MSSQL 7.0  database?

    Hi,
    I would like to connect to a database which I created on MSSQL 7.0 server.
    Could I use any of the native drivers, or I have to use third party JDBC
    driver?
    And if I use any of teh driver, could you tell me what to write to a
    datasource field
    box, when I register a datasource?
    Thank you
    Krisztian

    Register a third party driver called 'ms-type4' from Merant , WebLogic or
    any other vendor .
    Create a file called MS-DB.xml with the following ( entries are for Weblogic
    driver) :
    <ias-resource>
    <resource>
    <jndi-name>jdbc/TestDB</jndi-name>
    <jdbc>
    <driver-type>ms-type4</driver-type>
    <database-url>jdbc:weblogic:mssqlserver4:<database>@<host>:<port></database-
    url>
    <username>xyz</username>
    <password>tempid</password>
    </jdbc>
    </resource>
    </ias-resource>
    Register the datasource with the following cmd :
    iasdeploy regdatasource MS-DB.xml
    Manish
    "Krisztian Maraczi" <[email protected]> wrote in message
    news:9lgb32$[email protected]..
    Hi,
    I would like to connect to a database which I created on MSSQL 7.0 server.
    Could I use any of the native drivers, or I have to use third party JDBC
    driver?
    And if I use any of teh driver, could you tell me what to write to a
    datasource field
    box, when I register a datasource?
    Thank you
    Krisztian

  • Report builder connect to datasource outside of the network

    Hi,
    Locally, we installed report server on Machine (A) and the sql Server on Machine (B).
    My machine is also in the same network and via Report builder i can connect to report server and create shared dataset.
    but outside of network, when i use report builder i can connect to report server but i cannot create shared dataset : there is window appears titled "Enter data source credentials" demanding to enter login/password.
    I entered the same login/password defined in datasource created in report server but i obtained this message:
    "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
    (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
    how i can resolve it ?

    Disabling the windows firewall doesn't mean that there isn't a network firewall.  Try using a port scanning utility from outside your network to see if the port is being filtered (behind a firewall), listening, or being blocked.
    http://www.microsoft.com/en-us/download/details.aspx?id=24009
    You'll need to scan the port have configured for your report server URL, found through reporting server configuration manager in the advanced settings. Typically this is going to be port 80 or 443, but it could have been adjusted to something else, like
    8080.

  • Error ORA-28528 connecting to a MSSQL 2000 DB using 11g

    Hello all,
    we have managed to build a database link from 11g (verison 11.1.0.6.0 plus bugfix 7389110 and "linux.x64_11gR1_gateways) to to a MSSQL 2000 database (Characterset is ISO 8859 Latin1 they told me).
    When we try to select columns we get sometimes the error ORA-28528. If the error occurs or not seems to depend on the type of data and if we select one cell (column) or more. I try to explain this. Please forgive me because of my English.
    *Configuration*
    We use freetds and uinixodb (unixODBC-2.2.11) to connect t to the MSSQL-DB. All software is installed on Centos 5.1 (Linux 64bit).
    _TDS: /etc/freetds.conf_
    # SQL-Server
    [combandb]
         host = 212.xxx.xxx.5
    #     port = 1521
         port = 1433
         tds version = 8.0
         client charset = ISO-8859-1
    _ODBC: /etc/odbcinst:_
    FreeTDS]
    Description = v0.64-1
    Driver = /usr/lib64/libtdsodbc.so.0
    Setup = /usr/lib64/libtdsodbc.so.0
    FileUsage = 1
    Trace = Yes
    TraceFile = /tmp/sql.log
    _ODBC: /etc/odbcini:_
    [ODBC Data Sources]
    combandb = SQL-Connect
    [combandb]
    Driver = FreeTDS
    Description = DB-Link (MSSQL)
    Trace = Yes
    Database = netzdb
    TraceFile = /tmp/sql.log
    Servername = combandb
    Port = 1433
    We checked the TDS, ODBC config with isql and it works.
    _ORACLE Gateway: ORACLE_HOME/hs/admin/initcombandb.ora_
    HS init parameters
    HS_FDS_CONNECT_INFO=combandb
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL=16
    HS_FDS_TRACE_FILE=/tmp/dg4odbc.trc
    HS_FDS_SUPPORT_STATISTICS=FALSE
    # without HS_FDS_SUPPORT_STATISTICS=FALSE we get the erro "Invalid cursor state" from freetds
    HS_LANGUAGE=GERMAN_GERMANY.WE8ISO8859P1
    #HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
    #HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    #HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
    #HS_LANGUAGE=GERMAN_GERMANY.WE8MSWIN1252
    #HS_NLS_NCHAR=utf8
    #HS_NLS_NCHAR=WE8ISO8859P1
    HS_OPEN_CURSORS=1
    #HS_RPC_FETCH_REBLOCKING=OFF
    #HS_DESCRIBE_CACHE_HWM=4000
    #HS_FDS_REPORT_REAL_AS_DOUBLE=TRUE
    #DRDA_CACHE_TABLE_DESC=FALSE
    # ODBC specific environment variables
    #set ODBCINI=<full path name of the odbc initilization file>
    set ODBCINI=/etc/odbc.ini
    _LISTENER: ORACLE_HOME/network/admin/listener.ora_
    # listener.ora Network Configuration File: /opt/app/oracle/product/11.1.0/slm_hot2/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)     (PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.xxx.xxx.xx)     (PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 84.xxx.1xxx.xxx)(PORT = 1521))
    # MSSQL Server 2000
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=combandb)
    (ORACLE_HOME=/opt/app/oracle/product/11.1.0/slm_hot2)
    (PROGRAM=dg4odbc)
         (ENVS=LD_LIBRARY_PATH=/usr/lib64:/opt/app/oracle/product/11.1.0/slm_hot2/lib)
    _TNSNAMES: ORACLE_HOME/network/admin//tnsnames.ora_
    # tnsnames.ora Network Configuration File: /opt/app/oracle/product/11.1.0/slm_hot2/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    combandb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID=combandb))
    (HS = OK)
    _DB-Link_
    SQL> create public database link combandb connect to "user" identified by "PW" using 'combandb';
    Database link created.
    _NLS-Settings_
    $NLS_LANG--> GERMAN_GERMANY.WE8ISO8859P1
    SQL> select userenv ('language') from dual; --> GERMAN_GERMANY.WE8ISO8859P1
    SQL> SELECT * from NLS_SESSION_PARAMETERS;
    NLS_LANGUAGE: GERMAN
    NLS_TERRITORY:GERMANY
    NLS_CURRENCY: ¿
    NLS_ISO_CURRENCY: GERMANY
    NLS_NUMERIC_CHARACTERS ,.
    NLS_CALENDAR : GREGORIAN
    NLS_DATE_FORMAT: DD.MM.RR
    NLS_DATE_LANGUAGE: GERMAN
    NLS_SORT: GERMAN
    NLS_TIME_FORMAT: HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT: DD.MM.RR HH24:MI:SSXFF
    NLS_TIME_TZ_FORMAT: HH24:MI:SSXFF TZR
    NLS_TIMESTAMP_TZ_FORMAT: DD.MM.RR HH24:MI:SSXFF TZR
    NLS_DUAL_CURRENCY: ¿
    NLS_COMP: BINARY
    NLS_LENGTH_SEMANTICS : BYTE
    NLS_NCHAR_CONV_EXCP : FALSE
    *Error-Description*
    We want to read from the table X_LT. The datatypes are (form HS-log)
    DTY -- NULL-OK -- LEN -- MAXBUFLEN -- PR/SC -- CST -- IND -- MOD -- NAME
    4 INTEGER -- N-- 4-- 4 -- 0/ 0 -- 0 -- 0 -- 0 -- ID
    12 VARCHAR-- Y-- 15 -- 15-- 0/ 0 -- 0 -- 0 -- 0 -- State
    8 DOUBLE - Y -- 8-- 8-- 53/ 0 -- 0 -- 0 -- 0-- costs
    91-- DATE-- Y-- 16-- 16 -- 0/ 0 -- 0 -- 0 -- 0 target_date
    Tests with isql (unix-based) worked all well. There are no conversion problems or problems with NULL-values.
    Now we test with sqplplus:
    _1. Test with integer-only_
    SQL> select ID from x_lt@combandb where id = 12315; --> 12315 --> OK
    SQL> select ID from x_lt@combandb where id = 12315 or id = 12316;
    ERROR:
    ORA-28528: Fehler bei Konvertierung von Heterogeneous Services-Datentyp
    ORA-02063: vorherige line von COMBANDB
    _2. Test with varchar only_
    SQL> select "State" from x_ltg_pecos@combandb where id = 12315 --> Kldger
    SQL> select "State" from x_ltg_pecos@combandb --> result is a list (2490 columns)
    The lists ends the ORA-Errors (above). The valus in the lists are not all correct. Some names are cut others do have additional letters ... strange . For example in stead of "Frankfurt" is see "Frankf" or in another row the value should be "Frankfurt" but I see "Frankfurt I"
    _Test with double and dates are OK_
    I got a sql.log, a listerner log and a hs-trace but no idea how to proceed.
    Please, can anybody help me?
    Thanks Michael

    Please check file permissions on $ORACLE_HOME/bin/oracle executable and read carefully Configure Oracle binary permissions.

  • Setting up connection pool in MSSQL SERVER 2000

    hi,
    i m having too much trouble in setting up connection pool in TOMCAT 5.0.25 for MS SQL SERVER 2000...
    ......so plz guide me how to do that...
    TIA
    bhups

    i m having too much trouble in setting up connection
    pool in TOMCAT 5.0.25 for MS SQL SERVER 2000...Never done it for SQL Server, but setting up a connection pool in tomcat is basically the same no matter what DB you're using:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
    The two files you're interested in are server.xml and web.xml. You just need to look at the MYSQL and Oracle examples and "tweak" it ...

Maybe you are looking for