Test connection in Database component is failed

In JDeveloper 2.0 when I try test connection in Database
component I get message:
borland.jbcl.dataset.DataSetException: End of TNS data channel
at
borland.jbcl.dataset.DataSetException.throwException(Compiled
Code)
at
borland.jbcl.dataset.DataSetException.throwException(Compiled
Code)
at
borland.jbcl.dataset.DataSetException.SQLException(Compiled Code)
at borland.sql.dataset.Database.openConnection(Compiled
Code)
java.sql.SQLException: End of TNS data channel
at
oracle.jdbc.dbaccess.DBError.check_error(DBError.java:363)
at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:
125)
at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:155)
at
java.sql.DriverManager.getConnection(DriverManager.java:91)
at
java.sql.DriverManager.getConnection(DriverManager.java:134)
at borland.sql.dataset.Database.openConnection(Compiled
Code)
I try use JDBC Thin 8.0.5 and 8.1.4
My Applet work is fine. In JDeveloper 1.0 (AppBuider) I not get
this message.
It's bug?
null

Hi Eugeny,
If you are using the JDBC 8.0.5 driver to connect to an 8.1.4
database, you need to make sure of the following:
* within the JDeveloper IDE, open Project->Project Properties
from the menu
* in the libraries list, make sure that Oracle 8.0.5 JDBC appears
in the list of libraries before BOTH Oracle 8.1.4 JDBC AND
'Enterprise Java Beans'
If the Oracle 8.0.5 JDBC library appears after either of the
above two libraries, select it in the list, and drag it up so
that it appears first. Save your project and retry the compile.
I think this may be what is causing the errors. Please reply if
this does not fix your problem, or if I misunderstood.
- Laura
Eugeny Orlov (guest) wrote:
: In JDeveloper 2.0 when I try test connection in Database
: component I get message:
: borland.jbcl.dataset.DataSetException: End of TNS data channel
: at
: borland.jbcl.dataset.DataSetException.throwException(Compiled
: Code)
: at
: borland.jbcl.dataset.DataSetException.throwException(Compiled
: Code)
: at
: borland.jbcl.dataset.DataSetException.SQLException(Compiled
Code)
: at borland.sql.dataset.Database.openConnection(Compiled
: Code)
: java.sql.SQLException: End of TNS data channel
: at
: oracle.jdbc.dbaccess.DBError.check_error(DBError.java:363)
: at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:
: 125)
: at
: oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:155)
: at
: java.sql.DriverManager.getConnection(DriverManager.java:91)
: at
: java.sql.DriverManager.getConnection(DriverManager.java:134)
: at borland.sql.dataset.Database.openConnection(Compiled
: Code)
: I try use JDBC Thin 8.0.5 and 8.1.4
: My Applet work is fine. In JDeveloper 1.0 (AppBuider) I not get
: this message.
: It's bug?
null

