Testsuite execution in Oracle SOA test framework

All,
soa suite version: 11.1.1.4
Requirement:
I have set of testcases for a testsuite 'acceptance'.  I'm trying to run the test suite using ANT by invoking 'ant-sca-test.xml'.  I noticed that the order of running the test cases are not the same.  Each time I run the testsuite, soa framework runs in any order. Now my actual requirement is, at the time of execution of each test case, is it possible to get the test case name.  If so, how do I get the test case name(s)?
I explain with an example
1. I have a testsuite folder called 'Acceptance'
2. In that testsuite, I created test cases such as 'Test case1', 'Test case2', 'TC3', 'Test case 4'
3. When I run these test suite folder using ANT command as below, Is it possible to get these test case names? (i.e TC3, Test case4 etc)
<target name="InvoiceAutomation">
<ant antfile="D:/soa11g/Middleware/Oracle_SOA1/bin/ant-sca-test.xml" inheritAll="false"  target="test">
            <property name="scatest.input" value="Invoice"/>
            <property name="scatest.partition" value="default"/>
            <property name="scatest.format" value="junit"/>
            <property name="scatest.result" value="output"/>
            <property name="jndi.properties.input" value="dev.jndi.properties"/>
</ant>
<ant antfile="D:/soa11g/Middleware/Oracle_SOA1/bin/ant-sca-test.xml" inheritAll="false"  target="report">
            <property name="scatest.result" value="D:/Rambo-14/Util/BuildNDeploy/output"/>
        </ant>
</target>
Thanks
sen

Hi,
Thanks for the reply. I think you have got it wrong. Point 1 and Point 2 are completely independent doubts.
So, isn't there a way to change other values also.
Thanks,
Karthick

