Validation result of a compound linestring with Oracle 10.2.0.4

Hello,
I have a question.
I was told that:
"in 10.2.0.4, Oracle no longer allows compound linestrings or compound polygons with one sub-element. For compound elements, there must be at least 2 sub-elements (at least one arcstring and one straight line linestring)."
But in the following test, there is only one arcstring, therefore, the following should be invalidate in Oracle 10.2.0.4
select SDO_GEOM.VALIDATE_GEOMETRY(SDO_GEOMETRY(3002, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 4, 1, 1, 2, 2), SDO_ORDINATE_ARRAY (1271333.86, 519747.853, 0, 1271313.26, 519729.981, 0, 1271302.94, 519704.74, 0)), 0.0005) as valid  FROM dual;I tested with Oracle 10.2.0.4 on:
-- 32-bit Windows 2003 R2
-- 64-bit Solaris 10
-- 64-bit AIX 5.3
The above validation all return true. (also true for Oracle 11.1.0.6.0 on 32-bit Windows 2003 R2).
Do I miss something?
Thanks!
Edited by: modeler on Jun 16, 2009 1:19 PM

This change was not in 10.2.0.4 patch set, but it is part of a one-off patch for bug 7261968 on top of 10.2.0.4.
So this will be in 10.2.0.5 and 11gR2 as well.
siva