Similar Messages

  • Connect to database instance PRD Failed

    Hi,
    We had refreshed our SCM quality system last month with production data, since then we are facing problem in BR connect operations like CheckDB, Verif DB, cleanup logs and update stats . When we schedule these operation using DB13 then we get an error  "Connect to database instance PRD failed", but when try to run this manually by clicking excute immediately button then these operations complete succesfully.
    Can you please help on this ?
    Our version details are as below.
    SCM 5.0
    Oracle Release 10.2.0.2.0
    Thanks,
    Chetan

    Problems with the OPS$ mechanism? Check SAPNotes 400241 and 50088...
    Also check the output of
    > R3trans -d
    use <sid>adm on os level...
    GreetZ, AH

  • Problem Test Connection with Database by Oracle9i JDeveloper

    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
              DBError.java:187
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
              DBError.java:229
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.io.IOException)
              DBError.java:342
         void oracle.jdbc.driver.OracleConnection.&lt;init&gt;(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              OracleConnection.java:415
         java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              OracleDriver.java:485
         java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
              OracleDriver.java:337
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
              DriverManager.java:517
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties)
              DriverManager.java:146
         java.sql.Connection oracle.jdeveloper.cm.JdbcConnectionWrapper.createConnectionImpl(java.lang.String, java.lang.String, java.util.Properties)
              JdbcConnectionWrapper.java:146
         void oracle.jdeveloper.cm.JdbcConnectionWrapper.createConnection(oracle.jdeveloper.cm.ConnectionDescriptor)
              JdbcConnectionWrapper.java:110
         java.sql.Connection oracle.jdeveloper.cm.JdbcConnectionWrapper.getJdbcConnection()
              JdbcConnectionWrapper.java:175
         java.lang.Object oracle.jdeveloper.cm.JdbcConnectionWrapper.getPresentation(java.lang.String)
              JdbcConnectionWrapper.java:162
         void oracle.jdevimpl.cm.dt.browser.jdbc.JdbcBrowser.openConnectionBrowser(oracle.jdeveloper.cm.dt.ConnectionBrowsable)
              JdbcBrowser.java:133
         java.lang.Object oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork()
              ConnectionNode.java:202
         void oracle.jdeveloper.cm.dt.ProgressRunnable.run()
              ProgressRunnable.java:193
         void oracle.ide.dialogs.ProgressBar.run()
              ProgressBar.java:527
         void java.lang.Thread.run()
              Thread.java:484

    Is the TNS Listener running on the target machine in which the database is running? Is the host, port, and SID correct (note that SID is different than Service Name)
    Rob

  • Test Connection failed in Crystal Reports for Eclipse using SQL Server 2008

    I installed an SQL Server Express 2008 on my local PC (Window XP SP3). I downloaded sqljdbc4.jar to Crystal Reports for Eclipse
    IDE library path and tried to Test Connection, but got the Ping failed message : The TCP/IP connection to the host localhost, port 1433 has failed. It said that check that an instance of SQL Server is running on the host (I saw SQL Server SQLEXPRESS is Running on my PC) and accepting TCP/IP connection at the port (I enabled TCP/IPin my PC's SQL Server Network Configuration),
    and that no firewall is blocking TCP connection to the port(I turned OFF Window Firewall on my OC). Can anyone tell me how can I fix this problem ?

    Hi,
    Check the below thread also:
    http://scn.sap.com/thread/1634856
    Thanks,
    DJ

  • Failed Connection to database from Putty . . .

    Dears,,
    I have Database UNIX server
    and I can connect to the database through cmd command prompt ( sqlplus )
    But when i connect to the UNIX server through Putty , it logged in to the UNIX operating system.
    After logging to UNIX OS , i cannot connect to database through sqlplus ( failed )
    and gave me ORA-12641: Authentication service failed to initialize
    See the following . . .
    login as: oracle
    [email protected]'s password:
    Last unsuccessful login: Tue Dec 28 14:56:02 CST 2010 on ssh from 172.16.50.54
    Last login: Sun Mar 6 16:23:27 CST 2011 on /dev/pts/0 from x.x.x.x
    db:/home/oracle>sqlplus user/pass@list
    SQL*Plus: Release 10.2.0.4.0 - Production on Sun Mar 6 16:28:15 2011
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-12641: Authentication service failed to initialize
    Enter user-name:
    Please , help
    Thanks & Regards,,

    hello,
    In the $ORACLE_HOME/network/admin/sqlnet.ora file SQLNET.AUTHENTICATION_SERVICES is set to ALL and Secure Network Services has not been used.
    Issuing the connection from another computer rather than host will not produce the error because in that case secure network services will be used.
    To disable SQL*Net authentication services while still allowing normal SQL*Net connections you can set in $ORACLE_HOME/network/admin/sqlnet.ora the following line,
    SQLNET.AUTHENTICATION_SERVICES =(NONE)

  • Managed Server can not connect to Database

    I have a WebLogic cluster with three managed Server on 3 different machines.
    ManagedServer_1, ManagedServer_2, ManagedServer_3 (on Machine 3)
    Firstly, everything is ok. But when we changed some configuration on Firewall and make the WebLogic cluster could not connect to database. 3 servers change status from Running to Warning. Then, we undo all the changes to the Firewall configuration. 3 Servers could connect to Database again but still in warning state.
    It is strange that when I tried to restart ManagedServer_3. That server could not be up normally. It went to Admin state and all the datasources and connection pool could not be created. I tried to restart the machine 3 and start the server but it still failed to make server running normally.
    ( I made the test connecting to Database from Machine 3, everything is okie, I can got data from database, port 1521 opened )
    Has anyone got the same problem and how to fix it? Is that the problem with the admin server?

    JDBC DataSources/Connection pools are all at Domain Level. All we do is just target the datasources to AdminServer and Entire cluster (this will take care of all managed servers in the cluster). From Weblogic Console, TEST the data sources for any firewall issues. If this works from console, check from where you are accessing the Console like within the Firewall, that can access the database server. Even though the actual application is deployed only on cluster, still I would recommend targetting the datasources to both AdminServer and Cluster.
    Ravi Jegga

  • How to use JDBC to connect informix database

    Dear all,
    I want my client application to connect informix database by using JDBC. The JDBC driver has been installed successfully in the client computer (Win2000). The informix 5.0 resides the a Unix server named "dbserver". The following is my java program.
    ========================
    import java.sql.*;
    import java.awt.event.*;
    public class Application1 {
    public static void main(String[] args) {
    Connection conn;
    try
    Class.forName("com.informix.jdbc.IfxDriver");
    catch (Exception e)
    System.out.println("Error "+e.getmessage());
    e.printStackTrace();
    return;
    System.out.println("It is ok");
    try
    conn = DriverManager.getConnection("jdbc:informix-sqli://dbserver:1526:INFORMIXSERVER=dbserver;username=test;password=******");
    catch (SQLException e)
    System.out.println("ERROR ."+e.getMessage());
    e.printStackTrace();
    return;
    System.out.println("All is fine");
    ===========================
    However, the error appears mentioning "Attempt to connect to database server (dbserver) failed." I don't know what the problem is because my informix database server is exactly "dbserver".
    Kindly need help from you guys. Thanks in advance.
    Kevin

    Hi,
    Plz try this (instead of 'username' use 'user') ...
    DriverManager.getConnection("jdbc:informix-sqli://dbserer:1526:INFORMIXSERVER=dbserver;user=test;password=*****");
    or this (pass the username and password as params)....
    DriverManager.getConnection( "jdbc:informix-sqli://dbserer:1526:INFORMIXSERVER=dbserver" , "test" , "*****" );
    Hope this helps
    ssa.
    >
    I want my client application to connect informix
    database by using JDBC. The JDBC driver has been
    installed successfully in the client computer
    (Win2000). The informix 5.0 resides the a Unix server
    named "dbserver". The following is my java program.
    ========================
    import java.sql.*;
    import java.awt.event.*;
    public class Application1 {
    public static void main(String[] args) {
    Connection conn;
    try
    Class.forName("com.informix.jdbc.IfxDriver");
    catch (Exception e)
    System.out.println("Error "+e.getmessage());
    e.printStackTrace();
    return;
    System.out.println("It is ok");
    try
    conn =
    onn =
    DriverManager.getConnection("jdbc:informix-sqli://dbser
    er:1526:INFORMIXSERVER=dbserver;username=test;password=
    catch (SQLException e)
    System.out.println("ERROR ."+e.getMessage());
    e.printStackTrace();
    return;
    System.out.println("All is fine");
    ===========================
    However, the error appears mentioning "Attempt to
    connect to database server (dbserver) failed." I don't
    know what the problem is because my informix database
    server is exactly "dbserver".
    Kindly need help from you guys. Thanks in advance.
    Kevin

  • Connect Oracle Database with help of sql server storedprocedure

    Hii,
              Is there Any way to connect Oracle Database Using sql server storedprocedure.I want access oracle database and take some data and insert into my sql server database.so is there any way to connect in one
    stored procedure to connect oracle database and take some data and insert in to my sql server database.
    Nikunj Nandaniya

    Hello,
    I am getting below error when i kust Clic k on Test Connection in SSMS:
    TITLE: Microsoft SQL Server Management Studio
    The test connection to the linked server failed.
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
    OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    BUTTONS:
    OK
    Can you please guide is there any other setting i need to do after install Oracle Client ?
    Best Regards,
    Tushar Malvi

  • Connect ORACLE database with sysdba privileges

    Hi Guru,
    I am connecting to my ORACLE database with my VB application.
    I have problem with connecting to the database with SYSDBA privileges. i.e it is not connecting to the database with SYSDBA privileges.
    If I connect my db from SQLPLUS. Its worked like this..
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> select Name from v$datafile;
    select Name from v$datafile
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> connect as sysdba;
    Enter user-name: user_1
    Enter password: ****
    Connected.
    SQL> select Name from v$datafile;
    NAME
    C:\NEW\ORADATA\ITPL\SYSTEM01.DBF
    C:\NEW\ORADATA\ITPL\UNDOTBS01.DBF
    C:\NEW\ORADATA\ITPL\CWMLITE01.DBF
    C:\NEW\ORADATA\ITPL\DRSYS01.DBF
    C:\NEW\ORADATA\ITPL\EXAMPLE01.DBF
    C:\NEW\ORADATA\ITPL\INDX01.DBF
    C:\NEW\ORADATA\ITPL\ODM01.DBF
    C:\NEW\ORADATA\ITPL\TOOLS01.DBF
    C:\NEW\ORADATA\ITPL\USERS01.DBF
    C:\NEW\ORADATA\ITPL\XDB01.DBF
    10 rows selected.
    SQL>
    Now in my VB application if I am using following string to connect the database.
    m_adoCnn.ConnectionString = Provider=MSDAORA;Password=pass;User ID=user_1;DBA Privilege=SYSDBA;Data Source=ITPL
    It will connect properly to the database but gives error while executing the query select Name from v$datafile;
    as,
    ORA-00942: table or view does not exist
    Can any body help me in this or provide me proper connection string.

    Hello,
    I am getting below error when i kust Clic k on Test Connection in SSMS:
    TITLE: Microsoft SQL Server Management Studio
    The test connection to the linked server failed.
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
    OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    BUTTONS:
    OK
    Can you please guide is there any other setting i need to do after install Oracle Client ?
    Best Regards,
    Tushar Malvi

  • Invalid or unknown NLS parameter value specifiedBR0310E Connect to database

    Dear all ,
    While installing Db instance (4.7 e,HPIA64-oracle), in database update stati.
      got error like
    "WARNING 2008-03-19 01:36:25
    Execution of the command "/sapmnt/C2P/exe/brconnect -u / -c -f crsyn -o SAPC2P" finished with return code 3. Output: BR0801I BRCONNECT 6.40 (11)BR0280I BRCONNECT time stamp: 2008-03-19 01.36.25BR0301E SQL error -12705 at location db_connect-2ORA-12705: invalid or unknown NLS parameter value specifiedBR0310E Connect to database instance C2P failed
    ERROR 2008-03-19 01:36:25
    CJS-00288  Could not update database statistics.<br>DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPC2P returned 3.<br>SOLUTION: See brconnect.log for details.
    Brconnect.log shows like
    R0801I BRCONNECT 6.40 (11)
    BR0280I BRCONNECT time stamp: 2008-03-19 01.36.25
    BR0301E SQL error -12705 at location db_connect-2
    ORA-12705: invalid or unknown NLS parameter value specified
    BR0310E Connect to database instance C2P failed
    BR0280I BRCONNECT time stamp: 2008-03-19 01.36.25
    BR0804I BRCONNECT terminated with errors
    How resolve this issue.
    Regards,
    satish kumar

    Hi Sergo,
    those notes are a bit outdated, that is the reason I indicate to read the FAQ.
    If you read it carefully you will realize of several things:
    1) the oracle client to be used depends on the SAP kernel version
    2) the way the oracle client is "linked" with the kernel depends also on the version.
    You can take a look at the powerpoint attached to the note.
    For the sake of simplification I'll go from kernel 4.6D (and forgot the exceptions)
    Kernel 4.6D was linked against oracle client 8.0
    The ORA_NLS33 has to point to the NLS files of that version. But oracle made something easier.
    Oracle NLS files for version 8.1 are also compatible with 8.0.
    This means that, even when the client was 8.0, you could use NLS files of 8.1.7 without any error (the one is refered in this thread)
    Another thing is that the oracle client library was included on the SAP kernel, it was statically linked, SAP only needed the NLS files.
    This changed a little with newer kernels.
    What happens with Kernel 6.20?
    SAP does not includes the client inside the KERNEL, now the oracle library is dinamically linked. By default the kernel looks for it on the /oracle/client/81x_64/lib (assumming here 64 bit)
    ORA_NLS33 can point to the oracle client or the oracle home, again we have compatibility.
    But, then oracle start doing "funny" things with oracle 9i.
    SAP kernel 6.40 is dynamically linked against this oracle client version. Now the search directory is /oracle/client/92x_64. But NLS files are not backwards compatible (later on Oracle provided information about a couple of environment variables to be able to use 9i nls files with 8x client)
    it is more, nls files are not even compatible between oracle 9i versions.
    For that reason, it could be that you have installed in your oracle home, lets say 9.2.0.7 and your ORA_NLS33 pointing to the oacle home.
    But SAP kernel is using (if your environmet variables are OK) the library on the /oracle/client/92x_64 and you get the error ORA-12705 even when you think everything is OK.
    Again, my recommendation is to follow the proper note.
    If you are using a kernel that uses the client 9.2 then you have to configure the environment variables as the correspondent note for that client (539922 Installing the ORACLE client software 9.2.X for UNIX t) or other note that could complement it (like installing several clients on one server)
    Hope the explanation is clear.
    Note. This is only valid for UNIX, in windows it is a different history.

  • EM Alert: Critical:PROD.test.edu.au - Failed to connect to database instanc

    HI Experts,
    Today i got this alert from oem grid during RMAN bakcup of the PROD database.when i try to connect the database i am able to get into to the DB successfully with out any issues.
    But i am not sure why this error has come and resone behind that.Please advise.
    From: Oracle OEM [mailto:[email protected]]
    Sent: Tuesday, February 22, 2011 11:21 PM
    To: DBA_GROUP
    Subject: EM Alert: Critical:PROD.test.edu.au - Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
    Target Name=PROD.test.edu.au
    Target type=Database Instance
    Host=delhi.win.test.edu.au
    Occurred At=Feb 22, 2011 11:20:33 PM EST
    Message=Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
    Severity=Critical
    Acknowledged=No
    Notification Rule Name=Database Availability and Critical States
    Notification Rule Owner=SYSMAN
    when i check the alertlog file i could see the following
    Tue Feb 22 23:01:36 2011
    Starting control autobackup
    Control autobackup written to DISK device
    handle '/oracledb/rman_backup/PROD/control_c-197342269-20110222-01'
    Tue Feb 22 23:22:42 2011
    Errors in file /oracle/admin/PROD/udump/hubprd_ora_27069.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01438: value larger than specified precision allowed for this column
    ORA-06512: at line 2
    PLease let me know the cause of the issues and solution to overcome this issues.
    Regards,
    Salai

    It would appear that your archive location is full. If it is full, then try to get some more free space there by either deleting the old archives or specifying a different location.
    I don't see any mention of a flash recovery area in the log message, but you may also want to confirm that you have reached your space allocated to the FRA.

  • Connect to database failed,rc=-10709 Connection failed (RTE:Database name)

    Hi gurues, I'm facing this issue with an IDES on MaxDB with Windows.
    System was up and running until someone tries to make an upgrade of the kernel. Since then we can not start our system. we tried to rollback kernel release to the previous one but it didn't work.
    When we start our system from MMC console we can see all process in green but work processes are in RUN state and after a few minutes they goes down with the following error
    trc file: "dev_w0", trc level: 1, release: "701"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Mon May 16 23:57:31 2011
    B  create_con (con_name=R/3)
    B  Loading DB library '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' ...
    B  Library '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' loaded
    B  Version of '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' is "700.08", patchlevel (0.24)
    B  New connection 0 created
    M sysno      00
    M sid        SED
    M systemid   562 (PC with Windows NT)
    M relno      7010
    M patchlevel 0
    M patchno    32
    M intno      20020600
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        212
    M
    M  kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 212) [dpxxdisp.c   1348]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          22784     (1752)
    M  DpShMCreate: sizeof(tm_adm)          5912704     (29416)
    M  DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000B2C0050, size: 6607136)
    M  DpShMCreate: allocated sys_adm at 000000000B2C0050
    M  DpShMCreate: allocated wp_adm at 000000000B2C2270
    M  DpShMCreate: allocated tm_adm_list at 000000000B2C7B70
    M  DpShMCreate: allocated tm_adm at 000000000B2C7BD0
    M  DpShMCreate: allocated wp_ca_adm at 000000000B86B450
    M  DpShMCreate: allocated appc_ca_adm at 000000000B871250
    M  DpShMCreate: allocated comm_adm at 000000000B873190
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 000000000B8F9E20
    M  DpShMCreate: allocated gw_adm at 000000000B8F9EA0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000000B8F9ED0
    M  DpShMCreate: allocated wall_adm at 000000000B8F9EE0

    M Mon May 16 23:57:32 2011
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host sirillium1

    M Mon May 16 23:57:33 2011
    M  calling db_connect ...

    C  DBSDBSLIB : version 700.08, patch 0.024 (Make PL 0.32)
    C  MAXDB shared library (dbsdbslib) patchlevels (last 10)
    C    (0.024) Default value for max. input variables is 2000 (note 655018)
    C    (0.024) Profile parameter to define max. input variables (note 655018)
    C    (0.024) Switch SQLMODE after CREATE INDEX SERIAL (note 1267841)
    C    (0.024) Input parameters for SQL statements increased (note 655018)
    C    (0.018) Create index serial for MaxDB 7.6 (note 1267841)
    C    (0.018) More trace in case of packed to string conversion error (note 1262799)
    C    (0.016) R3trans export aborts with signal 6 (note 1262245)
    C    (0.009) IA64 alignment errors (note 1245982)
    C    (0.007) Support DB-Type 'SAP DB' by UPDSTAT (note 1225668)


    C  Loading SQLDBC client runtime ...
    C  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 007-123-091-175
    C  SQLDBC Library Version : libSQLDBC 7.6.5    BUILD 015-123-202-938
    C  SQLDBC client runtime is MaxDB 7.6.5.015 CL 202938
    C  SQLDBC supports new DECIMAL interface : 0
    C  SQLDBC supports VARIABLE INPUT data   : 1
    C  SQLDBC supports keepAlive indicator   : 0
    C  INFO : SQLOPT= -I 0 -t 0 -S SAPR3
    C  Try to connect (DEFAULT) on connection 0 ...
    C  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Database name is missing))
    [dbsdbsql.cpp 137]
    B  ***LOG BV3=> severe db error -10709    ; work process is stopped [dbsh#2 @ 1203] [dbsh    1203 ]
    B  ***LOG BY2=> sql error -10709 performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Connection failed (RTE:Database name is missing) [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1449]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10563]

    M  Info for wp 0

    M    pid = 212
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sirillium1_SED_00 on host sirillium1 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Mon May 16 23:57:33 2011
    M  *  RELEASE     701
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10783
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   723]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 212) [dpnttool.c   334]
    We check several entries on this SDN site, and look for a lot of notes on the marketplace, and they always are related to default user in xuser files, but our xuser list output is ok. We have a DEFAULT connection to SAPSID user, a DBM connection to CONTROL user and a USERDBA connection.
    XUSER Entry  1
    Key         :DEFAULT          
    Username    :SAPSID                                                         
    UsernameUCS2:S.A.P.S.E.D. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :SAPR3  
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>    
    XUSER Entry  2
    Key         :c                
    Username    :CONTROL                                                        
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>    
    XUSER Entry  3
    Key         :c_J2EE           
    Username    :CONTROL                                                        
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :SAPR3  
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>    
    XUSER Entry  4
    Key         :w                
    Username    :SUPERDBA                                                       
    UsernameUCS2:S.U.P.E.R.D.B.A. . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>    
    Any idea? we are out of ideas at this moment.
    Regards
    Edited by: Gustavo Goicochea on May 17, 2011 6:37 PM

    Natalia, this system was not resored nor copied, it was up and running before kernel update. We did some of the tests you said and someothers, here are some outputs.
    We update kernel to release 142
    R3trans -d and -x exit with (all with user SIDADM)
    SVERS table does exist and belongs to SAPSID
    dbmcli on SID>sql_execute select * from domain.tables where tablename='SVERS'
    OK
    END
    'SAPSID';'SAPSID';'SVERS';'';'TABLE';'TABLE';'20100406';'00054637';'20100406';'00054637';'20100406';'00054638';'NO';(null);20000;(null);x'0000000000004842';'NO';'NO';'YES';'NO';(null)
    Why it still says that SVERS table does not exist and SQL error 942?
    C  Now I'm connected to SAP DB
    C  00: server1-SID, since=20110518015619, ABAP= <unknown> (0)
    B  Connection 0 opened (DBSL handle 0)
    C  *** ERROR =>   prepare() of C_0000, rc=1, rcSQL=-942 (POS(28) Unknown table name:SVERS) [
    dbsdbsql.cpp 1604]
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(28) Unknown table name:SVERS) [dbslsdb.cpp  7253]
    C sc_p=000000000CFAECC0,no=0,idc_p=0000000000000000,con=0,act=0,slen=34,smax=256,#vars=0,stmt=0000000002EA0AF0,table=SVERS                        
    C  SELECT VERSION INTO ? FROM SVERS  ;
    B  ***LOG BZA=> table SVERS      does not exist on database            [dblink#4 @ 1301] [dblink  1301 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 004096) [thxxhead.c   1515]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10824]

    Users seem to be ok
    dbmcli on SID>sql_execute SELECT username, usermode FROM users
    OK
    END
    'CONTROL';'ADMIN'
    'SUPERDBA';'SYSDBA'
    'SAPSID';'DBA'
    'SAPR3';'DBA'
    User SAPR3 does not have anything on database
    dbmcli on SID>sql_execute select * from domain.tables where owner='SAPR3'
    ERR
    -24988,ERR_SQL: SQL error
    100,Row not found
    Any idea?
    regards

  • Can't Create a Data Source - Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied

    Hi there,
    I am having a serious issue with The Power BI Data Management Gateway which I am hoping that someone can help me with.
    Basically I am setting a connection between a Power BI demo site and a SQL 2012 Database based on Azure. The Data Management Gateway and is up and running, and Power BI has managed to connect to it successfuly.
    By following the tutorials at
    here I was able to successful create my Data Connection Gateway with a self-signed certificate.
    However, when trying to create the data source I come into problems. The Data Source Manager manages to successfully resolve the hostname, as per the screenshot below:
    Bear in mind that I exposed the require ports in Azure as endpoints and I managed to modify my hosts file on my local machine so I could access the SQL server hosted in Azure using its internal name -- otherwise I would not be able to get this far.
    However the creation of the data source also fails when trying to created it whilst logged in the SQL server in question:
    The Data Source Manager returns the error when using the Microsoft OLE DB Provider for SQL Server:
    Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
    I tried using the SQL Server Native Client 11.0 instead but I also get an error. This time the error is:
    Failed to test connection. Login timeout expiredA network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.Named Pipes Provider: Could not open a connection to SQL Server [53]. 
    Some considerations
    If I provide an invalid username/password, the Data Source Manager does say that the username and password is incorrect.
    Firewall is turned off in the SQL Server (either way, this error also happens if I try top use the Data Source Manager whilst logged in the SQL Server itself).
    SQL Profiler does not show any attempt of connection.
    The SQL server instance in question is the default one.
    The error happens regardless if I select the option to encrypt connection or not.
    In SQL Configuration manager I can see that all protocols are enabled (TCP/IP, Named Pipes and Shared Memory.
    The Event Viewer does not provide any further errors than the one I have copied in this post.
    I'm at a loss here. Could someone please advise what might I be doing wrong?
    Regards,
    P.

    Here is what I had to do to solve this issue:
    Basically I had to add the MSSQL TCP/IP port as an end-point in Azure. After I did that, then I was able to create the data-source. However, I was only able to authenticate with a SQL account, as any domain account would return me an error saying that the
    domain isn't trusted.
    What puzzles me here is how come the Data Source Manager would inform me that an account username/password was invalid, but it would fail/timeout if I provided valid credentials (!?!?!!?)

  • Portal Test Connection Failed for JDBC Connector

    Hi,
    We are trying to create a JDBC system in EP to connect SQL Server 2005 database. Our aim is to build a model in VC using data services from SQL Server 2005.
    We deployed the Driver file sqljdbc.jar  and connection was successful when tested by creating a data source  in Visual Administrator-> JDBC Connector
    We have created a system in EP with user mapping type (admin,user) and user mapping also done for system alias with the SQL Server administrator user id and password. UME is maintained in ABAP Stack. When we try for test connection with the system created in EP for JDBC connection, the system throws an error message like “Connection failed. Make sure user mapping is set correctly and all connection properties are correct“
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the back end application using the connector defined in this system object
    Results
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    The following are the URL and driver class name:
    URL: jdbc:sqlserver://<host_name>:1433;DatabaseName=”db_ name”
    Driver class name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Is there any other setting to be maintained in the Visual Administrator or in the Portal?
    Kindly let us know any clue to overcome this issue.
    Quick response highly appreciated.
    Regards
    Saravanan.r

    Hi Saravanan and Sathish,
    not sure how far you got with this. I had the same problem or at least a very similar one with access to MS SQL Server 2005 and solved it. I followed essentially very similar steps with a couple of minor twists:
    1) copied the sqljdbc.jar file to the storyboard server and  set the classpath environment variable to point to it.
    2) I did not create a data source, just created a new driver "SQLServer".
    3) Under Connector Container I cloned SDK_JDBC as "SDK_SSQL".
    4) The Visual Composer property vc.bi.sqlEditor Enabled should be set to true for you to be able the SQL Editor in the Data Service in VC.
    In the portal I created a system of type BI_JDBC from a template.
    The connection url and driver class were as in the thread:
    URL: jdbc:sqlserver:ipaddress:1433;DatabaseName=name
    Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    ConnectionFActoryClass as above under 3.
    User rights: admin,user
    The user mapping to the system alias should be as described.
    This should allow you to use the data service in VC to access SQL Server tables. If access to stored procedures (sometimes quite useful) is required, this would need to utilise the p9sqlserver.jar file already on the server.
    Best Regards
    Felix Logemann

  • Test connected failed in integration framework

    Hi,
    I received the below error when i try to test my database connection in SLD.
    connect to <databse> (B1DI) failed
    XCE001 Nested exception: java.rmi.RemoteException: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.rmi.NotBoundException: DiaAdapterProxy_XXX
    Please advice.
    Thank you

    Hi Rajesh........
    Are you sure that you you have give right B1iAdmin and its password......
    Give it and then test connection
    Regards,
    Rahul

Maybe you are looking for