SQLException occurs in getConnection to the Second Database

Hello all!
I have posted this earlier and apparently no one is able to reply. I need some answers regarding this matter. We are currently doing a project in one of our clients.
Right now, our team has created second database in our server, we now have two databases, one is in port 1521 and the new one is in port 1526. We need to access our 2nd database named SWITCHDB. Unfortunately, we are encountering the following error in our test program:
java.sql.SQLException: No more data to read from socket
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(Compiled Code)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java)
at oracle.jdbc.ttc7.TTIpro.receive(TTIpro.java)
at oracle.jdbc.ttc7.v8TTIpro.receive(v8TTIpro.java)
at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at com.weserv.ibo.reports.TestSwitch.setConnection(TestSmsDb.java:40)
at com.weserv.ibo.reports.TestSwitchDb.main(TestSmsDb.java:122)
The error occurs in the following lines:
Connection connection = DriverManager.getConnection(DATABASE, USERNAME, PASSWORD);
where:
DATABASE = jdbc:oracle:thin:@Victoria:1526:SWITCHDB
USERNAME = switch
PASSWORD = switch
DRIVER = oracle.jdbc.driver.OracleDriver
We searched through this forum as well and we followed the advice to get the latest classes111.zip and put it in our classpath. Unfortunately, the error remains the same. Even if we changed our classes111.zip to classes12.zip, still the error is the same. =(
We are using Oracle 8i and Sun Solaris. We don't have any idea right now on how to go through this scenario. We could still connect to the first database and have the usual transactions without encountering any errors, but not when we connect in the second database. How is that? Are we missing some things?
Please feel free to reply. I would really appreciate it to state your views and advices.
Thanks you so much.
Regards,
Ronron

I make multiple database connections all the time with this code, perhaps you can try it. If it still does'nt work then perhaps your second database is not configured properly. In that case, compare the two databases for differences:
try
Connection conn = null;
String host= "serverip:1526"; //server ip address : portnumber
String sid = "SWITCHDB"; //use the db's SID
String user = "Victoria";
String pwd = "VicsPassword";
//Register driver, make sure you have installed correct drivers.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//Get thin connection
String thin = "jdbc:oracle:thin:@" + host + ":" + sid;
conn = DriverManager.getConnection(thin,user,pwd);
catch(SQLException se)
se.printStackTrace();

Similar Messages

  • ORA:00205 fro the second database

    Thanks to all your suggestions, I finally got it. I tried to run dbca remotely and I think that's why I didn't get the GUI. So I installed a VNC server to view the remote server's desktop . The re I ran dbca ,created a second database successfully.
    Now I have a question. How to get connected to the second database without affecting the first one. I typed startup command from sqlplus. It said ORA:00205 --control files not found errror . But I have the correct path of the control files in my
    $ORACLE_HOME/dbs/initorcl2.ora (ex: /oracle/product/10.2.0/oradata/orcl2/control01,
    /oracle/product/10.2.0/oradata/orcl2/control01,
    /oracle/product/10.2.0/oradata/orcl2/control01,
    Where doed it look for the control file parameter. In the init.ora file or initorcl2.ora??
    Or do I have start the instance first for the second database. How?
    Please let me know.
    Thanks.

    which OS do you use,windows or unix?

  • How configure a primavera web service to return data from the second database?

    Hi everyone,
    We have P6 with first WS deployed on a single server weblogic domain. The first WS return data from the first database instance.
    Then deployed advanced second WS on a separate weblogic domain server with a different port. Configured second WS with <WS2_INSTALL_HOME>/bin/dbconfig.sh, creating a new branch of a configuration that specifies a different second instance of the database. However, this configuration is ignored and second web services return data from the first database.
    We have one domain, which including next servers:
    Name / Host / Port / Deployments
    P6 / localhost / 0001 / P6(v8.3), p6ws1(v8.3)
    p6ws2 / localhost / 0002 / p6ws2(v8.3)
    Now we have two different file BREBootstrap.xml.
    P6 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db1:1521:db1</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass1</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB1" instances="1" logDir="anydir/P6EPPM/p6/PrimaveraLogs"/>
    </Configurations>
    p6ws2 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db2:1521:db2</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass2</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB2" instances="1" logDir="anydir/P6EPPM/ws2/PrimaveraLogs"/>
    </Configurations>
    ‘P6 Config_DB1’ and ‘P6 Config_DB2’ including Database property for 1 and 2 database respectively.
    How to configure a second web service to return data from the second database?
    Thanks in advance!
    Regards,
    Dmitry

    OK, so I got this to work this morning with Username Token Profile (with little help from Oracle Support).
    I followed your steps 1-4 but in step 2 I didn't add the -Ddatabase.instance=2 because I want to check to see if my code could swap between different instances.
    It appears for Username Token Profile to use Database Instance, you need to set it in the soap header.
    So my soap request looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <s:Header>
            <DatabaseInstanceId xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Authentication/V1">2</DatabaseInstanceId>
            <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <u:Timestamp xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3'>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                    <u:Expires>2014-10-23T04:29:01.152Z</u:Expires>
                </u:Timestamp>
                <o:UsernameToken u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3' xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>
                    <o:Username>admin</o:Username>
                    <o:Password Type='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'>password</o:Password>
                    <o:Nonce EncodingType='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary'>vJBQhCc28bAeszej7gOaiC2tVCQ=</o:Nonce>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                </o:UsernameToken>
            </o:Security>
        </s:Header>
        <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <ReadProjects xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Project/V2">
                <Field>ObjectId</Field>
                <Field>Id</Field>
                <Field>Name</Field>
                <Field>Status</Field>
                <Field>StartDate</Field>
                <Field>FinishDate</Field>
                <Field>DataDate</Field>
                <Filter>Id = 'EC00515'</Filter>
            </ReadProjects>
        </s:Body>
    </s:Envelope>
    This request pulled the project from the second instance.
    V/r,
    Gene

  • What has happened to Itunes it no longer will start. I did a complete uninstall and reinstall per innstructions and the same occurred? This is the second update screw-up in a row.

    Since the recent update Itunes fails to start with no error messages. What gives?

    the second article did offer a suggestion that SEEMS to have helped ::crosses fingers:: - an about:config, resetting of the preferences for images. we'll see how long it lasts. THANK YOU SO MUCH for the suggestion, the article wasn't one i'd found while searching for troubleshooting info.
    Java script is enabled, but the persona's stuff still isn't working. dang it. WELL, one thing seems to work now, at least. thank you.
    Pax, km

  • Ora-12154 after creation of second database

    DB 10g ver 10.1.0.2.0
    OS Windows server 2003 32bit +sp1
    Summary:
    Due to the addition of extra storage to the server I decided to rebuild from scratch, and all was working correctly until I came to create a second database on the server, once this is created I get ORA-12154 errors at logon for both databases.
    Full:
    Installation of Windows and Oracle are fine, creation of the first database also works correctly and connection is without problems e.g sqlplus user/pass@database1 allows me to logon.
    On creation of the second database the same command: sqlplus user/pass@database1 or sqlplus user/pass@database2 gives me an ORA-12154 error.
    If in the command prompt window I set ORACLE_SID=database1 then try sqlplus user/pass it connects without problems, the same for database2, although sqlplus user/pass@database1 still fails.
    I have checked tnsnames.ora, all looks fine, I used the net configuration assistant to generate the entries and used the connection test to verfiy all was ok, both connection tests worked fine.
    I can tnsping both database1 and database2 and lsnrctl status shows
    Service "database1" has 1 instance(s).
    Instance "database1", status READY, has 1 handler(s) for this service...
    Service "database1XDB" has 1 instance(s).
    Instance "database1", status READY, has 1 handler(s) for this service...
    Service "database2" has 1 instance(s).
    Instance "database2", status READY, has 1 handler(s) for this service...
    Service "database2XDB" has 1 instance(s).
    Instance "database2", status READY, has 1 handler(s) for this service...
    I have searched through back posts and the web and as yet have not been able to find how to resolve this. Any pointers or ideas as to why I cannot use the sqlplus user/pass@database to connect?
    TIA
    Will
    .

    Hi,
    Thanks for the quick reply, I created the listener using the net configuration assistant, I assumed this would add all necessary configuration entries?
    I have added an extra section as suggested to the listener.ora, it now reads
    # listener.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
         (GLOBAL_DBNAME = dm)
         (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
         (SID_NAME = dm)
        (SID_DESC =
         (GLOBAL_DBNAME = medline)
         (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
         (SID_NAME = medline)
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = well-mccarthy02)(PORT = 1521))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )Is this correct, I have bounced the listener and still get ora-12154 errors on connection.
    running lsnrctl services gives:
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:28
    :10
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
    21)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "dm" has 2 instance(s).
      Instance "dm", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0
             LOCAL SERVER
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "dmXDB" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
    Service "medline" has 2 instance(s).
      Instance "medline", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0 state:ready
             LOCAL SERVER
    Service "medlineXDB" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
    The command completed successfullywith the original listener.ora file lsnrctl services gave
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:36
    :13
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
    21)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "dm" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "dmXDB" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
    Service "medline" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "medlineXDB" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
    The command completed successfully

  • Getting error while starting my second database

    Hi to all,
    I have a problem of getting start of Enterprise manager of my second database:-
    I create another database on same machine & after creation i restart my laptop & start listener & dbconsole but after this i am not able to login in Enterprise Manager of my second database whose url is:
    http://localhost.localdoamin:5500/em.
    I am able to connect my first database through Enterprise managaer.But when i try to connect my second database it show me error:-
    error:-”*CANNOT ESTABLISH THE CONNECTION WITH LOCALHOST.LOCALDOMAIN”*
    I am using Linux operating system
    I donot understand what is the problem.
    Please help me.

    I have a problem of getting start of Enterprise manager of my second database:-
    I create another database on same machine & after creation i restart my laptop & start listener & dbconsole but after this i am not able to login in Enterprise Manager of my second database whose url is:
    http://localhost.localdoamin:5500/em.
    I am able to connect my first database through Enterprise managaer.But when i try to connect my second database it show me error:-
    error:-”*CANNOT ESTABLISH THE CONNECTION WITH LOCALHOST.LOCALDOMAIN”*
    I am using Linux operating system
    I donot understand what is the problem.Your subject line is not correct. It should be "Unable to open OEM for second database". Any way post the status the second database's OEM status. Post the output of following command, please copy paste the exact command you fired.
    $export ORACLE_SID=<second SID>
    $emctl status dbconsole
    Regards.

  • Internet explorer Enterprise Manager connectivity on the 2nd database

    I am using oracle 10g release 2 on Linux red hat.
    I just created using DBCA utility another database on the same oracle instance. When i try to connect using Internet exploere Oracle enterprise manager it goes to the connectivity of the 1st database. I am using
    http://<IP address>:1158/em/console
    How can i get the connectivity for the new database?

    You need to make sure the EM dbconsole is running for the second database. On your Linux host do the following:
    export ORACLE_SID=<second db SID>
    emctl status dbconsole -- to see if it is running
    emctl start dbconsole -- to star the dbconsole
    The output will give the proper URL to connect to the EM console.

  • Tnsnames issue with second database

    hi,
    I have a tnsnames.ora file which has an entry for a particular database in a recovery catalog. the database is a production database. I have cloned this database onto a new server with the same name. I now need to add this into the recovery catalog. Can I have two entries in the tnsnames.ora files with the same entries? If not is it possible to create an 'alias' for the second database
    thanks

    tnsnames is just an entry to look for database in server, so as long as your servers are different, the db names can be same and can be configured with different tns entry for the two servers.

  • BIB-16613 Database access error occurred while connecting to the OLAP insta

    I am trying to connect to the database using the BI Beans sample bootstrap.jpr
    I am getting the BIB-16613 error.
    oracle.dss.security.BISecurityException: BIB-16613 Database access error occurred while connecting to the OLAP instance.
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    The bi_checkconfig utility gives me:
    C:\utils\JDev903\bibeans\bin>bi_checkconfig -h pavelr -po 1521 -sid LOCAL -u BIBDEMO -p BIBDEMO
    BI Beans Diagnostics(v1.0.0.0) 17/03/03
    ===============================================================================
    JDEV_ORACLE_HOME ............................. = C:\utils\JDev903
    JAVA_HOME .................................... = C:\OraHome1\jdk
    JDeveloper version ........................... = 9.0.3.1035 (Production)
    BI Beans version ............................. = 9.0.3.4.0
    BI Beans internal version .................... = 2.7.0.11.3
    Connect to database .......................... = Successful
    JDBC driver version .......................... = 9.2.0.1.0
    JDBC JAR file location ....................... = C:\utils\JDev903\jdbc\lib
    Database version ............................. = 9.2.0.2.1
    OLAP Catalog version ......................... = N/A
    OLAP AW Engine version ....................... = N/A
    OLAP API Server version ...................... = N/A
    BI Beans Catalog version ..................... = N/A; not installed in BIBDEMO
    OLAP API JAR file version .................... = 9.2
    OLAP API JAR file location ................... = C:\utils\JDev903\jdev\lib\ext
    Load OLAP API metadata ....................... = Successful
    Number of metadata folders ................... = 3
    Number of metadata measures .................. = 26
    Number of metadata dimensions ................ = 22
    Metadata output location ..................... = C:\utils\JDev903\bibeans\bin\bi_metadata.txt
    I can connect to OLAP BIBDEMO (and SH) schema using OEM.
    I can connect to BIBDEMO from JDev Connections (Catalog connection to BIBCAT, OLAP connection to BIBDEMO).
    How can I establish the connection from the bootstrap sample?
    Pavel

    Please try follow the steps under "Installing and Configuring the Samples "http://otn.oracle.com/products/bib/htdocs/samples/installing_samples.html - the section titled "Update the samples project settings".

  • Using OSX 10.6.8, recently been having popups, think it's adware/malware from MediaDownloader, one of the first pop ups to occur.  The second pop up to occur was Trojanalert.  Never had a virus on this computer.  Please help remove.

    I'm currently using OSX 10.6.8, 2.4GHz Intel Core 2 Duo Processor, 2 GB 667 MHz DDR2 SDRAM Memory.  I am not able to upgrade the operating system, and the computer still has 67 GB of memory on the harddrive.  I don't use it for anything very intense, mostly internet browsing.  I was at a hotel over the weekend and connected to their free wifi.  Once back home, two days later, I started receiving pop ups in Chrome.  The first was MediaDownloader, so I assume that is the culprit.  The second pop up to occur was Trojanalert.  I looked through some online community forums and was pointed towards downloading and running AdwareMedic.  My operating system does not support this program.  Next I read up on how to examine libraries and extensions to find the issue.  I'm not well versed in this, but I followed the directions and did not find any malicious looking extensions or items in the libraries.  Before looking for the "thing" to remove, I backed up my computer as recommended. 
    I have never, to my knowledge, had a virus on this computer.  I have never experienced pop ups, and I very rarely download any program, especially not software included with other programs.
    Could someone recommend a virus/adware/malware utility that will find and remove this issue or provide me with a detailed set of instructions on how to find the issue and then correct it?  Are there free online scans or removal tools that are trusted and could help?  Also, if I should be posting this somewhere else, please let me know.  I have not used this community tool much at all.  Thank you in advance for any assistance.

    First, thanks for the quick response.  This is the website that I looked at and was trying to follow.  There are no extensions listed in my Safari, and the only two in Chrome are: Google Docs and Java for Browsing.  In Firefox the only extension is Garmin Communicator 4.1.0. 
    To the best of my novice ability I followed the directions to look at the libraries and have not found malicious things there either.  As I cannot upgrade to 10.7, is there anything else I'm missing?  Again, I've tried my best to locate the cause, but I'm new to looking at files and paths.  Nothing jumps out as abnormal or as something listed on thesafemac.com/arg . 

  • TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.

    The command TfsAdmin ProjectServer /RegisterPWA causes next error:
    TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.
    Project Server returned the following error: "Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.".
     (type ProvisionException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.HandleSoapException(SoapException soapException, String errorResourceString)
       at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.IsDBSchemaProvisioned()
       at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionManager.Provision()
    I installed SharePoint 2013 and Project Server 2013 as farm and TFS 2012 and my account has permissions everywhere. I read article
    http://msdn.microsoft.com/en-us/library/gg412653.aspx and gave full permissions for TFS account to SQL and Project, Project app pool account to SQL, but still have an error.
    How can I find out what exactly permissions are not enough???

    The problem was in claims authentication. Changed to Windows and all worked out.

  • The error 600 occurred in the current database connection "LCA".

    Hi All,
    User is executing job /SAPAPO/TS_REALIGN_COPY in background,  as soon as the job is released its failing with runtime error:
    I check the Note 1126394 but not relevant.
    Runtime Errors         DBIF_DSQL2_SQL_ERROR
    Exception              CX_SY_NATIVE_SQL_ERROR
    Date and Time          18.08.2011 00:03:39
    Short text
         An SQL error occurred when executing Native SQL.
    What happened?
         The error 600 occurred in the current database connection "LCA".
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    How to correct the error
        Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in
         SAPTS_COPY_DA"
        Database error code........: 600
        Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_COPY_DATA"
        Internal call code.........: "[DBDS/NEW DSQL]"
        Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_DSQL2_SQL_ERROR" "CX_SY_NATIVE_SQL_ERROR"
        "/SAPAPO/SAPLOM_TIMESERIES" or "/SAPAPO/LOM_TIMESERIESU20"
        "/SAPAPO/OM_TS_DATA_COPY"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
    Information on where terminated
        Termination occurred in the ABAP program "/SAPAPO/SAPLOM_TIMESERIES" - in
         "/SAPAPO/OM_TS_DATA_COPY".
        The main program was "/SAPAPO/TS_RLG_COPY_SINGLE ".
        In the source code you have the termination point in line 57
        of the (Include) program "/SAPAPO/LOM_TIMESERIESU20".
        The program "/SAPAPO/SAPLOM_TIMESERIES" was started as a background job.
        Job Name....... "/SAPAPO/TS_REALIGN_COPY"
        Job Initiator.. "CIBERNLAPO2"
        Job Number..... 00015100
        The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
         in
        procedure "/SAPAPO/OM_TS_DATA_COPY" "(FUNCTION)", but it was neither handled
         locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "/SAPAPO/SAPLOM_TIMESERIES "; its source code
         begins in line
        1 of the (Include program "/SAPAPO/LOM_TIMESERIESU20 ".
    Kindly suggest any notes or is any setting needs to be modified.
    Regards,
    Kaasi

    Hello Ada,
    the job was aborted due:
    Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in 
         SAPTS_COPY_DA"
        Database error code........: 600
        Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_COPY_DATA"
        Internal call code.........: "[DBDS/NEW DSQL]"
        Please check the entries in the system log (Transaction SM21).
    From the posted dump.
    Was it lack of OMS heap memory, memory leaking, program error or huge data selection for application run it's not clear. It will be best for SAP customer to create the SAP message and get SAP support when application canceled due Database error BAD_ALLOCATION in  LCA routine.
    Regards, Natalia Khlopina

  • ISSUE Sharepoint 2013 databases for reporting services on the second server SQL 2012

    Hello,
    I have server A: Operating system windows 2012 standard, SQL server 2012 standard
    instance: Sharepoint contains data for sharepint
    instance: Reporting should be contain databases for reporting
    Server B:
    Windows server 2012 standard contains installation Sharepoint 2013
    Sharepoint works (without reporting services), it is OK - databases are located on server A:
    My issue is:
    When I have installed reporting services on server B, I have already installed SQL server 2012 on server B, it works.
    I am able to create report in report builder adn place it in to sharepoint.
    But I would like to use only one full SQL machine on server A:
    When I reconfigure repoting settings on server A in central administration - manage service aplications,
    On the SQL server A in instance reporting , there is automatically created databases. It is no problem.
    But the first difference is, when I want to manage service aplication for reporting  in
    Provision Subscriptions and Alerts, there is information
    SQL Server Agent state cannot be determined
    When I want to create report in report builder, I have issue:
    server A-7380mw016\reporting it means server A with full SQL server:
    The Test of connection was successful
    Then I have clicked test connection
    I have recieved this screen with fail: Logon faild for user NT Authority\anonymous logon
    My account belongs to SQL admin on server A (A-7380mw016\reporting) I do not know it is not possible to create report, when it is possible to test connection in the first step and in the second step, there is problem...
    Please, can somebody help me?

    Hi,
    Since you are getting an Anonymous Logon error, it appears there may be a problem passing your credentials to the SQL Server Agent Service. This would indicate a Kerberos issue. See this thread for details:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/46b7c773-6a77-435d-b471-cb9a6ec41c43/has-anyone-else-upgraded-reporting-services-to-denali-2012
    Microsoft Virtual Academy: Breakthrough Insights using SQL Server 2012 : Analysis Services and Credible, Consistent data (Module 2) - Configuring and Securing Complex BI Applications in a SharePoint 2010 Environment with Microsoft SQL Server 2012
    http://technet.microsoft.com/en-us/video/Video/hh858469
    Tips from the video:
    We are connecting to Reporting services using Kerberos when using Reporting Services in SharePoint integrated mode
    For the account using reporting services, we just need a dummy SPN. We go to Attribute editor tab in AD for RS account. And then we will be enabled with Delegation tab.
    In Delegation tab. I we are using claims to windows token, we need to use "Trust this user for delegation to specified services only"
    There you have 2 options: "Use Kerberos only": It means I only want to delegate in the situation where the service that is doing the delegation actually has the Kerberos ticket to start with
    "Use any authentication protocol" When we need protocol transition (like from NTLM to claims for intra farm communication)
    We need to delegate this to SQL server.
    Please check out these articles as well:
    How to configure SQL Reporting Services in SharePoint Server for Kerberos authentication
    http://support.microsoft.com/kb/2723587
    Configure Kerberos authentication (Office SharePoint Server)
    http://blogs.technet.com/b/mbiswas/archive/2009/07/10/configure-kerberos-authentication-office-sharepoint-server.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • An error occurred while attempting to initialize the Borland Database Engine (error $2108)

    Hello:
    I have recently started getting this error when trying to Hot Sync my device:
    An error occurred while attempting to initialize the Borland Database Engine (error $2108)
    The device is a Symbol scanner with Palm OS v4.17.   It is connected to my computer with a serial cable.  The only relatively recent changes I can think of to my system are:
    1. Installed a Borland software product (StarTeam) that is newer than my Palm software.
    2. Installed MS Office 2007.
    Please let me know if you need any more information.
    Thanks!
    Post relates to: None

    I would have to recommend you contact your vender where you got the scanner from. If a device got this error that we support we would hard reset the device and rename the backup folder under the username for hotsync. With this device I wouldn't know where to start.

  • HT2513 Using iCal on my ipad2 and can't seem to create a repeating event, specifically, an appointment that occurs the second Wednesday of every month.  Any help is greatly appreciated....thanks! iPad 2, iOS 5.0.1

    Using iCal on my ipad2 and can't seem to create a repeating event, specifically, an appointment that occurs the second Wednesday of every month.  Any help is greatly appreciated....thanks!
    iPad 2, iOS 5.0.1

    Although this isn't currently possible in the iOS Calendar app, go to iCloud.com (not on your iPad, but on a computer browser like Safari or Firefox) and log in.  There, you can add an event in Calendar and have the options to make it repeat however you want.

Maybe you are looking for