Help needed with Oracle Wallet Manager

Hi , I have to call a Web Service that is made in PL/SQL from another PL/SQL package. The web service is an HTTPS server so I have to use Oracle Wallet Manager because those who made the web service uses it.
Is there a PL/SQL guide or receipe to do that. Here's what I have done now and that does'nt return me the string I want!
vURL := 'https://www2.frsq.gouv.qc.ca/frsqeforms/FRSQ_NIP_EXISTS?pNOM_NAISS=' || pNOM_NAISS || '&pPRENOM=' || pPRENOM || '&pNOM_MERE=' || pNOM_MERE || '&pSEXE=' || pSEXE || '&pDATE_NAISS_YYYY=' || pAn_naissance
|| '&pDATE_NAISS_MM=' || pMois_naissance || '&pDATE_NAISS_DD=' || pJour_naissance;
vURL := utl_url.escape(vURL);
UTL_HTTP.SET_WALLET('file:/export/home/oracle/Wallet','********');
select UTL_HTTP.REQUEST(vURL) into resultat from dual;
vNip := resultat;
I should have something in th resultat variable. I'm I muissing some steps or I should work like that?
I'm on Oracle 9.2.0.6 on solaris sun.
The web service is supposed to return me a PIN number. I works when I do it on the devloppment environement because there is no https.
I don't have any error message except that it returns me a html pages with a 404 in the string that I am supposed to receive a PIN number. I got the error in development but my variable had the value that I want! If I paste the URL in a browser it works very fine. You can try it with that (the development server)
http://207.253.66.69/frsq_dev/FRSQ_NIP_EXISTS?pNOM_NAISS=Bouchard&pPRENOM=Diane&pNOM_MERE=Thibault&pSEXE=F&pDATE_NAISS_YYYY=1964&pDATE_NAISS_MM=04&pDATE_NAISS_DD=04
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
Not Found
The requested URL /frsqeforms/FRSQ_NIP_EXISTS was not found on this server.
<HR>
<ADDRESS>Oracle-Application-Server-10g/1

Duplicate post ... please ignore.

