ADF BC : MA

Hi,
I am new to ADF Business Components. I am into a project where i use only the ADF BC as ORM/DB Operations and for the front end I use some other framework. The Problem is.
I have two entity objects and a ViewLink between them. [Relation between "Order" to "Item" is (1 to many relation)].
[I saw many examples in forums where its explained with View Objects But here I DID NOT create any View Object. I have only Entity Objects]
(1) OrderEO [Entity Object for Order Table]
(2) ItemEO [Entity Object for Items Table]
(3) OrderItemsViewLink [A Viewlink where OrderEO.OrderId = ItemEO.OrderId]
All The Primary keys (for the "Order" and "Items" table ) are handled by Trigger+Sequence at the time of insert in DB side.
I created custom method to insert "Order" individually it worked fine.
I created custom method to insert the "Item" individually it worked fine.
But...
When I created and "Order" with some "Items" It failing to insert and throws an
Error : oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity: detail entity ItemEO, row key oracle.jbo.Key[0 ].
My Custom Method in the AppModuleImpl is like below :
public void createNewOrderWithNewItems() {
String entityName = "com.proj.entities.OrderEO";
EntityDefImpl orderDef = EntityDefImpl.findDefObject(entityName);
OrderEOImpl newOrder = (OrderEOImpl)orderDef .createInstance2(getDBTransaction(),null);
try {
// 3. Set attribute values
newOrder .setOrderStatusCode("CREATED");
RowIterator items = newOrder .getItemEO();
Row newDraftLineRow = draftLines.createAndInitRow(null);
items .insertRow(newDraftLineRow);
newItemRow .setAttribute("itemDate", new Date());
newItemRow .setAttribute("itemQty", new Number(10));
// 4. Commit the transaction
getDBTransaction().commit();
} catch (SQLException e) {
e.printStackTrace();
} catch (JboException ex) {
getDBTransaction().rollback();
throw ex;
Here the "Order" is also new and related Items is also new. What I expect is to save the Order with Items in one transaction. How to achieve this. Please suggest.
Thanks
Narayan

The Error is:
[441] Clearing EO cache for com.proj.entities.OrderEO
Exception in thread "main" oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity: detail entity ItemEO, row key oracle.jbo.Key[0 ].
     at oracle.jbo.server.EntityImpl.internalCreate(EntityImpl.java:569)
     at oracle.jbo.server.EntityImpl.create(EntityImpl.java:433)
     at com.proj.entities.ItemEOImpl.create(ItemEOImpl.java:56)
     at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:451)
     at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:890)
     at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:340)
     at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:357)
     at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2862)
     at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1307)
     at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1870)
     at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1911)
     at oracle.jbo.server.EntityRowSetImpl.doCreateAndInitRow(EntityRowSetImpl.java:157)
     at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1892)
     at com.proj.AppModuleImpl.createNewOrderWithNewItems(AppModuleImpl.java:67)
     at com.proj.client.TestClient.createNewOrderWithNewItems(TestClient.java:73)
     at com.proj.client.TestClient.main(TestClient.java:29)
Process exited with exit code 1.

