ORA-12504 error when connecting to Oracle 11G DB using OCI and instantclient-basic-nt-11.2.0.3.0.zip

Dear Friends,
I am using OCI and instant_client (11.2.0.3.0)  in my C++ program (on Windows 7) to connect remotely to 11G database.
While doing a connection using server name as well as servername:port/service_name as connection strings, I am getting error of ORA-12504 TNS:listener was not given the SERVICE_NAME in CONNECT_DATA.
According to instant client FAQ & white paper at http://www.oracle.com/technetwork/database/features/instant-client/index.html, no tnsnames.ora is required for instant client. Then why could I be getting this error?
I ensured that only the instant client directory is in Path environment variable. There was a ODBC driver installed on this same host. Could that be modifying the behavior of instant client?
Kindly guide.
Many thanks in advance for your help and time.
Best Regards,
- ganesh

>>what is the exact connect string you are using?
For connection, I am using the plain hostname on which the DB server is running.
>>are you calling OCIServerAttach before OCISessionBegin?
I am not using OCISessionBegin. For connecting to DB server, I am using the following sequence of OCI calls (in this same order):
1) g_OCIEnvNlsCreate
2) g_OCIHandleAlloc //-- error handle: OCI_HTYPE_ERROR
3) g_OCIHandleAlloc // --- sevice context: OCI_HTYPE_SVCCTX
4) Setting driver name and application name for the session:
    OCISession* usersession = 0;
    ret = g_OCIAttrGet(m_pSvcCtx, OCI_HTYPE_SVCCTX, &usersession, NULL,
                             OCI_ATTR_SESSION, m_pErrHdl);
    if (ret == OCI_SUCCESS)
        ret = g_OCIAttrSet(usersession, OCI_HTYPE_SESSION, (void*)"OCI_DRV", 2,OCI_ATTR_DRIVER_NAME, m_pErrHdl);
        ret = g_OCIAttrSet(usersession, OCI_HTYPE_SESSION, (void*)"ClientApplication", <ub4>(strlen("DataReconScanning")), OCI_ATTR_CLIENT_IDENTIFIER, m_pErrHdl);
5) g_OCILogon() using the user, password and host name, as below:
g_OCILogon(m_pDbCon, m_pErrHdl, &m_pSvcCtx,
                               (text*)user.c_str(), static_cast<ub4>(user.length()),
                               (text*)pass.c_str(), static_cast<ub4>(pass.length()),
                               (text*)host.c_str(), static_cast<ub4>(host.length()));
Thanks.

