Oracle: strange ORDER BY result

We're loading some data with a select clause from an oracle 8.1.7 and sorting the data by adding an "ORDER BY F_NAME" to the query.
On our development app server this runs fine and returns the expected result, but on out test app server the order depends on the case of the field F_NAME. It returns big caps before small caps (i.e. Armani, Miller, aman, meyer).
Does anyone know what to do in this case? I can replace it with an ORDER BY UPPER(F_NAME) of course, but this behaviour is just so strange that I fail to accept that as a valid workaround.

Interesting. The only points I'd add are:
1) I presume you're connecting to two different schemas (users) on the same database. I wonder if its possible to affect these settings for specific users?
2) Do you use the OCI or thin driver? (Or different driver on each platform?). OCI uses Oracle client functionality, so its possible it might be picking up environmental settings that alter its behavior.
3) You can also alter behavior of things like this for a single connection (with "alter session" SQL); assuming no-one has done this explicitly with a SQL statement it would seem unlikely that the app server is doing it when creating connections in the pool.
Seems like you need to consult with someone with specific expertise in these areas of Oracle.
T

Similar Messages

  • Found Difference between 9i  & 10g order by result

    Hello Guru's
    I have created following table in both 9i and 10g
    test1 with Columns as below
    A VARCHAR2(10)
    B NUMBER
    Inserted 2 records in 9i and 10g ( same data)
    *9i Result:*
    SELECT * FROM test1;
    A B
    2 1
    2 2
    *10g result:*
    SELECT * FROM test1;
    A B
    2 1
    2 2
    But if I use order by clause getting different result.
    *9i Result:*
    SELECT * FROM test1 order by a;
    A B
    2 1
    2 2
    *10g result:*
    SQL> select * from test1 order by a;
    A B
    2 2
    2 1
    Please help about this output mismatch for same query in 9i and 10g.
    Thanks In Advance.
    Sandeep.

    What is your exact oracle version?
    It seems that your theory is true at least in these version - (Strange....)
    In, 9i ->
    satyaki9i>
    satyaki9i>select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE    9.2.0.1.0       Production
    TNS for HPUX: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 - Production
    Elapsed: 00:00:00.00
    satyaki9i>
    satyaki9i>
    satyaki9i>create table strange
      2   (
      3     a    number,
      4     b    number
      5   );
    Table created.
    Elapsed: 00:00:00.00
    satyaki9i>
    satyaki9i>insert into strange values(&a,&b);
    Enter value for a: 2
    Enter value for b: 1
    old   1: insert into strange values(&a,&b)
    new   1: insert into strange values(2,1)
    1 row created.
    Elapsed: 00:00:00.00
    satyaki9i>/
    Enter value for a: 2
    Enter value for b: 2
    old   1: insert into strange values(&a,&b)
    new   1: insert into strange values(2,2)
    1 row created.
    Elapsed: 00:00:00.00
    satyaki9i>
    satyaki9i>commit;
    Commit complete.
    Elapsed: 00:00:00.00
    satyaki9i>
    satyaki9i>SELECT * FROM strange;
             A          B
             2          1
             2          2
    Elapsed: 00:00:00.00
    satyaki9i>
    satyaki9i>SELECT * FROM strange order by a;
             A          B
             2          1
             2          2
    Elapsed: 00:00:00.00
    satyaki9i>
    satyaki9i>In 10g,
    satyaki10g>
    satyaki10g>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Elapsed: 00:00:00.03
    satyaki10g>
    satyaki10g>
    satyaki10g>
    satyaki10g>create table strange
      2   (
      3     a    number,
      4     b    number
      5   );
    Table created.
    Elapsed: 00:00:00.05
    satyaki10g>
    satyaki10g>insert into strange values(&a,&b);
    Enter value for a: 2
    Enter value for b: 1
    old   1: insert into strange values(&a,&b)
    new   1: insert into strange values(2,1)
    1 row created.
    Elapsed: 00:00:00.00
    satyaki10g>
    satyaki10g>/
    Enter value for a: 2
    Enter value for b: 2
    old   1: insert into strange values(&a,&b)
    new   1: insert into strange values(2,2)
    1 row created.
    Elapsed: 00:00:00.00
    satyaki10g>
    satyaki10g>commit;
    Commit complete.
    Elapsed: 00:00:00.00
    satyaki10g>
    satyaki10g>SELECT * FROM strange;
             A          B
             2          1
             2          2
    Elapsed: 00:00:00.00
    satyaki10g>
    satyaki10g>SELECT * FROM strange order by a;
             A          B
             2          2
             2          1
    Elapsed: 00:00:00.00
    satyaki10g>
    satyaki10g>Let me go through the docs.
    Regards.
    Satyaki De.

  • Oracle Fusion Order Demo Application

    Hi,
    I downloaded this DEMO :
    Oracle Fusion Order Demo Application
    http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
    And when in step
    9.In the application navigator, under the Resources node, Right click build.xml and choose Run Ant Target > buildAll
    I receive this error :
    Buildfile: E:\Jdev_sources\Infrastructure\Ant\build.xml
    init:
        [mkdir] Created dir: E:\Jdev_sources\Infrastructure\Ant\classes
        [javac] Compiling 1 source file to E:\Jdev_sources\Infrastructure\Ant\classes
    setProperties:
    createDatabase:
    refreshSchema:
    BUILD FAILED
    E:\Jdev_sources\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
    E:\Jdev_sources\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
    E:\Jdev_sources\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
    E:\Jdev_sources\Infrastructure\DBSchema\build.xml:28: E:\Jdev_sources\Infrastructure\Ant\wlserver_10.3\server\lib not found.
    Total time: 14 secondsEffectiveley E:\Jdev_sources\Infrastructure\Ant\wlserver_10.3\server\lib does not existe but it should be (seems to me) a part of whet was downloaded.
    Thank for help.

    Hi again, and thanks to all.
    I reinstalled all and Now I have the followings that seems to be a connectivity problem :
    First the parameteres in build.properties :
    jdeveloper.home=E:/Oracle/Middleware/jdeveloper
    src.home=..//..
    # JDBC info used to create Schema
    jdbc.driver=oracle.jdbc.OracleDriver
    jdbc.urlBase=jdbc:orcl:thin:@localhost
    jdbc.port=1521
    jdbc.sid=ORCL
    Buildfile: E:\Jdev_source\Infrastructure\Ant\build.xml
    init:
        [mkdir] Created dir: E:\Jdev_source\Infrastructure\Ant\classes
        [javac] Compiling 1 source file to E:\Jdev_source\Infrastructure\Ant\classes
    setProperties:
    createDatabase:
    refreshSchema:
    BUILD FAILED
    E:\Jdev_source\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
    E:\Jdev_source\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
    E:\Jdev_source\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
    E:\Jdev_source\Infrastructure\DBSchema\build.xml:28: java.sql.SQLException: No suitable Driver for jdbc:orcl:thin:@localhost:1521:ORCL
    Total time: 32 secondsOracle is installed on the same server and DB is on the same server.
    E:\Jdev_source>cd E:\oracle\product\10.2.0\db_1\jdbc\lib
    E:\oracle\product\10.2.0\db_1\jdbc\lib>dir
    Volume in drive E is Data
    Volume Serial Number is E856-5E27
    Directory of E:\oracle\product\10.2.0\db_1\jdbc\lib
    13/11/2009 14:21 <DIR> .
    13/11/2009 14:21 <DIR> ..
    02/02/2008 14:49 1 609 607 classes12.jar
    02/02/2008 14:49 1 622 075 classes12.zip
    02/02/2008 14:49 1 617 382 classes12dms.jar
    11/02/2008 19:52 1 646 217 nls_charset12.jar
    02/02/2008 14:49 1 555 682 ojdbc14.jar
    02/02/2008 14:49 1 563 375 ojdbc14dms.jar
    02/02/2008 14:49 1 958 237 ojdbc14dms_g.jar
    02/02/2008 14:49 1 950 033 ojdbc14_g.jar
    8 File(s) 13 522 608 bytes
    2 Dir(s) 7 992 795 136 bytes free
    Regards.
    Ok finaly it was this :
    jdbc.urlBase=jdbc:oracle:thin:@localhost
    If you look above , before, I had :
    jdbc.urlBase=jdbc:orcle:thin:@localhost
    :=(((
    Now :
    BUILD SUCCESSFUL
    Total time: 35 seconds
    Thanks again.

  • Oracle Fusion Order Demo Application For JDeveloper error

    HI,
    i try to run the (Oracle Fusion Order Demo Application For JDeveloper) Fusion Order Demo (FOD) is an end-to-end application sample :
    when i try to : Right click build.xml and choose Run Ant Target > buildAll . error coming
    Buildfile: C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\build.xml
    init:
    [javac] Compiling 1 source file to C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\classes
    setProperties:
    createDatabase:
    refreshSchema:
    BUILD FAILED
    C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
    C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
    C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
    C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:28: C:\Oracle\Middleware\jdeveloper\wlserver_10.3\server\lib not found.
    Total time: 6 seconds
    how i can run the build.xml

    Hi,
    not quite sure the question is clear. The add cart command is a link defined in the JSPX file
    <af:commandLink partialSubmit="true"
    actionListener="#{shoppingCartBean.addItemToCart}"
    id="cl3">
    that points to
    public void addItemToCart(ActionEvent evt) {
    Map attributes = evt.getComponent().getAttributes();
    invokeUpdateOp(new Integer(attributes.get( PRODUCT_ID_COL )+ ""));
    in StoreFrontModule\StorefrontUI\src\oracle\fodemo\storefront\cart\view\managed\ShoppingCartBean.java . This is where you follow up then.
    +"how i can make Repetition for the items in home.jspx"+
    I can only assume you mean how to create the catalog items. Here I suggest you look at the demo source as this is what the demo is for. If you are new to ADF, I recommend that you first run a tutorial from here
    If you are on 11g R1: http://www.oracle.com/technetwork/developer-tools/jdev/overview/index-100269.html
    If you are on 11g R2: http://docs.oracle.com/cd/E18941_01/tutorials/toc.htm
    No demo can replace proper learning, to be honest
    Frank

  • Imported songs in strange order

    Imported songs are not in the correct order in iTunes. I've tried changing the order of the song names but it only reverses the order. The strange thing is after updating into my ipod the order is the same as the cd on my ipod but iTunes still has this strange order. Can anyone offer help?

    I can't offer any help, only commiseration. There is an option that allows iTunes to organize the songs [preferences>advanced>general] which might be what's happening. If you look at the song file, the name of the song is preceded by what iTunes thinks is the track number. I tried changing this manually, but iTunes changed it back. It's like an unstoppable machine.
    Sorry, can't help

  • Custom ordering of results

    I'm looking to do some custom ordering of results. Lets say I have a table:
    CREATE TABLE test_ordering (
         ID NUMBER PRIMARY KEY,
         NAME VARCHAR2(40));With some records..
    INSERT INTO test_ordering (id, name) VALUES (1,'Apartment 1');
    INSERT INTO test_ordering (id, name) VALUES (2,'Apartment 5');
    INSERT INTO test_ordering (id, name) VALUES (3,'Apartment 9');
    INSERT INTO test_ordering (id, name) VALUES (4,'Apartment 10');
    INSERT INTO test_ordering (id, name) VALUES (5,'Apartment 11');
    INSERT INTO test_ordering (id, name) VALUES (6,'Apartment 13');
    INSERT INTO test_ordering (id, name) VALUES (7,'Apartment 21');
    INSERT INTO test_ordering (id, name) VALUES (8,'Unit 1');
    INSERT INTO test_ordering (id, name) VALUES (9,'Unit 9');
    INSERT INTO test_ordering (id, name) VALUES (10,'Unit 10');
    INSERT INTO test_ordering (id, name) VALUES (11,'Unit 15');
    INSERT INTO test_ordering (id, name) VALUES (12,'Unit 31');
    COMMIT;So if I select and order by name I get
    SQL> SELECT * FROM test_ordering ORDER BY name;
    ID NAME
      1 Apartment 1
      4 Apartment 10
      5 Apartment 11
      6 Apartment 13
      7 Apartment 21
      2 Apartment 5
      3 Apartment 9
      8 Unit 1
    10 Unit 10
    11 Unit 15
    12 Unit 31
      9 Unit 9
    17 rows selected.Now I would like the results in a slightly different order.
    ID NAME
      1 Apartment 1
      2 Apartment 5
      3 Apartment 9
      4 Apartment 10
      5 Apartment 11
      6 Apartment 13
      7 Apartment 21
      8 Unit 1
      9 Unit 9
    10 Unit 10
    11 Unit 15
    12 Unit 31So if I want to order by the alpha characters and then by the numeric portion of the NAME.
    Any ideas? I've been trying a few things using REGEXP_SUBSTR, but its not working out...
    SELECT * FROM test_ordering ORDER BY REGEXP_SUBSTR(name,'[[:alpha:]]'), REGEXP_SUBSTR(name,'[[:digit:]]');

    Ok, actually I can think of a few more examples now that need a different solution.
    Let say we have
    DROP TABLE test_ordering;
    CREATE TABLE test_ordering (
         ID NUMBER PRIMARY KEY,
         NAME VARCHAR2(40));
    CREATE UNIQUE INDEX test_ordering_sanity_check ON test_ordering(name);
    INSERT INTO test_ordering (id, name) VALUES (1,'Apartment 21');
    INSERT INTO test_ordering (id, name) VALUES (2,'Apartment 5');
    INSERT INTO test_ordering (id, name) VALUES (3,'Apartment 1');
    INSERT INTO test_ordering (id, name) VALUES (4,'Apartment 11');
    INSERT INTO test_ordering (id, name) VALUES (5,'Apartment 9');
    INSERT INTO test_ordering (id, name) VALUES (6,'Apartment 10');
    INSERT INTO test_ordering (id, name) VALUES (7,'Apartment 13');
    INSERT INTO test_ordering (id, name) VALUES (8,'Unit 1');
    INSERT INTO test_ordering (id, name) VALUES (9,'Unit 9');
    INSERT INTO test_ordering (id, name) VALUES (10,'Unit 10');
    INSERT INTO test_ordering (id, name) VALUES (11,'Unit 15');
    INSERT INTO test_ordering (id, name) VALUES (12,'Unit 1a');
    INSERT INTO test_ordering (id, name) VALUES (13,'Unit 1b');
    INSERT INTO test_ordering (id, name) VALUES (14,'Unit 5');
    INSERT INTO test_ordering (id, name) VALUES (15,'Unit 15d');
    INSERT INTO test_ordering (id, name) VALUES (16,'Unit 11');
    INSERT INTO test_ordering (id, name) VALUES (17,'Unit 11a');
    INSERT INTO test_ordering (id, name) VALUES (18,'Unit 20');
    INSERT INTO test_ordering (id, name) VALUES (19,'Unit 20a');
    INSERT INTO test_ordering (id, name) VALUES (20,'Unit 20b');
    INSERT INTO test_ordering (id, name) VALUES (21,'Unit 11b');
    INSERT INTO test_ordering (id, name) VALUES (22,'Unit A');
    INSERT INTO test_ordering (id, name) VALUES (23,'Unit B');
    INSERT INTO test_ordering (id, name) VALUES (24,'Unit C');
    COMMIT;And I'd like that ordered like this...
    ID NAME
    3 Apartment 1
    2 Apartment 5
    5 Apartment 9
    6 Apartment 10
    4 Apartment 11
    7 Apartment 13
    1 Apartment 21
    8 Unit 1
    10 Unit 10
    16 Unit 11
    17 Unit 11a
    21 Unit 11b
    11 Unit 15
    15 Unit 15d
    12 Unit 1a
    13 Unit 1b
    14 Unit 5
    9 Unit 9
    18 Unit 20
    19 Unit 20a
    20 Unit 20b
    22 Unit A
    23 Unit B
    24 Unit CThanks.

  • Strange problem with results ordering

    Hi!
    I select some varchar2 data and order them:
    SELECT rownum, xyz FROM analitika where xyz <= 'ABC' order by xyz
    This is pretty straightforward, no problems expected here, right? However, the results, when read as they pour in, are not ordered. I get something like
    3 abc
    1 aaa
    2 abb
    Rownums are assigned correctly, but the data has not been sent in correct order. I feel this has something to do with connection settings, that it is set to return any results as quickly as possible.
    The database is 10g XE on fedora core 4.

    Ok, here is the actual data from the database (copy/paste from helpdb). I have removed rownum from the query because it seems to cause confusion.
    Please notice these things:
    A.A.M.-MIHALINEC kd
    A&B doo
    A.B.A. D.O.O.
    The sequence of rows beginning with "A." should not have been interrupted by the row beginning with "A&". There are more examples. BTW, shouldn't numbers come before letters?
    After I have looked closer, it seems that oracle has disregarded any non-alphanumeric characters when sorting.
    SELECT naziv from analitika where naziv <= 'ABC' order by naziv
    NAZIV
    A & B d.o.o.
    A CETIRI INFO d.o.o.
    A KAJ
    A KONZALTING
    A S I
    A&A
    AAG DIZAJN CENTAR d.o.o. ZAGREB
    AAG DIZAJN CENTAR d.o.o. ZAGREB
    A.A.M.-MIHALINEC K.D.
    A.A.M.-MIHALINEC k.d.
    A.A.M.-MIHALINEC kd
    AAP ELEKTRONIK
    AAR
    AARIS
    AB AUTOMATIKA
    AB COLOR d.o.o.
    AB COMERCE D.O.O.
    AB DIZAJN - VL. MIRA BILIC
    A&B doo
    AB GRADNJA OBRT
    AB INTELCOM
    AB PETROL PROMET
    AB SITOTISAK
    A.B.A. D.O.O.
    A.B.A. DOO
    ABA VELA
    ABACUS
    ABACUS - OBRT
    ABACUS d.o.o. VRBOVEC
    ABAK INŽENJERING
    ABAKUS
    ABAK-US DOO
    ABAKUS RACUNALA
    ABATON
    ABATON D.O.O.
    ABATOURS
    ABB d.o.o. KARLOVAC
    ABB d.o.o. ZAGREB
    ABB d.o.o. ZAGREB
    ABBA D.O.O.
    ABBOTT LABORATORIES S.A. Diagnostics
    A.B.I.G
    A.C.N. D.O.O.
    A/D ELECTRONIC D.O.O.
    A/D ELECTRONIC d.o.o.
    A.D. VIŠNJAN
    A.D.C. d.o.o.
    A-DESIGN
    A!DESIGN OBRT
    A.D.INFORMATICKI SUSTAVI d.o.o.
    A.D.-PROMET d.o.o.
    A.D.Z.SARŠON
    A.H. - ZAGREB d.o.o.
    A.H.TRGOVINA d.o.o.
    A.K.S. d.o.o.
    A-KUD
    A.M. ELEKTRONIK - OBRT, VL. ANIC M.
    A-MAR d.o.o.
    A.M.E.C.
    A.M.E.C. d.o.o.
    A.M.H. d.o.o.
    A.M.-HIDRAULIKA
    A.M.-HIDRAULIKA
    A.M.I. LOVREKOVIC d.o.o.
    A.M.S. CONTO D.O.O.
    A.M.T. PETRAVIC
    A.N.A.B.A.R. TOURS
    A.P. FRIGO
    A-PROMA
    A.R.M.A.C.O.M. d.o.o.
    A.R.Z.
    A.S. REVIZOR D.O.O.
    A.S.B.
    A.S.D.
    A.S.I. d.o.o.
    A.S.TEKS D.O.O.
    A.S.T.-PROM d.o.o.
    A.Š. HAJDUK
    A.Š.-GAZELA D.O.O.
    A-TEL
    A.T.O.S. ELECTRONIC d.o.o.
    A.V.V.I.S.
    A.Z. PROMET
    A.Z.I.L.
    A1 CENTAR D.O.O.
    /popuniti sa drugim kupcem
    007 MILETIC k.d.
    2. A.M. D.O.O.
    2 A.M. doo
    2. GARDIJSKA BRIGADA MORH
    2 I d.o.o.
    2 N
    2D IMPULS d.o.o.
    2M COMPUTERS d.o.o. BLOKADA!
    2M D.O.O.
    3 C CONING
    3 DK d.o.o.
    3 Ka
    3 M
    3 M ŠPORT
    3. MAJ BRODOGRADILIŠTE d.d.
    3. MAJ MOTORI I DIZALICE d.d.
    3. MAJ OEK
    3. MAJ TIBO d.d.
    3 P-T
    3 R
    3 V
    3 Z
    3D STUDIO LEON
    3K d.o.o.
    3M DOO
    3T.CABLE d.o.o.
    312 ARHIT. RADIONICA
    32 BITA d.o.o.
    36 d.o.o.
    4 - MATE D.O.O.
    4 D
    4 IPO SOBE
    40-BOX
    5 F
    5. KRUNA
    5 M
    5 M d.o.o.
    5DO12 d.o.o.
    5DO12 d.o.o.
    5V-LAB
    7 INVENT
    128 rows returned in 0.01 seconds

  • The order of result changed in oracle 10g after migration from 9i.

    i am using the below query to fetch data from two views.
    SQL:
    select distinct PVCID pvcid, PATH_ID pathId, fnn fnn, g.XDM_SERVICEID xdmServiceid, TC_SERVICETYPE tcServicetype, TC_PORTTYPE tcPorttype, TERMINATION_TYPE terminationType,
    TC_PRODUCTCODES tcProductcodes, TERM_ID termId, TERM_NAME termName, TERMINATION_TYPE_ID terminationTypeId, A_EQUIPMENT_ID equipmentId,
    A_EQUIPMENT_NAME equipmentName, A_EQUIPMENT_TYPE equipmentType, A_EQUIP_TYPE equipTypeId, AEND_BLOCK_TEST_REQ aendBlockTestReq, Z_EQUIPMENT_ID ZEquipmentId, Z_EQUIPMENT_NAME ZEquipmentName,
    Z_EQUIPMENT_TYPE ZEquipType, Z_BLOCK_TEST_REQ blockTestReq, RADIUS_ENABLED radiusEnabled, D_PBR DPbr, U_PBR UPbr, BRAS_TYPE brasType from V_GET_PVCID g,V_TERM v where FNN='A0721122234' and g.xdm_serviceid=v.xdm_serviceid order by TC_SERVICETYPE
    this gives two rows as output, but in different order for 9i and 10g.
    This is affecting the working of the application. can any one help me out here.
    thanks in advance

    Since you specify only 1 column in the ORDER BY, ordering is done only against that column. Rows returned may appear differently appeared with respect to other columns.
    If you need a specific order, include all the required columns in the ORDER BY clause.
    (10g introduced GroupByHashAggregation so ordering isn't guaranteed to be the same as in 9i unless you correctly specify an ORDER BY clause. Even in 9i, Oracle didn't gurantee that they would always appear in the same order --- the appearance was only an after-effect of the manner in which Oracle implemented DISTINCT and GROUP BY operations in 9i).
    Hemant K Chitale

  • SQ02 - Issue on a infoset which doesn't order the results

    Hello to everyone,
    I'm experiencing some issues when creating a Infoset and implementing the relative query, as the results aren't ordered by the first field which is the Primary Key of the first table of the join which composes the Infoset. Here are the details:
    I've created a query on the following JOIN:
    DFKKKO >> ERDB >> ERCHC
    Plus, i've implemented some code to mess the query so that it returns some additional field with custom values.
    One of the target of this query is to have the output sorted by DFKKKO-OPBEL, which is the key of DFKKKO, but it seems that when I ask for a big amount of data, the output isn't sorted at all.
    Is there a way to ask the infoset via SQ02 or the query via SQ01 or some coding within the additional fields, etc.. to sort the output by certain fields? In this particular case, I'd like to order for the first output field which is the key of the first table of the join.
    Thank you very much in advance.
    Best regards,
    Claudio

    Hello Arbind,
    thanks for your quick reply, i'll be start testing it immediately, but I've seen that apparently this method sorts the extraction after it is done. Even though it could appear strange, I should keep a progressive number while elaborating each row of the selection, so for example I'll count in this way:
    record 1 - counter 1
    record 2 - counter 2
    record n - counter n.
    Actually, my problem with sort was that record 1 has the key 1, record 2 has the key 2018, record 3 has the key 58, so the counter 2 points to a wrong record.
    Your solution is really helpful, but do you know actually if I can put a sort or order by directly in the main selection by indicating something somewhere?
    If it isn't possible, i'll start thinking of an alternative solution for the counter problem (which is a counter of the billing rows in a document, instead of a simple counter).
    Thanks also to Christian for the answer!
    Thank you very much.
    Kind regards,
    Claudio
    Edited by: Claudio CPU on Feb 22, 2011 12:14 PM

  • Oracle 10g EE Export Results in ORA-01001: invalid cursor Error

    Hi,
    I'm quite new to Oracle 10g and OCS10g. We have a crippled/corrupt SYSAUX tablespace (data file 3) which cannot be recovered using recover
    command anymore. So metalink support instructed us to do a export of the metadata of the working tablespace which contains our system data (we are in configuration stage for OCS 10g 10.1.2) via transportable tablespaces so that I can just recreate the database in DBCA and import the metadata. So after I made a cold backup, set the "transportable" tablespaces to "READ ONLY" mode, I proceeded w/ the export command which resulted in an error, please see below:
    $exp \'sys/********@ocs10gSID as sysdba\' parfile=transport.par
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 -
    Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    EXP-00008: ORACLE error 1001 encountered
    ORA-01001: invalid cursor
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
    ORA-06512: at "SYS.DBMS_SQL", line 19
    ORA-06512: at "SYS.DBMS_TTS", line 811
    ORA-00376: file 3 cannot be read at this time
    ORA-01110: data file 3: '/ocfs/oradata/OCS/datafile/o1_mf_sysaux_2mgzbr51_.dbf'
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1444
    ORA-06512: at line 1
    Anyone encountered this problem before? Any recommendations or tips to get this working?
    I checked this url:"http://luhartma.blogspot.com/2006/05/how-to-check-if-tablespace-is.html"
    And when I try to follow the instructions and check on of the tablespace I set to and verified to be in "READ ONLY" mode, I get the same error.
    SQL> connect / as sysdba
    Connected.
    SQL> exec dbms_tts.TRANSPORT_SET_CHECK('PORTAL',TRUE)
    BEGIN dbms_tts.TRANSPORT_SET_CHECK('PORTAL',TRUE); END;
    ERROR at line 1:
    ORA-01001: invalid cursor
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
    ORA-06512: at "SYS.DBMS_SQL", line 19
    ORA-06512: at "SYS.DBMS_TTS", line 811
    ORA-00376: file 3 cannot be read at this time
    ORA-01110: data file 3: '/ocfs/oradata/OCS/datafile/o1_mf_sysaux_2mgzbr51_.dbf'
    ORA-06512: at "SYS.DBMS_TTS", line 840
    ORA-06512: at line 1
    Hope someone can help on this or at least provide a suggestion. Data file 3 above is the reason we are doing a transportable tablespace export & db recreation.
    BTW what we have is:
    OCS 10g 10.1.2 w/ Oracle RDBMS 10g Enterprise Edition 10.1.0.4.2
    RHEL4 Update2
    Thanks in advance.
    Regards,
    -Kenth

    Hi,
    The status is "RECOVER" we have actually tried to recover but unfortunately the archive logs that were needed were on disks and were lost during one of the server hardware failures. Actually that is the reason why metalink support recommended this route for getting everything in order since we don't have any application data in SYSAUX yet.
    Thanks.

  • Oracle Strange Long query

    Hello,
    I'm still in the process of finding what is wrong with my oracle connection.
    Everytime a request is done, this query is executed:
    SELECT NULL AS table_cat, t.owner AS table_schem,t.table_name AS
    table_name,t.column_name AS column_name, DECODE (t.data_type, 'CHAR',
    1, 'CLOB', 2005, 'BLOB', 2004, 'VARCHAR2', 12, 'NUMBER', 3, 'LONG',
    -1, 'DATE', 93,'RAW', -3, 'LONG RAW', -4, 'BINARY_FLOAT', 7,
    'BINARY_DOUBLE', 8, 'XMLTYPE',2005, 'BFILE',2004,'NCHAR',1,
    'NVARCHAR2',12, 'NCLOB', 2005, 'ROWID', 12, 'FLOAT', 8, 1111) AS
    data_type, t.data_type AS type_name, decode(t.data_type, 'NUMBER',
    decode(t.data_precision, null, decode(t.data_scale, null, 0, 0, 38,
    t.data_scale), t.data_precision), 'FLOAT', 15, 'CLOB',2147483647,
    'NCLOB', 2147483647, 'LONG', 2147483647, 'BLOB', 2147483647, 'LONG
    RAW', 2147483647, 'BFILE', 2147483647, 'DATE', 19, 'ROWID', 18,
    'BINARY_FLOAT', 7, 'BINARY_DOUBLE', 15,decode(t.data_length, 0, 1,
    t.data_length)) as column_size, 0 AS buffer_length,
    decode(t.data_type, 'NUMBER', decode(t.data_scale, null,
    decode(t.data_precision, null, 0,null), t.data_scale), 'FLOAT',
    NULL,'DATE', 0, NULL) AS decimal_digits, decode(t.data_type,
    'BINARY_FLOAT', 10, 'BINARY_DOUBLE', 10, 'FLOAT', 10, 'NUMBER', 10,
    NULL) AS num_prec_radix, DECODE (t.nullable, 'N', 0, 1) AS nullable,
    NULL AS remarks,NULL AS column_def, null AS sql_data_type, null AS
    sql_datetime_sub, decode(t.data_type, 'VARCHAR2',
    decode(t.data_length, 0, 1, t.data_length), 'CHAR', t.data_length,
    'NCHAR', t.data_length, 'CLOB', 2147483647, 'NCLOB', 2147483647,
    'LONG', 2147483647, 'BFILE', 2147483647, NULL) AS char_octet_length,
    t.column_id AS ordinal_position, DECODE (t.nullable, 'N', 'NO', 'YES')
    AS is_nullable, null as SCOPE_CATLOG, null as SCOPE_SCHEMA, null as
    SCOPE_TABLE, null as SOURCE_DATA_TYPE FROM all_tab_columns t WHERE
    t.owner LIKE 'REI' ESCAPE '\' AND t.table_name LIKE 'G_PAGE' ESCAPE
    '\' AND t.column_name LIKE '%' ESCAPE '\' UNION ALL SELECT NULL,
    asy.owner, asy.synonym_name , t.column_name, DECODE (t.data_type,
    'CHAR', 1, 'CLOB', 2005, 'BLOB', 2004, 'VARCHAR2', 12, 'NUMBER', 3,
    'LONG', -1, 'DATE', 93,'RAW', -3, 'LONG RAW', -4, 'BINARY_FLOAT', 7,
    'BINARY_DOUBLE', 8, 'XMLTYPE',2005, 'BFILE',2004,'NCHAR',1,
    'NVARCHAR2',12, 'NCLOB', 2005, 'ROWID', 12, 'FLOAT', 8, 1111),
    t.data_type, decode(t.data_type, 'NUMBER', decode(t.data_precision,
    null, decode(t.data_scale, null, 0, 0, 38, t.data_scale),
    t.data_precision), 'FLOAT', 15, 'CLOB',2147483647, 'NCLOB',
    2147483647, 'LONG', 2147483647, 'BLOB', 2147483647, 'LONG
    RAW',2147483647, 'BFILE', 2147483647, 'DATE', 19, 'ROWID', 18,
    'BINARY_FLOAT', 7, 'BINARY_DOUBLE', 15,decode(t.data_length, 0, 1,
    t.data_length)), 0, decode(t.data_type, 'NUMBER', nvl(t.data_scale,
    0), 'DATE', 0, 'FLOAT', NULL, NULL) AS decimal_digits,
    decode(t.data_type, 'FLOAT', 10, 'NUMBER', 10, NULL), DECODE
    (t.nullable, 'N', 0, 1), NULL, NULL, null, null, decode(t.data_type,
    'VARCHAR2', decode(t.data_length, 0, 1, t.data_length), 'CHAR',
    t.data_length, 'NCHAR', t.data_length, 'CLOB', 2147483647, 'NCLOB',
    2147483647, 'LONG', 2147483647, 'BFILE', 2147483647, NULL),
    t.column_id, DECODE (t.nullable, 'N', 'NO', 'YES'), null, null, null,
    null FROM all_synonyms asy, all_tab_columns t WHERE t.table_name =
    asy.table_name AND t.owner = asy.table_owner AND t.column_name LIKE
    '%' ESCAPE '\' AND asy.owner LIKE 'REI' ESCAPE '\' AND
    asy.synonym_name LIKE 'G_PAGE' ESCAPE '\' ORDER BY table_schem,
    table_name, ordinal_positionThis is a very long and resource consuming query.
    Why this query is executed everytime I do a commit, select or anything.
    A commit is 30 sec long (http://swforum.sun.com/jive/thread.jspa?threadID=93759&tstart=0).
    Are all Oracle users subject to this problem?
    Regards
    Kuon

    Here's my theory:
    Oracle's jdbc driver (not Sun's) doesn't support rowset.getMetaData() until the query statement is executed. I understand that the database itself doesn't have support. (a year ago this was a problem, I still think so now).
    Sun's jdbc driver for Oracle (repackaged from DataDirect) does support rowset.getMetatData().
    So how does it do this? I don't know exactly, but the only way I can think of is that it is to parse the query, get the database meta data, and use all that to determine the resultSet meta data.
    I think you're seeing the "get the database meta data" request, and that's just taking along time.
    I'd expect that data to be cached by the driver on (at least) a per-connection basis. Doesn't look like though.
    Maybe someone from Sun has the current scoop for plans in this area.
    In the meantime, I think you're hosed if you want to use a CachedRowSet.
    Workarounds would be using plain old jdbc, hibernate, etc., to get the data then wrapping your results into an ObjectArrayDataProvider or whatever.
    Good luck.

  • Oracle 9i bad SELECT result?

    Hi people,
    Here is a doozy for everyone....
    Can someone please explain the following behaviour to me?
    I was trying to setup some test data for a unit test ( I wanted to select a random row from a data table ). Okedokey, off I went and constructed the data table with full precision timestamps for every hour in the current year. Now to construct some random time ranges, I want to select the results of a random row in that table. Ah ha! 9i's analytics to the rescue.
    DOH! It didn't work... without the counter-intuitive rownum restriction on dual it randomly returns no rows, multiple rows and more importanly rows that do NOT fulfil the criteria of b.n_row being equal to a.n_random_row. To get it to work I need to put the patently ridiculous ROWNUM = 1 against the DUAL inline view .... Any ideas what is going wrong?
    =============== SETUP =================
    create table tmp_timeline ( t_timestamp timestamp(9) with time zone );
    insert into tmp_timeline
    select to_timestamp_tz( '01-JAN-2002 00:00:00 +10:00', 'DD-MON-YYYY HH24:MI:SS TZH:TZM' ) + rownum / 24 t_timestamp
    from all_objects, all_objects
    where rownum < 8760;
    =============== SETUP ====================
    =============== ERRONEOUS? SQL =============
    select to_char( t_timestamp ) "timestamp",
    n_row,
    n_random_row
    from
    -- ( 8759 is the count(*) of rows in table tmp_timeline )
    select trunc( dbms_random.value( 1, 8759 ) ) n_random_row
    from dual
    -- where rownum = 1
    -- ???? Uncommenting the nonsense line above this one fixes!
    ) a
    inner join
    select tt.t_timestamp,
    row_number() over ( order by tt.t_timestamp ) n_row
    from tmp_timeline tt
    ) b
    on b.n_row = a.n_random_row
    =============== ERRONEOUS? SQL =============
    I was under the impression that DUAL is designed to return exactly ONE row. Is my understanding of INNER JOIN and DUAL somehow cockeyed or is there something weird going on with the function execution?
    Please shed some light on this if you have any ideas!
    Thanks,
    Lachlan Pitts
    [select * from v$version]
    Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
    PL/SQL Release 9.0.1.1.1 - Production
    CORE     9.0.1.1.1     Production
    TNS for 32-bit Windows: Version 9.0.1.1.0 - Production
    NLSRTL Version 9.0.1.1.1 - Production

    Partition Outer Joins is the feature of Oracle 10g not 9i
    i think u r confuse with Analytical Functions Partition by thing.... Analytical functions are available since 8i
    Syntax for 10g Partition by
    SELECT ...
    FROM ...
    PARTITION BY (expr [,expr ]... )
    RIGHT OUTER JOIN table_referenceBaig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How does oracle determine to return results with progression

    Hi all,
    I am having some difficulty with using the progression funcionality in oracle text search.
    I am basing this on the oracle example at http://www.oracle.com/technology/products/text/htdocs/prog_relax.html?_template=/ocom/print
    When I set up my tables and idexes as such:
    create table mybooks (title varchar2(20), author varchar2(20));
    insert into mybooks values ('Consider the Lillies', 'Ian Crichton Smith');
    insert into mybooks values ('Sphere', 'Michael Crichton');
    insert into mybooks values ('Stupid White Men', 'Michael Moore');
    insert into mybooks values ('Lonely Day', 'Michaela Criton');
    insert into mybooks values ('How to Teach Poetry', 'Michaela Morgan');
    insert into mybooks values ('my test', 'vs.update flag');
    create index auth_idx on mybooks (author) indextype is ctxsys.context;
    note I added the "my test" entry;
    now when I run the query:
    SELECT score(1), title, author FROM mybooks WHERE CONTAINS (author, '
    <query>
    <textquery>
    <progression>
    <seq>flag update</seq>
    <seq>?flag ?update</seq>
    <seq>flag OR update</seq>
    <seq>?flag OR ?update</seq>
    </progression>
    </textquery>
    </query>', 1) > 0 ORDER BY score(1) DESC;
    I get no results.
    however if I switch the sequence to:
    SELECT score(1), title, author FROM mybooks WHERE CONTAINS (author, '
    <query>
    <textquery>
    <progression>
    <seq>?flag OR ?update</seq>
    <seq>flag update</seq>
    <seq>?flag ?update</seq>
    <seq>flag OR update</seq>
    </progression>
    </textquery>
    </query>', 1) > 0 ORDER BY score(1) DESC;
    The row I am looking for comes back.
    I do not understand why in one case it returns it while in the other it does not. Should it not return it either way just with a lower score?
    Any help would be appreciated.
    Thanks,
    Mik

    Hi,
    I am running 10.2.0.2 on solaris(x86) system.
    Referring to http://www.oracle.com/technology/support/patches.htm this appears to be the most recent patch level for this os/processor combo.
    Is there another patch/hotfix available that I am not aware of or a workaround to this issue?
    Thanks,
    Mike

  • Order Omniportlet results dinamically

    Hi,
    do you think it's possible to customize the Omniportlet (SQL mode) to let the user click on the column names and choose the way the items are ordered in the same Omniportlet?This way the user can click on the column "name" and the results of the sql query are displayed in order according to the name, if the user clicks on "date" the order of rows is based on the date.
    Do you think something like this is possible, eventually passing some parameters to the page or using some substitution tags?
    Thanks.
    Letizia

    Hi Letizia,
    in latest portal release(10.1.4), you can define your custom html output for Omniportlet.
    This means that each omniportlet will be splitted in 3 sections
    Header
    Repeating Row
    Footer
    and for each section you can define your custom html output
    so you may have as header section
    <tr>
    <td>ename</td>
    <td>deptno</td>
    <td>hiredate</td>
    </tr>(check the url in the browser as the forum does not allow me to write the href tag) :-(
    then you have to create your query and parameters accordingly
    Hope this helps
    Cheers
    Diego
    PS
    http://www.oracle.com/technology/products/ias/portal/pdf/portal_1014_new_features.pdf

  • Help with the Oracle Fusion Order Demo deployment to Weblogic Server

    Hello all,
    I am new to SOA and am in the process of understanding SOA concepts. I am trying to deploy the Fusion Order Demo sample application to the Weblogic server. I am following the instructions given at : [http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm|http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm] .
    I am getting error when running the ant task "server-setup-seed-deploy-test" which deploys the Composite applications to the Weblogic Server. The ant log is pasted at the end of the post. The only difference i found from the instructions is that i do not have a AS11gR1SOA directory in my MW_HOME. Instead i have Oracle_SOA1 and i gave that directory's path for the parameter "soa.server.oracle.home".
    I tried running the sub tasks in the "server-setup-seed-deploy-test" individually and only the last task "test-fod-composite-end2end" failed. Since the other tasks like "compile-deploy-all" were successfull, I tried to see the deployed applications in the soa domain. When i checked the soa domain in the Weblogic server console, I see only the "B2BX12OrderGateway" under the soa-infra. The OrderBookingComposite and others are not deployed.
    Please help me in fixing this. Hope I have explained the problem correctly.
    Thanks in advance
    Nishan
    -------------------------------------Apache ant log for "server-setup-seed-deploy-test"-----------------------------------------
    Buildfile: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    server-setup-seed-deploy-test:
    [echo] Setting up mds store, deploying shared artifacts,
    seeding jms info, deploying to server, and running tests
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    createMDSConnections:
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForDB:
    [echo] Creating ../.adf/META-INF/adf-config.xml for database backed MDS
    [input] skipping input as property mds.db.password has already been set.
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
    [echo] Using jdbc:oracle:thin:@localhost:1521:xe for db-based backing, with user dev_mds
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForFileStore:
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForServerFileStore:
    importCommonServiceArtifactsIntoMds:
    [java] Starting local filesystem import into mds ..
    [java] Got target mds-instance: mstore-usage_1 from C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\..\.adf\META-INF\adf-config.xml
    [java] Creating mds connection to ./soa-seed/apps
    [java] --> C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\.\soa-seed
    [java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
    [java] Local item: /apps/FusionOrderDemoShared/policy/fault-bindings.xml
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/policy/fault-policies.xml
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
    [java] Now transferring ..
    [java] 4 Apr, 2010 3:39:18 PM oracle.mds
    [java] NOTIFICATION: import operation started.
    [java] 4 Apr, 2010 3:39:22 PM oracle.mds
    [java] Transferred size = 15
    [java] Transferred - /apps/FusionOrderDemoShared/policy/fault-bindings.xml
    [java] Transferred - /apps/FusionOrderDemoShared/policy/fault-policies.xml
    [java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
    [java] NOTIFICATION: import is completed. Total number of documents successfully processed : 15, total number of documents failed : 0.
    [java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
    [java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    compile-build-all:
    [echo] Building and compiling SOA Fusion Order Demo ..
    clean:
    [echo] Cleanup of OrderApprovalHumanTask
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
    init:
    compile:
    [javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
    copy:
    [copy] Copying 191 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
    create-ear:
    [copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
    [war] Building war: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
    setupDeploymentEnvironment:
    [echo] Step1: copy template ./templates/connections.xml.seed to ../../.adf/META-INF/connections.xml
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
    [echo] Step2: setup descriptor, soa-only? false, modifying ../../.adf/META-INF/connections.xml
    [echo] replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] replacing ws-binding with {www.globalcompany.example.com}StoreFrontServiceSoapHttp
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
    [copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    [ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//deploy/sca_OrderBookingComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml'
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] >> modified xmlbean locale class in use
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] WARNING: location {ns:composite/ns:reference[@name='CreditCardAuthorizationService']}(170,128): Failed to Find Binding "CreditCardAuthorizationService":"{http://www.globalcompany.example.com/ns/CreditAuthorizationService}CreditAuthorizationPort" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='PartnerSupplierService']}(163,122): Failed to Find Binding "PartnerSupplierService":"{http://www.partnersupplier.example.com/ns/warehouse}ExternalPartnerSupplier_pt" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(176,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
    [scac] WARNING: in OrderProcessor.bpel(218): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}long" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}double"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}boolean"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(407): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}boolean" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(533): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query

    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    [copy] Copying 133 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    setupDeploymentEnvironment:
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin
    [echo] Setting up deployment plan, modifying orderbooking_deployment_plan.xml
    [echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] Replacing soa server and wls server information
    [echo] -SOA: localhost 8001
    [echo] Replacing file adapter endpoint with /tmp
    [echo] Replacing values for bam connection in connections.xml
    [echo] Bam server host: sta00057.us.oracle.com
    [echo] Bam server host: 9001
    [echo] Bam server user: weblogic
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//deploy/sca_PartnerSupplierComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml'
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] >> modified xmlbean locale class in use
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] WARNING: in PartnerSupplierMediator.mplan: Case "ExternalPartnerSupplier.externalpartnersupplier_client.process" doesnt have any payload transformation Please make sure source and target message part name are same and of same type. Otherwise, target reference may fail to execute with error message like "Input sourcelike Null" or "Part not found"
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    [copy] Copying 17 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//deploy/sca_OrderSDOComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml'
    [scac] WARNING: in CustomerAndOrderService.bpel(254): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}anySimpleType" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}integer"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in CustomerAndOrderService.bpel(359): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in CustomerAndOrderService.bpel(493): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    [copy] Copying 11 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//deploy/sca_B2BX12OrderGateway_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml'
    [scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(48,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='OrderBookingService']}(59,116): Failed to Find Binding "OrderBookingService":"{http://www.globalcompany.example.com/ns/OrderBookingService}OrderProcessor_pt" in WSDL Manager
    [scac] WARNING: in B2BOrderProcessingEngine.componentType: property "bpel.config.use.events" may not be understood by BPEL component B2BOrderProcessingEngine - it will likely be ignored.
    [scac] WARNING: in B2BOrderProcessingEngine.bpel(188): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    [copy] Copying 24 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    setupDeploymentEnvironment:
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin
    [echo] Setting up deployment plan, modifying B2BX12OrderGateway_deployment_plan.xml
    [echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] Replacing soa server and wls server information
    [echo] -SOA: localhost 8001
    [echo] Replacing communication style, eventbased? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    compile:
    create-war:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    create-ear:
    [echo] global: true > ejb: ${use.ejb} jsca: true
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] Cleaning up external partner supplier ejb project ../classes/../deploy
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    copy:
    [copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
    compile:
    [javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
    [javac] Note: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\src\com\otn\sample\fod\soa\externalps\test\EpsSessionEJBClient.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    create-ejb-ear:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    copy:
    compile:
    create-jsca-ear:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
    [copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
    [echo] ../classes/meta-inf/
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib\ExternalPartnerSupplierScaModule.jar
    [jar] Warning: skipping jar archive C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar because no files were included.
    [jar] Building MANIFEST-only jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar
    [ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
    compile-deploy-all:
    [echo] Deploying SOA Fusion Order Demo ..
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    deploy-application:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    deploy-jsca-library:
    [wldeploy] weblogic.Deployer -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy -library
    [wldeploy] weblogic.Deployer invoked with options: -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy -library
    [wldeploy] <4 Apr, 2010 3:40:55 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, weblogic-sca [archive: C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war], to soa_server1 .>
    [wldeploy] weblogic.Deployer -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy
    [wldeploy] <4 Apr, 2010 3:41:11 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ExternalPartnerSupplierEjb [archive: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear], to soa_server1 .>
    BUILD FAILED
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:295: The following error occurred while executing this line:
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:156: The following error occurred while executing this line:
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\bin\build.xml:169: weblogic.management.ManagementException: [Deployer:149163]The domain edit lock is owned by another session in non-exclusive mode - this deployment operation requires exclusive access to the edit lock and hence cannot proceed. If you are using "Automatically Aquire Lock and Activate Changes" in the console, then the lock will expire shortly so retry this operation.
    Total time: 2 minutes 1 second

Maybe you are looking for