Similar Messages

  • Unable to capture the adf table column sort icons using open script tool

    Hi All,
    I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
    1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
    2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.

    Hi keerthi,
    1. I have pasted the code for the first issue
    web
                             .button(
                                       122,
                                       "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
                             .click();
                        adf
                        .table(
                                  "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
                        .columnSort("Ascending", "Name" );
         }

  • Using ADFS with SharePoint Foundation 2013?

    We have a WSS 3.0 web site used primarily for sharing documents with business partners who do not work for our company.  We plan on doing the 2 step upgrade to SharePoint Foundation 2013
    Our internal users also use it but normally just use internal network file shares if they aren't planning to share the documents with external users.
    Each business partner's company has a sub site within our main WSS site and documents are uploaded to that section of the site if we want to share documents with employees of that company. 
    Since we use AD for authentication, to make this work, we create AD user accounts for each external user and add them to a security group that gives them access to only their company's subsite on the main site.  
    We have to maintain their passwords, reset them and delete/disable them when that person no longer needs access.  Each business partner has a limit on the number of users who can get one of our AD accounts due to limits on the number of CALs available
    to them.  It is messy because these users often forget their passwords since they aren't using these accounts every day.  
    Is there a better way to do this so that we no longer have create and maintain user accounts for external users other than having to do a domain trust with all these other domains?
    I have heard of ADFS, but will it allow us to still control which sites and documents the external company users can access if we are not creating and managing the accounts and adding them to the correct security groups ourselves?
    We don't want every user from the partner's domains to be able to access the site.  If we use ADFS, how do we keep control of which external users have access to the site?

    Yes, you would add permissions just the same way you do with users from your local Active Directory. And yes, if you chose the email address to be the user's identifier, you would simply ask for the email addresses that you wanted and input those to the
    appropriate permissions on your SharePoint sites.
    You'll want to take a look at this:
    http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
    Also another thing to keep in mind is that you'll need to have those 3rd parties set up ADFS themselves, and you'll create an ADFS Trust between you and the 3rd party.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Issue with SharePoint foundation 2010 to use Claims Based Auth with Certificate authentication method with ADFS 2.0

    I would love some help with this issue.  I have configured my SharePoint foundation 2010 site to use Claims Based Auth with Certificate authentication method with ADFS 2.0  I have a test account set up with lab.acme.com to use the ACS.
    When I log into my site using Windows Auth, everything is great.  However when I log in and select my ACS token issuer, I get sent, to the logon page of the ADFS, after selected the ADFS method. My browser prompt me which Certificate identity I want
    to use to log in   and after 3-5 second
     and return me the logon page with error message “Authentication failed” 
    I base my setup on the technet article
    http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
    I validated than all my certificate are valid and able to retrieve the crl
    I got in eventlog id 300
    The Federation Service failed to issue a token as a result of an error during processing of the WS-Trust request.
    Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue
    Additional Data
    Exception details:
    Microsoft.IdentityModel.SecurityTokenService.FailedAuthenticationException: MSIS3019: Authentication failed. ---> System.IdentityModel.Tokens.SecurityTokenValidationException:
    ID4070: The X.509 certificate 'CN=Me, OU=People, O=Acme., C=COM' chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed
    correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    --- End of inner exception stack trace ---
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.DispatchRequestAsyncResult..ctor(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.ProcessCoreAsyncResult..ctor(WSTrustServiceContract contract, DispatchContext dispatchContext, MessageVersion messageVersion, WSTrustResponseSerializer responseSerializer, WSTrustSerializationContext
    serializationContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, String requestAction, String responseAction, String
    trustNamespace, AsyncCallback callback, Object state)
    System.IdentityModel.Tokens.SecurityTokenValidationException: ID4070: The X.509 certificate 'CN=Me, OU=People, O=acme., C=com' chain building
    failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    thx
    Stef71

    This is perfectly correct on my case I was not adding the root properly you must add the CA and the ADFS as well, which is twice you can see below my results.
    on my case was :
    PS C:\Users\administrator.domain> $root = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ad0001.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "domain.ad0001" -Certificate $root
    Certificate                 : [Subject]
                                    CN=domain.AD0001CA, DC=domain, DC=com
                                  [Issuer]
                                    CN=domain.AD0001CA, DC=portal, DC=com
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    22/07/2014 11:32:05
                                  [Not After]
                                    22/07/2024 11:42:00
                                  [Thumbprint]
                                    blablabla
    Name                        : domain.ad0001
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : domain.ad0001
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17164
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.domain> $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ADFS_Signing.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert
    Certificate                 : [Subject]
                                    CN=ADFS Signing - adfs.domain
                                  [Issuer]
                                    CN=ADFS Signing - adfs.domain
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    23/07/2014 07:14:03
                                  [Not After]
                                    23/07/2015 07:14:03
                                  [Thumbprint]
                                    blablabla
    Name                        : Token Signing Cert
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : Token Signing Cert
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17184
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.PORTAL>

  • ADF  Get selected values from Dynamic Lists

    Hi,
    I have a created a dropdown list box where the list gets value through a managed bean. On commit I want the selected value to be saved into the CardiacV1EchoSched column of the Entity object (database). The source looks like this.
    <af:selectOneChoice value="#{bindings.CardiacV1EchoSched.inputValue}"
    label="#{bindings.CardiacV1EchoSched.label}"
    valuePassThru="true">
    <f:selectItems value="#{TTrack.carScheList}"/>
    </af:selectOneChoice>
    The problem is that getCardiacV1EchoSched() in the entity object class is null. The selected value does not get passed into #{bindings.CardiacV1EchoSched.inputValue} at all. If I bind the value to a variable in managed bean I get the selected value.
    Thanks in advance,

    Hi,
    not sure which business service you use to update the database, but if you use ADF Business Components then you need to call the commit operation
    Frank

  • Problem with links in deployed ADF application to Weblogic Server 11g

    Hi everyone !
    I have a query here, firstly, I have created an ADF application using Jdeveloper 11g and have successfully deployed (EAR file) onto the weblogic server.
    However, after testing out the application, the linking within the application does not seem to work. Whenever I click on a link or button, the page refreshes but the result is not displayed.
    What could have cause the problem?
    Thanks
    Gavin

    Are the ADF runtime libraries installed into the WebLogic server?

  • Open file from ADF pages gives a problem

    Hi all,
    I have created with Jdev 11g an ADF page.
    In that page is shown a table with the files that are stored in the database.
    I use this code to show the file:
        public void showFile(BlobDomain  b,String filename){
            FacesContext fc = FacesContext.getCurrentInstance(); 
            HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
            response.setHeader("Content-Disposition","attachment; filename=\""+filename+"\"");
            response.setHeader("cache-control", "no-cache");
            try {
                InputStream in;
                in = b.getInputStream();
                ServletOutputStream out = response.getOutputStream();
                writeInputStreamToOutputStream(in, out);
                fc.responseComplete(); 
            } catch (IOException e) {
                e.printStackTrace();
            } catch (Throwable e) {
                e.printStackTrace();
        }This works for the first time a file is opened. But when the user then selects a different row nothing is happening anymore.
    What can that be?

    Hi Simon,
    This is the button:
                      <af:commandButton text="Open file"
                                        binding="#{backingBeanScope.backing_pages_Meldingen.cb5}"
                                        id="cb5"
                                        disabled="false"
                                        action="#{backingBeanScope.backing_pages_Meldingen.openFile}"/>this is openfile:
        public String openFile() {
            BindingContainer bindings = this.getBindings();
            DCIteratorBinding iter = (DCIteratorBinding)bindings.get("XxahelpBezoekRapDocView1Iterator");
            Row currentRw = iter.getCurrentRow();
            showFile((BlobDomain)currentRw.getAttribute("Bijlage"),currentRw.getAttribute("Filename").toString());
            return null;
        }And how can I download in a popup??

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • ADF Desktop Integration : How to delete the table in Excel?

    Hi,
    I am using Jdev 11.1.1.3.0 and Excel 2007 for Oracle ADF DI, I had created an ADF table using pageDef file in the excel. Now I wanted to delete that table and use a different pageDef file.
    I could not find a way to delete that table.
    I deleted full row of tables and then I used different pageDef file and created a new adf table. But when I am running this version of excel, I am getting runtime exception and excel is getting corrupted.
    My question how to delete the table not corrupting the Excel.
    Thanks
    Pavan

    Pavan,,
    Welcome to OTN.
    You can delete the table by selecting the top left column (of the table) and then select delete from the ADFdi tab.
    Refer the documentation for more info.
    http://docs.oracle.com/cd/E17904_01/web.1111/e10139/get_start_dev_tools.htm#ADFDI608
    -Arun

  • How to dynamically display the data from a table base on row selection of another table in ADF

    Hi ,
    I have a requirement in ADF. I need to change the data of a table  based on row selection of another Table . Both the table have a Parent Child relationship between them. They have a common attribute say department_id.
                                                                                         For this I created bind variable in view object of employees table and wrote a where clause in the sql query using that bind variable. Then I created method for selection listener of department Table in java bean.
    My method is following
        public void onrowselection(SelectionEvent selectionEvent) {
            RichTable richTable = (RichTable)selectionEvent.getSource();
                            CollectionModel tableModel = (CollectionModel)richTable.getValue();
                            JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
                            Object selectedRowData = richTable.getSelectedRowData();
                            JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
                    oracle.jbo.domain.Number newVal = (oracle.jbo.domain.Number) nodeBinding.getAttribute("DepartmentId");
                    Number pallet = newVal.bigDecimalValue();
                    System.out.println("Selected values " + pallet);
            BindingContext bindingctx = BindingContext.getCurrent();
                          BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
                          DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
                  DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("EmployeesView1Iterator");//access the iterator by its ID value in the PageDef file
                          ViewObject vo =dciter.getViewObject();
                          vo.setNamedWhereClauseParam("DepartmentId", pallet);//enter your value
                          vo.executeQuery();
    It is printing the selected value of department id from department table in the log. But it is not able to pass the value to employees view. It is showing the following error in the log
    "Definition DepartmentId of type Variable is not found in EmployeesView1."
    I will be very thankful if someone helps me to solve this errror or is there any other way to achieve the same requirement.
    Thanks
    Nilesh

    Note quite sure why you simply wont create a viewlink for the viewobject the tables are based on..
    The viewlink attribute will be based on the departmentId and it's a simple master detail relationship which automatically uses ppr.
    However, if both tables are on the same page; using your hack about;
    On the underlying viewobject, define a viewcriteria e.g. "listById" and set your bind variable here.
    I would bind table two to a RichTable component:
    RichTable t2;
    public void onrowselection(SelectionEvent selectionEvent) {
            RichTable richTable = (RichTable)selectionEvent.getSource();
                            CollectionModel tableModel = (CollectionModel)richTable.getValue();
                            JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
                            Object selectedRowData = richTable.getSelectedRowData();
                            JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
                    oracle.jbo.domain.Number newVal = (oracle.jbo.domain.Number) nodeBinding.getAttribute("DepartmentId");
                    Number pallet = newVal.bigDecimalValue();
                    System.out.println("Selected values " + pallet);
                   refreshTable2(pallet);
            BindingContext bindingctx = BindingContext.getCurrent();
                          BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
                          DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
                  DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("EmployeesView1Iterator");//access the iterator by its ID value in the PageDef file
                          ViewObject vo =dciter.getViewObject();
                          vo.setNamedWhereClauseParam("DepartmentId", pallet);//enter your value
                          vo.executeQuery();
    private void refreshTable2(Number pallet){
    RichTable x=getT2();
    CollectionModel cm=(CollectionModel)x.getValue();
    JUCtrlHierBinding jcb=(JUCtrlHierBinding)cm.getWrappedData();
    BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
    DCIteratorBinding dciter = bindingsImpl.findIteratorBinding(jcb.getName()+"Iterator");
    ViewObject vo =dciter.getViewObject();
    ViewCriteriaManager vcm=vo.getViewCriteriaManager();
    ViewCriteria vc=vcm.getViewCriteria("listById");
    vo.applyViewCriteria(vc);
    vo.setNamedWhereClauseParam("DepartmentId",pallet);
    vo.executeQuery();
    AdfFacesContext.getCurrentInstance().addPartialTarget(getT2());

  • 'UIComponent is null' error while opening a tab in ADF

    Hi,
    I am using JDeveloper 11.1.1.5.0
    I am navigating from one ADF page to other in my ADF task flow. 2nd ADF page is having multiple tabs with showDetailItem. My requirement is that i need to open a particular tab in 2nd page from 1st page
    (1st page) ---> (2nd page) (here a particular tab should open)
    I have made use of NavigationHandler in my code which is working fine. But when I am trying to open a tab during navigation, I am getting 'UIComponent is null' error. below is the code I am using
        public void openDataTab(ActionEvent actionEvent) {
            NavigationHandler nvHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
            nvHndlr.handleNavigation(FacesContext.getCurrentInstance(), null, "showOverview");
            AdfFacesContext.getCurrentInstance().addPartialTarget(panelTabbed);  //getting 'UIComponent is null' error here
            dataTab.setDisclosed(true);
            transactionTab.setDisclosed(false);
        }I am getting the error only for the first time. From second time onwards, the functionality is working fine.
    Please let me know how to resolve this error.
    regards,
    Rajan

    Hi,
    this code should not be used for navigation as it bypasses JSF lifecycle methods
    //don't use
    NavigationHandler nvHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
    nvHndlr.handleNavigation(FacesContext.getCurrentInstance(), null, "showOverview");
    To solve your issue, add a managed bean in pageFlowScope or use an attribute inpageFlowScope that you use to identify the tab to be opened. Then in the second page, use the "disclosed" property on the showdetailItems to evaluate the pageFlowScope information and then return true or false respectively. The tab that evaluates to "true" will be opened.
    Frank
    Ps.: JSF component trees are created upon render response phase, which is why your programmatic attempt (which happens during invoke_application phase fails

  • Error While Running a ADF Page from JDeveloper

    Hi
    I am facing the following problem while running a page from JDeveloper 11g
    please find the below stack trace and help me in fixing this
    IntegratedWebLogicServer startup time: 181886 ms.
    IntegratedWebLogicServer started.
    [Running application TestApp on Server Instance IntegratedWebLogicServer...]
    [12:39:33 PM] ----  Deployment started.  ----
    [12:39:33 PM] Target platform is  (Weblogic 10.3).
    [12:39:35 PM] Retrieving existing application information
    [12:39:35 PM] Running dependency analysis...
    [12:39:36 PM] Deploying 2 profiles...
    [12:39:43 PM] Wrote Web Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp\ViewControllerWebApp.war
    [12:39:44 PM] Wrote Enterprise Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp
    [12:39:44 PM] Deploying Application...
    <ConfigHelper><getParsedElements> oracle.adf.share.config.ConfigHelper
    java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:130)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:50)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:602)
         at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:221)
         at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:144)
         at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:134)
         at oracle.adf.share.config.ADFSettingsImpl.<init>(ADFSettingsImpl.java:68)
         at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:88)
         at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:65)
         at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:701)
         at oracle.adf.controller.config.ControllerSettings.getCurrent(ControllerSettings.java:51)
         at oracle.adf.controller.config.ControllerSettings.getPhaseListeners(ControllerSettings.java:74)
         at oracle.adf.controller.v2.lifecycle.ADFLifecycle.initControllerConfigListeners(ADFLifecycle.java:38)
         at oracle.adf.controller.v2.lifecycle.ADFLifecycle.setInstance(ADFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl.<init>(JSFLifecycleImpl.java:33)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:39)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified).
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <May 7, 2010 12:39:58 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273216184760' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <May 7, 2010 12:39:58 PM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'TestApp'.>
    <May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestApp'.>
    <May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    [12:39:58 PM] ####  Deployment incomplete.  ####
    #### Cannot run application TestApp due to error deploying to IntegratedWebLogicServer.
    [12:39:58 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    [Application TestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]
    [Running application TestApp on Server Instance IntegratedWebLogicServer...]
    [12:45:12 PM] ----  Deployment started.  ----
    [12:45:12 PM] Target platform is  (Weblogic 10.3).
    [12:45:12 PM] Retrieving existing application information
    [12:45:12 PM] Running dependency analysis...
    [12:45:12 PM] Deploying 2 profiles...
    [12:45:13 PM] Wrote Web Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp\ViewControllerWebApp.war
    [12:45:13 PM] Wrote Enterprise Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp
    [12:45:13 PM] Redeploying Application...
    <ConfigHelper><getParsedElements> oracle.adf.share.config.ConfigHelper
    java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:130)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:50)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:602)
         at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:221)
         at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:144)
         at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:134)
         at oracle.adf.share.config.ADFSettingsImpl.<init>(ADFSettingsImpl.java:68)
         at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:88)
         at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:65)
         at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:701)
         at oracle.adf.controller.config.ControllerSettings.getCurrent(ControllerSettings.java:51)
         at oracle.adf.controller.config.ControllerSettings.getPhaseListeners(ControllerSettings.java:74)
         at oracle.adf.controller.v2.lifecycle.ADFLifecycle.initControllerConfigListeners(ADFLifecycle.java:38)
         at oracle.adf.controller.v2.lifecycle.ADFLifecycle.setInstance(ADFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl.<init>(JSFLifecycleImpl.java:33)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:39)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified).
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <May 7, 2010 12:45:18 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273216513742' for task '1'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <May 7, 2010 12:45:18 PM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'TestApp'.>
    <May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestApp'.>
    <May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    [12:45:18 PM] ####  Deployment incomplete.  ####
    [12:45:18 PM] Remote deployment failed
    #### Cannot run application TestApp due to error deploying to IntegratedWebLogicServer.
    [Application TestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]Thanks in Advance
    Kumar

    Hi Frank,
    I am using JDeveloper Studio Edition Version 11.1.1.2.0,
    Even i try to run different application but still i am getting the same error.
    Regards,
    Kumar
    Edited by: harikumarmpl on May 7, 2010 2:50 AM

  • Error while loading a 10.1.3 ADF application login page on JBoss EAP 6.0.1

    I have a 10.1.3 ADF application that runs well on Web Sphere and OC4J. I'm trying to run it on JBoss EAP 6.0.1. The ear file was deployed successfully to JBOSS and according to ADF logging the connection to Oracle database is established.
    But when I try to load the application login page, I obtain the following exception
    ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/cv].[Faces Servlet]] (http-/0.0.0.0:8080-1) Servlet.service() for servlet Faces Servlet threw exception: oracle.jbo.common.ampool.ApplicationPoolException:
    JBO-30003: The application pool (com.claimvantage.adf.root.Oracle) failed to checkout an application module due to the following exception:
            at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002) [bc4jct.jar:]
            at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) [bc4jct.jar:]
            at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) [adfmweb.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) [bc4jct.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) [adfm.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) [adfm.jar:]
            at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) [adfm.jar:]
            at oracle.adf.model.BindingContext.get(BindingContext.java:457) [adfm.jar:]
            at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:308) [adfm.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.getMessageHolder(JhsPageLifecycle.java:220) [cv-model.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.reportErrors(JhsPageLifecycle.java:203) [cv-model.jar:]
            at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:99) [adf-controller.jar:]
            at oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.prepareRender(JhsPageLifecycle.java:1080) [jhsadfrt-10.1.3.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297) [adf-controller.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:426) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77) [adf-controller.jar:]
            at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.7.Final-redhat-1.jar:2.0.7.Final-redhat-1]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at com.claimvantage.web.sso.AuthenticationFilter.doFilter(AuthenticationFilter.java:272) [cv-model.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_16]
    Any help would be really appreciated.
    Thanks

    Thanks Frank for your answer.
    I can't see where the exception states that DB connection was not established!
    In the log, I have:
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3011] Created root application module: 'com.claimvantage.adf.root.RootAppModule'
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3012] Locale is: 'en_US'
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3013] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3014] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3015] import java.util.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3016] import java.sql.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3017] import java.io.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3018] public class JDBCCalls  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3019] {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3020]    public Connection conn = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3021]    public CallableStatement cStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3022]    public PreparedStatement pStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3023]    public Statement stmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3024]    public ResultSet rslt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3025]    public static void main(String argv[])  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3026]    {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3027]       DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3028] Creating a new pool resource
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3029] Trying connection/2: url='jdbc:oracle:thin:@s1ora01s:1521:s1ora01a' ...
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3030]       conn = DriverManager.getConnection("jdbc:oracle:thin:@s1ora01s:1521:s1ora01a", /*properties*/);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3031]       conn.setAutoCommit(false);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3032] Successfully logged in
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3033] JDBCDriverVersion: 10.2.0.1.0XE
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3034] DatabaseProductName: Oracle
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3035] DatabaseProductVersion: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Don't you think that it indicates that DB connection is well established?
    MBen

  • Error While invoking BPEL Service from ADF Page

    Hi All,
    JDev Version: 11.1.1.3.0
    Currently in my application through ADF apps i am invoking BPEL service upon cliking of 'Submit' Button, so that BPEL service will be invoked and it procees
    But now its throwing below error,
    Any suggestion please????
    <Aug 2, 2012 9:42:53 AM CEST> <Error> <oracle.adf.model.connection.webservice> <BEA-000000> <Failed to execute a SAAJ interaction.
    javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection reset
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:837)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
    at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:76)
    at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:334)
    at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:259)
    at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
    at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
    at view.SblOrder.InstWorkFlowBean.webServiceCall(InstWorkFlowBean.java:285)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:176)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
    at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused By: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection reset
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231)
    at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
    at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64)
    at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
    at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
    at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:275)
    at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:794)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
    at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:76)
    at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:334)
    at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:259)
    at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
    at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
    at view.SblOrder.InstWorkFlowBean.webServiceCall(InstWorkFlowBean.java:285)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    Thanks,
    Santosh M E

    >
    Any suggestion please????
    <Aug 2, 2012 9:42:53 AM CEST> <Error> <oracle.adf.model.connection.webservice> <BEA-000000> <Failed to execute a SAAJ interaction.
    javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection resetAre you having network issues? The SOAP request could not be completed.

  • Error while deploying a simple ADF application on the Integrated weblogic..

    hi,
    I am new to ADF and have developed a simple application that interacts with the database.
    I have tried to deploy the application to the intgrated weblogic server but the deployment is not successful and throws the following error:
    [Waiting for the domain to finish building...]
    [04:14:13 PM] Creating Integrated Weblogic domain...
    [04:15:38 PM] Extending Integrated Weblogic domain...
    [04:16:10 PM] Integrated Weblogic domain processing completed successfully.
    *** Using port 7101 ***
    C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160~1\bin;E:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    E:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=E:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=E:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Jan 20, 2011 4:16:14 PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <Jan 20, 2011 4:16:14 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Jan 20, 2011 4:16:15 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 20, 2011 4:16:15 PM EST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 20, 2011 4:16:16 PM EST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Jan 20, 2011 4:16:21 PM EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 20, 2011 4:16:29 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 20, 2011 4:16:29 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 20, 2011 4:16:54 PM EST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[7]" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.1.73:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:d5e4:73a9:98b0:9db7:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:1c56:3208:befd:ce95:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:0:5efe:c0a8:149:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on fe80:0:0:0:ecd9:7589:e2cd:650d:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 2001:0:4137:9e76:1c56:3208:befd:ce95:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Jan 20, 2011 4:17:00 PM EST> <Warning> <Server> <BEA-002611> <Hostname "Jhansi-PC", maps to multiple IP addresses: 192.168.1.73, fe80:0:0:0:ecd9:7589:e2cd:650d%11, fe80:0:0:0:1c56:3208:befd:ce95%13, 2001:0:4137:9e76:1c56:3208:befd:ce95>
    <Jan 20, 2011 4:17:01 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jan 20, 2011 4:17:01 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 51406 ms.
    IntegratedWebLogicServer started.
    [Running application HRSystem on Server Instance IntegratedWebLogicServer...]
    [04:17:03 PM] ---- Deployment started. ----
    [04:17:03 PM] Target platform is (Weblogic 10.3).
    [04:17:05 PM] Retrieving existing application information
    [04:17:06 PM] Running dependency analysis...
    [04:17:06 PM] Deploying 2 profiles...
    [04:17:07 PM] Wrote Web Application Module to C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem\ViewControllerWebApp.war
    [04:17:09 PM] Wrote Enterprise Application Module to C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem
    [04:17:09 PM] Deploying Application...
    <Jan 20, 2011 4:17:10 PM EST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HRSystem is not versioned.>
    <Jan 20, 2011 4:17:16 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1295558229417' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:350)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: HRconnDS is already bound
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:404)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         Truncated. see log file for complete stacktrace
    >
    <Jan 20, 2011 4:17:16 PM EST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'HRSystem'.>
    <Jan 20, 2011 4:17:16 PM EST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'HRSystem'.>
    <Jan 20, 2011 4:17:16 PM EST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:350)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: HRconnDS is already bound
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:404)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         Truncated. see log file for complete stacktrace
    >
    [04:17:16 PM] #### Deployment incomplete. ####
    [04:17:16 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application HRSystem due to error deploying to IntegratedWebLogicServer.
    [Application HRSystem stopped and undeployed from Server Instance IntegratedWebLogicServer]
    ERROR [main] com.oracle.cie.domain.template.dependency.TemplateSelectionTarget - Template is not present in the graph: null
    Thanks,
    Jhansi

    Hi Jhansi,
    Whether u create HRconnDS in ur Weblogic server
    If not create it ...
    If yes just check it out whether u gave a correct connection string for it......
    Regards,
    Suganth.G

  • Error while deploying ADF application to a standalone weblogic server

    I am using Jdeveloper 11.1.1.6.0, and I am trying to deploy my application to a standalone server running on a Unix box and I get the following error message:
    [04:12:44 PM] ---- Deployment started. ----
    [04:12:44 PM] Target platform is (Weblogic 10.3).
    [04:13:00 PM] Retrieving existing application information
    [04:13:01 PM] Running dependency analysis...
    [04:13:01 PM] Building...
    [04:13:05 PM] Deploying profile...
    [04:13:09 PM] Wrote Web Application Module to C:\JDeveloper\PortingAppln\ViewController\deploy\ADF1.war
    [04:13:13 PM] Deploying Application...
    [04:20:19 PM] [Deployer:149191]Operation 'deploy' on application 'ADF1' is initializing on 'ADF1'
    [04:20:45 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
    [04:20:45 PM] See server logs or server console for more details.
    [04:20:45 PM] weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
    [04:20:46 PM] #### Deployment incomplete. ####
    [04:20:46 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Can someone help me with this problem.
    Thanks,
    Srini.

    Well, how did you do?
    I am having a similar problem.
    1) Installed WLS 10.3.5 on a Linux machine
    2) Installed ADF runtime libraries (ofm_appdev_generic_11.1.1.5.0_disk1_1of1.zip)
    3) I can see at deployments
    - adf.oracle.businesseditor(1.0,11.1.1.2.0)
    - adf.oracle.domain(1.0,11.1.1.2.0)
    - adf.oracle.domain.webapp(1.0,11.1.1.2.0)
    - DMS Application (11.1.1.1.0)
    - em
    - emai
    - emas
    - emcore
    - FMW Welcome Page Application (11.1.0.0.0)
    - jsf(1.2,1.2.9.0)
    I created from scratch a new Fusion Web app. It just has 1 ADF read-only table based on the HR.COUNTRIES table. It runs perfectly on the integrated WL.
    I cannot deploy it to my standalone WLS. The error:
    [02:01:37 PM] Unable to determine the target platform from the Profile. Using default
    [02:01:37 PM] ---- Deployment started. ----
    [02:01:37 PM] Target platform is (Weblogic 10.3).
    [02:01:37 PM] Retrieving existing application information
    [02:01:37 PM] Running dependency analysis...
    [02:01:37 PM] Building...
    [02:01:37 PM] Deploying 2 profiles...
    [02:01:37 PM] Wrote Web Application Module to C:\JDeveloper\mywork\TesteAPP\ViewController\deploy\TesteAPP_ViewController_webapp.war
    [02:01:37 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\TesteAPP\deploy\TesteAPP_Project1_TesteAPP.ear
    [02:01:37 PM] Deploying Application...
    [02:01:39 PM] [Deployer:149191]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' is initializing on 'ADFServer'
    [02:01:39 PM] [Deployer:149193]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' has failed on 'ADFServer'
    [02:01:39 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TesteAPP_Project1_TesteAPP on ADFServer.: Failed to load webapp: 'testeADF'.
    [02:01:39 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
    [02:01:39 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@1021039597[app:TesteAPP_Project1_TesteAPP module:testeADF path:/testeADF spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    [02:01:39 PM] See server logs or server console for more details.
    [02:01:39 PM] weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
    [02:01:39 PM] Deployment cancelled.
    [02:01:39 PM] ---- Deployment incomplete ----.
    [02:01:39 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    I am using JDeveloper 11.1.2.1.0
    What am I missing here? It must be something obvious, but I am stuck.
    Thanks in advance.

Maybe you are looking for