Similar Messages

  • How to do the testing in Oracle SOA suite 11g

    Hi,
    Could any one plz provide the info abt " How to prepare the Test Suite(Test cases) in oracle soa 10g/11g ". Information provided that is been related to real time scenarios is much appreciated.
    Thanks in advance,
    Venu

    Hi,
    Check whether this doc:
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_testsuite.htm
    and this blog can help you:
    http://biemond.blogspot.com/2009/07/unit-test-your-composite-application.html
    hth,
    Peter Paul

  • Oracle Test Framework and the UPK

    Does anyone know how the "Oracle Test Framework" works with or how it replaces the UPK for testing?
    PTF works by replicating the actions of a single user executing functional tests against a PeopleSoft browser-based application. Users can record manual test procedures and save them within the framework.
    The PeopleSoft Test Framework (PTF) was introduced in PeopleTools 8.51 and automates various tasks within PeopleSoft applications, primarily functional testing. Automating functional testing enables testers to execute more tests with greater accuracy during a shorter time.
    Test assets (tests and test cases) are stored in a database as Application Designer objects. As a result, test assets are PeopleTools-managed objects, which can be managed along with other PeopleTools-managed objects through PeopleSoft Lifecycle Management.
    Thanks

    1. Yes you need a web server
    2. the env. vars:
    REPORT60_VIRTUAL_MAP,
    REPORTS60_PHYSICAL_MAP, and
    REPORT60_SHARED_CACHE
    are no longer needed.
    3. The 'community' part of the Reports sever entry in your tnsnames.ora isn't required.
    Regards
    The Oracle Reports Team http://technet.oracle.com

  • Some Thoughts On An OWB Performance/Testing Framework

    Hi all,
    I've been giving some thought recently to how we could build a performance tuning and testing framework around Oracle Warehouse Builder. Specifically, I'm looking at was in which we can use some of the performance tuning techniques described in Cary Millsap/Jeff Holt's book "Optimizing Oracle Performance" to profile and performance tune mappings and process flows, and to use some of the ideas put forward in Kent Graziano's Agile Methods in Data Warehousing paper http://www.rmoug.org/td2005pres/graziano.zip and Steven Feuernstein's utPLSQL project http://utplsql.sourceforge.net/ to provide an agile/test-driven way of developing mappings, process flows and modules. The aim of this is to ensure that the mappings we put together are as efficient as possible, work individually and together as expected, and are quick to develop and test.
    At the moment, most people's experience of performance tuning OWB mappings is firstly to see if it runs set-based rather than row-based, then perhaps to extract the main SQL statement and run an explain plan on it, then check to make sure indexes etc are being used ok. This involves a lot of manual work, doesn't factor in the data available from the wait interface, doesn't store the execution plans anywhere, and doesn't really scale out to encompass entire batches of mapping (process flows).
    For some background reading on Cary Millsap/Jeff Holt's approach to profiling and performance tuning, take a look at http://www.rittman.net/archives/000961.html and http://www.rittman.net/work_stuff/extended_sql_trace_and_tkprof.htm. Basically, this approach traces the SQL that is generated by a batch file (read: mapping) and generates a file that can be later used to replay the SQL commands used, the explain plans that relate to the SQL, details on what wait events occurred during execution, and provides at the end a profile listing that tells you where the majority of your time went during the batch. It's currently the "preferred" way of tuning applications as it focuses all the tuning effort on precisely the issues that are slowing your mappings down, rather than database-wide issues that might not be relevant to your mapping.
    For some background information on agile methods, take a look at Kent Graziano's paper, this one on test-driven development http://c2.com/cgi/wiki?TestDrivenDevelopment , this one http://martinfowler.com/articles/evodb.html on agile database development, and the sourceforge project for utPLSQL http://utplsql.sourceforge.net/. What this is all about is having a development methodology that builds in quality but is flexible and responsive to changes in customer requirements. The benefit of using utPLSQL (or any unit testing framework) is that you can automatically check your altered mappings to see that they still return logically correct data, meaning that you can make changes to your data model and mappings whilst still being sure that it'll still compile and run.
    Observations On The Current State of OWB Performance Tuning & Testing
    At present, when you build OWB mappings, there is no way (within the OWB GUI) to determine how "efficient" the mapping is. Often, when building the mapping against development data, the mapping executes quickly and yet when run against the full dataset, problems then occur. The mapping is built "in isolation" from its effect on the database and there is no handy tool for determining how efficient the SQL is.
    OWB doesn't come with any methodology or testing framework, and so apart from checking that the mapping has run, and that the number of rows inserted/updated/deleted looks correct, there is nothing really to tell you whether there are any "logical" errors. Also, there is no OWB methodology for integration testing, unit testing, or any other sort of testing, and we need to put one in place. Note - OWB does come with auditing, error reporting and so on, but there's no framework for guiding the user through a regime of unit testing, integration testing, system testing and so on, which I would imagine more complete developer GUIs come with. Certainly there's no built in ability to use testing frameworks such as utPLSQL, or a part of the application that let's you record whether a mapping has been tested, and changes the test status of mappings when you make changes to ones that they are dependent on.
    OWB is effectively a code generator, and this code runs against the Oracle database just like any other SQL or PL/SQL code. There is a whole world of information and techniques out there for tuning SQL and PL/SQL, and one particular methodology that we quite like is the Cary Millsap/Jeff Holt "Extended SQL Trace" approach that uses Oracle diagnostic events to find out exactly what went on during the running of a batch of SQL commands. We've been pretty successful using this approach to tune customer applications and batch jobs, and we'd like to use this, together with the "Method R" performance profiling methodology detailed in the book "Optimising Oracle Performance", as a way of tuning our generated mapping code.
    Whilst we want to build performance and quality into our code, we also don't want to overburden developers with an unwieldy development approach, because what we'll know will happen is that after a short amount of time, it won't get used. Given that we want this framework to be used for all mappings, it's got to be easy to use, cause minimal overhead, and have results that are easy to interpret. If at all possible, we'd like to use some of the ideas from agile methodologies such as eXtreme Programming, SCRUM and so on to build in quality but minimise paperwork.
    We also recognise that there are quite a few settings that can be changed at a session and instance level, that can have an effect on the performance of a mapping. Some of these include initialisation parameters that can change the amount of memory assigned to the instance and the amount of memory subsequently assigned to caches, sort areas and the like, preferences that can be set so that indexes are preferred over table scans, and other such "tweaks" to the Oracle instance we're working with. For reference, the version of Oracle we're going to use to both run our code and store our data is Oracle 10g 10.1.0.3 Enterprise Edition, running on Sun Solaris 64-bit.
    Some initial thoughts on how this could be accomplished
    - Put in place some method for automatically / easily generating explain plans for OWB mappings (issue - this is only relevant for mappings that are set based, and what about pre- and post- mapping triggers)
    - Put in place a method for starting and stopping an event 10046 extended SQL trace for a mapping
    - Put in place a way of detecting whether the explain plan / cost / timing for a mapping changes significantly
    - Put in place a way of tracing a collection of mappings, i.e. a process flow
    - The way of enabling tracing should either be built in by default, or easily added by the OWB developer. Ideally it should be simple to switch it on or off (perhaps levels of event 10046 tracing?)
    - Perhaps store trace results in a repository? reporting? exception reporting?
    at an instance level, come up with some stock recommendations for instance settings
    - identify the set of instance and session settings that are relevant for ETL jobs, and determine what effect changing them has on the ETL job
    - put in place a regime that records key instance indicators (STATSPACK / ASH) and allows reports to be run / exceptions to be reported
    - Incorporate any existing "performance best practices" for OWB development
    - define a lightweight regime for unit testing (as per agile methodologies) and a way of automating it (utPLSQL?) and of recording the results so we can check the status of dependent mappings easily
    other ideas around testing?
    Suggested Approach
    - For mapping tracing and generation of explain plans, a pre- and post-mapping trigger that turns extended SQL trace on and off, places the trace file in a predetermined spot, formats the trace file and dumps the output to repository tables.
    - For process flows, something that does the same at the start and end of the process. Issue - how might this conflict with mapping level tracing controls?
    - Within the mapping/process flow tracing repository, store the values of historic executions, have an exception report that tells you when a mapping execution time varies by a certain amount
    - get the standard set of preferred initialisation parameters for a DW, use these as the start point for the stock recommendations. Identify which ones have an effect on an ETL job.
    - identify the standard steps Oracle recommends for getting the best performance out of OWB (workstation RAM etc) - see OWB Performance Tips http://www.rittman.net/archives/001031.html and Optimizing Oracle Warehouse Builder Performance http://www.oracle.com/technology/products/warehouse/pdf/OWBPerformanceWP.pdf
    - Investigate what additional tuning options and advisers are available with 10g
    - Investigate the effect of system statistics & come up with recommendations.
    Further reading / resources:
    - Diagnosing Performance Problems Using Extended Trace" Cary Millsap
    http://otn.oracle.com/oramag/oracle/04-jan/o14tech_perf.html
    - "Performance Tuning With STATSPACK" Connie Dialeris and Graham Wood
    http://www.oracle.com/oramag/oracle/00-sep/index.html?o50tun.html
    - "Performance Tuning with Statspack, Part II" Connie Dialeris and Graham Wood
    http://otn.oracle.com/deploy/performance/pdf/statspack_tuning_otn_new.pdf
    - "Analyzing a Statspack Report: A Guide to the Detail Pages" Connie Dialeris and Graham Wood
    http://www.oracle.com/oramag/oracle/00-nov/index.html?o60tun_ol.html
    - "Why Isn't Oracle Using My Index?!" Jonathan Lewis
    http://www.dbazine.com/jlewis12.shtml
    - "Performance Tuning Enhancements in Oracle Database 10g" Oracle-Base.com
    http://www.oracle-base.com/articles/10g/PerformanceTuningEnhancements10g.php
    - Introduction to Method R and Hotsos Profiler (Cary Millsap, free reg. required)
    http://www.hotsos.com/downloads/registered/00000029.pdf
    - Exploring the Oracle Database 10g Wait Interface (Robin Schumacher)
    http://otn.oracle.com/pub/articles/schumacher_10gwait.html
    - Article referencing an OWB forum posting
    http://www.rittman.net/archives/001031.html
    - How do I inspect error logs in Warehouse Builder? - OWB Exchange tip
    http://www.oracle.com/technology/products/warehouse/pdf/Cases/case10.pdf
    - What is the fastest way to load data from files? - OWB exchange tip
    http://www.oracle.com/technology/products/warehouse/pdf/Cases/case1.pdf
    - Optimizing Oracle Warehouse Builder Performance - Oracle White Paper
    http://www.oracle.com/technology/products/warehouse/pdf/OWBPerformanceWP.pdf
    - OWB Advanced ETL topics - including sections on operating modes, partition exchange loading
    http://www.oracle.com/technology/products/warehouse/selfserv_edu/advanced_ETL.html
    - Niall Litchfield's Simple Profiler (a creative commons-licensed trace file profiler, based on Oracle Trace Analyzer, that displays the response time profile through HTMLDB. Perhaps could be used as the basis for the repository/reporting part of the project)
    http://www.niall.litchfield.dial.pipex.com/SimpleProfiler/SimpleProfiler.html
    - Welcome to the utPLSQL Project - a PL/SQL unit testing framework by Steven Feuernstein. Could be useful for automating the process of unit testing mappings.
    http://utplsql.sourceforge.net/
    Relevant postings from the OTN OWB Forum
    - Bulk Insert - Configuration Settings in OWB
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=291269&tstart=30&trange=15
    - Default Performance Parameters
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=213265&message=588419&q=706572666f726d616e6365#588419
    - Performance Improvements
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=270350&message=820365&q=706572666f726d616e6365#820365
    - Map Operator performance
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=238184&message=681817&q=706572666f726d616e6365#681817
    - Performance of mapping with FILTER
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=273221&message=830732&q=706572666f726d616e6365#830732
    - Poor mapping performance
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=275059&message=838812&q=706572666f726d616e6365#838812
    - Optimizing Mapping Performance With OWB
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=269552&message=815295&q=706572666f726d616e6365#815295
    - Performance of mapping with FILTER
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=273221&message=830732&q=706572666f726d616e6365#830732
    - Performance of the OWB-Repository
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=66271&message=66271&q=706572666f726d616e6365#66271
    - One large JOIN or many small ones?
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=202784&message=553503&q=706572666f726d616e6365#553503
    - NATIVE PL SQL with OWB9i
    http://forums.oracle.com/forums/thread.jsp?forum=57&thread=270273&message=818390&q=706572666f726d616e6365#818390
    Next Steps
    Although this is something that I'll be progressing with anyway, I'd appreciate any comment from existing OWB users as to how they currently perform performance tuning and testing. Whilst these are perhaps two distinct subject areas, they can be thought of as the core of an "OWB Best Practices" framework and I'd be prepared to write the results up as a freely downloadable whitepaper. With this in mind, does anyone have an existing best practices for tuning or testing, have they tried using SQL trace and TKPROF to profile mappings and process flows, or have you used a unit testing framework such as utPLSQL to automatically test the set of mappings that make up your project?
    Any feedback, add it to this forum posting or send directly through to me at [email protected]. I'll report back on a proposed approach in due course.

    Hi Mark,
    interesting post, but I think you may be focusing on the trees, and losing sight of the forest.
    Coincidentally, I've been giving quite a lot of thought lately to some aspects of your post. They relate to some new stuff I'm doing. Maybe I'll be able to answer in more detail later, but I do have a few preliminary thoughts.
    1. 'How efficient is the generated code' is a perennial topic. There are still some people who believe that a code generator like OWB cannot be in the same league as hand-crafted SQL. I answered that question quite definitely: "We carefully timed execution of full-size runs of both the original code and the OWB versions. Take it from me, the code that OWB generates is every bit as fast as the very best hand-crafted and fully tuned code that an expert programmer can produce."
    The link is http://www.donnapkelly.pwp.blueyonder.co.uk/generated_code.htm
    That said, it still behooves the developer to have a solid understanding of what the generated code will actually do, such as how it will take advantage of indexes, and so on. If not, the developer can create such monstrosities as lookups into an un-indexed field (I've seen that).
    2. The real issue is not how fast any particular generated mapping runs, but whether or not the system as a whole is fit for purpose. Most often, that means: does it fit within its batch update window? My technique is to dump the process flow into Microsoft Project, and then to add the timings for each process. That creates a Critical Path, and then I can visually inspect it for any bottleneck processes. I usually find that there are not more than one or two dogs. I'll concentrate on those, fix them, and re-do the flow timings. I would add this: the dogs I have seen, I have invariably replaced. They were just garbage, They did not need tuning at all - just scrapping.
    Gee, but this whole thing is minimum effort and real fast! I generally figure that it takes maybe a day or two (max) to soup up system performance to the point where it whizzes.
    Fact is, I don't really care whether there are a lot of sub-optimal processes. All I really care about is performance of the system as a whole. This technique seems to work for me. 'Course, it depends on architecting the thing properly in the first place. Otherwise, no amount of tuning of going to help worth a darn.
    Conversely (re. my note about replacing dogs) I do not think I have ever tuned a piece of OWB-generated code. Never found a need to. Not once. Not ever.
    That's not to say I do not recognise the value of playing with deployment configuration parameters. Obviously, I set auditing=none, and operating mode=set based, and sometimes, I play with a couple of different target environments to fool around with partitioning, for example. Nonetheless, if it is not a switch or a knob inside OWB, I do not touch it. This is in line with my dictat that you shall use no other tool than OWB to develop data warehouses. (And that includes all documentation!). (OK, I'll accept MS Project)
    Finally, you raise the concept of a 'testing framework'. This is a major part of what I am working on at the moment. This is a tough one. Clearly, the developer must unit test each mapping in a design-model-deploy-execute cycle, paying attention to both functionality and performance. When the developer is satisifed, that mapping will be marked as 'done' in the project workbook. Mappings will form part of a stream, executed as a process flow. Each process flow will usually terminate in a dimension, a fact, or an aggregate. Each process flow will be tested as an integrated whole. There will be test strategies devised, and test cases constructed. There will finally be system tests, to verify the validity of the system as a production-grade whole. (stuff like recovery/restart, late-arriving data, and so on)
    For me, I use EDM (TM). That's the methodology I created (and trademarked) twenty years ago: Evolutionary Development Methodology (TM). This is a spiral methodology based around prototyping cycles within Stage cycles within Release cycles. For OWB, a Stage would consist (say) of a Dimensional update. What I am trying to now is to graft this within a traditional waterfall methodology, and I am having the same difficulties I had when I tried to do it then.
    All suggestions on how to do that grafting gratefully received!
    To sum up, I 'm kinda at a loss as to why you want to go deep into OWB-generated code performance stuff. Jeepers, architect the thing right, and the code runs fast enough for anyone. I've worked on ultra-large OWB systems, including validating the largest data warehouse in the UK. I've never found any value in 'tuning' the code. What I'd like you to comment on is this: what will it buy you?
    Cheers,
    Donna
    http://www.donnapkelly.pwp.blueyonder.co.uk

  • Installing Oracle SOA suite 10.1.3.1.0 on windows server 2008-64 bit.

    Hi,
    Installing Oracle SOA suite 10.1.3.1.0 on windows server 2008-64 bit.
    Getting the following exception when installing BPEL
    oracle.as.install.util.ActionFailedException : java.io.FileNotFound Exception :
    D:\software\bpel\bpel_oc4j\install\log.properties(The system couldnot find the specified).
    at oracle.as.install.action.LogConfigAction.execution(Unknown Source)
    at oracle.as.install.util.ActionQueue.run(Unknown Source)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(Unknown Source)
    Caused by : java.io.FileNotFoundException : D:\software\bpel\bpel_oc4j\install\log.properties
    (The system cannot find the specified file)
    at java.io.FileInputStrem.open(Native Method)
    at java.io.FileInputStrem.<init>(Unknown Source)
    at oracle.as.install.action.LogConfigAction.execute(Unknown Source)
    at oracle.as.install.util.ActionQueue.run(Unknown Source)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(Unknown Source)
    In the unzipped BPEL software folder for installation there is no such file.
    Have installed several Oracle SOA suite 10.3.1.0 on windows server 2003 - 32 bit using the same software.
    But now am using it along with a patch- p6712338 for windows server 2008-64 bit.

    If this is a production instance, you should NOT read past this sentence -- contact Oracle support to do it right.
    If this is just for testing/experiments, have you tried putting an empty file at D:\software\bpel\bpel_oc4j\install\log.properties? How about putting a copy of the file from one of your "windows server 2003 - 32 bit" installations?
    Good luck, Andy

  • Peoplesoft Test Framework

    Hi,
    I am using the PS Test Framework and I have already some testcases which funtion correctly.
    But there is an order which seems to have a problem:
    Type:Browser
    Action:waitForNew
    It waits... the new window opens but the test execution does not stop waiting but after the waiting time it throws a timeout error. So the
    opening of the new window does not trigger anything. I cannot fix this problem so I am asking you for help.
    Facts:
    - some other orders did not function also when I worked on two screens and the resolution of the screens were different. For example a click on an <img> tag was effectless (but only by the clicking on the image, on other buttons or links it functioned)
    - I am using IE 9.0.8112.16421
    - on an other machine this order functioned well, the IE version was the same and the main browser configuration also. But next time it did not work on the other computer also and I do not know what does it depend on. It happens also when I work on one monitor.
    I could not find a workaround and I am blocked because there are a lot of links which trigger to open a new browser instance and there is sometime no other way to get from A to B on the GUI.
    Thank you in advance.
    Regrads,
    Csaba

    Well, I won't speak for Oracle here but rather as a user of the ATS tools for a number of years (all the way back to the original RSWSoftware e-Test suite 3.x in late 1999 then into the Empirix versions and now into Oracle). The suite has been evolving for years since the original "all vb platform" to the new web and java based platforms. So your comment:
    "First they came up with Oracle functional tester (VB Scripting) then Open script (Java) and now for peoplesoft PTF 8.51 I can't get a reason behind this."
    can at least be partially explained by the software evolving ....OpenScript was being talked about at the Empirix User Conferences for many years before Oracle officially released it. OFT was really just the old e-Tester that had been hanging around for years and years. I suspect there is a similar story behind the PTF 8.51 release as some of what it represents had been hanging around in PeopleTools for some time and for one reason or another they put a UI on it and released it as yet another tool. PeopleSoft has always marched to their own beat so is it really a surprise :-)
    I suspect - and hopefully Oracle will clarify this - that at some point there will be yet another "accelerator" applied to ATS to integrate with this in the same way that they integrate with the Siebel Test API or EBS. Again, just an opinion here but given that test management, load testing and automated regression testing using ATS is the focus of Siebel, EBS, ADF, Flex, 3rd party Web apps, and Webservices ...etc .... I would say that ATS is the test tool the investments are being made in. I bet at some point they will be hitting us all up for licensing of the "peoplesoft accelerator for leveraging PTF in ATS" - yet another licensing pack! :-)

  • Certifications in Oracle SOA Suite

    Hi
    I have cleared "Oracle SOA Foundation Practitioner Exam (1Z0-451) " year ago..
    I like to go up the ladder in this. So what would the best certification program that i can learn and register.
    Regards
    Sesha

    (Probably the reason people are shy to answer is that your questions are too many for a single topic and also your grammar makes it a bit hard to understand what exactly you're asking.)
    Still, let me try to answer some:
    > Is it first basic certification to give you an aid to become an Oracle Service Oriented Architecture ?
    You probably mean "to become an Architect". Nope, this is not the first choice. This one helps you to map Oracle products into SOA concepts. SOA concepts though are better be learned in separation to specific products, i.e. before taking an Oracle exam.
    > Is there any prerequisite to write this test , any mandotry requirement which need to do before writing this test?
    The exam page clearly states that some prior knowledge is required, though it doesn't matter how you've got that knowledge.
    > How TOGAF is different from Oracle SOA suite certifications?
    TOGAF is a general framework which compliant teams should follow to produce architectures/designs that are ... well, lacking unpleasant surprises. TOGAF can be applied to any IT architecture, not only SOA.
    > to become an Oracle Service Oriented Architecture one need to adhere all these stuff
    No. As any question-based exam, passing it doesn't guarantee you know a thing about SOA. Instead, taking an exam is an opportunity to structure your own knowledge about the subject and close the gaps you have in your knowledge. After you did that, you do not really need to take an exam -- but the certifications look good on resumes.
    > i heared SOA is dead
    No. Elvis is dead though. I'd prefer other way around.
    Vlad
    http://vladimirdyuzhev.com

  • 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

  • [svn] 3526: The call to the TestNG task in the configuration test framework had haltOnFailure set to true which is not what we want .

    Revision: 3526
    Author: [email protected]
    Date: 2008-10-08 14:21:40 -0700 (Wed, 08 Oct 2008)
    Log Message:
    The call to the TestNG task in the configuration test framework had haltOnFailure set to true which is not what we want. Failures will get logged to the database at which point we can review them.
    Also fix a failing test.
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/build.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/messagingService/jms/NoJNDINameT est/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/messagingService/jms/NoJNDINameT est/services-config.xml

    I have a standard Ant build script for signing a jar file. I import it into my master Ant build files with
    <import file="Sign.xml"/>
    and then in my master Ant script I setup the name of the jar file e.g.
    <property name="jar-file" value="${fun}/FunApplet.jar"/>
    and then invoke a target
    <target name="sign-jar" depends="jar, sign">
    </target>
    Since this target (sign-jar) depends on target 'jar' and target 'sign' it executes the 'jar' target and then the 'sign' target that is contained in Sign.xml.

  • Oracle SOA suite 11.1.1.2

    Hi All,
    I have been using following tools on windows developing soa applications.
    Jdeveloper 11g
    Oracle Soa suite 11g
    Weblogic server 10.1.3
    Soa server
    I am going good with all these on windows. able to create bpel processes and able to deploy and run on soa/weblogic server.
    Now, I want to install same setup on Mac book pro.
    Can anyone please guide me how it is going to be different on Mac compared to what I have been always doing on windows ?
    Difference in terms of installation files, version issues if any. Does the same installation files work for Mac as well (since its Java - I am guessing it is same for all platforms including Mac). pl correct me with valuable inputs.
    thanks,
    pp

    Oracle SOA Suite 11.1.1.2 is the Patchset released for Oracle SOA Suite 11gR1. It includes new features like SOA Composer.
    It is a production ready version only else it would be mentioned as BETA or something. I haven't faced any issues with adapters there.
    You can install the software, test your apps, make sure it works before adopting it.

  • Start process from global creation using a signal in Oracle SOA Suite 11g

    I want to start a process using a signal or an automatic activity from a link in the BPM workspace. The only way I have found to do that is using an initiator human task activity, but I just want to execute some script activities without a task flow.
    Any idea?

    Hi,
    Some considerations:
    - The path <DOMAIN_HOME>/lib is usually used to place shared libs to the Admin server (jdbc libs to allow connection factory configuration, for example)
    - The path <OSS_HOME>/soa/modules/oracle.soa.ext_11.1.1 is the right place to put shared libs that will be used by SOA composite applications (like javaAction implementations for Fault Handling Framework or libs called within Java Embedding). See the readme file inside this directory to know how it works.
    Also, changes in the startWeblogic script will affect the JVM of the Admin Server. To apply changes to managed servers, like the soa_server, make your changes in the startManagedServer script.
    Lastly, pay attention in the parameter you are passing to the JVM. The correct parameter is -Dlog4j.configuration=file:<PATH> and not -Dlog4j.configuration=<PATH> as you are using.
    With this in mind, I published a new post in my blog that explains what is necessary to do to call Log4j within a BPEL process: http://blog.andrade.inf.br/2010/09/generating-custom-logs-with-log4j.html
    I hope this may help you.
    Regards,
    Rafael Andrade

  • Oracle SOA 11g TP3 - Tutorial problem

    Hello!
    I am quite new to this whole platform, and while I was following the First step of the tutorial, I ran into a problem, which I have no idea how to solve.
    (this tutorial: http://download.oracle.com/otndocs/products/soa/105-end2end-PO-Processing.zip )
    As it said I installed the prerequisites,
    an Oracle database,
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    the Oracle SOA Suite 11g TP3,
    as well as jDeveloper 11.1.1.0.0
    After I successfully created and successfully deployed the 'CreditCardValidation Application' following the steps in 105-end2end-PO-Processing_2.pdf (part of the zip, but it's basically a database adapter a mediator and an exposed web service packed together) and I tried to test it, i got this error:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode
    xmlns="">env:Server</faultcode>
    <faultstring
    xmlns="">null: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'OracleXESelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver Error Code: 0. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </faultstring>
    <faultactor
    xmlns=""/>
    <detail
    xmlns="">
    <exception/>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    If I understand it correctly, the core of the problem is this:
    java.sql.SQLException: No suitable driver Error Code: 0.
    now if this is the problem, how to solve it?
    Ideally I would start by looking at the configurations of Toplink, but I didn't install Toplink, as such I have no idea where these options are.. (Is it part of the database in this current configuration?)
    Thanks in advance!
    Mike

    Actually, the tutorial works fine in this version, all the way through. Specifically, the database adapter is working.
    The problem you are having has been discussed on this forum. You should do this:
    sqlplus sys/system@XE as sysdba
    SQL> show parameter session
    SQL> show parameter processes
    SQL> alter system set sessions=100 scope=spfile;
    SQL> alter system set processes=150 scope=spfile;
    SQL> shutdown immediate
    SQL> startup
    SQL> show parameter session
    And restart your server. That should fix it. Some people have also restarted Windows.
    Heidi.

  • Quering MySql DB tables using DB adapter in Oracle SOA

    Hi',
    I am trying to query MySql DB tables using DB adapter in Oracle SOA.
    inside the weblogic server console I have created a data source and test is "success" MySql
    Now inside the deployments > DBAdapter > Configuration > outbound connection pools
    I am new outbound connection, however I only get one option by default "javax.resource.cci.ConnectionFactory".
    which is default pointing to oracle DB.
    If someone has implemented this earlier or some blog/document demonstrates this please let me know.
    Thanks
    Yatan

    Thanks Naresh,
    actually I tried changing the "platformClassName" to "oracle.toplink.platform.database.MySQL4Platform" in the existing connection factory.
    I am able to update the DBAdapter successfully, however when I try to run the service created in JDEV which uses this MySql DB table it gives me below error.
    I also have another doubt regarding "How can we create a new connection factory in weblogic console?"
    ERROR:
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7042] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.ValidationException
    *Exception Description: Database platform class [org.eclipse.persistence.platform.database.MySQL4Platform] not found.*
    Internal Exception: Exception [EclipseLink-3007] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.ConversionException
    Exception Description: The object [org.eclipse.persistence.platform.database.MySQL4Platform], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Ensure that the class [org.eclipse.persistence.platform.database.MySQL4Platform] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager
    Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: org.eclipse.persistence.platform.database.MySQL4Platform
    Dependent class: org.eclipse.persistence.internal.helper.ConversionManager
    Loader: sun.misc.Launcher$AppClassLoader@13288040
    Code-Source: /C:/Oracle/MiddlewarePS4/modules/org.eclipse.persistence_1.1.0.0_2-1.jar
    Configuration: /C:/Oracle/MiddlewarePS4/modules/org.eclipse.persistence_1.1.0.0_2-1.jar
    This load was initiated at default.composite.MySqlTest.soa_2c170363-5ad7-4578-8920-f30fb224a8d2:1.0 using the Class.forName() method.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.

  • Oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND

    Hi Friends,
    For the first time developed a OAF Page and deployed in Apps Instance .
    I followed following steps
    Development Steps:
    1. Created a New OA Component Page @ Default Package oracle.apps.ak.BGHello.webui
    Physcial Location at my PC C:\BG\JDeveloper\JDev_Home11i\myprojects\oracle\apps\ak\BGHello\webui\BGHelloworld.xml
    2. A Controller is attached Main Region of the above Page ie. BGHelloWorldMainCO.java (Same as that of Document Guide HelloWorld Example)
    3. Build the Project and Run the Page
    It Runs Successfull Without any Error
    Deployment
    1. Migrated BGHelloworldPG.xml to $JAVA_TOP/oracle/apps/BGHello\webui\BGHelloworld.xml Via WINSCP in Text/ASCII Transfer Type
    2. Migrated BGHelloWorldCO.class (From Myclass directory) to $JAVA_TOP/oracle/apps/BGHello\webui\BGHelloWorldCO.class Via WINSCP in Binary Transfer Type
    3.Imported Page and Its Components via import batch from windows command prompt (i.e C:\BG\JDeveloper\11iRUP6\jdevbin\jdev\bin)
    import C:\BG\JDeveloper\JDev_Home11i\myprojects\oracle\apps\ak\BGHello\webui\BGHelloworldPG.xml -username apps -password apps -rootdir C:\BG\JDeveloper\JDev_Home11i\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.1.33)(PORT=1536))(CONNECT_DATA=(SID=TEST)))" -rootPackage /d03/oracle/prodcomn/java/oracle/apps/ak/BGHello/webui
    Above completed without Error.
    and JDR_% tables are updated with Page Components
    4. Created a AOL Function BG_TOOLBOX_HELLO and Attached to OA Toolbox Menu "OA Framework ToolBox HelloWorld"
    Type: SSWA jsp function
    HTML Call: OA.jsp?page=/oracle/apps/ak/BGHello/webui/BGHelloWorldPG
    5.Bounce the Apache Web Server
    adapcctl.sh stop apps/apps
    adapcctl.sh start apps/apps
    6. Login and Try to open newly created Page
    It Opens with Error
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /oracle/apps/ak/BGHello/webui/BGHelloWorldPG;
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ak/BGHello/webui/BGHelloWorldPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ak/BGHello/webui/BGHelloWorldPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    Thanks in Advance,
    Please let me if am missing any steps or following incorrect steps
    Regards,
    Basavana Gowda

    Seems an issue with your import command
    import C:\BG\JDeveloper\JDev_Home11i\myprojects\oracle\apps\ak\BGHello\webui\BGHelloworldPG.xml -username apps -password apps -rootdir C:\BG\JDeveloper\JDev_Home11i\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.1.33)(PORT=1536))(CONNECT_DATA=(SID=TEST)))" -rootPackage /d03/oracle/prodcomn/java/oracle/apps/ak/BGHello/webuiIn the rootPackage there is no need to give /d03/oracle/prodcomn/java .As it will automatically take the $JAVA_TOP.Try this
    import C:\BG\JDeveloper\JDev_Home11i\myprojects\oracle\apps\ak\BGHello\webui\BGHelloworldPG.xml -username apps -password apps -rootdir C:\BG\JDeveloper\JDev_Home11i\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.1.33)(PORT=1536))(CONNECT_DATA=(SID=TEST)))" -rootPackage /oracle/apps/ak/BGHello/webuiHope it helps!!!
    Thanks
    AJ

  • Oracle.apps.fnd.framework.OAException:Could not lookup message

    Dear Experts,
    I am getting the following exception while creating the Employee search excercise as given in the index document.
    While I am trying to run my EmpSearchPG.xml the following error I am getting.
    I have checked my Application short name & Responsibility Key its correct only i crossed checked it by running the standard HelloWorld page. its working fine.
    oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility. (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:158)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    Could any one guide me how to resolve this error.
    Any Suggestion will be a great help for me to proceed further
    Thanks
    Thiru

    Hi
    1.) check that this responsibility is assigned to the user,which u mentioned in the user name.
    2.) or go to run option of Jdeveloper and terminate the Embedded oc4j server and start running the page again and test .
    thanx
    Pratap

Maybe you are looking for