Oracle singleton instance issue with OCIStmtFetch()

Hi,
i am folowing a singletom pattern in my VC++ application were only one Oracle instance is created and it is being used through out the application. The OCIStmtFetch() is used twice in the application and when the OCIStmtFetch() is invoked for the second time it returns a OCI_NO_DATA condition. But when i created a new instance of Database use it to  invoked the OCIStmtFetch() for the second time it gives a proper result. please can some one help me on why the singleton DBinstance is causing issue with the OCIStmtFetch() for the second time.

This forum is about general programming in C, C++, and Fortran, and specifically about using the Oracle Solaris Studio suite of programming tools. Since your question is about using VC++ with Oracle database, you are not likely to get a helpful answer here. (Oracle Solaris Studio is not available on Windows.)
I suggest you try an Oracle database programming forum. Start here:
Database

Similar Messages

  • Oracle single instance installation  with RHEL Cluster suite

    Hi ,
    Can anyone help regarding Oracle single instance installation with RHEL Cluster suite? I have to know what factor need to be considered for RHEL Cluster configuration for Oracle Installation. And is it certified by Oracle?
    Aungshu

    Does any body like to share their experience ?

  • Does SAP or Oracle have an issue with these type of processors?

    Does SAP or Oracle have an issue with these type of processors?
    Intel Xeon X5260 & E5450    vs    Intel Itanium       PROCESSORS
    I want a Sales / Marketing URL link or white papers that talks about processor recommendations.
    SAP GUI  7.20

    > Does SAP or Oracle have an issue with these type of processors?
    >
    > Intel Xeon X5260 & E5450    vs    Intel Itanium       PROCESSORS
    >
    > I want a Sales / Marketing URL link or white papers that talks about processor recommendations.
    SAP does neither "recommend" nor "deny" any processors.
    If you check http://service.sap.com/benchmarks then you get a lot of machines with different CPUs/operating ssytems and database combinations.
    Choose the one that suits best for you.
    Markus

  • Oracle RDF / Joseki : issue with large literals

    Hi,
    I have been using Joseki to query an Oracle RDF model. There seems to be an issue with large literals (according to a few unreliable tests, I would say this concerns literals around and over 4000 chars).
    Here are the two potential behaviours :
    First case:
    If the results contains several lines, one of which contains an overly large literal, there are NO exception on the server side, but the resulting xml is incomplete.
    It misses the "line" containing the large literal, and the xml is stopped there (which means that it also misses the closing </results> and </sparql>. In my case, I am using the results through Jena's sparqlService, which means I get this message :
    XMLStreamException: Unexpected EOF; was expecting a close tag for element <results>
    +at [row,col {unknown-source}]: [31,0]+
    Second case:
    If the query only returns one line which contains an overly large literal, the client receives a simple *"HttpException: 500 Internal Server Error"*
    Here is the error message from my server :
    +INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] (SPARQL.java:165) - Throwable: we+
    blogic.jdbc.wrapper.Clob_oracle_sql_CLOB cannot be cast to oracle.sql.CLOB
    java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB cannot be cast to oracle.sql.CLOB
    at oracle.spatial.rdf.client.jena.OracleSemIterator.getNodesFromResultSet(OracleSemIterator.java:579)
    at oracle.spatial.rdf.client.jena.OracleSemIterator.next(OracleSemIterator.java:445)
    at oracle.spatial.rdf.client.jena.OracleLeanQueryIter.moveToNextBinding(OracleLeanQueryIter.java:135)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.nextBinding(QueryIteratorBase.java:98)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.moveToNextBinding(QueryIterConvert.java:56)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.nextBinding(QueryIteratorBase.java:98)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.moveToNextBinding(QueryIterRepeatApply.java:76)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.nextBinding(QueryIteratorBase.java:98)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterProcessBinding.hasNextBinding(QueryIterProcessBinding.java:54
    +)+
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding(QueryIterConvert.java:50)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:30)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:30)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:62)
    at org.joseki.processors.SPARQL.executeQuery(SPARQL.java:309)
    at org.joseki.processors.SPARQL.execQueryWorker(SPARQL.java:288)
    at org.joseki.processors.SPARQL.execQueryProtected(SPARQL.java:126)
    at org.joseki.processors.SPARQL.execOperation(SPARQL.java:120)
    at org.joseki.processors.ProcessorBase.exec(ProcessorBase.java:112)
    at org.joseki.ServiceRequest.exec(ServiceRequest.java:36)
    at org.joseki.Dispatcher.dispatch(Dispatcher.java:59)
    at org.joseki.http.Servlet.doCommon(Servlet.java:177)
    at org.joseki.http.Servlet.doGet(Servlet.java:138)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Would there be any fix / workaround ?
    Please let me know if you need further information / tests.
    Thanks,
    Regards,
    Julien

    Thanks for your reply.
    While trying to build up a small test case, I found out why there were discrepancies between the two cases I described.
    Indeed, usually, the two cases return the same thing (no exception on the server side, but incomplete resulting XML).
    The exception I described happened when I tried something else. Since I saw that issues were coming from long literals, I used fn:string-length (ARQ) to figure out how long they were.
    The test case resulting in the CLOB-cast-exception is:
    - too large literal
    - only one result "line" containing this literal
    - usage of fn:string-length (which does not change the behaviour in other cases (i.e. no long literals or/and several lines).
    Anyway, you will receive the other test cases shortly.
    Thanks,
    Regards,
    Julien

  • Oracle Discoverer 4i (portal db - oracle 8i) connectivity issue with 11g database

    Hi All
    We have oracle discoverer 4i with portal db (oracle 8i).
    We connect to the external databases using db links in the portal db and the reports will use the db link to retrieve the data from views in the external databases.
    External databases we were connecting is oracle 10g version and now we have upgraded these databases to 11g version.
    Now i have a created a new db link to this 11g database and i have created a new EUL in portal to connect to this 11g database.
    But when i try to create a report using the discoverer from this new EUL after login to the discoverer we get a "cannot connect to database" error.
    We have all the necesscary privilege to the user and the new database link works perfectly fine. (when we try to query directly using SQL plus from portal database using this db link the query works perfectly fine).
    Im not sure if this is a compatibility issue in connecting from oracle disc 4i to a 11g database.
    Can any one advise if this is the case and if there is any workaround for this?
    Regards,
    Raj

    Are you saying you are having issues with a database link between 8i and 11g (pl post exact versions to 4 digits) ? If so, it should be expected as database links between these two versions are not supported. Is there a reason you cannot upgrade the portal database to at least 10gR2 ?
    See MOS Doc 207303.1
    HTH
    Srini

  • Oracle 11g decode issue with null

    Hi,
    we want to migrate from Oracle 10g to Oracle 11g and have an issue with decode.
    The database has the following character set settings:
    NLS_CHARACTERSET = AL32UTF8 in Oracle 11g and UTF8 in Oracle 10g
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    If I try a select with decode which has null as first result argument I will get a wrong value.
    select decode(id, null, null, name) from tab1;
    ("name" is a NVARCHAR2 field. Table tab1 has only one entry and "id" is not null.)
    This select returns a value with characters which are splitted by 0 bytes.
    In Oracle 10g the value without 0 bytes is delivered.
    If I suround the decode with dump I get following results:
    select dump(decode(id, null, null, name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=6 CharacterSet=AL32UTF8: 4d,61,72,74,69,6e
    Oracle 11g: Typ=1 Len=12 CharacterSet=US7ASCII: 0,4d,0,61,0,72,0,74,0,69,0,6e
    NLS_LANG has no effect on the character set of 'null' in Oracle 11g.
    Non null literals work:
    select dump(decode(id, null, 'T', name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=6 CharacterSet=UTF8: 4d,61,72,74,69,6e
    Oracle 11g: Typ=1 Len=6 CharacterSet=AL32UTF8: 4d,61,72,74,69,6e
    select dump(decode(id, null, N'T', name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e
    Oracle 11g: Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e
    Here the scripts for creating the table and the entry:
    create table tab1 (
    id NUMBER(3),
    name NVARCHAR2(10)
    insert into tab1 (id, name) values (1, N'Martin');
    commit;
    Is it possible to change the character set?
    Could you please help me?
    Regards
    Martin

    This doesn't have the problem.looks this doesn't solve the problem (of returning a value with characters which are splitted by 0 bytes):
    SQL> select * from v$version where rownum = 1
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production         
    1 row selected.
    SQL> select dump(decode(id, null, null, name), 1016) from tab1
    union all
    select dump(case id when null then null else name end, 1016) cs from tab1
    DUMP(DECODE(ID,NULL,NULL,NAME),1016)                                           
    Typ=1 Len=12 CharacterSet=US7ASCII: 0,4d,0,61,0,72,0,74,0,69,0,6e              
    Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e             
    2 rows selected.You need to explicitly convert the third parameter to char:
    SQL> select dump(decode(id, null, to_char(null), name), 1016) from tab1
    DUMP(DECODE(ID,NULL,TO_CHAR(NULL),NAME),1016)                                  
    Typ=1 Len=6 CharacterSet=WE8MSWIN1252: 4d,61,72,74,69,6e                       
    1 row selected.

  • Oracle 6i forms issue with Oracle 9i Database

    Hi Friends,
    I am having Oracle Forms Developer installed with patchset18.The Version is 6.0.8.27.0
    When i connect the forms builder to 9i Database (9.2.0.1) the form builder is getting crashed but i am able to connect the forms builder to e-business suite database(9.2.0.6)
    I tried installing 9i Database(9.2.0.1) on windows 2003 server,windows xp,windows 2000.
    When i connect my forms builder to any of these databases the forms builder is crashing with don't send message error on (ifbld60.exe).
    Is there any compatibility issue between forms builder(6i) and oracle 9i(9.2.0.1).Please suggest me.
    Regards,
    Arun .N

    Forms 6i connects to Oracle 9 databases just fine, even though it is no longer certified by Oracle.
    First of all, can you connect to the database with SQL Plus? Make sure that works first.
    The other thing that comes to mind is the AL32UTF8 character set. Forms 6i and other older Oracle software cannot connect to databases using it. But I have only seen that problem with Oracle 10g databases, so I am not sure about the Oracle 9 db.
    Here is a thread discussing the problem: Re: connecting form 6i  to oracle database 10G express edition

  • Oracle 10.2 issues with services and listener

    Hi,
    I have successfully installed ORACLE 10.2(SID= ANK) and uninstalled 10.1(SID= ANB) on same machine(Hostname INLD50057853A port 1521) .
    but I am not able see listener services in windows service box for ANK I only see previous one, though I have uninstalled 10.1 with proper steps.
    Below are only services I can see in my windows box
    1) OracleANB101TNSListener (not able to start this service...it gives some error)
    2) OracleANK102iSQL*Plus (not able to start this service also)
    3) OracleOraDb10g_home1TNSListener (not able to start this also)
    Could you please let me know what can I do in such case now.
    If I do command lsnrctl it gives me successfull message
    C:>lsnrctl
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 01-JUN-2009 11:53
    :10
    Copyright © 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    If I do command tnsping ANK.WORLD it give me error message
    C:>tnsping ANK.WORLD
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 01-JUN-2
    009 11:52:03
    Copyright © 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    c:oracleANK102
    etworkadminsqlnet.ora
    TNS-03505: Failed to resolve name
    If I do commant sqlplus /nolog it says
    C:>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jun 1 11:55:06 2009
    Copyright © 1982, 2005, Oracle. All rights reserved.
    SQL> conn sys/your_pass @ ank.world as sysdba
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    my lsnrctl.log says
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 01-JUN-2009 11:59:44
    Copyright © 1991, 2005, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    sending you listener.ora , namespace.ora and sqlnet.ora
    C:oracleNetworkadmin
    listener.ora
    1. Filename......: listener.ora
    2. Created.......: created by SAP AG, R/3 Rel. >= 6.10
    3. Name..........:
    4. Date..........:
    5. @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#3 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = ANK.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = ANK)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = INLD50057853A)
    (PORT = 1521)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SDU = 32768)
    (SID_NAME = ANK)
    (ORACLE_HOME = C:oracle)
    tnsnames.ora
    1. Filename......: tnsnames.ora
    2. Created.......: created by SAP AG, R/3 Rel. >= 6.10
    3. Name..........:
    4. Date..........:
    5. @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#3 $
    ANK.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = INLD50057853A)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = ANK)
    (GLOBAL_NAME = ANK.WORLD)
    sqlnet.ora
    1. Filename......: sqlnet.ora
    2. Created.......: created by SAP AG, R/3 Rel. >= 6.10
    3. Name..........:
    4. Date..........:
    5. @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#3 $
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    NAMES.DEFAULT_DOMAIN = WORLD
    NAME.DEFAULT_ZONE = WORLD
    SQLNET.EXPIRE_TIME = 0
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    TCP.NODELAY=YES
    I hope this information is enough for you to know what issue I am facing now. but if you need some more logs do let me know. Its very tricky situation and I am sure solution is very small which I dont know currently and need experts point of view
    Kindly suggest.
    Regards,
    Ankit Baphna

    will close this and open new as I am having some issue with editor

  • Oracle Report Server Issue with Japanese Characters

    We are trying to setup a Oracle Report Server to print the Japanese characters in the PDF format.
    We have separate Oracle Report servers for printing English, Chinese and Vietnamese characters in PDF formats using Oracle Reports in the production which are running properly with Unix AIX version 5.3. Now we have a requirement to print the Japanese characters. Hence we tried to setup the new server for the same and the configurations are done as same as Chinese/Vietnamese report servers. But we are not able to print the Japanese characters.
    I am providing the details which we followed to configure this new server.
    1.     We have modified the reports.sh to map the proper NLS_LANG (JAPANESE_AMERICA.UTF8) and other Admin folder settings.
    2.     We have configured the new report server via OPMN admin.
    3.     We have copied the arialuni.ttf to Printers folder and we have converted this same .ttf file in AFM format. This AFM file has been copied to $ORACLE_HOME/guicommon/gk/JP_Admin/AFM folder.
    4.     We have modified the uifont.ali (JP_admin folder) file for font subsetting.
    5.     We have put an entry in JP_admin/PPD/datap462.ppd as *Font ArialUnicodeMS: Standard "(Version 1.01)" Standard ROM
    6.     We have modified the Tk2Motif.rgb (JP_admin folder) file for character set mapping (Tk2Motif*fontMapCs: iso8859-1=UTF8) as we have enabled this one for other report servers as well.
    Environment Details:-
    Unix AIX version : 5300-07-05-0831
    Oracle Version : 10.1.0.4.2
    NLS_LANG : JAPANESE_AMERICA.UTF8
    Font Mapping : Font Sub Setting in uifont.ali
    Font Used for Printing : arialuni.ttf (Font Name : Arial Unicode MS)
    The error thrown in the rwEng trace (rwEng-0.trc) file is as below
    [2011/9/7 8:11:4:488] Error 50103 (C Engine): 20:11:04 ERR REP-3000: Internal error starting Oracle Toolkit.
    The error thrown when trying to execute the reports is…
    REP-0177: Error while running in remote server
    Engine rwEng-0 crashed, job Id: 67
    Our investigations and findings…
    1.     We disabled the entry Tk2Motif*fontMapCs: iso8859-1=UTF8 in Tk2Motif.rgb then started the server. We found that no error is thrown in the rwEng trace file and we are able to print the report also in PDF format… (Please see the attached japarial.pdf for your verification) but we are able to see only junk characters. We verified the document settings in the PDF file for ensuring the font sub set. We are able to see the font sub setting is used.
    2.     If we enable the above entry then the rwEng trace throwing the above error (oracle toolkit error) and reports engine is crashed.
    It will be a great help from you if you can assist us to resolve this issue…

    Maybe 7zip or another tool has workarounds for broken file names, you could try that.
    Or you could try to go over the files in the zip archive one-by-one and write it to files out-1, out-2, ..., out-$n without concerning yourself with the file names. You could get file endings back via the mimetype.
    This script might work:
    #include <stdio.h>
    #include <zip.h>
    static const char *template = "./out-%04d.bin";
    int main(int argc, char**argv)
    int err = 0;
    zip_t *arc = zip_open((const char*)argv[1], ZIP_RDONLY, &err);
    if(arc == NULL)
    printf("Failed to open ZIP, error %d\n", err);
    return -1;
    zip_int64_t n = zip_get_num_entries(arc, 0);
    printf("%s: # of packed files: %d\n", argv[1], n);
    for(int i = 0; i < n; i++)
    zip_stat_t stat;
    zip_stat_index(arc, i, ZIP_FL_UNCHANGED, &stat);
    char buf[stat.size];
    char oname[sizeof(template)];
    zip_file_t *f = zip_fopen_index(arc, (zip_int64_t)i, ZIP_FL_UNCHANGED);
    zip_fread(f, (void*)&buf[0], stat.size);
    snprintf(&oname[0], sizeof(template), template, i);
    FILE *of = fopen(oname, "wb");
    fwrite(&buf[0], stat.size, 1, of);
    printf("%s: %s => %lu bytes\n", argv[1], oname, stat.size);
    zip_fclose(f);
    fclose(of);
    zip_close(arc);
    return 0;
    Compile with
    gcc -std=gnu99 -O3 -o unzip unzip.c -lzip
    and run as
    ./unzip $funnyzipfile
    You should get template-named, numbered output files in the current directory.
    Last edited by 2ion (2015-05-21 23:09:29)

  • SQLServer to oracle migration. Issue with table having image data.

    Hi,
    I am using the SQL Developer version 1.5.0.53 Build MAIN-53.38. I am trying to migrate from sql server database to oracle. Sql server database version is 2005 and oracle database version is 10g (10.1.0.2 and 10.2.0.3). Both Oracle and Sql server databases are on windows-xp.
    Everything (including data) migrated well except for the one table having blob (oracle) and image(sqlserver). I am getting the following error in sql developer while migrating data for the blob from sql server to oracle.
    Data Move information:Rows : 497 Errors: 10278
    Commit failed: Closed Connection
    Must be logged on to server
    [POCRepository].[td].[REPOSITORY] Closed Connection
    Io exception: Software caused connection abort: socket write error
    [POCRepository].[td].[REPOSITORY] OALL8 is in an inconsistent state
    No more data to read from socket
    [POCRepository].[td].[REPOSITORY] No more data to read from socket
    Inserting ' ' into column td_POCRepository.REPOSITORY.RP_DATA (Row number 498)
    I have created sqldeveloper.cmd file as suggested in other threads and I am using the same java provided with SQL Developer 1.5.0.53.
    The database alertsid.log shows the following error messages for this activity.
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x34EF9E5] [] [] [] []
    ORA-00600: internal error code, arguments: [kghasp1], [0x5F3B718], [], [], [], [], [], []
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x34EF9E5] [] [] [] []
    The error ORA-00600[kghasp1] refers to the problem with heap memory. I also restarted the database and tried the data migration for only this table but with the same error.
    I tried it on both 10g release1 and 10g release 2.
    Can someone please help me in resolving this issue.
    Thanks
    Raghavendra

    Hi Raghavendra,
    Are you saying the Microsoft SQL Server bcp dump of image data failed? It has been tested, it results in a hex dump rather than a binary dump, hence the clob to blob, and hextoraw workaround.
    What are the version numbers and what is the reproducible test case?
    -Turloch
    Note that the clob to blob process is automated:
    Tools->preferences->Migration->Generation Options->General Options->Generate Stored Procedure for Migrate Blobs Offline
    From Help:
    Generate Stored Procedure for Migrate Blobs Offline: Causes a stored procedure named CLOBtoBLOB_sqldeveloper (with execute access granted to public) to be created if the schema contains a BLOB (binary large object); this procedure is automatically called if you perform an offline capture. If this option is not checked, you will need to use the manual workaround described in Populating the Destination Database Using the Data Files. (After the offline capture, you can delete the CLOBtoBLOB_sqldeveloper procedure or remove execute access from public.)

  • Oracle HRMS Setup Issue with Business Group

    Hi Gurys.
    need your ugrent help.
    i am implementing Oracle HRMS on 12.1.1
    Steps
    --- Responsbility Creation
    1- Responsbility Creation XX_HRMS (Responsbility created through Sysadmin)
    2- Menu Option GLB SHRMS Navigator
    -- USER Creation
    1- Create user XX_USER (User Creation done through Sysadmin)
    2- Below Responsiblities are granted to new User HRMS)
    -Application Developer
    -System Administrator
    -XX HRMS
    -System Administrator
    --KFF Creation through XX_USER with System Administrator
    --Location Creation through XX_USER with XX_HRMS Responsbility
    --Business Group creation through XX_USER with XX_HRMS Responsbility
    Here is issue, Business group created and saved, upon search it's not showing business group.
    i change the responsbility to System Administrator and set the profile at system level
    HR: Business Group to newly created Business Group.
    but when i want to set HR:Security profile , business group is not visible

    Thanks for your reply .
    1- avigate to the oraganization window and search for the business groups? how many do you see ? What are the names ?
    It show all the business grup , names are in query result below
    2- What is the result of the query -
    Select * from per_business_groups
    below is the query result
    NAME |DATE_FROM|LOCATION_ID|SHORT_NAME|LEGISLATION_CODE|CURRENCY_CODE|ENABLED_FLAG
    FAYYAZ GB |1/1/1990 |142 |Setup |US|USD|Y
    FAYYAZ |2/8/2011 |142 |Fayyaz |PK|USD|Y
    XX_TEST |2/8/2010 |142 |XX Test |GB|GBP|Y
    XX Company Final |2/8/2011 |142 |XX Company Final |GB|GBP|Y
    XX Company |2/8/2011 |142 |XX Company |GB|GBP|Y
    XX Comapny |2/8/2011 |142 |XX Company |GB|GBP|Y
    TEST |2/8/2011|142 |TEST |GB|GBP|Y
    3- Naigate to the security profile window. How many security profiles do you see ? What are the business groups they are associated with ?
    there is no business group showing in security profile, nor at site level not at responsbility.

  • Oracle 9i Lite Issue with ODBC driver

    Cannot reference table in user schema without schema ref
    I create a user TESTUSR and a table TESTTBL, and when I log in with user TESTUSR in SQL*Plus,
    the following will work just fine.
    SELECT * FROM TESTTBL
    but then when my ASP on IIS does the same SELECT,
    it will report "[POL-5130] table or view not found".
    But if I use a schema alias,
    SELECT * FROM TESTUSR.TESTTBL
    it will work fine.
    ODBC Admin shows: "Oracle Lite 40 ODBC Driver 4.00.00.00".
    Is this a bug ?

    I connect to the database through the same user that created those tables. Do I still need a public synonym ?

  • Oracle reports having issue with high volume

    Hi
    We are facing problems when generating the oracle reports with 100 000 records to be written into pdf/text format generated through Oracle report.
    The error we are getting is
    Unexpected Signal : 11 occurred at PC=0xFEDCD524
    Function=[Unknown. Nearest: JVM_GetCPFieldClassNameUTF+0x4B30]
    Library=/orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/client/libjvm.so
    Dynamic libraries:
    0x10000      /orarep/asuser/product/9.0.4/Reports/bin/rwrun
    0xfec00000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libjvm.so
    0xfe000000      /orarep/asuser/product/9.0.4/Reports/lib/librw90.so
    0xff100000      /orarep/asuser/product/9.0.4/Reports/lib/libobx90.so.0
    0xff0d0000      /orarep/asuser/product/9.0.4/Reports/lib/libnn90.so.0
    0xff080000      /orarep/asuser/product/9.0.4/Reports/lib/librws90.so.0
    0xfdd80000      /orarep/asuser/product/9.0.4/Reports/lib/libde90.so.0
    0xfebc0000      /orarep/asuser/product/9.0.4/Reports/lib/libucol90.so.0
    0xfeb90000      /orarep/asuser/product/9.0.4/Reports/lib/libuicc90.so.0
    0xfeb30000      /orarep/asuser/product/9.0.4/Reports/lib/libca90.so.0
    0xfeb10000      /orarep/asuser/product/9.0.4/Reports/lib/libmma90.so.0
    0xfead0000      /orarep/asuser/product/9.0.4/Reports/lib/libmmiw90.so.0
    0xff060000      /orarep/asuser/product/9.0.4/Reports/lib/libmmov90.so.0
    0xfea90000      /orarep/asuser/product/9.0.4/Reports/lib/libmmos90.so.0
    0xfdfc0000      /orarep/asuser/product/9.0.4/Reports/lib/libmmoi90.so.0
    0xfdfa0000      /orarep/asuser/product/9.0.4/Reports/lib/libmmia90.so.0
    0xfdd60000      /orarep/asuser/product/9.0.4/Reports/lib/libmmft90.so.0
    0xfdd20000      /orarep/asuser/product/9.0.4/Reports/lib/libmmcm90.so.0
    0xfdc00000      /orarep/asuser/product/9.0.4/Reports/lib/libvgs90.so.0
    0xfdd00000      /orarep/asuser/product/9.0.4/Reports/lib/libuihx90.so.0
    0xfdb90000      /orarep/asuser/product/9.0.4/Reports/lib/libuc90.so.0
    0xfdb20000      /orarep/asuser/product/9.0.4/Reports/lib/libuipr90.so.0
    0xfd900000      /orarep/asuser/product/9.0.4/Reports/lib/libuimotif90.so.0
    0xfdae0000      /orarep/asuser/product/9.0.4/Reports/lib/libot90.so.0
    0xfd8a0000      /orarep/asuser/product/9.0.4/Reports/lib/librem90.so.0
    0xfd820000      /orarep/asuser/product/9.0.4/Reports/lib/libree90.so.0
    0xfd800000      /orarep/asuser/product/9.0.4/Reports/lib/librec90.so.0
    0xfd7d0000      /orarep/asuser/product/9.0.4/Reports/lib/libuiimg90.so.0
    0xfd790000      /orarep/asuser/product/9.0.4/Reports/lib/libuia90.so.0
    0xfdac0000      /orarep/asuser/product/9.0.4/Reports/lib/libtknqap90.so.0
    0xfd750000      /orarep/asuser/product/9.0.4/Reports/lib/libutt90.so.0
    0xfd720000      /orarep/asuser/product/9.0.4/Reports/lib/librod90.so.0
    0xfd6f0000      /orarep/asuser/product/9.0.4/Reports/lib/libror90.so.0
    0xfd6c0000      /orarep/asuser/product/9.0.4/Reports/lib/libros90.so.0
    0xfd690000      /orarep/asuser/product/9.0.4/Reports/lib/libuat90.so.0
    0xfd670000      /orarep/asuser/product/9.0.4/Reports/lib/libdfc90.so.0
    0xfd650000      /orarep/asuser/product/9.0.4/Reports/lib/libutc90.so.0
    0xfd630000      /orarep/asuser/product/9.0.4/Reports/lib/libutj90.so.0
    0xfd5f0000      /orarep/asuser/product/9.0.4/Reports/lib/libutl90.so.0
    0xfd5d0000      /orarep/asuser/product/9.0.4/Reports/lib/libutsl90.so.0
    0xfcc00000      /orarep/asuser/product/9.0.4/Reports/lib/libclntsh.so.9.0
    0xfd480000      /orarep/asuser/product/9.0.4/Reports/lib/libnnz9.so
    0xfd5b0000      /orarep/asuser/product/9.0.4/Reports/lib/libwtc9.so
    0xfcb00000      /usr/lib/libnsl.so.1
    0xfd460000      /usr/lib/libsocket.so.1
    0xfd440000      /usr/lib/libgen.so.1
    0xff3fa000      /usr/lib/libdl.so.1
    0xfcbe0000      /usr/lib/libsched.so.1
    0xfca00000      /usr/lib/libc.so.1
    0xfcbc0000      /usr/lib/libaio.so.1
    0xfc9b0000      /usr/lib/libm.so.1
    0xfc980000      /usr/lib/libthread.so.1
    0xfc700000      /usr/lib/libXm.so.4
    0xfc690000      /usr/openwin/lib/libXt.so.4
    0xfc580000      /usr/openwin/lib/libX11.so.4
    0xff3a0000      /usr/lib/libw.so.1
    0xfcad0000      /usr/lib/libCrun.so.1
    0xfc400000      /orarep/asuser/product/9.0.4/Reports/lib/libix90.so
    0xfc960000      /orarep/asuser/product/9.0.4/Reports/lib/libixd90.so
    0xfc940000      /usr/lib/librt.so.1
    0xfc670000      /usr/lib/libmp.so.2
    0xfc640000      /usr/openwin/lib/libXext.so.0
    0xfc560000      /usr/openwin/lib/libSM.so.6
    0xfc530000      /usr/openwin/lib/libICE.so.6
    0xfc3e0000      /usr/lib/libmd5.so.1
    0xfdcf0000      /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
    0xfc3a0000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/native_threads/libhpi.so
    0xfc370000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libverify.so
    0xfc330000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libjava.so
    0xfc310000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libzip.so
    0xe3420000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libnet.so
    0xe3550000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libioser12.so
    0xe24e0000      /usr/lib/nss_files.so.1
    0xe2610000      /usr/lib/nss_cluster.so.1
    0xe24b0000      /usr/cluster/lib/libclos.so.1
    0xe23d0000      /usr/lib/libsecdb.so.1
    0xe23b0000      /usr/lib/libdoor.so.1
    0xe0b00000      /usr/lib/libCstd.so.1
    0xe2260000      /usr/lib/libcmd.so.1
    0xe2220000      /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
    0xe2390000      /orarep/asuser/product/9.0.4/Reports/lib/librwu90.so
    0xe1f30000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libcmm.so
    0xe15b0000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libjpeg.so
    0xe0600000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libawt.so
    0xe0580000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/libmlib_image.so
    0xe20d0000      /orarep/asuser/product/9.0.4/Reports/jdk/jre/lib/sparc/headless/libmawt.so
    Local Time = Thu Feb 2 18:08:09 2006
    Elapsed Time = 222
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002E6 01
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)
    # An error report file has been saved as /tmp/hs_err_pid31802.log.
    # Please refer to the file for further information.
    Could anybody help us to findout the solution.

    how many pages of the file are generated? also was it being written to a file or displayed on the screen? try also to check the log file for any possible solutions.

  • Oracle Connection Release Issue with Latest Driver not with the legacy one

    Hi
    I came across a scenario in the http://www.oracleutilities.com/Packages/dbms_alert.html, which discuss about the usage of the dbms_alert (Alert.java program). I used this example with classes12.jar and terminated the program abnormally without raising the signal. When i checked the oracle session in v$session table i didn't see any stale session, however when i used the ojdbc6_g.jar (followed the same step as i mentioned earlier for classses12.jar) i found the connection is not released. Any help/pointers would be highly appreciated
    More information of driver and db are given below
    classes12.jar
    Manifest-Version: 1.0
    Specification-Title: "Oracle JDBC driver classes for use with JDK1.2 and JDK1.3"
    Specification-Version: "Oracle JDBC Driver version - 9.0.2.0.0"
    Specification-Vendor: "Oracle Corporation" .
    Implementation-Title: "classes12 archives"
    Implementation-Version: "Oracle JDBC Driver version - 9.0.2.0.0"
    Implementation-Vendor: "Oracle Corporation"
    Implementation-Time: "Fri Jun 9 04:27:20 2006"
    ojdbc6_g.jar
    Manifest-Version: 1.0
    Implementation-Vendor: Oracle Corporation
    Implementation-Title: ojdbc6_g.jar
    Implementation-Version: Oracle JDBC Driver version - "11.1.0.7.0-Produ
    ction"
    Implementation-Time: Thu Aug 28 18:32:51 2008
    Specification-Vendor: Oracle Corporation
    Created-By: 1.6.0 (Sun Microsystems Inc.)
    Specification-Title: Oracle JDBC driver classes for use with JDK6
    Specification-Version: Oracle JDBC Driver version - "11.1.0.7.0-Produc
    tion"
    Main-Class: oracle.jdbc.OracleDriver
    Database & OS info
    OS : Linux bld-qa-ts26 2.6.32-200.13.1.el5uek #1 SMP Wed Jul 27 21:02:33 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    ORACLE VERSION : 11GR2 ( 11.2.0.2.0 ) SE

    >
    I used this example with classes12.jar and terminated the program abnormally without raising the signal. When i checked the oracle session in v$session table i didn't see any stale session, however when i used the ojdbc6_g.jar (followed the same step as i mentioned earlier for classses12.jar) i found the connection is not released. Any help/pointers would be highly appreciated
    ORACLE VERSION : 11GR2 ( 11.2.0.2.0 ) SE
    >
    Let me see if I understand this right
    1. You are using an example from several years ago
    2. The example is for code that captures the LOGON to the database
    3. You don't mention anything about whether you got the LOGON notification but mention that you terminate the program abnormally.
    4. You use a jar file that has been obsolete for over 10 years
    5. You use the latest version of the Oracle database (which the jar file does not support)
    Did I get that right?
    And this surprises you?
    Why on Earth would you do this? You should be using an example and jar files that support and are supported by the Database and JDK that your are using. When you don't you can expect to have problems and many of them you will not be able to resolve.
    You don't provide the JDK version that you are using but there's a good chance it is the wrong version for this hodgepodge also.
    1. Use JDK 1.6
    2. Use OJDBC6 jar
    3. Use examples for Oracle 11g
    Here is the official Oracle JDBC page that shows the Oracle DB versions supported for each of the JDBC drivers available and also describes the JDBC jars and what JDK versions they support.
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#02_01
    >
    Which JDBC drivers support which versions of Oracle Database?
    JDBC 9.0.1 drivers can talk to RDBMS
    11.1.0
    classes12.jar
    Classes for the Thin and OCI drivers when using a Java 1.2 or 1.3 VM.
    >
    And here is the PL/SQL Packages and Types doc that has an example in Chap 18 DBMS_ALERT (not for LOGON)
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_alert.htm#BEHBCFCF
    >
    Examples
    Suppose you want to graph average salaries by department, for all employees. Your application needs to know whenever EMP is changed. Your application would look similar to this code:
    DBMS_ALERT.REGISTER('emp_table_alert');
    <<readagain>>:
    /* ... read the emp table and graph it */
    DBMS_ALERT.WAITONE('emp_table_alert', :message, :status);
    if status = 0 then goto <<readagain>>; else
    /* ... error condition */
    The EMP table would have a trigger similar to this:
    CREATE TRIGGER emptrig AFTER INSERT OR UPDATE OR DELETE ON emp
    BEGIN
    DBMS_ALERT.SIGNAL('emp_table_alert', 'message_text');
    END;
    When the application is no longer interested in the alert, it makes this request:
    DBMS_ALERT.REMOVE('emp_table_alert');
    This reduces the amount of work required by the alert signaller. If a session exits (or dies) while registered alerts exist, the alerts are eventually cleaned up by future users of this package.
    The example guarantees that the application always sees the latest data, although it may not see every intermediate value.

  • OracleAS download and issue with CPIO

    Hi,
    I have downloaded the files for Solaris. When I go to un cpio:
    $> cat 10g_Disk1.cpio | cpio -icd
    get error at this point
    $> Disk2/stage/Components/oracle.portaltogo.server/9.0.4.0.0/1/DataFiles/audio.1.1.jar
    $> cpio: Bad magic number/header.
    $> 1 errors
    ================================
    what is the cpio verion needed? (what version used by oracle to create files)
    how do we tell what version our OS is at?
    ==================================
    when I do the check sum I get: ( which does not match the cksum supplied at download site)
    $> cksum 10g_Disk1.cpio
    136152944 555125713 10g_Disk1.cpio
    we are downloading via web and then ftp over to unix server this is the incorrect cksum number -- caused by NOT ftp'ing binary?
    --thanks
    --Lynda

    had to be the ftp binary part.
    -- thanks

Maybe you are looking for

  • Specify Starting Position in Sender FCC

    Hi Experts Team, I wish to specify the starting position of field in sender FCC. can i???? regards, kanda

  • Weird lines appearing around type in my Safari browser.

    I've tried searching for this online but can't seemed to find an answer, I recently bought a macbook air and have noticed that on some websites there are these wierd outlines around type (usually large type) I'm pretty sure it can't be to do with the

  • Multiple resources assigned to task, single resource complete it to 100%?

    I would like to assign a task to multiple resources (say, for example, the computer services techs) and have whichever one completes the task mark it as complete. Any time this happens, it completes it only up to the fraction of the task they have. F

  • Iphoto 11 albums slow to load in ATV2?

    I'm having a problem with albums loading very s-l-o-w-l-y on ATV2. The actual directory of albums loads very quickly but when an album is accessed for a slideshow it takes forever to load and start. I have about 300 gigs of photos on a firewire drive

  • Resource Bundle error

    Hi, I'm getting a resource bundle error but i'm not quite sure what it means: Can't find resource for base name PackageName.ClassName, locale en What exactly is the "locale"? The class compiles but once i use it in my jsp i get this error. Thanks, in