Similar Messages

  • Using long vs. clob datatype with Oracle 8.1.7 and interMedia

    I am trying to determine the best datatype to use for a column I
    wish to search using the interMedia contains() function. I am
    developing a 100% java application using Oracle 8.1.7 on Linux.
    I'd prefer to use the standard JDBC API's for PreparedStatement,
    and not have to use Oracle extensions if possible. I've
    discovered that there are limitations in the support for LOB's
    in Oracle's 100% java driver. The PreparedStatement methods
    like setAsciiStream() and setCharacterStream() are documented to
    have flaws that may result in the corruption of data. I have
    also noticed that socket exceptions sometimes occur when a large
    amount of data is transferred. If I use the long datatype for
    my table column, the setCharacterStream() method seems to
    transfer the data correctly. When I try to search this column
    using the interMedia contains() function, I get strange
    results. If I run my search on Oracle 8.1.6 for Windows, the
    results seem to be correct. If I run the same search on Oracle
    8.1.7 for Linux, the results are usually incorrect. The same
    searches seem to work correctly on both boxes when I change the
    column type from long to clob. Using the clob type may not be
    an option for me since the standard JDBC API's to transfer data
    into internal clob fields are broken, and I may need to stick
    with standard JDBC API's. My customer wishes to purchase a
    version of Oracle for Linux that will allow us to implement the
    search capability he requires. Any guidance would be greatly
    appreciated.

    I've finally solved it!
    I downloaded the following jre from blackdown:
    jre118_v3-glibc-2.1.3-DYNMOTIF.tar.bz2
    It's the only one that seems to work (and god, have I tried them all!)
    I've no idea what the DYNMOTIF means (apart from being something to do with Motif - but you don't have to be a linux guru to work that out ;)) - but, hell, it works.
    And after sitting in front of this machine for 3 days trying to deal with Oracle's, frankly PATHETIC install, that's so full of holes and bugs, that's all I care about..
    The one bundled with Oracle 8.1.7 doesn't work with Linux redhat 6.2EE.
    Don't oracle test their software?
    Anyway I'm happy now, and I'm leaving this in case anybody else has the same problem.
    Thanks for everyone's help.

  • Problems setting up Weblogic Server 9.2 with Oracle AQ

    We are in the process of upgrading from WLS81 to WLS92 and I'm currently trying to set up the environment. We have applications communicating with 3 different JMS-servers; Sonic, WMQ and Oracle AQ. For both Sonic and WMQ the connection seem to work fine. We get an active application, and the beans connecting to queues on those servers reports as 'connected'.
              For Oracle AQ I must be doing something wrong, but I can't for the life of me figure out what it is.
              Our setup is as follows:
              We have a domain-scoped startup class that binds the AQ-queues and a custom QueueConnectionFactory to the WL default context. Giving them a name like aqadapter-AQ_ARE_PING.
              We have defined a System Resource, within which we have defined AQ as a Foreign Server. Within this foreign server we have each queue mapped to the queue-names bound through the Startup class. Likewise we have a qcf mapped to the qcf bound through the startup class.
              The application contains message-driven beans which are supposed to be listening to the AQ-queues. In weblogic-ejb-jar.xml each target queue is mapped within each bean to the same name mapped within the Foreign Server element.
              All this results in MDB's that report as 're-connecting' and 'initializing' and the following message in Server1.stdout for each MDB:
              <Mar 28, 2007 4:27:58 PM CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ARE_Ping is unable to connect to the JMS destination: AQ_ARE_PING. The Error was:
              javax.jms.InvalidDestinationException: JMS-125: Invalid Queue specified>
              Any ideas what I am doing wrong? It seems to me that all the settings are as similar as the way they are set up on WLS81 as we could get them.
              Anyone reading this that have done this before? Setting up WLS92 or WLS90 to interact with Oracle AQ?
              Regards,
              Frode Laukus
              Edited by laukus at 03/28/2007 7:53 AM

    Hi Frode
              Have you managed to find a solution to this issue?
              We are trying to do something very similar and encountering all sorts of issues.
              Are you using the DIPSStartup classes to register your queues & qcf with the WL JNDI? I haven't managed to get these classes to work with the AQJmsSession in the latest release of the aqapi13.jar files.
              Hopefully we can sort out a workable solution between us :)
              Andy

  • Database, Dataset, Table Adaptors Error "Unable to load, Update requires a valid DeleteCommand when passed DataRow collection with deleted row"

    Microsoft Visual Basic 2010 Express.
    I am new to Visual Basic programing and i am trying to understand the relationships between Datasets, database, table Adaptors. I have to following code that is is giving me the following error" Unable to load, Update requires a valid DeleteCommand
    when passed DataRow collection with deleted rows". 
    I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    It seems that i can delete the data on the DataGridView Table and it only displays the correct data. but my database is not updating, even though the data grid displays differently.I can determine this because, when i save the offset database, i have all
    the previous uploads and all the rows that i wanted to delete are still there.
    My final goal is to be able to import offset data from a CSV file, save this data on the pc, send a copy of this data to a NuermicUpDown so the customer can modify certain numbers. From here they download all the date to a controller.  IF the customer
    needs to modify the imported data, they can go to a tab with a data grid view and modify the table. They will also have to option to save the modified data into a csv file.  
    Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    CODE:
    Private Function LoadOffSetData()
            Dim LoadOffsetDialog As New OpenFileDialog 'create a new open file dialog and setup its parameters
            LoadOffsetDialog.DefaultExt = "csv"
            LoadOffsetDialog.Filter = "csv|*.csv"
            LoadOffsetDialog.Title = "Load Offset Data"
            LoadOffsetDialog.FileName = "RollCoaterOffset.csv"
            If LoadOffsetDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then  'show the dialog and if the result is ok then
                Try
                    Dim myStream As New System.IO.StreamReader(LoadOffsetDialog.OpenFile) 'try to open the file with a stream reader
                    If (myStream IsNot Nothing) Then 'if the file is valid
                        For Each oldRow As MaterionOffsetDataSet.OffsetTableRow In MaterionOffsetDataSet.OffsetTable.Rows
                            oldRow.Delete()                       
    'delete all of the existing rows
                        Next
                        'OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        Dim rowvalue As String
                        Dim cellvalue(25) As String
                        'Reading CSV file content
                        While myStream.Peek() <> -1
                            Dim NRow As MaterionOffsetDataSet.OffsetTableRow
                            rowvalue = myStream.ReadLine()
                            cellvalue = rowvalue.Split(","c) 'check what is ur separator
                            NRow = MaterionOffsetDataSet.OffsetTable.Rows.Add(cellvalue)
                            Me.OffsetTableTableAdapter.Update(NRow)
                        End While
                        Me.OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        MainOffset.Value = OffsetTableTableAdapter.MainOffsetValue          'saves all the table offsets
    to the offset numericUpDown registers in the main window
                        StationOffset01.Value = OffsetTableTableAdapter.Station01Value
                        StationOffset02.Value = OffsetTableTableAdapter.Station02Value
                       myStream.Close() 'close the stream
                        Return True
                    Else 'if we were not able to open the file then
                        MsgBox("Unable to load, check file name and location") 'let the operator know that the file wasn't able to open
                        Return False
                    End If
                Catch ex As Exception
                    MsgBox("Unable to load, " + ex.Message)
                    Return False
                End Try
            Else
                Return False
            End If
        End Function

    Hello SaulMTZ,
    >>I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    This error usually shows that you do not initialize the
    DeleteCommand object, you could check this
    article to see if you get a workaround.
    >> Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    If you are working CSV file, you could use OleDB to read it which would treat the CSV file as a Table:
    http://www.codeproject.com/Articles/27802/Using-OleDb-to-Import-Text-Files-tab-CSV-custom
    which seems to be easier (in my opinion).
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Configure OID 10.1.4.0.1 with Oracle Application Server 10.1.3.3

    Dear gurus,
    I have configured OID 10.1.4.0.1 and MRCA 10.1.4.0.1 on database 10.2.0.3 with Oracle Application Server 10.1.3.3 (HTTP Server and OC4J Server). it went well, i could login into my oid or sso page. then i deployed a simple jar file into OAS 10.1.3.3 and i updated few lines in mod_osso.conf on midtier 10.1.3.3, so it look like this :
    ==================================================================================================
    LoadModule osso_module libexec/mod_osso.so
    <IfModule mod_osso.c>
    OssoConfigFile /u01/oraias/midtier/Apache/Apache/conf/osso/osso.conf
    OssoIpCheck off
    OssoIdleTimeout off
    # Insert Protected Resources: (see Notes below for how to protect resources)
    # Notes
    # 1. Here's what you need to add to protect a resource,
    # e.g. <ApacheServerRoot>/htdocs/private:
    # <Location /private>
    # require valid-user
    # AuthType Basic
    # </Location>
    <Location /JABSUAT>
    require valid-user
    AuthType Basic
    </Location>
    <Location /HR>
    require valid-user
    AuthType Basic
    </Location>
    </IfModule>
    # If you would like to have short hostnames redirected to
    # fully qualified hostnames to allow clients that need
    ==================================================================================================
    my application faces name is HR, so i called the URL http://devel.sas.co.id:7778/HR/faces/HomeMenu.jspx, the output was sso login page, so i did login with username : orcladmin and password : oracle1 but it turned me error page on browser, it said :
    =========================================================
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    =========================================================
    and i found that in /u02/oid/Apache/Apache/logs/error_log.1249430400 contains these lines :
    [Wed Aug  5 09:13:33 2009] [notice] Accept mutex: fcntl (Default: sysvsem)
    [Wed Aug  5 09:13:33 2009] [warn] long lost child came home! (pid 4924)
    [Wed Aug  5 09:14:01 2009] [error] [client 172.16.2.14] [ecid: 1249438441:172.16.5.11:5080:0:2,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 09:14:04 2009] [error] [client 172.16.2.14] [ecid: 1249438444:172.16.5.11:5068:0:3,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 09:14:24 2009] [error] [client 172.16.2.14] [ecid: 1249438464:172.16.5.11:5093:0:2,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 09:49:36 2009] [error] [client 172.16.2.14] [ecid: 1249440576:172.16.5.11:5074:0:20,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:30:01 2009] [error] [client 172.16.2.14] [ecid: 1249443001:172.16.5.11:5096:0:25,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:34:13 2009] [error] [client 172.16.2.14] [ecid: 1249443253:172.16.5.11:5102:0:26,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:58:58 2009] [error] [client 172.16.2.14] [ecid: 1249444738:172.16.5.11:5093:0:40,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 10:59:09 2009] [error] [client 172.16.2.14] [ecid: 1249444749:172.16.5.11:5093:0:41,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at devel.sas.co.id Port 7782
    Note : 172.16.2.14 is my pc and 172.16.5.11 is OID and MRCA's IP, please need your suggestion, Many Thanks.
    Regards
    Edited by: andes on Aug 4, 2009 9:23 PM
    Edited by: andes on Aug 4, 2009 9:28 PM

    Dear gurus,
    i have solved my problem, i re-run ssoreg.sh and re-configure mod_osso.conf, now it's working.
    Regards

  • Pre-loading Oracle text in memory with Oracle 12c

    There is a white paper from Roger Ford that explains how to load the Oracle index in memory : http://www.oracle.com/technetwork/database/enterprise-edition/mem-load-082296.html
    In our application, Oracle 12c, we are indexing a big XML field (which is stored as XMLType with storage secure file) with the PATH_SECTION_GROUP. If I don't load the I table (DR$..$I) into memory using the technique explained in the white paper then I cannot have decent performance (and especially not predictable performance, it looks like if the blocks from the TOKEN_INFO columns are not memory then performance can fall sharply)
    But after migrating to oracle 12c, I got a different problem, which I can reproduce: when I create the index it is relatively small (as seen with ctx_report.index_size) and by applying the technique from the whitepaper, I can pin the DR$ I table into memory. But as soon as I do a ctx_ddl.optimize_index('Index','REBUILD') the size becomes much bigger and I can't pin the index in memory. Not sure if it is bug or not.
    What I found as work-around is to build the index with the following storage options:
    ctx_ddl.create_preference('TEST_STO','BASIC_STORAGE');
    ctx_ddl.set_attribute ('TEST_STO', 'BIG_IO', 'YES' );
    ctx_ddl.set_attribute ('TEST_STO', 'SEPARATE_OFFSETS', 'NO' );
    so that the token_info column will be stored in a secure file. Then I can change the storage of that column to put it in the keep buffer cache, and write a procedure to read the LOB so that it will be loaded in the keep cache. The size of the LOB column is more or less the same as when creating the index without the BIG_IO option but it remains constant even after a ctx_dll.optimize_index. The procedure to read the LOB and to load it into the cache is very similar to the loaddollarR procedure from the white paper.
    Because of the SDATA section, there is a new DR table (S table) and an IOT on top of it. This is not documented in the white paper (the white paper was written for Oracle 10g). In my case this DR$ S table is much used, and the IOT also, but putting it in the keep cache is not as important as the token_info column of the DR I table. A final note: doing SEPARATE_OFFSETS = 'YES' was very bad in my case, the combined size of the two columns is much bigger than having only the TOKEN_INFO column and both columns are read.
    Here is an example on how to reproduce the problem with the size increasing when doing ctx_optimize
    1. create the table
    drop table test;
    CREATE TABLE test
    (ID NUMBER(9,0) NOT NULL ENABLE,
    XML_DATA XMLTYPE
    XMLTYPE COLUMN XML_DATA STORE AS SECUREFILE BINARY XML (tablespace users disable storage in row);
    2. insert a few records
    insert into test values(1,'<Book><TITLE>Tale of Two Cities</TITLE>It was the best of times.<Author NAME="Charles Dickens"> Born in England in the town, Stratford_Upon_Avon </Author></Book>');
    insert into test values(2,'<BOOK><TITLE>The House of Mirth</TITLE>Written in 1905<Author NAME="Edith Wharton"> Wharton was born to George Frederic Jones and Lucretia Stevens Rhinelander in New York City.</Author></BOOK>');
    insert into test values(3,'<BOOK><TITLE>Age of innocence</TITLE>She got a prize for it.<Author NAME="Edith Wharton"> Wharton was born to George Frederic Jones and Lucretia Stevens Rhinelander in New York City.</Author></BOOK>');
    3. create the text index
    drop index i_test;
      exec ctx_ddl.create_section_group('TEST_SGP','PATH_SECTION_GROUP');
    begin
      CTX_DDL.ADD_SDATA_SECTION(group_name => 'TEST_SGP', 
                                section_name => 'SData_02',
                                tag => 'SData_02',
                                datatype => 'varchar2');
    end;
    exec ctx_ddl.create_preference('TEST_STO','BASIC_STORAGE');
    exec  ctx_ddl.set_attribute('TEST_STO','I_TABLE_CLAUSE','tablespace USERS storage (initial 64K)');
    exec  ctx_ddl.set_attribute('TEST_STO','I_INDEX_CLAUSE','tablespace USERS storage (initial 64K) compress 2');
    exec  ctx_ddl.set_attribute ('TEST_STO', 'BIG_IO', 'NO' );
    exec  ctx_ddl.set_attribute ('TEST_STO', 'SEPARATE_OFFSETS', 'NO' );
    create index I_TEST
      on TEST (XML_DATA)
      indextype is ctxsys.context
      parameters('
        section group   "TEST_SGP"
        storage         "TEST_STO"
      ') parallel 2;
    4. check the index size
    select ctx_report.index_size('I_TEST') from dual;
    it says :
    TOTALS FOR INDEX TEST.I_TEST
    TOTAL BLOCKS ALLOCATED:                                                104
    TOTAL BLOCKS USED:                                                      72
    TOTAL BYTES ALLOCATED:                                 851,968 (832.00 KB)
    TOTAL BYTES USED:                                      589,824 (576.00 KB)
    4. optimize the index
    exec ctx_ddl.optimize_index('I_TEST','REBUILD');
    and now recompute the size, it says
    TOTALS FOR INDEX TEST.I_TEST
    TOTAL BLOCKS ALLOCATED:                                               1112
    TOTAL BLOCKS USED:                                                    1080
    TOTAL BYTES ALLOCATED:                                 9,109,504 (8.69 MB)
    TOTAL BYTES USED:                                      8,847,360 (8.44 MB)
    which shows that it went from 576KB to 8.44MB. With a big index the difference is not so big, but still from 14G to 19G.
    5. Workaround: use the BIG_IO option, so that the token_info column of the DR$ I table will be stored in a secure file and the size will stay relatively small. Then you can load this column in the cache using a procedure similar to
    alter table DR$I_TEST$I storage (buffer_pool keep);
    alter table dr$i_test$i modify lob(token_info) (cache storage (buffer_pool keep));
    rem: now we must read the lob so that it will be loaded in the keep buffer pool, use the prccedure below
    create or replace procedure loadTokenInfo is
      type c_type is ref cursor;
      c2 c_type;
      s varchar2(2000);
      b blob;
      buff varchar2(100);
      siz number;
      off number;
      cntr number;
    begin
        s := 'select token_info from  DR$i_test$I';
        open c2 for s;
        loop
           fetch c2 into b;
           exit when c2%notfound;
           siz := 10;
           off := 1;
           cntr := 0;
           if dbms_lob.getlength(b) > 0 then
             begin
               loop
                 dbms_lob.read(b, siz, off, buff);
                 cntr := cntr + 1;
                 off := off + 4096;
               end loop;
             exception when no_data_found then
               if cntr > 0 then
                 dbms_output.put_line('4K chunks fetched: '||cntr);
               end if;
             end;
           end if;
        end loop;
    end;
    Rgds, Pierre

    I have been working a lot on that issue recently, I can give some more info.
    First I totally agree with you, I don't like to use the keep_pool and I would love to avoid it. On the other hand, we have a specific use case : 90% of the activity in the DB is done by queuing and dbms_scheduler jobs where response time does not matter. All those processes are probably filling the buffer cache. We have a customer facing application that uses the text index to search the database : performance is critical for them.
    What kind of performance do you have with your application ?
    In my case, I have learned the hard way that having the index in memory (the DR$I table in fact) is the key : if it is not, then performance is poor. I find it reasonable to pin the DR$I table in memory and if you look at competitors this is what they do. With MongoDB they explicitly says that the index must be in memory. With elasticsearch, they use JVM's that are also in memory. And effectively, if you look at the awr report, you will see that Oracle is continuously accessing the DR$I table, there is a SQL similar to
    SELECT /*+ DYNAMIC_SAMPLING(0) INDEX(i) */    
    TOKEN_FIRST, TOKEN_LAST, TOKEN_COUNT, ROWID    
    FROM DR$idxname$I
    WHERE TOKEN_TEXT = :word AND TOKEN_TYPE = :wtype    
    ORDER BY TOKEN_TEXT,  TOKEN_TYPE,  TOKEN_FIRST
    which is continuously done.
    I think that the algorithm used by Oracle to keep blocks in cache is too complex. A just realized that in 12.1.0.2 (was released last week) there is finally a "killer" functionality, the in-memory parameters, with which you can pin tables or columns in memory with compression, etc. this looks ideal for the text index, I hope that R. Ford will finally update his white paper :-)
    But my other problem was that the optimize_index in REBUILD mode caused the DR$I table to double in size : it seems crazy that this was closed as not a bug but it was and I can't do anything about it. It is a bug in my opinion, because the create index command and "alter index rebuild" command both result in a much smaller index, so why would the guys that developped the optimize function (is it another team, using another algorithm ?) make the index two times bigger ?
    And for that the track I have been following is to put the index in a 16K tablespace : in this case the space used by the index remains more or less flat (increases but much more reasonably). The difficulty here is to pin the index in memory because the trick of R. Ford was not working anymore.
    What worked:
    first set the keep_pool to zero and set the db_16k_cache_size to instead. Then change the storage preference to make sure that everything you want to cache (mostly the DR$I) table come in the tablespace with the non-standard block size of 16k.
    Then comes the tricky part : the pre-loading of the data in the buffer cache. The problem is that with Oracle 12c, Oracle will use direct_path_read for FTS which basically means that it bypasses the cache and read directory from file to the PGA !!! There is an event to avoid that, I was lucky to find it on a blog (I can't remember which, sorry for the credit).
    I ended-up doing that. the events to 10949 is to avoid the direct path reads issue.
    alter session set events '10949 trace name context forever, level 1';
    alter table DR#idxname0001$I cache;
    alter table DR#idxname0002$I cache;
    alter table DR#idxname0003$I cache;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0001$I;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0002$I;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0003$I;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0001$I ITAB;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0002$I ITAB;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0003$I ITAB;
    It worked. With a big relief I expected to take some time out, but there was a last surprise. The command
    exec ctx_ddl.optimize_index(idx_name=>'idxname',part_name=>'partname',optlevel=>'REBUILD');
    gqve the following
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drftoptrebxch
    ORA-14097: column type or size mismatch in ALTER TABLE EXCHANGE PARTITION
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DDL", line 1141
    ORA-06512: at line 1
    Which is very much exactly described in a metalink note 1645634.1 but in the case of a non-partitioned index. The work-around given seemed very logical but it did not work in the case of a partitioned index. After experimenting, I found out that the bug occurs when the partitioned index is created with  dbms_pclxutil.build_part_index procedure (this enables  enables intra-partition parallelism in the index creation process). This is a very annoying and stupid bug, maybe there is a work-around, but did not find it on metalink
    Other points of attention with the text index creation (stuff that surprised me at first !) ;
    - if you use the dbms_pclxutil package, then the ctx_output logging does not work, because the index is created immediately and then populated in the background via dbms_jobs.
    - this in combination with the fact that if you are on a RAC, you won't see any activity on the box can be very frightening : this is because oracle can choose to start the workers on the other node.
    I understand much better how the text indexing works, I think it is a great technology which can scale via partitioning. But like always the design of the application is crucial, most of our problems come from the fact that we did not choose the right sectioning (we choosed PATH_SECTION_GROUP while XML_SECTION_GROUP is so much better IMO). Maybe later I can convince the dev to change the sectionining, especially because SDATA and MDATA section are not supported with PATCH_SECTION_GROUP (although it seems to work, even though we had one occurence of a bad result linked to the existence of SDATA in the index definition). Also the whole problematic of mixed structured/unstructured searches is completly tackled if one use XML_SECTION_GROUP with MDATA/SDATA (but of course the app was written for Oracle 10...)
    Regards, Pierre

  • Interesting Application Issue with Oracle 11.1.0.6/7 (Long Post)

    Just curious to see if anyone has seen anything like this - this is not a production issue, just something that I find interesting (a challenge if you will).
    I have been testing Oracle 11.1.0.6 and 11.1.0.7 with an ERP package since January and have encountered an interesting issue where the ERP package throws an error "ORA-02005: implicit (-1)
    length not valid for this bind or define datatype" error, when selecting the BLOB column from any table containing a BLOB - this same ERP package executes without problem with Oracle
    10.2.0.2/10.2.0.3/10.2.0.4. The table definition is as follows:
    PART_ID     NOT NULL VARCHAR2(30)
    TYPE        NOT NULL CHAR(1)
    BITS        BLOB
    BITS_LENGTH NOT NULL NUMBER(38)The previous version of the ERP package had the same table defined as follows, and the previous version of the ERP package had no problem with Oracle 11.1.0.6:
    PART_ID     NOT NULL VARCHAR2(30)
    TYPE        NOT NULL CHAR(1)
    BITS        LONG RAW
    BITS_LENGTH NOT NULL NUMBER(38)One of the SQL statements which is tossing the error:
    SELECT BITS FROM PART_MFG_BINARY  where TYPE = :1       and PART_ID = :2
    A portion of a 10046 trace from Oracle 10.2.0.2 for comparison:
    =====================
    PARSING IN CURSOR #2 len=87 dep=0 uid=30 oct=3 lid=30 tim=749963475 hv=1159951869 ad='53a45ac8'
    select mfg_name, mfg_part_id from part where id = :1                                  
    END OF STMT
    PARSE #2:c=0,e=1427,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=749963466
    BINDS #2:
    kkscoacd
    Bind#0
      oacdty=96 mxl=32(09) mxlc=00 mal=00 scl=00 pre=00
      oacflg=01 fl2=1000000 frm=01 csi=178 siz=32 off=0
      kxsbbbfp=380b9b68  bln=32  avl=09  flg=05
      value="98567109M"
    EXEC #2:c=0,e=3357,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=749971833
    FETCH #2:c=0,e=52,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=749971968
    FETCH #2:c=0,e=2,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=749973655
    =====================
    PARSING IN CURSOR #3 len=59 dep=0 uid=30 oct=3 lid=30 tim=749983314 hv=2907586799 ad='5457f690'
    select part_udf_labels from APPLICATION_GLOBAL            
    END OF STMT
    PARSE #3:c=0,e=3389,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=749983305
    BINDS #3:
    EXEC #3:c=0,e=152,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=749986393
    FETCH #3:c=0,e=124,p=0,cr=7,cu=0,mis=0,r=1,dep=0,og=1,tim=749988214
    STAT #3 id=1 cnt=1 pid=0 pos=1 obj=11925 op='TABLE ACCESS FULL APPLICATION_GLOBAL (cr=7 pr=0 pw=0 time=104 us)'
    =====================
    PARSING IN CURSOR #3 len=59 dep=0 uid=30 oct=3 lid=30 tim=749992936 hv=2907586799 ad='5457f690'
    select part_udf_labels from APPLICATION_GLOBAL            
    END OF STMT
    PARSE #3:c=0,e=117,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=749992932
    BINDS #3:
    EXEC #3:c=0,e=83,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=749996097
    FETCH #3:c=0,e=116,p=0,cr=7,cu=0,mis=0,r=1,dep=0,og=1,tim=749997800
    STAT #2 id=1 cnt=1 pid=0 pos=1 obj=12429 op='TABLE ACCESS BY INDEX ROWID PART (cr=3 pr=0 pw=0 time=48 us)'
    STAT #2 id=2 cnt=1 pid=1 pos=1 obj=12436 op='INDEX UNIQUE SCAN SYS_C005496 (cr=2 pr=0 pw=0 time=28 us)'
    =====================
    PARSING IN CURSOR #2 len=99 dep=0 uid=30 oct=3 lid=30 tim=750003263 hv=1519706035 ad='7e235fc0'
    SELECT BITS FROM PART_MFG_BINARY  where TYPE = :1       and PART_ID = :2                          
    END OF STMT
    PARSE #2:c=0,e=1100,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=750003255
    BINDS #2:
    kkscoacd
    Bind#0
      oacdty=96 mxl=32(01) mxlc=00 mal=00 scl=00 pre=00
      oacflg=01 fl2=1000000 frm=01 csi=178 siz=64 off=0
      kxsbbbfp=380bdcd8  bln=32  avl=01  flg=05
      value="D"
    Bind#1
      oacdty=96 mxl=32(09) mxlc=00 mal=00 scl=00 pre=00
      oacflg=01 fl2=1000000 frm=01 csi=178 siz=0 off=32
      kxsbbbfp=380bdcf8  bln=32  avl=09  flg=01
      value="98567109M"
    EXEC #2:c=0,e=2512,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=750022595
    FETCH #2:c=0,e=33,p=0,cr=1,cu=0,mis=0,r=0,dep=0,og=1,tim=750024142
    STAT #2 id=1 cnt=0 pid=0 pos=1 obj=101246 op='TABLE ACCESS BY INDEX ROWID PART_MFG_BINARY (cr=1 pr=0 pw=0 time=30 us)'
    STAT #2 id=2 cnt=0 pid=1 pos=1 obj=101249 op='INDEX UNIQUE SCAN SYS_C0018720 (cr=1 pr=0 pw=0 time=21 us)'
    =====================
    A portion of a 10046 trace from Oracle 11.1.0.6:
    =====================
    PARSING IN CURSOR #3 len=87 dep=0 uid=59 oct=3 lid=59 tim=1023659125907 hv=1159951869 ad='22a109c8' sqlid='7k8rzcj2k6xgx'
    select mfg_name, mfg_part_id from part where id = :1                                  
    END OF STMT
    PARSE #3:c=0,e=432,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=1023659125903
    BINDS #3:
    Bind#0
      oacdty=96 mxl=32(09) mxlc=00 mal=00 scl=00 pre=00
      oacflg=01 fl2=1000000 frm=01 csi=178 siz=32 off=0
      kxsbbbfp=0c6e0fd4  bln=32  avl=09  flg=05
      value="98567109M"
    EXEC #3:c=0,e=1068,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=1023659130848
    FETCH #3:c=0,e=37,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=1023659132062
    STAT #3 id=1 cnt=1 pid=0 pos=1 obj=67567 op='TABLE ACCESS BY INDEX ROWID PART (cr=3 pr=0 pw=0 time=0 us cost=2 size=14 card=1)'
    STAT #3 id=2 cnt=1 pid=1 pos=1 obj=69248 op='INDEX UNIQUE SCAN SYS_C0011926 (cr=2 pr=0 pw=0 time=0 us cost=1 size=0 card=1)'
    =====================
    PARSING IN CURSOR #6 len=59 dep=0 uid=59 oct=3 lid=59 tim=1023659138710 hv=2907586799 ad='22a44ae8' sqlid='3n102kqqnwh7g'
    select part_udf_labels from APPLICATION_GLOBAL            
    END OF STMT
    PARSE #6:c=0,e=701,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=1023659138706
    BINDS #6:
    EXEC #6:c=0,e=51,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=1023659142030
    FETCH #6:c=0,e=55,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=1023659143936
    STAT #6 id=1 cnt=1 pid=0 pos=1 obj=67410 op='TABLE ACCESS FULL APPLICATION_GLOBAL (cr=3 pr=0 pw=0 time=0 us cost=3 size=146 card=1)'
    =====================
    PARSING IN CURSOR #6 len=59 dep=0 uid=59 oct=3 lid=59 tim=1023659148354 hv=2907586799 ad='22a44ae8' sqlid='3n102kqqnwh7g'
    select part_udf_labels from APPLICATION_GLOBAL            
    END OF STMT
    PARSE #6:c=0,e=40,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=1023659148351
    BINDS #6:
    EXEC #6:c=0,e=89,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=1023659151927
    FETCH #6:c=0,e=46,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=1023659153664
    STAT #6 id=1 cnt=1 pid=0 pos=1 obj=67410 op='TABLE ACCESS FULL APPLICATION_GLOBAL (cr=3 pr=0 pw=0 time=0 us cost=3 size=146 card=1)'
    =====================
    PARSING IN CURSOR #3 len=99 dep=0 uid=59 oct=3 lid=59 tim=1023659158452 hv=1519706035 ad='22a10580' sqlid='gm6bkj9d99rxm'
    SELECT BITS FROM PART_MFG_BINARY  where TYPE = :1       and PART_ID = :2                          
    END OF STMT
    PARSE #3:c=0,e=399,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=1023659158448
    XCTEND rlbk=1, rd_only=1In the above, notice the rollback (XCTEND rlbk=1, rd_only=1) before Oracle would have output the bind variable values in the trace file (bind variable values were never written).
    (Continued...)
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

    SQLNet Trace at level 16, 10.2.0.1 client -> 10.2.0.2 server, no problems
    nioqrc: entry
    nsdo: entry
    nsdo: cid=0, opcode=84, *bl=0, *what=1, uflgs=0x20, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nsdofls: entry
    nsdofls: DATA flags: 0x0
    nsdofls: sending NSPTDA packet
    nspsend: entry
    nspsend: plen=276, type=6
    nttwr: entry
    nttwr: socket 340 had bytes written=276
    nttwr: exit
    nspsend: packet dump
    nspsend: 01 14 00 00 06 00 00 00  |........|
    nspsend: 00 00 03 5E 85 09 80 02  |...^....|
    nspsend: 00 02 00 00 00 01 63 00  |......c.|
    nspsend: 00 00 01 0D 00 00 00 00  |........|
    nspsend: 01 00 00 00 00 01 00 00  |........|
    nspsend: 00 00 00 00 00 01 02 00  |........|
    nspsend: 00 00 00 00 00 00 01 01  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 01 63 53 45 4C 45 43  |..cSELEC|
    nspsend: 54 20 42 49 54 53 20 46  |T.BITS.F|
    nspsend: 52 4F 4D 20 50 41 52 54  |ROM.PART|
    nspsend: 5F 4D 46 47 5F 42 49 4E  |_MFG_BIN|
    nspsend: 41 52 59 20 20 77 68 65  |ARY..whe|
    nspsend: 72 65 20 54 59 50 45 20  |re.TYPE.|
    nspsend: 3D 20 3A 31 20 20 20 20  |=.:1....|
    nspsend: 20 20 20 61 6E 64 20 50  |...and.P|
    nspsend: 41 52 54 5F 49 44 20 3D  |ART_ID.=|
    nspsend: 20 3A 32 20 20 20 20 20  |.:2.....|
    nspsend: 20 20 20 20 20 20 20 20  |........|
    nspsend: 20 20 20 20 20 20 20 20  |........|
    nspsend: 20 20 20 20 20 20 01 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 01 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 01 80 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 01  |........|
    nspsend: 80 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00              |....    |
    nspsend: 276 bytes to transport
    nspsend: normal exit
    nsdofls: exit (0)
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, *bl=0, *what=0, uflgs=0x0, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: switching to application buffer
    nsrdr: entry
    nsrdr: recving a packet
    nsprecv: entry
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 340 had bytes read=223
    nttrd: exit
    nsprecv: 223 bytes from transport
    nsprecv: tlen=223, plen=223, type=6
    nsprecv: packet dump
    nsprecv: 00 DF 00 00 06 00 00 00  |........|
    nsprecv: 00 00 10 17 34 44 80 BB  |....4D..|
    nsprecv: 49 5F 2C 75 8A 72 99 F9  |I_,u.r..|
    nsprecv: B3 DF 94 5A 78 6C 0B 18  |...Zxl..|
    nsprecv: 08 30 12 00 00 00 00 01  |.0......|
    nsprecv: 00 00 00 4D 71 00 00 00  |...Mq...|
    nsprecv: A0 0F 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 01 04 04 00 00 00 04  |........|
    nsprecv: 42 49 54 53 00 00 00 00  |BITS....|
    nsprecv: 00 00 00 00 00 00 07 00  |........|
    nsprecv: 00 00 07 78 6C 0B 18 0C  |...xl...|
    nsprecv: 17 2C 01 00 00 00 E8 1F  |.,......|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 08 06 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 02 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 04 01 00  |........|
    nsprecv: 00 00 83 01 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 02 00  |........|
    nsprecv: 11 00 03 00 00 00 00 00  |........|
    nsprecv: C3 88 01 00 04 00 00 0D  |........|
    nsprecv: EA 0A 00 0E 00 00 00 00  |........|
    nsprecv: 00 00 85 00 00 01 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00     |....... |
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsrdr: normal exit
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: *what=1, *bl=2001
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nioqrc: exit
    nioqsn: entry
    nioqsn: exit
    nioqrc: entry
    nsdo: entry
    nsdo: cid=0, opcode=84, *bl=0, *what=1, uflgs=0x20, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nsdofls: entry
    nsdofls: DATA flags: 0x0
    nsdofls: sending NSPTDA packet
    nspsend: entry
    nspsend: plen=218, type=6
    nttwr: entry
    nttwr: socket 340 had bytes written=218
    nttwr: exit
    nspsend: packet dump
    nspsend: 00 DA 00 00 06 00 00 00  |........|
    nspsend: 00 00 03 5E 86 78 80 00  |...^.x..|
    nspsend: 00 02 00 00 00 00 00 00  |........|
    nspsend: 00 00 01 0D 00 00 00 00  |........|
    nspsend: 01 00 00 00 00 01 00 00  |........|
    nspsend: 00 14 00 00 00 01 02 00  |........|
    nspsend: 00 00 00 00 00 00 01 01  |........|
    nspsend: 01 00 00 00 00 00 00 00  |........|
    nspsend: 00 01 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 01 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 60 01  |......`.|
    nspsend: 00 00 01 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 B2 00 01 00  |........|
    nspsend: 00 00 00 60 01 00 00 09  |...`....|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 B2 00 01 00 00 00 00  |........|
    nspsend: 71 05 00 00 14 00 00 00  |q.......|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 07 01 44  |.......D|
    nspsend: 09 30 39 35 34 37 30 30  |.9856710|
    nspsend: 39 4D                    |9M      |
    nspsend: 218 bytes to transport
    nspsend: normal exit
    nsdofls: exit (0)
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, *bl=0, *what=0, uflgs=0x0, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: switching to application buffer
    nsrdr: entry
    nsrdr: recving a packet
    nsprecv: entry
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 340 had bytes read=223
    nttrd: exit
    nsprecv: 223 bytes from transport
    nsprecv: tlen=223, plen=223, type=6
    nsprecv: packet dump
    nsprecv: 00 DF 00 00 06 00 00 00  |........|
    nsprecv: 00 00 10 17 34 44 80 BB  |....4D..|
    nsprecv: 49 5F 2C 75 8A 72 99 F9  |I_,u.r..|
    nsprecv: B3 DF 94 5A 78 6C 0B 18  |...Zxl..|
    nsprecv: 08 30 12 00 00 00 00 01  |.0......|
    nsprecv: 00 00 00 4D 71 00 00 00  |...Mq...|
    nsprecv: A0 0F 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 01 04 04 00 00 00 04  |........|
    nsprecv: 42 49 54 53 00 00 00 00  |BITS....|
    nsprecv: 00 00 00 00 00 00 07 00  |........|
    nsprecv: 00 00 07 78 6C 0B 18 0C  |...xl...|
    nsprecv: 17 2C 01 00 00 00 E8 1F  |.,......|
    nsprecv: 00 00 02 00 00 00 02 00  |........|
    nsprecv: 00 00 08 06 00 B5 D0 3D  |.......=|
    nsprecv: 47 00 00 00 00 02 00 00  |G.......|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 04 01 00  |........|
    nsprecv: 00 00 84 01 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 02 00  |........|
    nsprecv: 00 00 03 00 00 00 00 00  |........|
    nsprecv: C3 88 01 00 04 00 00 0D  |........|
    nsprecv: EA 0A 00 0E 00 00 00 00  |........|
    nsprecv: 00 00 86 00 00 01 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00     |....... |
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsrdr: normal exit
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: *what=1, *bl=2001
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nioqrc: exit
    nioqsn: entry
    nioqsn: exit
    nioqrc: entry
    nsdo: entry
    nsdo: cid=0, opcode=84, *bl=0, *what=1, uflgs=0x20, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nsdofls: entry
    nsdofls: DATA flags: 0x0
    nsdofls: sending NSPTDA packet
    nspsend: entry
    nspsend: plen=21, type=6
    nttwr: entry
    nttwr: socket 340 had bytes written=21
    nttwr: exit
    nspsend: packet dump
    nspsend: 00 15 00 00 06 00 00 00  |........|
    nspsend: 00 00 03 05 87 02 00 00  |........|
    nspsend: 00 01 00 00 00           |.....   |
    nspsend: 21 bytes to transport
    nspsend: normal exit
    nsdofls: exit (0)
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, *bl=0, *what=0, uflgs=0x0, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: switching to application buffer
    nsrdr: entry
    nsrdr: recving a packet
    nsprecv: entry
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 340 had bytes read=102
    nttrd: exit
    nsprecv: 102 bytes from transport
    nsprecv: tlen=102, plen=102, type=6
    nsprecv: packet dump
    nsprecv: 00 66 00 00 06 00 00 00  |.f......|
    nsprecv: 00 00 04 01 00 00 00 85  |........|
    nsprecv: 01 00 00 00 00 7B 05 00  |.....{..|
    nsprecv: 00 00 00 02 00 00 00 03  |........|
    nsprecv: 00 00 00 00 00 C3 88 01  |........|
    nsprecv: 00 04 00 00 0D EA 0A 00  |........|
    nsprecv: 0E 00 00 00 00 00 00 87  |........|
    nsprecv: 00 00 01 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 19 4F 52 41  |.....ORA|
    nsprecv: 2D 30 31 34 30 33 3A 20  |-01403:.|
    nsprecv: 6E 6F 20 64 61 74 61 20  |no.data.|
    nsprecv: 66 6F 75 6E 64 0A        |found.  |
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsrdr: normal exit
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: *what=1, *bl=2001
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nioqrc: exit
    SQLNet Trace at level 16, 10.2.0.1 client -> 11.1.0.6 server, not successful
    nioqrc: entry
    nsdo: entry
    nsdo: cid=0, opcode=84, *bl=0, *what=1, uflgs=0x20, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nsdofls: entry
    nsdofls: DATA flags: 0x0
    nsdofls: sending NSPTDA packet
    nspsend: entry
    nspsend: plen=177, type=6
    nttwr: entry
    nttwr: socket 308 had bytes written=177
    nttwr: exit
    nspsend: packet dump
    nspsend: 00 B1 00 00 06 00 00 00  |........|
    nspsend: 00 00 03 4A FE 01 00 00  |...J....|
    nspsend: 00 03 00 00 00 78 14 FD  |.....x..|
    nspsend: 02 63 00 00 00 00 00 00  |.c......|
    nspsend: 00 00 00 00 00 48 D8 12  |.....H..|
    nspsend: 00 01 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 00 00 00 00 00 00 00  |........|
    nspsend: 00 63 53 45 4C 45 43 54  |.cSELECT|
    nspsend: 20 42 49 54 53 20 46 52  |.BITS.FR|
    nspsend: 4F 4D 20 50 41 52 54 5F  |OM.PART_|
    nspsend: 4D 46 47 5F 42 49 4E 41  |MFG_BINA|
    nspsend: 52 59 20 20 77 68 65 72  |RY..wher|
    nspsend: 65 20 54 59 50 45 20 3D  |e.TYPE.=|
    nspsend: 20 3A 31 20 20 20 20 20  |.:1.....|
    nspsend: 20 20 61 6E 64 20 50 41  |..and.PA|
    nspsend: 52 54 5F 49 44 20 3D 20  |RT_ID.=.|
    nspsend: 3A 32 20 20 20 20 20 20  |:2......|
    nspsend: 20 20 20 20 20 20 20 20  |........|
    nspsend: 20 20 20 20 20 20 20 20  |........|
    nspsend: 20 20 20 20 20 02 00 00  |........|
    nspsend: 00                       |.       |
    nspsend: 177 bytes to transport
    nspsend: normal exit
    nsdofls: exit (0)
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, *bl=0, *what=0, uflgs=0x0, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: switching to application buffer
    nsrdr: entry
    nsrdr: recving a packet
    nsprecv: entry
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 308 had bytes read=106
    nttrd: exit
    nsprecv: 106 bytes from transport
    nsprecv: tlen=106, plen=106, type=6
    nsprecv: packet dump
    nsprecv: 00 6A 00 00 06 00 00 00  |.j......|
    nsprecv: 00 00 04 05 00 00 00 FC  |........|
    nsprecv: 01 01 01 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 03 00 00 00  |........|
    nsprecv: 03 00 00 00 00 00 30 0A  |......0.|
    nsprecv: 01 00 05 00 00 00 86 2A  |.......*|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 FE 00 00 01 00  |........|
    nsprecv: 00 00 36 01 00 00 00 00  |..6.....|
    nsprecv: 00 00 58 BF 0C 0E 00 00  |..X.....|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00                    |..      |
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsrdr: normal exit
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: *what=1, *bl=2001
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nioqrc: exit
    nioqsn: entry
    nioqsn: exit
    nioqrc: entry
    nsdo: entry
    nsdo: cid=0, opcode=84, *bl=0, *what=1, uflgs=0x20, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nsdofls: entry
    nsdofls: DATA flags: 0x0
    nsdofls: sending NSPTDA packet
    nspsend: entry
    nspsend: plen=49, type=6
    nttwr: entry
    nttwr: socket 308 had bytes written=49
    nttwr: exit
    nspsend: packet dump
    nspsend: 00 31 00 00 06 00 00 00  |.1......|
    nspsend: 00 00 03 2B FF 03 00 00  |...+....|
    nspsend: 00 01 00 00 00 90 DA C2  |........|
    nspsend: 01 60 A2 C2 01 20 00 00  |.`......|
    nspsend: 00 92 DA C2 01 94 DA C2  |........|
    nspsend: 01 C0 03 00 00 54 DE C2  |.....T..|
    nspsend: 01                       |.       |
    nspsend: 49 bytes to transport
    nspsend: normal exit
    nsdofls: exit (0)
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, *bl=0, *what=0, uflgs=0x0, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: switching to application buffer
    nsrdr: entry
    nsrdr: recving a packet
    nsprecv: entry
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 308 had bytes read=79
    nttrd: exit
    nsprecv: 79 bytes from transport
    nsprecv: tlen=79, plen=79, type=6
    nsprecv: packet dump
    nsprecv: 00 4F 00 00 06 00 00 00  |.O......|
    nsprecv: 00 00 08 01 00 01 00 01  |........|
    nsprecv: 71 00 00 00 A0 0F 00 00  |q.......|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 01 04 00 00 00 00 00 00  |........|
    nsprecv: 00 00 00 00 00 00 00 00  |........|
    nsprecv: 05 00 05 42 49 54 53 22  |...BITS"|
    nsprecv: 09 05 00 00 00 FD 01     |....... |
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsrdr: normal exit
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: *what=1, *bl=2001
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nioqrc: exit
    nioqsn: entry
    nioqsn: exit
    nioqrc: entry
    nsdo: entry
    nsdo: cid=0, opcode=84, *bl=0, *what=1, uflgs=0x20, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nsdofls: entry
    nsdofls: DATA flags: 0x0
    nsdofls: sending NSPTDA packet
    nspsend: entry
    nspsend: plen=33, type=6
    nttwr: entry
    nttwr: socket 308 had bytes written=33
    nttwr: exit
    nspsend: packet dump
    nspsend: 00 21 00 00 06 00 00 00  |.!......|
    nspsend: 00 00 03 15 00 D5 07 00  |........|
    nspsend: 00 00 00 00 00 EB 8B DB  |........|
    nspsend: 00 C8 00 00 00 48 D8 12  |.....H..|
    nspsend: 00                       |.       |
    nspsend: 33 bytes to transport
    nspsend: normal exit
    nsdofls: exit (0)
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, *bl=0, *what=0, uflgs=0x0, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: switching to application buffer
    nsrdr: entry
    nsrdr: recving a packet
    nsprecv: entry
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 308 had bytes read=96
    nttrd: exit
    nsprecv: 96 bytes from transport
    nsprecv: tlen=96, plen=96, type=6
    nsprecv: packet dump
    nsprecv: 00 60 00 00 06 00 00 00  |.`......|
    nsprecv: 00 00 08 4B 00 4B 4F 52  |...K.KOR|
    nsprecv: 41 2D 30 32 30 30 35 3A  |A-02005:|
    nsprecv: 20 69 6D 70 6C 69 63 69  |.implici|
    nsprecv: 74 20 28 2D 31 29 20 6C  |t.(-1).l|
    nsprecv: 65 6E 67 74 68 20 6E 6F  |ength.no|
    nsprecv: 74 20 76 61 6C 69 64 20  |t.valid.|
    nsprecv: 66 6F 72 20 74 68 69 73  |for.this|
    nsprecv: 20 62 69 6E 64 20 6F 72  |.bind.or|
    nsprecv: 20 64 65 66 69 6E 65 20  |.define.|
    nsprecv: 64 61 74 61 74 79 70 65  |datatype|
    nsprecv: 0A 09 05 00 00 00 FD 01  |........|
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsrdr: normal exit
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: *what=1, *bl=2001
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: normal exit
    nioqrc: exit
    nioqsn: entry
    nioqsn: exit
    nioqrc: entry
    nsdo: entry
    nsdo: cid=0, opcode=84, *bl=0, *what=1, uflgs=0x20, cflgs=0x3
    snsbitts_ts: entry
    snsbitts_ts: acquired the bit
    snsbitts_ts: normal exit
    nsdo: rank=64, nsctxrnk=0
    snsbitcl_ts: entry
    snsbitcl_ts: normal exit
    nsdo: nsctx: state=8, flg=0x400d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    {code}
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &

  • Facing Issue With Oracle SOA Suite 11.1.1.3.0

    Hi All,
    I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0.
    Hope you people can help us out.
    Please find the issue details below along with all the relevant information’s
    I have following SOA suite installation at my server:
    Oracle 10g Express Edition Universal 10.2.0.1
    RCU 11.1.1.3.3
    Web Logic Server 10.3.3.0
    SOA suite 11.1.1.3.0
    JDeveloper 11.1.1.3.0
    The first thing what I have done is created a web service and deployed it to server without any issue.
    After that I created proxy client for that service and accessed it successfully from the client end.
    Till here no issue occurs.
    After that I applied few policies on top of web service and deployed it to server.
    The policy I had chosen was “oracle/wss_username_token_service_policy” [coming under OWSM policies list]
    While deploying there was no issue, all went well.
    2nd step I had created client using “oracle/wss_username_token_client_policy” policy which is counter part of above policy and tried to access the web service but failed.
    I have followed this blog:
    [http://biemond.blogspot.com/2010/08/things-you-need-to-do-for-owsm-11g.html ]
    Please have a look on service and client code:
    Service Code:
    package Demo_ScoreCard;
    import javax.jws.WebService;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
    @WebService
    @SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
    public class ScoreCardWithPolicy {
    public double getPercentageWithPolicy(double markEng,double markMath,double markHindi,double markScience,double markSsc)
    double result;
    result= ((markEng+markHindi+markMath+markScience+markSsc)/500)*100;
    return result;
    Client Code:
    package com.tec.proxy.client;
    import java.util.Map;
    import javax.xml.ws.BindingProvider;
    import javax.xml.ws.WebServiceRef;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
    public class ScoreCardWithPolicyPortClient {
    @WebServiceRef
    private static ScoreCardWithPolicyService scoreCardWithPolicyService;
    public static void main(String[] args) {
    scoreCardWithPolicyService = new ScoreCardWithPolicyService();
    SecurityPolicyFeature[] securityFeatures =new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_http_token_client_policy") };
    ScoreCardWithPolicy scoreCardWithPolicy =scoreCardWithPolicyService.getScoreCardWithPolicyPort(securityFeatures);
    Map<String, Object> reqContext =((BindingProvider)scoreCardWithPolicy).getRequestContext();
    reqContext.put(BindingProvider.USERNAME_PROPERTY, "testclient");
    reqContext.put(BindingProvider.PASSWORD_PROPERTY, "test12345"); // I have added this to the myrealm from console under security realms
    double arg1 = 77.2;
    double arg2 = 79.2;
    double arg3 = 77.2;
    double arg4 = 76.2;
    double arg5 = 67.2;
    double clientResult =scoreCardWithPolicy.getPercentageWithPolicy(arg1, arg2, arg3, arg4,arg5);
    System.out.println("clientResult with policy =====> " + clientResult);
    Error Log:
    SEVERE: WSM-07617 Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    SEVERE: WSMAgentHook: An Exception is thrown: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    Exception in thread "main" javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
    at oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:206)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java:105)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createClient(TubeFactory.java:68)
    at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:148)
    at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:467)
    at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:689)
    at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:667)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalGetPort(WLSProvider.java:855)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$PortClientInstanceFactory.createClientInstance(WLSProvider.java:967)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:621)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:486)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:782)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
    at javax.xml.ws.Service.getPort(Service.java:133)
    at com.tec.proxy.client.ScoreCardWithPolicyService.getScoreCardWithPolicyPort(ScoreCardWithPolicyService.java:86)
    at com.tec.proxy.client.ScoreCardWithPolicyPortClient.main(ScoreCardWithPolicyPortClient.java:23)
    Process exited with exit code 1.
    Not getting any help from any blog. Just wondering why this error is coming. I would be glad if you can help us in this regard.
    Apart from above issue I have few queries like:
    1.What is difference between OWSM policies and WLS policies?
    2.Are these the only policies we can apply on top of services?
    3.If some one wants to configure his own custom policies than what need to be done
    4.Could anyone please provide some useful links to implement ENCYPTION and SIGNATURE on top of web services?
    5.And If I am not wrong, I guess Oracle Service BUS OSB 11.1.1.3 has been removed from the main download link and version 11.1.1.4 has been provided. Is it
    compatible with SOA suite 11.1.1.3.0? If not where can I get OSB 11.1.1.3?
    Looking forward to hear from you people.
    Thanks
    Arvind
    Edited by: user8490871 on Apr 15, 2011 12:53 AM
    Edited by: user8490871 on Apr 15, 2011 12:53 AM

    Hi,
    I don't know why u get an error. Here are answers for additional questions:
    1. OWSM policies are for web services. WLS policies are based on Java EE security. They are used to protect resources e.g. URL, EJB
    2. I don't know about other policies
    3. See http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/owsm_appendix.htm#CHDCHFBH
    4. See http://download.oracle.com/docs/cd/E14571_01/security.1111/e10037/toc.htm
    5. I can see OSB 11.1.1.3 download link here
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    Regards,
    Milan

  • WLCS with Oracle 8.1.5 Anyone done it?

    Looks like my last post didn't make it, so I'll try again. I'm trying to
    install Commerce Server with Oracle 8.1.5. The connection pools (docPool
    and commercePool) start up with no problems. But when it starts to
    deploy the EJBs. I get the exception below. WLCS worked when I was using
    the Cloudscape database. The com.sun.xml.parser.Parser and related
    classes are only found in the weblogicaux.jar, so I know I'm not picking
    up any older versions in my classpaths. My platform is:
    NT 4.0 sp6
    Oracle 8.1.5 (nt)
    Weblogic 5.1 sp4
    WLCS 2.0.1 sp1
    I'd like to here (and get a copy of your sethome.bat) from anyone who
    has succesfully deployed CS with Oracle.
    Thanks,
    Lance Smith
    Fri Aug 11 12:34:43 PDT 2000:<I> <EJB> Enterprise JavaBeans initializing
    Fri Aug 11 12:34:44 PDT 2000:<E> <EJB> Could not deploy:
    'C:/weblogiccommerce/lib/axiom-bmp-deploy.jar': file is not a valid jar
    file, or does not
    contain a valid bean
    weblogic.ejb.common.DeploymentException: DeploymentException opening JAR
    file C:\weblogiccommerce\lib\axiom-bmp-deploy.jar; nested exception is:
    weblogic.ejb.deployment.JarLoadException - with nested
    exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogiccommerce/lib/axiom-bmp-deploy.jar from
    C:\weblogiccommerce\lib\axiom-bmp-deploy.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR file
    'C:\WebLogicCommerce\server\tmp_deployments\ejbjar26335.jar'
    weblogic.ejb.common.DeploymentException: Failed to parse
    C:\WebLogicCommerce\server\tmp_deployments\ejbjar26335.jar; nested
    exception is:
            Received SAXParseException from Sun Parser at line 161, column
    -1: org.xml.sax.SAXParseException: Element "weblogic-enterprise-bean"
    allows no further input; "transaction-isolation" is not allowed.
    org.xml.sax.SAXParseException: Element "weblogic-enterprise-bean" allows
    no further input; "transaction-isolation" is not allowed.
       at com.sun.xml.parser.Parser.error(Parser.java:2775)
       at com.sun.xml.parser.ValidatingParser$ChildrenValidator.consume(V
       at com.sun.xml.parser.Parser.maybeElement(Parser.java:1280)
       at com.sun.xml.parser.Parser.content(Parser.java:1498)
       at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
       at com.sun.xml.parser.Parser.content(Parser.java:1498)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Otis Gospodnetic:
    Hi,
    Does anyone know if it is possible to just install 8.1.6 version of Oracle's JDBC drivers and use them with Oracle 8.1.5?
    Do JDBC drivers have some requirements? (e.g. OCI driver required libocijdbc.so or whatever it is called). Anything else?
    Thanks,
    Otis
    <HR></BLOCKQUOTE>
    8.1.6 drivers will connect to an 815 server. In fact all our drivers connect to all our server from 7.3 to 8.1.6.

  • Steps to UTF-8 Encoding with Oracle 8i and Weblogic 6.1SP1

    What are the Steps to UTF-8 Encoding with Oracle 8i and Weblogic
              6.1SP1?
              I have:
              - Oracle 8.1.5 database created with character set=UTF8 and national
              character set=UTF8
              - Weblogic 6.1SP1 without any encoding mechanism set
              (though I did play with
              <jsp-param><param-name>encoding</param-name>
              <param-value>UTF-8</param-value>
              </jsp-param>
              in the weblogic.xml for a while though it seemed not to make a
              difference)
              - JSP pages set to content='text/html; charset=UTF-8'
              - JSP form POSTs set to enctype="UTF-8"
              I can copy and paste Chinese Kanji from a UTF8 encoded web page into
              form text boxes but when I post the data it comes back as different
              Kanji. Then once it is posted the Kanji stays the same on repeated
              posts. The same Kanji text also looks different when viewed in a form
              text box than when viewed as straight text on the page.
              Is there anything else? Or am I already encoding characters twice?
              Please help!
              Mel Christie
              

    Hi Experts,
    Please correct me if am asking you the question in wrong way.
    I have ARCGIS with oracle database 10gr2 in production server.
    My work is to connect AUTOCAD S/W (client computer which is connected in LAN) to ARCGIS in order to access the toposheets available in SDE user.
    When iam trying to connect iam getting this error:The specified credentials are not valid or provider is not able to establish a connection.
    I checked the path to production server by pinging and user/passcode too but not helpful.
    Please help me in this , very urgent.
    Thanks.
    Edited by: user13355644 on Jul 3, 2010 3:53 AM
    Edited by: user13355644 on Jul 22, 2011 2:55 AM

  • A lot of problems with Oracle BI SEE 11g

    I have a lot of problems with Oracle BI SEE 11g
    1. I upgraded my BI SEE 10 repository and can it openning in offline mode.
    2. I can't deploy my upgraded repository in EM MW Control 11g - when i try to open Farm_bifoundation_domain->Business Intelligence->coreapplication, i get error "Stream closed
    For more information, please see the server's error log for an entry beggining with: Server Exception during PPR, #41".
    Opening Logs by EM control doesn't work too.
    in file middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\logs\AdminServer.log i see this event:
    <Error> <HTTP> <oratest.itera.ru> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <b639ac3e56e9a463:bd6fa7f:12ac7271e09:-8000-00000000000009e8> <1283408423378> <BEA-101019> <[ServletContext@329875093[app:em module:/em path:/em spec-version:2.5]] Servlet failed with IOException
    java.io.IOException: Stream closed
    Have you any ideas?
    3. Ok, i taking sample repository and adding a new datasource in it:
    Database: Oracle 8i
    Connection pool:
    Call interface OCI 8i/9i
    Data source name:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = oraapp) (Port = 1521) ) ) (CONNECT_DATA = (SID = MYSID) ) )
    This settings are working fine in BI 10.
    In BI 11g i get this funny error: "The connection has failed". I lost my time in attempts to connect to Oracle DB 8, but have not results. After that i hacked button "Query DBMS" at "Features" tab, pressed it and when get error "ORA-03134: Connections to this server version are no longer supported.".
    Therefore Oracle 8 DB as datasource not supported. Am i right?
    4. In sample repository i added oracle DB 10 as datasource, then added two dual tables and their connection to all layers.
    Now i open BI Answers, and trying to create report with one dummy column, Now i have this error:
    Error
         View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 42016] Check database specific features table. Must be able to push at least a single table reference to a remote database (HY000)
    SQL Issued: SELECT s_0, s_1 FROM ( SELECT 0 s_0, "ORA10G"."dual"."dummy" s_1 FROM "ORA10G" ) djm
    Database features are defaults.
    Does anyone solve this problem?

    Turribeach, Thanks for you time.
    1. It was not a question
    3. Yes, i have read platforms, but not supported datasources. Now i see, that BI 11g support as datasource Oracle DB 9.2.0.7 or higher. I am sorry.
    4. I'm using OCI connection type
    Now i recreate Database in Physical schema and answers is showing report data for me! But only from one table, when i use columns from to tables from one datasource, i geting error:
    Error View Display Error Odbc driver returned an error (SQLExecDirectW). Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46008] Internal error: File server/Utility/Server/DataType/SUKeyCompare.cpp, line 875. (HY000) SQL Issued: SELECT s_0, s_1, s_2 FROM ( SELECT 0 s_0, "Ora10g"."hierarchy_obj_cust_v"."sort_order" s_1, "Ora10g"."NSI_SCHEMA"."SCHEMA_NAME" s_2 FROM "Ora10g" ) djm
    Edited by: serzzzh on 03.09.2010 3:44

  • How can I store the results of a report in an Oracle table ?

    In OBIEE 11g, we need the records resulting from the execution of a report, to be stored in an Oracle table.
    Is this possible ?. Thanks.
    F r a n c o . -

    GSR Hi, first of all thanks for your response.
    What I'm wanting to do is not exactly what you're proposing.
    What I want is that an end user can run a report and that the results be automatically stored in an Oracle table. Without manual intervention. Other BI products perform this action, and I need to do it with OBIEE. Thanks.
    F r a n c o . -

  • Poor performance with Oracle Spatial when spatial query invoked remotely

    Is anyone aware of any problems with Oracle Spatial (10.2.0.4 with patches 6989483 and 7003151 on Red Hat Linux 4) which might explain why a spatial query (SDO_WITHIN_DISTANCE) would perform 20 times worse when it was invoked remotely from another computer (using SQLplus) vs. invoking the very same query from the database server itself (also using SQLplus)?
    Does Oracle Spatial have any known problems with servers which use SAN disk storage? That is the primary difference between a server in which I see this poor performance and another server where the performance is fine.
    Thank you in advance for any thoughts you might share.

    OK, that's clearer.
    Are you sure it is the SQL inside the procedure that is causing the problem? To check, try extracting the SQL from inside the procedure and run it in SQLPLUS with
    set autotrace on
    set timing on
    SELECT ....If the plans and performance are the same then it may be something inside the procedure itself.
    Have you profiled the procedure? Here is an example of how to do it:
    Prompt Firstly, create PL/SQL profiler table
    @$ORACLE_HOME/rdbms/admin/proftab.sql
    Prompt Secondly, use the profiler to gather stats on execution characteristics
    DECLARE
      l_run_num PLS_INTEGER := 1;
      l_max_num PLS_INTEGER := 1;
      v_geom    mdsys.sdo_geometry := mdsys.sdo_geometry(2002,null,null,sdo_elem_info_array(1,2,1),sdo_ordinate_array(0,0,45,45,90,0,135,45,180,0,180,-45,45,-45,0,0));
    BEGIN
      dbms_output.put_line('Start Profiler Result = ' || DBMS_PROFILER.START_PROFILER(run_comment => 'PARALLEL PROFILE'));  -- The comment name can be anything: here it is related to the Parallel procedure I am testing.
      v_geom := Parallel(v_geom,10,0.05,1);  -- Put your procedure call here
      dbms_output.put_line('Stop Profiler Result = ' || DBMS_PROFILER.STOP_PROFILER );
    END;
    SHOW ERRORS
    Prompt Finally, report activity
    COLUMN runid FORMAT 99999
    COLUMN run_comment FORMAT A40
    SELECT runid || ',' || run_date || ',' || run_comment || ',' || run_total_time
      FROM plsql_profiler_runs
      ORDER BY runid;
    COLUMN runid       FORMAT 99999
    COLUMN unit_number FORMAT 99999
    COLUMN unit_type   FORMAT A20
    COLUMN unit_owner  FORMAT A20
    COLUMN text        FORMAT A100
    compute sum label 'Total_Time' of total_time on runid
    break on runid skip 1
    set linesize 200
    SELECT u.runid || ',' ||
           u.unit_name,
           d.line#,
           d.total_occur,
           d.total_time,
           text
    FROM   plsql_profiler_units u
           JOIN plsql_profiler_data d ON u.runid = d.runid
                                         AND
                                         u.unit_number = d.unit_number
           JOIN all_source als ON ( als.owner = 'CODESYS'
                                   AND als.type = u.unit_type
                                   AND als.name = u.unit_name
                                AND als.line = d.line# )
    WHERE  u.runid = (SELECT max(runid) FROM plsql_profiler_runs)
    ORDER BY d.total_time desc;Run the profiler in both environments and see if you can see where the slowdown exists.
    regards
    Simon

  • PeopleSoft 8.53 Integration Error with Oracle SES

    My System Details are :
    Machine 1
    Hostname : host1
    Port : port1
    Application : PeopleSoft 8.53 + HCM 9.2 + Oracle 11g
    OS : Windows 7 (64 Bit)
    Machine 2
    Hostname : host2
    Port : port2
    Application :Oracle Secure Enterprise Search 11.1.2.2.0
    OS : Windows 2008 Server (64 Bit)
    No Error was encountered while installation and systems started without any error.
    Now when trying to integrate PeopleSoft with Oracle SES.
    I entered all the details as per installation docs at PeopleTools->Search Framework->administration->Search Instance
    When I click on Ping I encounter the following error :
    Ping Test Result: Failure. Exception caught GetMessageText: No default message. (0,0) (262,612)
    I am behind a proxy server and have made the required entries in integrationGateway.properties files for proxy server.
    Also have added userid:pwd in Proxy-Authorization property for HTTPTARGET connector ID.
    The Errorlog.html contains the following error:
    Type - Error
    ErrorLevel - Standard Gateway Exception
    Description - HttpTargetConnector:ExternalApplicationException. External System responded with an Error status.
    Exception -  PeoplesoftListeningConnector: GeneralFrameworkException 
    MessageCatalog  
    MessageSet: 158  MessageID: 10623  MessageParms: HttpStatusCode returned : 407
    Stack Trace
    com.peoplesoft.pt.integrationgateway.common.ExternalApplicationException: HttpTargetConnector:ExternalApplicationException. External System responded with an Error status.
    at com.peoplesoft.pt.integrationgateway.targetconnector.HttpTargetConnector.send(HttpTargetConnector.java:1159)
    at com.peoplesoft.pt.integrationgateway.service.BasicConnectorInvocator.execute(BasicConnectorInvocator.java:131)
    at com.peoplesoft.pt.integrationgateway.framework.GatewayManager.invokeService(GatewayManager.java:147)
    at com.peoplesoft.pt.integrationgateway.framework.GatewayManager.connect(GatewayManager.java:191)
    at com.peoplesoft.pt.integrationgateway.listeningconnector.PeopleSoftListeningConnector.doPost(PeopleSoftListeningConnector.java:183)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at com.peoplesoft.pt.integrationgateway.listeningconnector.PeopleSoftListeningConnector.service(PeopleSoftListeningConnector.java:86)
    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:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.peoplesoft.pt.integrationgateway.common.IBFilter.doFilter(IBFilter.java:84)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Request
    Message-ID: <1975883609.1375092327640.JavaMail.userId@host1>
    Date: Mon, 29 Jul 2013 15:35:27 +0530 (IST)
    Mime-Version: 1.0
    Content-Type: multipart/related; boundary="Integration_Server_MIME_Boundary"
    Content-ID: PeopleSoft-Integration-Broker-Internal-Mime-Message
    PeopleSoft-ToolsRelease: 8.48
    --Integration_Server_MIME_Boundary
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: IBInfo
    <?xml version="1.0"?><IBInfo><ExternalOperationName><![CDATA[GETAPIVERSION.V1]]></ExternalOperationName><OperationType>sync</OperationType><From><RequestingNode><![CDATA[PSFT_HR]]></RequestingNode><Protocol>http</Protocol><WS-Security><WSTokenType><![CDATA[]]></WSTokenType><WSTokenEncrypted></WSTokenEncrypted><WSTokenSigned></WSTokenSigned><WSTokenEncryptLevel></WSTokenEncryptLevel><WSRequestAliasName><![CDATA[]]></WSRequestAliasName></WS-Security><SAML-CertAlias><![CDATA[]]></SAML-CertAlias><SAML-QualifierName><![CDATA[]]></SAML-QualifierName><SAML-Issuer><![CDATA[]]></SAML-Issuer><SAML-SubjectName><![CDATA[]]></SAML-SubjectName><SAML-Signature><![CDATA[]]></SAML-Signature><SAML-TokenData>***deleted for security purposes****</SAML-TokenData><URIResourceIndex>-1</URIResourceIndex><SegmentsUnOrder>N</SegmentsUnOrder></From><ContentSections><ContentSection><ID>ContentSection0</ID><ContentType>text/plain; charset=UTF-8</ContentType><ContentTransfer>8bit</ContentTransfer><NonRepudiation>N</NonRepudiation></ContentSection></ContentSections><Connector><ConnectorClassName><![CDATA[HttpTargetConnector]]></ConnectorClassName><ConnectorParameters><ConnectorParam><Name><![CDATA[Method]]></Name><Value><![CDATA[POST]]></Value></ConnectorParam><ConnectorParam><Name><![CDATA[URL]]></Name><Value><![CDATA[http://host2:port2/search/api/admin/AdminService]]></Value></ConnectorParam><ConnectorParam><Name><![CDATA[SOAPUpContent]]></Name><Value><![CDATA[Y]]></Value></ConnectorParam></ConnectorParameters><ConnectorHeaders><Header><Name><![CDATA[sendUncompressed]]></Name><Value><![CDATA[Y]]></Value></Header><Header><Name><![CDATA[Content-Type]]></Name><Value><![CDATA[text/xml; charset=utf-8]]></Value></Header></ConnectorHeaders></Connector><AttachmentSection ResponseAsAttachment="N"></AttachmentSection></IBInfo>
    --Integration_Server_MIME_Boundary
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-ID: ContentSection0
    Content-Disposition: inline
    <?xml version="1.0"?>
    <getAPIVersion xmlns="http://search.oracle.com/Admin"><credentials xmlns=""><userName>eqsys</userName><password>***deleted for security purposes****</password></credentials></getAPIVersion>
    --Integration_Server_MIME_Boundary--
    Response
    Message-ID: <2136182902.1375092327641.JavaMail.userId@host1>
    Date: Mon, 29 Jul 2013 15:35:27 +0530 (IST)
    Mime-Version: 1.0
    Content-Type: multipart/related;
    boundary="----=_Part_8_1450854121.1375092327639"
    Content-ID: PeopleSoft-Integration-Broker-Internal-Mime-Message
    ------=_Part_8_1450854121.1375092327639
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: IBInfo
    <?xml version="1.0"?><IBInfo><Status><StatusCode>40</StatusCode><MsgSet>158</MsgSet><MsgID>10623</MsgID><Parameters count="1"><Parm>HttpStatusCode returned : 407</Parm></Parameters><DefaultTitle>Integration Gateway Error</DefaultTitle></Status><ContentSections><ContentSection><ID>ContentSection0</ID><ContentType>text/plain; charset=UTF-8</ContentType><ContentTransfer>8bit</ContentTransfer><NonRepudiation>N</NonRepudiation></ContentSection></ContentSections></IBInfo>
    ------=_Part_8_1450854121.1375092327639
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: ContentSection0
    <HEAD><TITLE>Proxy Authorization Required</TITLE></HEAD>
    <BODY BGCOLOR="white" FGCOLOR="black"><H1>Proxy Authorization Required</H1><HR>
    <FONT FACE="Helvetica,Arial"><B>
    Description: Authorization is required for access to this proxy</B></FONT>
    <HR>
    <!-- default "Proxy Authorization Required" response (407) -->
    </BODY>
    ------=_Part_8_1450854121.1375092327639--
    I have checked the required entries in integrationGateway.properties files for proxy server.
    Also have checked the userid:pwd entered in Proxy-Authorization property for HTTPTARGET connector ID.
    I have restarted the servers and machines as well but still the same error.
    Kindly help me ?

    RCC wrote:
    I agree with Hakan, sounds like your problem is getting to the proxy.
    Is the SES server on the same network as PS?  Or is it really somewhere else? Is this some kind of home setup since you are running PS on Win 7?  If SES is on the same network as PS, I would drop the proxy config and test that way first.  Get it working without the extra complexity, then add in Proxy.  You can test connectivity from PS to SES with telnet or just browsing to SES.
    Thanks for the response RCC.
    The PS is a Demo Instance being used for study purpose. Both the machines are on the same network.
    I tried the ping after removing the entries in integrationGateway.properties files for proxy server and it worked.
    Ping, Test Login and Validate are successful.
    I get the following error when I check Proxy Login.
    Proxy login failed : Invalid credentials for the federation entity (262,1317) (262,1318)
    I have created Federation Trusted Entity key by the name HCM92 on Oracle SES side and am using the same ID and password in the Query Service Credentials on the Search Instance Properties Page.
    I was not getting any error in any log file related to this.
    Kindly help.

  • Help with oracle 11g pivot operator

    i need some help with oracle 11g pivot operator. is it possible to use multiple columns in the FOR clause and then compare it against multiple set of values.
    here is the sql to create some sample data
    create table pivot_data ( country_code number , dept number, job varchar2(20), sal number );
    insert into pivot_data values (1,30 , 'SALESMAN', 5000);
    insert into pivot_data values (1,301, 'SALESMAN', 5500);
    insert into pivot_data values (1,30 , 'MANAGER', 10000);     
    insert into pivot_data values (1,301, 'MANAGER', 10500);
    insert into pivot_data values (1,30 , 'CLERK', 4000);
    insert into pivot_data values (1,302, 'CLERK',4500);
    insert into pivot_data values (2,30 , 'SALESMAN', 6000);
    insert into pivot_data values (2,301, 'SALESMAN', 6500);
    insert into pivot_data values (2,30 , 'MANAGER', 11000);     
    insert into pivot_data values (2,301, 'MANAGER', 11500);
    insert into pivot_data values (2,30 , 'CLERK', 3000);
    insert into pivot_data values (2,302, 'CLERK',3500);
    using case when I can write something like this and get the output i want
    select country_code
    ,avg(case when (( dept = 30 and job = 'SALESMAN' ) or ( dept = 301 and job = 'SALESMAN' ) ) then sal end ) as d30_sls
    ,avg(case when (( dept = 30 and job = 'MANAGER' ) or ( dept = 301 and job = 'MANAGER' ) ) then sal end ) as d30_mgr
    ,avg(case when (( dept = 30 and job = 'CLERK' ) or ( dept = 302 and job = 'CLERK' ) ) then sal end ) as d30_clrk
    from pivot_data group by country_code;
    output
    country_code          D30_SLS               D30_MGR               D30_CLRK
    1      5250      10250      4250
    2      6250      11250      3250
    what I tried with pivot is like this I get what I want if I have only one ( dept,job) for one alias name. I want to call (30 , 'SALESMAN') or (301 , 'SALESMAN') AS d30_sls. any help how can I do this
    SELECT *
    FROM pivot_data
    PIVOT (SUM(sal) AS sum
    FOR (dept,job) IN ( (30 , 'SALESMAN') AS d30_sls,
              (30 , 'MANAGER') AS d30_mgr,               
    (30 , 'CLERK') AS d30_clk
    this is a simple example .... my real life scenario is compliated with more fields and more combinations .... So something like using substr(dept,1,2) won't work in my real case .
    any suggestions get the result similar to what i get in the case when example is really appreciated.

    Hi,
    Sorry, I don't think there's any way to get exactly what you requested. The values you give in the PIVOT ... IN clause are exact values, not alternatives.
    You could do something like this to map all alternatives to a common value:
    WITH     got_dept_grp     AS
         SELECT     country_code, job, sal
         ,     CASE
                  WHEN  job IN ('SALESMAN', 'MANAGER') AND dept = 301 THEN 30
                  WHEN  job IN ('CLERK')               AND dept = 302 THEN 30
                                                                     ELSE dept
              END     AS dept_grp
         FROM     pivot_data
    SELECT     *
    FROM     got_dept_grp
    PIVOT     (     AVG (sal)
         FOR     (job, dept_grp)
         IN     ( ('SALESMAN', 30)
              , ('MANAGER' , 30)
              , ('CLERK'   , 30)
    ;In your sample data (and perhaps in your real data), it's about as easy to explicitly define the pivoted groups individually, like this:
    WITH     got_pivot_key     AS
         SELECT     country_code, sal
         ,     CASE
                  WHEN  job = 'SALESMAN' AND dept IN (30, 301) THEN 'd30_sls'
                  WHEN  job = 'MANAGER'  AND dept IN (30, 301) THEN 'd30_mgr'
                  WHEN  job = 'CLERK'    AND dept IN (30, 302) THEN 'd30_clrk'
              END     AS pivot_key
         FROM    pivot_data
    SELECT     *
    FROM     got_pivot_key
    PIVOT     (     AVG (sal)
         FOR     pivot_key
         IN     ( 'd30_sls'
              , 'd30_mgr'
              , 'd30_clrk'
    ;Thanks for posting the CREATE TABLE and INSERT statements; that really helps!

Maybe you are looking for

  • Cfchart and cfreport issues in 7.0.2

    I've seen a few posts on people having issues with cfchart and cfreport upon upgrading to 7.0.2 The specific issue I was having were that the cfcharts no longer showed up and the cfreports where getting some sort of a null error. The fix: in the lib

  • Bapi for fb02 change

    hi, i have posted(adjusted) a account document with a reference number (belnr1) and using bapi  bapi_acc_document_post.now this bapi creates a document (belnr2).now my requirment is using FB02 change the document belnr1,pass the belnr2 in the documen

  • Reinstalling windows printer to print in Tiger

    I recently had to uninstall and re-install my windows XP printer (the Brother HL-1435 laser printer) in windows. In doing so, my Powerbook G4 couldn't print to it, so I had to uninstall it and try to re-install it on my mac. The problem is, now i get

  • Platform Services migration from 6.1.1 to 6.1.3

    Hi, Did not find anything on migrating from platform services 6.1.1 to 6.1.3. Do we not need any changes for this migration? Regards, Mayank Batra

  • Starting out. Where is the compilier etc?

    Hi, I'm trying to get started on Java and need some direction. I have Oracle 817 client installed on my machine. Currently I use VC 6.0 ++ to create apps for Windows. I am interested in using Java. Can I download a free java compilier? if so from whe