Similar Messages

  • Help needed with oracle 11g installation

    Hi All,
    I need some help setting up oracle database with users, schemas and the like.
    I am new to oracle - using it due to a project requirement.
    Any advice, links etc would be great.
    Thanks in Advance

    Check out Oracle By Example tutorials here.
    http://www.oracle.com/technology/obe/11gr1_db/otn_all_db11gr1.html

  • Problem import trusted certificate with oracle wallet manager

    hi people
    db version 10.2.0.4
    owm version 10.2.0.4
    os version windows server 2003
    the first thing i've tried
    is to import a certificate which was created with selfssl (contained in the mircosoft iss resource kit)
    but its not working
    i get the following failure "Some trusted certificates could not be installed"
    i've checked the metalink and found this
    [WALLET MANAGER FAILS TO IMPORT MS IIS GENERATED CERT|https://metalink2.oracle.com/metalink/plsql/f?p=130:15:3132180381448029652::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,6815320,1,1,1,helvetica]
    i've tried it with an openssl generated certificate
    no problems with importing this as trusted certificate
    so my question
    exists a general problem with certificates which were created with iis services?

    Hi, I am having the same issue with the certificate. Can anyone tell me how to fix this?
    Thank You!
    Kathie

  • Help needed with oracle text special character search

    Hi all
    Using oracle 11g sql developer 4.0
    I am facing this challenge where Oracle text when it comes to searching text that contains special character.
    This what I have done so far with help of http://www.orafaq.com/forum/t/162229/
      CREATE TABLE "SOS"."COMPANY"
       ( "COMPANY_ID" NUMBER(10,0) NOT NULL ENABLE,
      "COMPANY_NAME" VARCHAR2(50 BYTE),
      "ADDRESS1" VARCHAR2(50 BYTE),
      "ADDRESS2" VARCHAR2(10 BYTE),
      "CITY" VARCHAR2(40 BYTE),
      "STATE" VARCHAR2(20 BYTE),
      "ZIP" NUMBER(5,0)
       ) SEGMENT CREATION IMMEDIATE
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "USERS" ;
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (1,'LSG SOLUTIONS LLC',null,null,null,null,null);
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (2,'LOVE''S TRAVEL',null,null,null,null,null);
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (3,'DEVON ENERGY',null,null,null,null,null);
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (4,'SONIC INC',null,null,null,null,null);
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (5,'MSCI',null,null,null,null,null);
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (6,'ERNEST AND YOUNG',null,null,null,null,null);
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (7,'JOHN DEER',null,null,null,null,null);
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (8,'Properties@Oklahoma, LLC',null,null,null,null,null);
    Insert into COMPANY (COMPANY_ID,COMPANY_NAME,ADDRESS1,ADDRESS2,CITY,STATE,ZIP) values (9,'D.D.T  L.L.C.',null,null,null,null,null);
       BEGIN
    CTX_DDL.CREATE_PREFERENCE ('your_lexer', 'BASIC_LEXER');
         CTX_DDL.SET_ATTRIBUTE ('your_lexer', 'SKIPJOINS', '.,@-'''); -- to skip . , @ - ' symbols
        END;
      CREATE INDEX my_index2 ON COMPANY(COMPANY_NAME)
         INDEXTYPE IS CTXSYS.CONTEXT PARALLEL
       PARAMETERS ('LEXER your_lexer');   
    SELECT
    company_name
    FROM company
    WHERE CATSEARCH(company.COMPANY_NAME, 'LLC','') > 0
    ORDER BY company.COMPANY_ID;
    output
    company_name
    1 LSG SOLUTIONS LLC
    2 Properties@Oklahoma, LLC
    only return 2 row but should return 3

    I just noticed that I forgot to use an empty stoplist, so I have added that to the revised example below.  Otherwise, it uses a default stoplist that would not index common single-letter words like A and I.
    1. Whtat is Just search on single character 'L'? It give me error.
    Since it uses the NEAR operator, searching for just one letter causes incomplete syntax, asking it to search for L near a missing second value.  So, I have added additional code to allow for just one letter.
    2. How do I do auto refresh on this index on datastore?
    If I add "sync        (on commit)" it does not refresh the previously set token.
    Sync(on commit) does synchronize so that the data is immediately searchable.  You have to either optimize or rebuild or drop and recreate the index to condense the rows in the domain index table.
    3.lastly explanation of
    <seq>NEAR((' || letters_func (:search_string) || '),1,TRUE)</seq>
                      <seq>NEAR((' || letters_func (:search_string) || '),100,TRUE)</seq>
                    <seq>NEAR((' || letters_func (:search_string) || '),100,FALSE)</seq>
    why 100 true and 100 false
    100 is just a default value that I used for the second parameter of near, indicating how close the letters need to be to each other.  True and False are values for the third parameter of near, indicating whether or not the letters must be in the same order or not.  So, it returns the results in the order of first those that are very close to one another and in the same order, then those that may be further away but in the same order, then those that may be further away and in any order.
    SCOTT@orcl12c> CREATE TABLE company_near
      2    (company_id    NUMBER(10,0) NOT NULL ENABLE,
      3      company_name  VARCHAR2(50 BYTE))
      4  /
    Table created.
    SCOTT@orcl12c> SET DEFINE OFF
    SCOTT@orcl12c> BEGIN
      2  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (1,'LSG SOLUTIONS LLC');
      3  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (2,'LOVE''S TRAVEL');
      4  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (3,'DEVON ENERGY');
      5  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (4,'SONIC INC');
      6  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (5,'MSCI');
      7  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (6,'ERNEST AND YOUNG');
      8  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (7,'JOHN DEER');
      9  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (8,'Properties@Oklahoma, LLC');
    10  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (9,'D.D.T  L.L.C.');
    11  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (10,'LSG COMPANY, LLC');
    12  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (11,'LSG STAFFING, LLC');
    13  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (12,'L & S GROUP LLC');
    14  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (13,'L S & G, INC.');
    15  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (14,'L.S.G. PROPERTIES, L.L.C.');
    16  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (15,'LSGS PROPERTIES, LLC');
    17  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (16,'LSQ INVESTORS, L.L.C');
    18  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (17,'LHP SHERMAN/GRAYSON, LLC');
    19  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (18,'Walmart');
    20  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (19,'Wal mart');
    21  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (20,'LSG Property Investments, L.L.C.');
    22  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (21,'1224 S GALVESTON AVE, LLC');
    23  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (22,'1527 S GARY AVE, LLC');
    24  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (23,'FIFTEENTH STREET GRILL');
    25  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (24,'Massa Lobortis LLP');
    26  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (25,'Risus A Inc.');
    27  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (26,'Dollar $ store');
    28  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (27,'L.O.V.E., INC. ');
    29  Insert into COMPANY_NEAR (COMPANY_ID,COMPANY_NAME) values (28,'J-MART LLC ');
    30  END;
    31  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> CREATE OR REPLACE FUNCTION letters_func
      2    (p_string IN VARCHAR2)
      3    RETURN        VARCHAR2
      4  AS
      5    v_string     VARCHAR2(4000);
      6  BEGIN
      7    FOR i IN 1 .. LENGTH (p_string)
      8    LOOP
      9       IF REGEXP_LIKE (SUBSTR (p_string, i, 1), '[A-Z]', 'i')
    10       THEN
    11         v_string := v_string || SUBSTR (p_string, i, 1) || ',';
    12       END IF;
    13    END LOOP;
    14    v_string := RTRIM (v_string, ',');
    15    RETURN v_string;
    16  END letters_func;
    17  /
    Function created.
    SCOTT@orcl12c> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE ('letters_datastore', 'MULTI_COLUMN_DATASTORE');
      3    CTX_DDL.SET_ATTRIBUTE
      4       ('letters_datastore',
      5        'COLUMNS',
      6        'letters_func (company_name) company_name');
      7    CTX_DDL.SET_ATTRIBUTE ('letters_datastore', 'DELIMITER', 'NEWLINE');
      8  END;
      9  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> CREATE INDEX letters_index ON company_near (company_name)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS
      4    ('DATASTORE  letters_datastore
      5       STOPLIST   CTXSYS.EMPTY_STOPLIST
      6       SYNC        (ON COMMIT)')
      7  /
    Index created.
    SCOTT@orcl12c> SELECT COUNT(*) FROM dr$letters_index$i
      2  /
      COUNT(*)
            24
    1 row selected.
    SCOTT@orcl12c> VARIABLE search_string VARCHAR2(100)
    SCOTT@orcl12c> EXEC :search_string := 'LSG'
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> SELECT SCORE(1), company_id, company_name
      2  FROM   company_near
      3  WHERE  CONTAINS
      4            (company_name,
      5             '<query>
      6            <textquery>
      7              <progression>
      8                <seq>'       || :search_string            || '</seq>
      9                <seq>NEAR((' || letters_func (:search_string) || '),1,TRUE)</seq>
    10                <seq>NEAR((' || letters_func (:search_string) || '),100,TRUE)</seq>
    11                <seq>NEAR((' || letters_func (:search_string) || '),100,FALSE)</seq>
    12              </progression>
    13            </textquery>
    14             </query>',
    15             1) > 0
    16  ORDER  BY SCORE(1) DESC
    17  /
      SCORE(1) COMPANY_ID COMPANY_NAME
            56          1 LSG SOLUTIONS LLC
            56         10 LSG COMPANY, LLC
            56         11 LSG STAFFING, LLC
            56         12 L & S GROUP LLC
            56         13 L S & G, INC.
            56         14 L.S.G. PROPERTIES, L.L.C.
            56         20 LSG Property Investments, L.L.C.
            56         15 LSGS PROPERTIES, LLC
            31         17 LHP SHERMAN/GRAYSON, LLC
             8         21 1224 S GALVESTON AVE, LLC
             4         22 1527 S GARY AVE, LLC
             4         23 FIFTEENTH STREET GRILL
    12 rows selected.
    SCOTT@orcl12c> EXEC :search_string := 'L'
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> /
      SCORE(1) COMPANY_ID COMPANY_NAME
            78          1 LSG SOLUTIONS LLC
            77          8 Properties@Oklahoma, LLC
            77          9 D.D.T  L.L.C.
            77         10 LSG COMPANY, LLC
            77         11 LSG STAFFING, LLC
            77         12 L & S GROUP LLC
            77         28 J-MART LLC
            77          2 LOVE'S TRAVEL
            77         26 Dollar $ store
            77         24 Massa Lobortis LLP
            77         23 FIFTEENTH STREET GRILL
            77         14 L.S.G. PROPERTIES, L.L.C.
            77         15 LSGS PROPERTIES, LLC
            77         16 LSQ INVESTORS, L.L.C
            77         17 LHP SHERMAN/GRAYSON, LLC
            77         20 LSG Property Investments, L.L.C.
            77         21 1224 S GALVESTON AVE, LLC
            77         22 1527 S GARY AVE, LLC
            76         19 Wal mart
            76         18 Walmart
            76         27 L.O.V.E., INC.
            76         13 L S & G, INC.
    22 rows selected.
    SCOTT@orcl12c> INSERT INTO company_near (company_id, company_name) VALUES (30, 'Laris Gordman llc.'  )
      2  /
    1 row created.
    SCOTT@orcl12c> COMMIT
      2  /
    Commit complete.
    SCOTT@orcl12c> SELECT COUNT(*) FROM dr$letters_index$i
      2  /
      COUNT(*)
            35
    1 row selected.
    SCOTT@orcl12c> EXEC :search_string := 'Laris Gordman llc.'
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> SELECT SCORE(1), company_id, company_name
      2  FROM   company_near
      3  WHERE  CONTAINS
      4            (company_name,
      5             '<query>
      6            <textquery>
      7              <progression>
      8                <seq>NEAR((' || letters_func (:search_string) || '),1,TRUE)</seq>
      9                <seq>NEAR((' || letters_func (:search_string) || '),100,TRUE)</seq>
    10                <seq>NEAR((' || letters_func (:search_string) || '),100,FALSE)</seq>
    11              </progression>
    12            </textquery>
    13             </query>',
    14             1) > 0
    15  ORDER  BY SCORE(1) DESC
    16  /
      SCORE(1) COMPANY_ID COMPANY_NAME
           100         30 Laris Gordman llc.
    1 row selected.
    SCOTT@orcl12c> EXEC CTX_DDL.OPTIMIZE_INDEX ('letters_index', 'FULL')
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> SELECT COUNT(*) FROM dr$letters_index$i
      2  /
      COUNT(*)
            24
    1 row selected.

  • Help needed with Oracle C++

    Hello,
    I am currently working on a replatforming project from HP UX to SUN Solaris 5.9. The Old HP Server has Oracle 8.0.5 while the Sun Server has Oracle version 9.2.0. In the source code which is in C++ I have :
    struct define_data
    ub1 buf [MAX_ITEM_BUFFER_SIZE];
    float flt_buf;
    sword int_buf;
    sb2 indp;
    ub2 col_retlen;
    ub2 col_retcode;
    static char scratch1[];
    struct define_data *Sql_Data;
    In the code, I am unable to copy the Sql_Data.buf to scratch1.
    i am trying to do the following:
    strcpy(scratch1, (char *) Sql_Data[i].buf);
    but no value is copied to scratch1 unlike on HP server where it gets copied.
    Is there any way to do it. Is it because of the data type ub1? Please help.
    Thanks

    In this example scratch1 is defined as a simple pointer (since the brackets are empty). If this is really how the code looks I'm surprised it works at all. If you don't allocate memory for scratch1 there's no telling what it's doing.
    You can always use strdup() instead and that should work. Just don't forget to free this memory when you are through with it.
    If it compiles the mismatched types are irrelevant.

  • Help required with oracle user management

    My requirement is to hide the developer toolbar that shows at the bottom of all the pages in the application. This happens when I log into the application as an administrator or a developer. When I try logging in as an end user, who does not have developer or administrator privileges, I get a message saying that " Access denied by application security check". This problem does not depend on whether I use apex security or database security for my application, in both the cases, as soon as I login to the worksapce with a user account, this message is displayed. Please help me out. Any sort of help will be appreciated.
    Message was edited by:
    shantanu

    Hi Shantanu
    When you log in to the workspace, the URL will end with something like: /pls/htmldb/f?p=4550 (it may also end with /pls/htmldb/htmldb_login)
    To log in to your application, you need to change the final number to the number of your application. For example, if your application is number 105, then change the end of the URL to: /pls/htmldb/f?p=105.
    Your application should have a login page (typically, Page 101) which should be loaded as soon as the user tries to get to your application.
    Regards
    Andy

  • Help needed with Oracle views

    Hello All,
    I have the following (simplified slightly as a example)
    CREATE VIEW TRACK30.GVITEMASSOCIATE002F AS
    SELECT
    VATTRIBUTEASSOCIATEZ0000.ATTRIBUTEID AS ATTRIBUTEID,
    ... lots more columns from vattributeassociate
    VISOTOPEZ0001.ISOTOPEID AS ISOTOPEID,
    ... lots more columns from visotope
    FROM
    VATTRIBUTEASSOCIATE VATTRIBUTEASSOCIATEZ0000, VISOTOPE VISOTOPEZ0001
    WHERE
    VATTRIBUTEASSOCIATEZ0000.A54E67=VISOTOPEZ0001.ISOTOPEID
    AND VATTRIBUTEASSOCIATEZ0000.ATTRIBUTEISID=47
    and
    CREATE VIEW TRACK30.GVITEM AS
    SELECT
    VITEMZ0000.ITEMID AS ITEMID,...
    GVITEMASSOCIATE002FZ0005.KEYID AS A553DB,...
    FROM
    VITEM VITEMZ0000, GVITEMASSOCIATE002F GVITEMASSOCIATE002FZ0005
    WHERE
    VITEMZ0000.ITEMID=GVITEMASSOCIATE002FZ0005.KEYID(+) AND
    (GVITEMASSOCIATE002FZ0005.ATTRIBUTEISID=47 OR GVITEMASSOCIATE002FZ0005.ATTRIBUTEISID IS NULL )
    and
    CREATE VIEW TRACK30.GVFINAL AS
    SELECT
    O.*,
    I,*,
    T,*,
    C.*
    FROM
    CONTENT O, GVITEM I, GVTRANSACTION T, GVCOLLECTION C
    WHERE
    O.COLLECTIONID=C.COLLECTIONID AND
    O.ITEMID=I.ITEMID AND
    O.TRANSACTIONID=T.TRANSACTIONID
    I'm getting back the numbers of rows I expect from each view and the data is correct at each stage EXCEPT within GVFINAL where the data from GVITEMASSOCIATE002F.VISOTOPE is missing. How could that be? The other data from GVITEMASSOCIATE002F.VATTRIBUTEASSOCIATE is present in GVFINAL. If I query the gvitem view then the data is present for visotope for a particular item but not when querying the gvfinal view?!?!?!?
    Anyone know why this is?
    Thanks in advance.
    Richard (Confused again)

    Hi, Thanks for the reply.
    The names are generated by some code so I don't really mind them being huge. ;-)
    I think you've skated over my point. So I'll try and explain a bit better and simplify it a bit more.
    within the content table the itemid column contains a list of all the items in their respective containers. Hence every item will be present and since I'm not filtering on containerid nothing would restrict this.
    within the gvitem view we have the data for all of the items therefore the counts within content and item grouped by itemid are identical.
    Therefore the join of gvitem to content should produce all of the data within gvitem and all of the data within content. (I've removed gvtransaction and gvcollection since they ain't pertinent to the problem).
    But, the data from within gvitemassociate which is joined to gvitem is missing from gvfinal. Yet the other information from within gvitem is present.
    Maybe an example will help...
    simplifying the views down to
    CREATE OR REPLACE VIEW GVITEM2 AS
    SELECT
    VITEMZ0000.ITEMID,
    GVITEMASSOCIATE0047Z0005.WHENAT AS A259197,
    GVITEMASSOCIATE0047Z0005.HALFLIFEAT
    FROM
    VITEM VITEMZ0000,
    GVITEMASSOCIATE0047 GVITEMASSOCIATE0047Z0005
    WHERE
    VITEMZ0000.ITEMID=GVITEMASSOCIATE0047Z0005.KEYID(+) AND
    (GVITEMASSOCIATE0047Z0005.ATTRIBUTEISID=47 OR GVITEMASSOCIATE0047Z0005.ATTRIBUTEISID IS NULL )
    CREATE OR REPLACE VIEW TRACK30.GVFINAL2 AS
    SELECT
    O.ITEMID,
    I.ITEMID AS GVITEMITEMID,
    I.A259197,
    I.HALFLIFEAT
    FROM
    CONTENT O, GVITEM2 I
    WHERE
    O.ITEMID=I.ITEMID
    Therefore itemid comes from content, gvitemitemid comes from vitem and the others come from gvitemassociate.
    and then doing...
    select * from gvitem2 where halflifeat between '18-APR-1910' and '18-APR-1920';
    gives
    ITEMID A259197 HALFLIFEA
    52806 03-JAN-06 18-APR-12
    52797 21-DEC-05 18-APR-12
    52798 21-DEC-05 18-APR-12
    52799 21-DEC-05 18-APR-12
    52800 21-DEC-05 18-APR-12
    51571 15-DEC-05 18-APR-12
    51572 15-DEC-05 18-APR-12
    51573 15-DEC-05 18-APR-12
    51575 15-DEC-05 18-APR-12
    51576 15-DEC-05 18-APR-12
    51577 15-DEC-05 18-APR-12
    11 rows selected.
    and then if I go
    select itemid,gvitemitemid,a259197,halflifeat from gvfinal2 where itemid in (52797,52798,52799,52800,52806)
    i get
    ITEMID GVITEMITEMID A259197 HALFLIFEA
    52797 52797
    52797 52797
    52800 52800
    52800 52800
    52798 52798
    52798 52798
    52806 52806
    52806 52806
    52799 52799
    52799 52799
    10 rows selected.
    So the A259197 and HalfLifeAt columns don't have data within them? yet they did a second ago??!?! e.g. itemid=52797
    interestingly if I query via halflifeat then I do get that information but that's no good to me since I need to filter by container in the program.
    e.g.
    select itemid,gvitemitemid,a259197,halflifeat from gvfinal2 where halflifeat between '18-APR-1910' and '18-APR-1920'
    ITEMID GVITEMITEMID A259197 HALFLIFEA
    51571 51571 15-DEC-05 18-APR-12
    51571 51571 15-DEC-05 18-APR-12
    51572 51572 15-DEC-05 18-APR-12
    51572 51572 15-DEC-05 18-APR-12
    51573 51573 15-DEC-05 18-APR-12
    51573 51573 15-DEC-05 18-APR-12
    51573 51573 15-DEC-05 18-APR-12
    51573 51573 15-DEC-05 18-APR-12
    51575 51575 15-DEC-05 18-APR-12
    51576 51576 15-DEC-05 18-APR-12
    51577 51577 15-DEC-05 18-APR-12
    51577 51577 15-DEC-05 18-APR-12
    52797 52797 21-DEC-05 18-APR-12
    52797 52797 21-DEC-05 18-APR-12
    52798 52798 21-DEC-05 18-APR-12
    52798 52798 21-DEC-05 18-APR-12
    52799 52799 21-DEC-05 18-APR-12
    52799 52799 21-DEC-05 18-APR-12
    52800 52800 21-DEC-05 18-APR-12
    52800 52800 21-DEC-05 18-APR-12
    52806 52806 03-JAN-06 18-APR-12
    52806 52806 03-JAN-06 18-APR-12
    22 rows selected.
    It looks like Oracle's joining differently depending on how I filter (Which it obviously would) but is sometimes ignoreing joins when it shouldn't (IMO).
    Bizarre or what?
    I suspect I'm missing something obvious but for the life of me cannot see it!
    Heeeeelllllppppp.
    Thanks
    Richard

  • Using a SHA2 certificate with 12.1.1 (Oracle Wallet Manager 10.1.0.5)

    Hi folks,
    I'm trying to enable SSL on my 12.1.1 system, but I've got a bit of a problem.
    I've already logged a SR on this, so I already know that you cannot use SHA2 SSL certificates with Oracle Wallet Manager 10.1.0.5, which is part of the 10.1.3 tech stack. I started the SR on the EBS side, but it was passed on to the security group, and closed there. My question is, is there something that I don't know? Is there an upgrade path in 12.1.x that would include an upgrade to the OWM, or is there some sort of workaround? I'll be opening another SR tomorrow, but wanted to see if I was missing something simple.
    We have an internal certificate server (Microsoft AD), and the root certificate, which I need to import, is SHA2. I'm being told that they cannot generate a SHA1 root certificate, and would have to stand up another certificate authority. OWM 10.1.0.5 can't handle SHA2, so I'm stuck.
    Anybody been there done that?
    Thanks very much,
    -Adam vonNieda

    I'm trying to enable SSL on my 12.1.1 system, but I've got a bit of a problem. What kind of problems?
    I've already logged a SR on this, so I already know that you cannot use SHA2 SSL certificates with Oracle Wallet Manager 10.1.0.5, which is part of the 10.1.3 tech stack. I started the SR on the EBS side, but it was passed on to the security group, and closed there. My question is, is there something that I don't know? Is there an upgrade path in 12.1.x that would include an upgrade to the OWM, or is there some sort of workaround? I'll be opening another SR tomorrow, but wanted to see if I was missing something simple.
    We have an internal certificate server (Microsoft AD), and the root certificate, which I need to import, is SHA2. I'm being told that they cannot generate a SHA1 root certificate, and would have to stand up another certificate authority. OWM 10.1.0.5 can't handle SHA2, so I'm stuck. I am not sure if SHA2 is certified with EBS R12 so you might need to ask this question to Oracle Support. According to the following docs, SHA1 can be used with no issues.
    Enabling SSL in Oracle E-Business Suite Release 12 [ID 376700.1]     To BottomTo Bottom     
    SSL Primer: Enabling SSL in Oracle E-Business Suite Release 12 (Trial Certificate Example) [ID 1425103.1]
    Thanks,
    Hussein

  • Need help on Using Oracle Acces Manager 11g

    Hi
    I Need help on Using Oracle Acces Manager Admin console to configure for SSO.
    I am new to Identity Management
    I have installed OAM 11g and configured for OAM in new weblogic domain
    Please help to proceed forward.
    Thanks
    Swapnil

    Hi
    Thanks for your reply
    I am able to login to the console
    I am unable to login the the weblogic server from another machine but abl eto do so from the machine where all this is installed
    What i feel is there needs to be some configurataion maybe policy or Agent
    IDMDomainAgent is configured and so is the OAM server configured .
    Please advice some books or link how to do achieve logging into the weblogic em/console from a remote machine
    Thanks in Advance

  • Oracle Wallet Manager will not start with GLIBC_2.0 error

    I have cloned my 11.5.10.2 system from RHEL4 to the new RHEL5 server.
    configured all started non-ssl, configuring ssl and the IAS_ORACLE_HOME cert works fine, but when I try to start wallet manager I get the error
    Starting Oracle Wallet Manager Release 2.1 - Production
    /u01/oraapps/oracle/product/8.0.6/network/jre11/bin/../lib/i686/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM
    Done.
    I have been through most every metalink article and none seem to apply.
    LD_ASSUME_KERNEL is unset
    OA_JRE_TOP, AF_JRE_TOP, AFJVAPRG all point to /user/java/jdk1.6._20 etc as they should
    I also have an iAS 10g server on the same machine and OWM starts fine when I am that user (it was installed new not cloned)
    I assume I am missing a link somewhere but I can't seem to figure out where, anyone have any thoughts? Thanks!

    Hi,
    Does rapidclone now execute the scripts identified in MOS Doc 356878.1 automatically ? It did not used to perform an automatic relink.Rapid Clone always relink the database executable files automatically.
    Thanks,
    Hussein

  • Oracle Wallet Manager won't allow me to create a certificate request

    Hello,
    I am trying to setup my installation with SSL, I am trying to create a certificate request on Oracle Wallet Manager and I keep getting this error:
    "Could not create certificate request. Please check user information"
    I am entering the following information:
    Common Name: portal.grupoalsea.com.mx
    Organizational Unit: Desarrollo
    Organization: Sistema Integral de Administracion, S.A. de C.V.
    Locality/City: Distrito Federal
    State/Province: Mexico
    Country: Mexico
    Key Size: 1024 bits
    Why could this be happening? Does Oracle Wallet Manager go and look for my info some place? Common Name is the name for my site on WebCache, which is in turn mapped to the HTTP Server called Mservicio.localdomain.
    At this point, I have also tried setting the Common Name to other values, like the name of my HTTP Server, the name of my HTTP server without the "localdomain", but I still get the same message.
    Any help will be really appreciated!!!!

    Problem was due to a bug that won't allow to enter commas in Organization Name. All we needed to do is remove the comma from the Organization name and the certificate was correctly created.

  • Unable to import the user certificate into the Oracle Wallet Manager

    Hi,
    I am configuring the External Authentication plugin using the password filters.
    i am using the version 10.1.0.5.0 version of Oracle Wallet manager
    inorder to do that i am enabling the SSL mode.
    to enable the SSL mode i followed the some steps in OWM and OCA admin and user console.
    when i approved a certificate as admin and importing to the Oracle Wallet Manager, i got an error that
    User Certificate Installation failed.
    Possible errors:
    - Input was not a valid certificate
    - No matching certificate request found
    - CA certificate needed for certificate chain not found.
    Please install it first
    can anyone help me how to resolve this problem.

    hi,
    thanks for your reply pramod
    I tried to import the two certificate files(rootca.crt and server.crt). but i am got the same error.
    what may be the problem.

  • Issues with using utl_http with Oracle Wallet

    Hello Everyone,
    We are experimenting with Oracle wallet and utl_http and are attempting to do an https transfer and we are facing some problems. I will appreciate your help greatly if you can advise on what could be wrong. We are on db version 10.2.0.1 and Unix HP-UX. The intention ping an https url and get a simple 200 response. Future development would include get/post XML documents from that url and other interesting stuff. I understand that utl_http with Oracle wallet can be used for this purpose.
    The wallet has been created and the ewallet.p12 exists. We downloaded the SSL certificate from the url's website and uploaded into the wallet.
    Everything works if I put in a url with plain http. However, it does not work with an HTTP*S* url.
    With HTTPS when I run the below code I get the following error. Again, greatly appreciate your time and help because this is the first time we are using Oracle wallet manager and do not know where to go from here.
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1029
    ORA-29268: HTTP client error
    declare
    url varchar2(225);
    req utl_http.req;
    resp utl_http.resp;
    my_proxy BOOLEAN;
    name varchar2(2000);
    value varchar2(2000);
    V_proxy VARCHAR2(2000);
    v_n_proxy varchar2(2000);
    v_msg varchar2(100);
    v_len PLS_INTEGER := 1000;
    BEGIN
    -- Turn off checking of status code.
    utl_http.set_response_error_check(FALSE);
    --Set proxy server
    utl_http.set_proxy('my-proxy');
    utl_http.set_wallet('file:<full Unix path to the wallet on DB server>','wallet998');
    req := utl_http.begin_request('https://service.ariba.com/service/transaction/cxml.asp');
    --Set proxy authentication
    utl_http.set_authentication(req, 'myproxyid', 'myproxypswd','Basic',TRUE); -- Use HTTP Basic
    resp := utl_http.get_response(req);
    FOR i IN 1..utl_http.get_header_count(resp) LOOP
    utl_http.get_header(resp, i, name, value);
    dbms_output.put_line(name || ': ' || value);
    END LOOP;
    utl_http.end_response(resp);
    exception
    when others then
    dbms_output.put_line(sqlerrm);
    END;

    I tried this using plsql ...
    declare
    SOAP_URL constant varchar2(1000) := 'http://125.21.166.27/cordys/com.eibus.web.soap.Gateway.wcp?organization=o=WIPRO,cn=cordys,o=itgi.co.in';
    request      UTL_HTTP.req;
    begin
    dbms_output.put_line('Begin Request');
    request := UTL_HTTP.begin_request(SOAP_URL,'POST',UTL_HTTP.HTTP_VERSION_1_1);
    dbms_output.put_line('After Request');
    exception
    when others then
       dbms_output.put_line('Error : '||sqlerrm);
    end;The output was ...
    Begin Request
    Error : ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1029
    ORA-12535: TNS:operation timed outIt seems to be an issue with the webservice, plz check if its available & allowing requests.

  • Oracle Wallet manager password for B2B Host trading partner

    Hi All,
    I have exported one trusted certificate from B2B midtier wallet manager.
    I have saved it as ora_wallet.txt and and oracle.tip.adapter.b2b.WalletLocation refers to its path.
    I associated host trading partner delivery channel with non-repudiation and encryption.
    Now I need to provide wallet manager password for host trading partner in B2B UI.
    I am providing the password which I used while creating the certificate.
    I am getting following error:
    An error occurred when updating the trading partner.
    Error -: AIP-16001: The model validation engine failed due to an internal system error.
    As a second trail I exported user requested certificate from wallet to B2B but same error
    Where I am doing wrong ?
    Thanks

    Hai Ramesh,
    I did the setup described by you in the last post and I pushed an outbound payload.Fortunately previous error was gone
    Now I am getting following error in log file
    Error -: AIP-50025: Repository error
         at oracle.tip.adapter.b2b.init.Repository.readCertificates(Repository.java:1060)
         at oracle.tip.adapter.b2b.init.Repository.initExchange(Repository.java:487)
         at oracle.tip.adapter.b2b.init.Repository.initialize(Repository.java:557)
         at oracle.tip.adapter.b2b.init.B2BServer.readRepository(B2BServer.java:432)
         at oracle.tip.adapter.b2b.init.B2BServer.initialize(B2BServer.java:164)
         at oracle.tip.adapter.b2b.init.B2BStarter.startB2B(B2BStarter.java:217)
         at oracle.tip.adapter.b2b.init.B2BStarter.run(B2BStarter.java:104)
    Thanks
    Praveen

  • What is the use of Oracle Wallet Manager

    Hello All,
    I have notives that there is a tool called "Oracle Wallet Manager" that is loaded on to my machine.
    After reading the on-line help I figure that It can keep some certificates for me.My question ;
    What is this tool used for?
    Why do we have this tool?
    Does anybody have any whitepapers/ recpies/ examples/ demos
    on this stuff.
    any help will be appreciated.
    regards
    Sanjiv

    Sanjiv.
    Oracle Wallet Manager is a tool to manage internet certificates for clients and servers (databases can have certificates) issued by Certificate Authorities (e.g. Verisign). It can be used in conjunction with Oracle Net/SSL.
    Details on it can be found at the following link:
    http://download-east.oracle.com/otndoc/oracle9i/901_doc/network.901/a90150/asowalet.htm#1006830
    Harold

Maybe you are looking for

  • Download tool part of iso files?

    I have a 2 year old 640 gig dv7 laptop and I received the imminent "hard disk failure" message. So, I backed up the hard drive (8 dvds) and made recovery disks (6 dvds). I bought a new Seagate hard drive of 500 gigs and installed it. I then started t

  • SQL Exception - Invalid Handle

    I am writing a program for a order company using java beans. I have everything working except when i try to add a new item into the database it throws a exception saying: invlaid handle. The code for that bean file is given below..any help will be re

  • Image Cut Off - Q150 connected to a PAN 720p Plasma via HDMI

    Good Morning Everyone! I have the same basic problem described on posting: Q150 connected to TV - bottom of windows task bar is cut off http://forums.lenovo.com/t5/IdeaCentre-Desktops-Home-Servers/Q150-connected-to-TV-bottom-of-windows-... I have th

  • Error - when creating a standby database with EM 10g Grid Control

    Hi, I am experiencing some problems when I want to create through the EM 10g Grid Control a standby database from a allready existing db. At step 2 when the files should be generated and copied to the other system, I am always getting the error that

  • How can I reduce the size of the intrusive coverflow labels?

    In coverflow, the labels block the image of the file and its very difficult to see what is behind it especially if its a short file. Is there a way to reduce this label or hide it? Thank you. I am on Yosemite with the black tower mac pro