Similar Messages

  • ORA-03106  Error when connecting to Oracle 10g from Forms 6i

    I have migrated my database from Oracle 8.0.5 to Oracle 10g, version 10.0.1.0.3 through import-export utility. During migration, one difference I made was to change the NLS_LANG to UTF8 from ANSI.
    The NLS_LANG for client is AMERICAN_AMERICA.WE81S08859P1.
    I am using HP ML370 Proliant Server and running Red Hat Enterprise Linux AS version 3 with Oracle 10g
    My client-server application is based on Oracle Developer version 2.1. I am using forms 5.0 and reports 3.0 only.
    The problem with me is that the client-server application is working against the upgraded database, but with greatly downgraded speed. The .fmb files cannot be compiled, however some of the .rdf files are compiled successfully, but remaining not.
    My question is that is Developer 2000 (Forms 5.0.6 and Reports 3.0.5) compatable with Oracle 10 database, as my application is running very slow ?
    I tried Forms 6i to remove this problem. I used Forms Developer 6i Recut version and successfully installed on Windows XP, however, when try to create connection using Net 8 Easy Utility, the connection does not establish with following error:
    ORA-03106 : fatal two-task communication protocol error
    The entry has been checked in tnsnames.ora and is found correct. I also tried connecting through SQL, but the application closes.
    The patch set 17 for installation on Windows XP has also been applied, but still the same error persits.
    The same installation has also been checked on Windows 2000, but the same problem persists.
    I would be thankful if any one provide me solution for the same. Where I am mistaken and what do I do to get out of this problem.
    Regards
    Naveen.

    Naveen,
    Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
    The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
    Frank

  • Ora-12203 error when connecting to oracle 9i on win2003 - urgent help reqd

    hi
    one of our clients who is on same N3 network and is trying to log on to our oracle 9i database which is installed on windows 2003 + srv pack 1 but is getting ora-12203 erorr.
    the ip address of the client machine has been allowed thr our firewalls and been allowed to use sqlnet on oracle port 1521
    following setting have also been done
    in registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME(0) i have set
    USED_SHARED_SOCKET=TRUE
    using Net manager, i have set connection type as DEDICATED_SERVER.
    protocol as TCP/IP and Port no =1521.
    At O/S level we have given oracle_home for 9i access (read, modify execute ..etc) to all sub-folders under e:\orant\ora9i
    i have restarted the listener service and also the windows 2003 server.
    Is there any specific setup criteria which we need to cater when users connect to windows 2003 server
    thanks
    kedar

    Hi Paul
    we have 2 external machine which have been given access thr our firewalls
    our database is in Wales and the machines are in england.
    everything is ok on the server as i have checked the settings which i could know of
    All these machines are on same N3 network , the 2 client machines have DNSlookup set which goes thr all the necessary firewalls and when the following command is run on client machine it can see the server
    c:\> nslookup < machine_name >
    the access to our database is given thr range of ip address as we dont have static IP and when the above command is run it returns dynamic IP address for the database in Wales
    H:\>nslookup krusty.hsw.wales.nhs.uk
    Server: bwd-dc1.bwd.xelpct.nhs.uk
    Address: 10.xxx.xx.xx
    Non-authoritative answer:
    Name: krusty.hsw.wales.nhs.uk
    Address: 194.xxxx.x.xx <---- ip address of databse
    Thanks
    Kedar

  • Unable to connect to oracle 11g db using ODBC/OCI in OBIEE rep

    Hi, i have windows 7 , 64 bit, oracle 11g R1, obiee 11g.
    Trying to connect to oracle 11g db when working on OBIEE rep, but the connection fails when connecting through odbc/oci. Any imput is appreciated.
    Thanks,

    you must add a TNS names entry to your tnsnames.ora file @ ORACLE_HOME\network\admin
    if not open the connection pool add the tns entry starting from "(DESCRIPTION=....
    followed by user id and password

  • Connecting to oracle 11g XE using forms 6i

    Dear sir
    i would like to connect to my database in oracle 11g xe using forms 6i; i have tried with normal procedure of defining a service name locally and connecting thru that, but it didn't work, forms 6i crashes while tring to connect to database. can anyone help me to do that?
    thanks in advance
    uday

    911781 wrote:
    yes tnsnames.ora i have configured accordingly
    please find below the contents of respective tnsnames.ora
    forms tnsnames.ora
    CRMXE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.9)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = xe)
    database tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-E929IBU4N98.derivequity.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )Hello, Uday
    copy bellow TNS to your forms TNS
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-E929IBU4N98.derivequity.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )It's just TNS Problem...
    Hope it works...
    If someone's response is helpful or correct, please mark it accordingly.

  • Unable to connect to Oracle 11g server using instantclient_11_1 in AIX

    Hi,
    I downloaded instantclient-basic-11.1.0.7.0-aix-ppc64.zip from oracle site and used the same for connection to 11g server for testing my application on AIX 5.3 machine. I am also using easysoft driver for the connection. But I am uhnable to connect to Oracle 11g server from AIX 5.3 using instantclient_11_1 client
    libraries. I get the error "Could not load oracle libraries". Error is as below:
    WARNING: Setup was unable to contact your ORACLE
    WARNING: server by using the connection options
    WARNING: you specified.
    WARNING: Error connecting to DB: -1
    WARNING: HY000: [unixODBC][Easysoft][Oracle]Could not load oracle libraries
    But I could connect to the same server from AIX 5.3 machine using instantclient_10_2 libraries and same eaysoft drivers successfully.
    Looks like there is issue with connecting with instantclient_11_1 client libraries from AIX 5.3. I also tried with using 11.1.0.6.0. Same issue is observed.
    Did anybody else face similar issue?
    Thanks and Regards,
    Prema S
    Edited by: user6404935 on Jan 27, 2010 9:47 PM

    I you find nobody who has the same problem, here are some hints:
    - Try to connect using "sqlplus" from the instant client. If that fails, there is probably a problem with your setup.
    - Look if the Easysoft driver supports Oracle 11.1 as client.
    Yours,
    Laurenz Albe

  • ORA-12699: error when connecting to server with FIPS enabled

    Hi all,
    I have a oracle client and server with FIPS enabled on them. When I use SQL Developer from the client, I can connect to the server and run queries on them.
    I have an ADO based application, which I am trying to run on the client to query the oracle server, but the open database call seems to fail on this with the ORA-12699 error ..
    Heres the connection string I am using ... "Provider=OraOLEDB.Oracle;Data Source=Test;User Id=scott;Password=tiger;"
    Are there any other options to be added to the connection string string ?? any ideas / comments would be of great help ...
    Note : I am using Oracle 11G ..
    --sachi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Naveen,
    Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
    The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
    Frank

  • TNS Ora-12532 error When connecting with Db11 running in the VM

    I created a virtual machine from the PVM Entrerprise Linux 5 64 bits and db11g.
    Inside the virtual Machine the sqlplus system/manager1@VDB11 is working well.
    The tnsping 172.20.0.33 is working well too.
    But from the other external machine using oracle 11g client these command are not working: Tns Ora-12532 error.
    What to do?
    Thanks

    my virtual machine: vm1 have an static ip address 172.20.0.33
    the oracle listener is was configured with the same ip
    in the virtual machine : vm1 the /etc/hosts file content is:
    127.0.0.1 localhost.localdomain
    172.20.0.33 virtualdb11
    in the tnsnames.ora file in the virtual machine i have a service:
    VDB11 ...( host=172.20.0.33) (port=1521)
    under console connection with my virtual machine vm1 the command : sqlplus system/manager1@VDB11 is working well
    but when i working in an other external machine , where the tnsnames.ora have an entry:
    VDB11 ...(host=172.20.0.33)......
    the ping command : ping 172.20.0.33 is working well
    but sqlplus system/manager1@VDB11 is not work and return the error:
    ora-12532 tns

  • ORA-12514 Error when connection from OEM

    I have RAC database. I can access Cluster from https://rs1pre91dvdba01.pre.ccosvc.com:5500/em
    but when clicking on database tab -> Performance -> Afer giving username / password I get
    Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (description=(address_list=(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(load_balance=yes))(connect_data=(service_name=DWH1)))
    [oracle@rs1pre91dvdba01 admin]$ . oraenv
    ORACLE_SID = [oracle] ? DWH1
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
    [oracle@rs1pre91dvdba01 admin]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://rs1pre91dvdba01.pre.ccosvc.com:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/log
    How can I access Performance tab from OEM.
    thanks.

    [oracle@rs1pre91dvdba01 admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:35
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 05-JAN-2011 12:06:28
    Uptime 28 days 3 hr. 31 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/rs1pre91dvdba01/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.201)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.203)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "DWH1" has 1 instance(s).
    Instance "DWH11", status READY, has 1 handler(s) for this service...
    Service "DWH1XDB" has 1 instance(s).
    Instance "DWH11", status READY, has 1 handler(s) for this service...
    Service "MDM1" has 1 instance(s).
    Instance "MDM11", status READY, has 1 handler(s) for this service...
    Service "MDM1XDB" has 1 instance(s).
    Instance "MDM11", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@rs1pre91dvdba01 admin]$ lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:44
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:34200 refused:0 state:ready
    LOCAL SERVER
    Service "DWH1" has 1 instance(s).
    Instance "DWH11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:106 refused:0 state:ready
    LOCAL SERVER
    Service "DWH1XDB" has 1 instance(s).
    Instance "DWH11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 6845>
    (ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=45445))
    Service "MDM1" has 1 instance(s).
    Instance "MDM11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:56105 refused:0 state:ready
    LOCAL SERVER
    Service "MDM1XDB" has 1 instance(s).
    Instance "MDM11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 24224>
    (ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=59486))
    The command completed successfully
    [oracle@rs1pre91dvdba01 admin]$ id
    uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
    [oracle@rs1pre91dvdba01 admin]$ env | sort
    ASM_SID=+ASM1
    _=/bin/env
    COBBLER_SERVER=ccoshs02xvsat01.ccosvc.com
    DB_HOME_BIN=/u01/app/oracle/product/11.2.0/dbhome_1/bin
    DB_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    DISPLAY=localhost:10.0
    DWH_SID=DWH11
    G_BROKEN_FILENAMES=1
    GI_HOME_BIN=/u01/app/11.2.0/grid/bin
    GI_HOME=/u01/app/11.2.0/grid
    GRID_HOME=/u01/app/11.2.0/grid
    HISTSIZE=1000
    HOME=/home/oracle/
    HOSTNAME=rs1pre91dvdba01.pre.ccosvc.com
    INPUTRC=/etc/inputrc
    LANG=en_GB
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    MDM_SID=MDM11
    NLS_DATE_FORMAT=dd-mm-yyyy hh24:mi:ss
    OLDPWD=/u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/config
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_SID=DWH1
    ORACLE_UNQNAME=DWH1
    PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/home/oracle//bin
    PWD=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=172.30.0.125 58337 22
    SSH_CONNECTION=172.30.0.125 58337 172.30.2.201 22
    SSH_TTY=/dev/pts/0
    SVN_EDITOR=vi
    TERM=xterm
    TNS_ADMIN=/u01/app/11.2.0/grid/network/admin
    USER=oracle

  • Error when connecting linux oracle dataabse for replication thru oms

    I have installed oracle 8.1.7 ee on Redhat linux 7.1 and 6.2 both and also on windows2000.
    When i try to access database of any oracle installed on linux machines from any of management server it gives following errors:
    ora-01034 oracle not available
    ora-27101 shared memory realm does not exist
    linux error:2: file or dir does not exist.
    if i try to access dataabse without login to any management server ( i.e thru dba studio) then it connects to it.
    i want to setup master replication with two linux machine database.
    if any person has solution for this then please help me.
    Thx in advance
    if possible mail me at [email protected]
    thx in advance
    pranav shah
    null

    1010056 wrote:
    When iam connecting getting the following error
    [rmancln@orawave ~]$ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 5 21:16:53 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/u01/rmancln/oradata/CLN/system01.dbf'provide details on what events lead up to this situation.
    [oracle@localhost ~]$ oerr ora 1152
    01152, 00000, "file %s was not restored from a sufficiently old backup "
    // *Cause:  An incomplete recovery session was started, but an insufficient
    //         number of logs were applied to make the database consistent. This
    //         file is still in the future of the last log applied. The most
    //         likely cause of this error is forgetting to restore the file
    //         from a backup before doing incomplete recovery.
    // *Action: Either apply more logs until the database is consistent or
    //         restore the database file from an older backup and repeat recovery.

  • Error when connecting an oracle DB with Integration gateway

    I followed the steps from the blog How to connect an Oracle DB with Integration Gateway in SMP3 and the ojdbc was deployed successfully to SMP. Still, i'm getting "Driver class oracle.jdbc.driver.OracleDriver not found" error message when i try to test my connection. The first difference i saw when completing these steps was that I'm using SMP3 SP05, could this be the issue?

    Joao D Franco Net
    Could you share below information:
    Can you cross check if deployed driver are OSGi enabled? Refer this.
    Can you share screenshot of the destination settings and error ?
    note: The blog you followed is referring to SP03 (1st GA of SMP3)..You should not have any problem in connecting to Oracle DB being on any SP.
    Regards,
    JK

  • TNS Listener -ORA-12514 error following database shutdown - Oracle 11g

    Hi
    I have hit a problem with my oracle development database.
    When in sqlplus I executed the shutdown command, but nothing happened for several minutes and it was just hanging. No messages were displayed to the screen. The only thing was to close the command window. When I open sqlplus again and enter in the user name password as sysdba I am getting ORA 12514 TNS Listener could not resolve service in descriptor. This is odd as I could log on before and use the database. So I thought that the services were still shutting down I waited, and using the Windows snap on tool for Oracle 11g, I restarted the services on the database, but this has had no effect.
    Even using EM made no difference because I couldn't log on to perform a startup or recovery.
    So, please does anyone know how I can fix this?
    Thanks

    user633278 wrote:
    Hi
    I have hit a problem with my oracle development database.
    When in sqlplus I executed the shutdown command, but nothing happened for several minutes and it was just hanging. No messages were displayed to the screen. The only thing was to close the command window. When I open sqlplus again and enter in the user name password as sysdba I am getting ORA 12514 TNS Listener could not resolve service in descriptor. This is odd as I could log on before and use the database. So I thought that the services were still shutting down I waited, and using the Windows snap on tool for Oracle 11g, I restarted the services on the database, but this has had no effect.
    Even using EM made no difference because I couldn't log on to perform a startup or recovery.
    So, please does anyone know how I can fix this?
    open Command Window & do EXACTLY as below; line for line
    sqlplus
    / as sysdba
    shutdown abort
    startup
    exit
    COPY command & results from above then PASTE all back here

  • Sun Ray error when connecting to Oracle VDI - No Kiosk Sessions Available

    When the Sun Ray DTUs go to connect to the Oracle VDI cluster at times they will throw the error "Error starting Kiosk session: No Kiosk accounts configured." We have tried going through the steps to confirm that the Kiosk sessions are configured on the two secondary hosts but the problem persists. When the Sun Ray DTUs do connect they will work for a while and then when left idle for a period of time will loose their connection and be unable to restart the connection with the error mentioned. The Screen Blanking option on the Sun Ray DTUs is set to "0" to prevent them from going into power-save mode but this makes no difference. The Sun Ray DTUs are all updated with the latest GUI firmware and there are no custom options set in the Sun Ray Session Servers.
    The thing that bothers me the most is I have not seen any error messages in the logs. I will post up the logs as links in a follow-up post.
    Has anyone had any similar issues while connecting with a Sun Ray DTU?
    Currently we are running Oracle VDI 3.2.1 on the cluster.
    Here are the commands we used to reset the Sun Ray Kiosk accounts:
    # /opt/SUNWkio/bin/kioskstatus -c
    # /opt/SUNWkio/bin/kioskuseradm status
    # /opt/SUNWkio/bin/kioskuseradm delete
    # /opt/SUNWkio/bin/kioskuseradm create -l utku -g utkiosk -i auto -u –c

    I was trying to transfer data from oracle to sql server 2008 on a daily basis.
    I have very hard time connecting to oracle from ssis package on windows server 2008. I am almost dead and cannot find any help. i was able to connect to oracle using import/export 64 bit feature of SQL Server 2008 using Oracle provider for OLEDB. But I am not sure why the same does not work with BIDS?
    Here's the environment info:
    1. Oracle Client 10g
    2. SQL Server 2008
    3. Windows Server 2008
    Appreciate your help. Please save me.
    Thanks,

  • I met an error when connect to oracle db with tag sql:DataSource

    When I use the jstl tag <sql:DataSource> connect to oracle db ,I met an error as :
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
    My Source code as follow:
    <sql:setDataSource var="dataSource" driver="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@192.168.1.220:1521:gzserver" scope="request" user="lnmisscall" password="lnmcadmin"/>
    <sql:query dataSource="{$dataSource}" var="data">
    I am sure the connection information are right (I can connecte to the db with them in jsp & java bean) , and I have put the oracle's jdbc driver under the tomcat/common/lib folder,
    Please help me to fit it ,thanks.

    Sabrina,
    Its all dependent on the application and whether its 32-bit or 64-bit.  For example, SSRS reporting services 2008 R2 is a 64-bit application, so load the 64-bit oracle client there for report execution.  Report builder is a 32-bit client application,
    assuming its running on a different machine, so load the 32-bit oracle client on any user computers using RB 3.0 and working with Oracle.  If the computers are one in the same, then do as the post above says, load both...

  • ORA-01461 error when migrating MySQL -- Oracle table data

    All,
    I'm migrating MySQL 4.x to Oracle10g. Everything went smoothly except for one table was unable to migrate data, giving me the following error:
    Unable to migrate data from source table mysql.mytable to destination table root.MYTABLE :
    ORA-01461: can bind a LONG value only for insert into a LONG columnThe offending source column in MySQL is defined as TEXT. In OMWB it is TEXT (5). The Oracle model originally defined it as VARCHAR2(1), but I resized it to VARCHAR2(4000) since it contains about 20 lines of text.
    Neither the mysql or the oracle data models have a LONG column anywhere. Any idea's what might be causing this error?
    Thanks.

    Hi Jon,
    Thanks for the feedback. I'm unable to reproduce the problem you describe at the moment - if I try to migrate a TEXT(5), OMWB creates a VARCHAR(5) and the data migrates correctly!! However, I note from you description that even though the problematic source column datatype is TEXT(5), you mention that there are actually 20 lines of text in this field (and not 5 variable length characters as the definition might suggest).
    Having read through some of the MySQL reference guide I note that, in certain circumstances, MySQL actually changes the column datatype specified either at table creation time or when interfacing with other databases ( ref 14.2.5.1 Silent Column Specification Changes and 12.7 Using Column Types from Other Database Engines in the MySQL reference guide). Since your TEXT(5) actually contains 20 lines of text, MySQL (database or JDBC driver .... or both) may be trying to automatically map the specified datatype of the column to a datatype more appropriate to storing 20 lines of text.... that is, to a LONG value in this case. Then, when Oracle is presented with this LONG value to store in a VARCHAR(5) field, it throws the ORA-01461 error. I need to investigate this further, but this may be the case - its the first time I've see this problem encountered.
    To workaround this, you could change the datatype of the column to a LONG from within the Oracle Model before migrating. Any application code that accesses this column and expects a TEXT(5) value may need to be adjusted to cope with a LONG value. Is this a viable workaround for you?
    I will investigate further and notiofy you of any details I uncover. We will need to track this issue for possible inclusion in future development plans.
    I hope this helps,
    Regards,
    Tom.

Maybe you are looking for

  • MM related database table list

    What database tables are used by an ABAPer for the second phase of MM workflow called "Source List : ME41"?

  • Convert.To​Byte and logical masks, from VB to LabVIEW

    Hi guys, I have to write a VI communicating via RS232 with a microcontroller for a PWM application. A colleague has given me the GUI he has developpd in VB and I would like to integrate it into my LabVIEW programme by converting the VB code into Labv

  • Multilingual system notifications

    Afternoon, I don't think this is supported as I have done some research. Here is an example from a email endpoint. LiveCycle ES has processed your request and attached the results (if there were any) in this email. This response to your original emai

  • Kernel Panic after Software Update to 10.4.3

    What I'm about to say isn't definitive, but it documents my experience and by posting a message here it may help others. Take it for what it's worth ... Last night I accepted upgrade to 10.4.3, restarted the computer, and from that point forward I co

  • Each portal AS connected to different systems

    Hello, I have the following question from one of my colleague : We have one portal with two AS (loadbalanced through SAP Webdispatcher), and one java SRM with 2 AS also. Is it possible to connect EP AS 1 to SRM AS 1 and EP AS 2 to SRM AS 2 ? So we wi