Tomcat 6 with 11g ADF JSF application startup problem!

Hello!



I have a problem when I start my request of 11g ADF JSF on Tomcat 6 Server. Here is the stack trace:



javax.servlet.ServletException: cannot instantiate the class: javax.faces.component.UIViewRoot.

javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)

oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)

oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:278)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)

org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)

oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)

oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:118)



first cause



javax.faces.FacesException: failed to instantiate the class: javax.faces.component.UIViewRoot.

com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:1029)

com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:550)

com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:334)

javax.faces.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:132)

org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:118)

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:524)

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:250)

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)

javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)

oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:278)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)

org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)

oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)

oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:118)



first cause



java.lang.LinkageError: violation of constraint of charger: charger (org/apache/catalina/loader/StandardClassLoader instance) launched previously loading for another type with the name ' javax/el/ValueExpression.

java.lang.ClassLoader.defineClass1 (Native Method)

java.lang.ClassLoader.defineClass (unknown Source)

java.security.SecureClassLoader.defineClass (unknown Source)

java.net.URLClassLoader.defineClass (unknown Source)

java.net.URLClassLoader.access$ 000 (unknown Source)

java.net.URLClassLoader$ 1.run (unknown Source)

java.security.AccessController.doPrivileged (Native Method)

java.net.URLClassLoader.findClass (unknown Source)

java.lang.ClassLoader.loadClass (unknown Source)

java.lang.ClassLoader.loadClass (unknown Source)

java.lang.ClassLoader.loadClassInternal (unknown Source)

java.lang.Class.getDeclaredConstructors0 (Native Method)

java.lang.Class.privateGetDeclaredConstructors (unknown Source)

java.lang.Class.getConstructor0 (unknown Source)

java.lang.Class.newInstance0 (unknown Source)

java.lang.Class.newInstance (unknown Source)

com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:1027)

com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:550)

com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:334)

javax.faces.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:132)

org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:118)

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:524)

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:250)

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)

javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)

oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:278)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)

org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)

oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)

oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:118)



It's any problem that arised due to .jar files added to / TOMCAT/lib?



Pots of / TOMCAT/lib:

activation.jar

adflogginghandler.jar

ADF-richclient-api - 11.jar

ADF-richclient-impl - 11.jar

ADF-share - base.jar

ADF-share - ca.jar

ADF-share - support.jar

annotations - api .jar

Catalina.jar

Catalina - ant.jar

Catalina - ha.jar

Catalina - tribes.jar

com.bea.Core.descriptor_1.4.0.0.jar

com.bea.Core.Management.Core_2.3.0.0.jar

com.bea.Core.utils.classloaders_1.4.0.0.jar

com.bea.Core.utils.full_1.4.0.0.jar

com.bea.Core.WebLogic.Security.identity_1.1.0.0.jar

com.bea.Core.WebLogic.Security.wls_1.0.0.0_5 - 0-2 - 0.jar

DMS.jar

El - api .jar

IdentityStore.jar

Jasper.jar

Jasper - el.jar

Jasper - jdt.jar

javax77.jar

jmxframework.jar

jmxspi.jar

JPS - api .jar

JPS-.jar

JPS - ee.jar

JPS - internal .jar

JPS - wls.jar

JSF - api .jar

JSF - ri .jar

JSP - api-.jar

OC4J - internal .jar

ojdbc6dms_g.jar

servlet - api .jar

Sun-Commons - beanutils.jar

Sun-Commons-depends on

Sun-Commons - digester.jar

Sun-commons - logging.jar

Tomcat - coyote.jar

Tomcat - dbcp.jar

Tomcat i18n - are .jar

Tomcat-i18n-fr

Tomcat i18n - ja.jar

Trinidad - api .jar

Trinidad - impl.jar

WebLogic.jar

WebServiceClient.jar

wlclient.jar

WLS - api .jar

wseeclient.jar

xmlparserv2.jar



If you've noticed here exist a few pots of Weblogic, all of these files were added by steps, that means that the process was:

1. run tomcat

2 analyze the errors

3. Add the missing jar file

4. run again



{color: #ff0000} Please HELP! {color}

Hello

I can't say for sure, but it sounds like you have the same library placed in folder application library web and common Tomcat library directory. Depending on where you place these libraries, they will be charged by the classloader of the application or the parent Tomcat ClassLoader.
In other words, I believe that you have a loaded library file lib webapplication instead of the loading in the parent ClassLoader.

Florin

Tags: Java

Similar Questions

  • Skins CSS / attractive application / with JDev/ADF/JSF?

    Hello

    I have no experience with CSS or make components look rich and attractive.

    1 is it possible with ease with JDev or any feature ADF/JSF?

    2. If I double click on an item in the window Structure of JDev and go to the tab advanced, I have the possibility of manufacturing components colored/bold/padding etc.. But I have several jspx with several components in them. I can do this in one place where I can criteria (Word to say for a button - "BOLD", color etc) and it will apply to all (buttons) in my application.

    As always, your answers are greatly appreciated.

    Thank you

    Create an xml file called trinidad - skins.xml under the WEB - INF view-controller and place this code.

    
    
    
    lspskin.desktop
    myadfskin
    blafplus-rich.desktop
    /mystyle.css
    
     
    

    Trinidad-config.xml file, add the 3rd threshold.

    
    
    myadfskin
     
    

    create a css file called 'myStyle. CSS"and the use of the styles mentioned on the site of count.

  • Development team JDeveloper 11 g model when develpoing ADF JSF application.

    We have an application include five almost 10 screens developed using dev D 11 g.
    Our model projects and display of conteins application.
    We want some of our developers to develop a part of the project form and another programmer develop other screens. A single responsible developer of projects-models.
    We have a shared responsibility between the programmers as.
    Programmer1-> input.jspx
    Programmer2-> edit.jspx

    We gave programmer project files. They develop the new screens.

    But when you want to combine the screen, some of the shared files (databinding.cpx) suchas shopping problems.
    How to handle this kind of situation. We do not want to create a new project for each screen.
    We are using cvs. But the shared files shopping problems in CVS also.

    y at - it no civilians what do you advise?

    Thank you.

    SVN has been developed to overcome some of the disadvantages of the CVS - do atomic transactions is much better to ensure that you don't have dependencies file that have not been committed.

    In JDeveloper support for SVN so very hard. A feature of SVN that useful development organizations on what I have already mentioned is support for branches - so allowing developers to work checkin on the '' private '' branches and then compare and merge as needed to the trunk. In addition, you can use the commands SVN Commit / update working copy. This ensures that you "never forget" the version of the files in your application (assuming you do check-out of the entire application. And because SVN if very good to make the diffs you not wasting resources by working at the application level.

    Of course, any SCM tool is as good as your human process! To compare the components that are being developed in tandem and to talk with the other members of the team to ensure that there is no problem on the merger, there is no substitute!

    For the more complex development multi-demande/multi-project team, I wrote a paper that is located on OTN detailing an approach and there are a number of demos he too
    http://www.Oracle.com/technology/products/jdev/11/how-tos/svn_adf/svn_adfsharedlibs.htm

    Another good source of information on methodology is the ADF methodology group
    http://groups.Google.com/group/ADF-methodology/

    Rgds

    Susan
    www.susanduncan.blogspot.com

  • Migration of application (using the Trinity) 11G ADF Rich Faces

    Hi all

    We have recently completed the migration of the ADF/JSF application of 10G, hosted on OAS to Trinidad hosted on WebLogic Server 11G. Next step is to move from the Trinity to rich faces.

    1. our request is not too complicated, but it's not too straight forward or the other. It is interfaced with Oracle BPEL and DRM (data relationship management) and has 20 + pages. Is there a way to estimate how much time/effort is required for this migration?

    2. automatic migration of 10 g and 11 G (usingTrinidad) was quite chaotic. What kind of effort is migration 11G application using ADF Rich Faces trinidad? What is the meaning of ' you have to manually re-doing the UI "?"

    If any of you have done this kind of migration, please share your experiences.

    Thank you

    One thing to think is maybe rethink your UI. ADF Faces 11 g can create a radically different compared to 10 g interface or Trinity - think of things like accordions, dispatchers, dashboards, tabs, pop-up windows on the plan of the presentation of the user interface and the ability to have much more than information on one page. Add to this the ability to dynamically switch the content of a page with dynamic regions and offered by taskflows reusability.
    So if you really want to take advantage of the components 11g you should look at what UI you wanted to create with these abilities then redraw your user interface and redesign so that it matches this.
    Your model and business services cannot stay the same no need to touch.

  • JSF tutorial, EJB, JPA, the sample of the problems with the ADF runtime

    Hello

    I'm new to jDeveloper.
    I downloaded the version 11.1.1.2.0 and tried to make my first tutorials with the product.
    I started with the sample "create Applications with EJB, JPA and JSF" and run to the following problems:

    -1st part: step 10 expose the EJb as a data control
    Click here FODFacadeBean.java and choose Create a Data control.
    This option "create data Control ' is not at all to the top. There is no option

    -Part 2: Step 1 Add tag libraries in a project
    The ability to select "the ADF Faces Components 11'
    does not come either. I can't see any ADF Associates options...

    Is there something missing in my installation, because I can't access these components of the ADF?
    Should I include the components of the ADF sometime during the installation to have access to these
    or is it a license option?

    I downloaded the product yesterday from the public site, filename jdevstudio11112install.exe

    Jan-Erik

    Go to tool-> preferences-> roles
    and pass the default role, then you should have all the ADF their stuff available.

  • Need help to unlock the user account HR in the example (rich Web Applications with Oracle ADF development)

    I am very new to Java development and have tried to launch the sample application (Development of Web Applications with Oracle ADF rich) in the start-up, the author of this app has advised developers to unlock the HR user account.

    What I did to connect to Oracle as user = system/password = system and running this SQL command 'ALTER USER HR IDENTIFIED BY NewPwd ACCOUNT UNLOCK"in Sqlplus and with a return code 2.

    Don't code 2: success or failure?

    However, the HR user is always unlocked after issuing this command, and can someone please tell me what I'm doing wrong?

    Thank you.

    Timo,

    Thanks for confirming. The essential difference is that the command must be run as

    SYS AS SYSDBA

    instead of such as SYSTEM

  • Development of rich Web Applications with Oracle ADF tutorial

    Oracle JDeveloper 12 c (12.1.2) tutorials - developing rich Web Applications with Oracle ADF

    3.8 step that a change in the Salary field should translate into a auto update, partial trigger, in terms of annual salary after tabbing off the Salary field, but it doesn't. If I do a update for the Salary field and click on the next button, click the back button, I can see the field update of annual salary.

    I use the version of the JDeveloper IDE with the logical Web server and Apache Derby network server - 10.8.2.2.

    Oracle IDE12.1.2.0.40.66.68

    I made all the changes or the steps in the tutorial.

    No idea why the automatic update does not work on my system?

    Thanks in advance for your suggestions!

    Hello

    two suggestions

    1 set the property clientComponent on the field of output annual salary to 'true '. Because the field is an element of output text sometimes what makes a client component helps the update.

    2 obtain the completed application to http://docs.oracle.com/cd/E37547_01/tutorials/tut_rich_app/labs/richclient.zip and check if she works there. If this works it then the problem is in your implementation. But then you have a working example to compare with.

    Frank

  • Difference in the ADF, JSF, Trinidad, MyFace

    Hello

    I need a brief explanation on ADF, JSF, Trinidad and MyFace. What are the similarities and the differences between them? More development on prices, license, the history and the situation and the condition to apply, IDE to work on for each product would be greatly appreciated.

    Thank you

    Hello

    JSF is Java Server Faces, a specification of standard Java.

    MyFaces is the implementation of Apache's JSF
    Mojarra is the reference implementation (RI) of the JSF by Sun
    Two implementations are the same, very limited game, component, so why there are several JSF extensions on the market.

    ADF Faces 10g is a set of JSF components (depends of JSF, MyFaces or Mojarra)

    Apache Trinidad is the evolution of ADF Faces 10 g (Oracle has donated code to Apache). ADF Faces 10g is pretty well static now, all the improvements coming together of component in Trinidad

    ADF Faces 11g is an extension of the Trinity (so an extension to JSF as well) made by Oracle offer a richer UI at the expense of the browser game in charge a bit more limited and more intensive CPU execution of JavaScript more than Trinidad.

    License of sage:
    Mojarra and MyFaces are free
    ADF Faces 10 g has been certified with Oracle AS 10 g or you could get a stand-alone license as well as I think
    Trinidad of Apache is free
    ADF Faces 11g is licensed with WebLogic 10.3 (JDeveloper 11 g), or you could get a stand-alone license as well I think

    Location wise:
    Using only basic JSF is not enough 90% of the time too limited set.
    If you start a new project, do not use ADF Faces 10g.
    Trinidad and ADF Faces 11g are both very valid options according to your need. If you need a rich client application using ADF Faces 11g

    IDE:
    MyFaces and Mojarra may be used in any IDE
    ADF Faces JDeveloper 10g 10g
    Trinidad in Eclipse or JDeveloper 11g
    ADF Faces in JDeveloper 11g 11g

    Kind regards

    ~ Simon

  • Applications crashing - problems with urlmon.dll

    Many applications "has encountered a problem and needs to close" message at startup. First noticed with the Flash plugin, but now in Fireworks, Dreamweaver, Internet Explorer, Flash, all affected. Seen a similar problem on these forums and instructions followed to reregister the urlmon.dll that is mentioned in all the error messages. Successfully re-entered the .dll, but problems persist.

    Hello

    ·        When you encounter this error message, at random, or whenever you try to open any application?

    ·        Since when are you facing this problem?

    ·        Remember to make any change to the system?

    ·        What is the exact error that you are experiencing?

    I suggest you follow the steps mentioned below.

     

    Method 1:

    I suggest opening the applications in safe mode with network and check if the problem persists. Follow the steps mentioned below.

    a. restart the system and keep tapping F8 until you reach the start menu.

    b. Select safe mode with networking from the list and press ENTER.

    Method 2:

    I suggest you todo a SFC scan. Of file system (CFS) when checking that all the Windows XP system files are where they should be as they are by default and not corrupted, changed or damaged.

    a. Click Start, click principally made programs, accessories, right-click on command prompt and select run as administrator.

    b. click on continue or provide administrator credentials if prompted.

    c. in the type in the following command prompt window and press ENTER:

    sfc/scannow

    d. you should see the following message on the screen:

    § Begin the analysis of the system. This process will take time.

    § Beginning verification phase of system scan.

    e. audit % complete.

    f. once the scan is complete, a test to see if the problem you are experiencing is resolved or not.

    For more information, see the article mentioned below.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

    Method 3:

    If the problem started recently then, I suggest you do a system restore to the point when the system worked very well and see if the problem is resolved. Follow the steps mentioned below.

    How to restore Windows XP to a previous state

    http://support.Microsoft.com/kb/306084

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • ICX session sharing between EBS and ADF. Navigate from EBS page by page of ADF custom application. but every time I get the session as a GUEST, even if I give valid credentils to enter into EBS.

    Hello

    I am integrating EBS and ADF through sharing of session ICX. Navigate from EBS page by page of ADF custom application. but whenever I get session as GUEST (VALID_GUEST), even if I give credentials valid at the EBS system. I should get a valid session that I have connected with a valid user. As it it a VALID_GUEST that the status of cookie icx, back (he got newspapers/debug) and I am.  Comparing with status cookie VALID icx, so every time system opens the Apps login page.  I used fndext.jar to do this. Please help me on this. I'm not sure it's a problem with DB/EBS EBS system, or the code of the adf. My code spruce is given below.

    import java.io.IOException;

    import java.sql.Connection;

    import java.sql.SQLException;

    Import javax.faces.application.FacesMessage;

    Import javax.faces.context.FacesContext;

    to import javax.servlet.http.HttpServletRequest;

    to import javax.servlet.http.HttpServletResponse;

    Import oracle.adf.controller.v2.lifecycle.Lifecycle;

    Import oracle.adf.controller.v2.lifecycle.PagePhaseEvent;

    Import oracle.adf.controller.v2.lifecycle.PagePhaseListener;

    Import oracle.apps.fnd.ext.common.AppsRequestWrapper;

    Import oracle.apps.fnd.ext.common.CookieStatus;

    Import oracle.apps.fnd.ext.common.EBiz;

    Import oracle.apps.fnd.ext.common.Session;

    / public class MyCustomPhaseListner implements PagePhaseListener {}

    public MyCustomPhaseListner() {}

    Super();

    }

    AppsRequestWrapper wrappedRequest = null;

    HttpServletRequest request = null;

    HttpServletResponse response = null;

    String currentUser store = null;

    String currentUserId = null;

    {} public void afterPhase (PagePhaseEvent pagePhaseEvent)

    If (pagePhaseEvent.getPhaseId () == Lifecycle.PREPARE_RENDER_ID) {}

    System.out.println ("in phase");

    If (wrappedRequest! = null & &)

    wrappedRequest.getConnection ()! = null) {}

    try {}

    If (! wrappedRequest.getConnection () .isClosed ())

    wrappedRequest.getConnection (m:System.NET.Sockets.Socket.close ());

    } catch (SQLException e) {}

    }

    }

    }

    }

    {} public void beforePhase (PagePhaseEvent pagePhaseEvent)

    If (pagePhaseEvent.getPhaseId () == Lifecycle.INIT_CONTEXT_ID) {}

    Channel agent = null;

    System.out.println ("forward Phase");

    FacesContext fctx = FacesContext.getCurrentInstance ();

    request =

    (HttpServletRequest) fctx.getExternalContext () .getRequest ();

    answer =

    (HttpServletResponse) fctx.getExternalContext () m:System.NET.FtpWebRequest.GetResponse ();

    CookieStatus icxCookieStatus = null;

    try {}

    Connection EBSconn = ConnectionProvider.getConnection ();

    EBiz instance = EBizUtil.getEBizInstance ();

    wrappedRequest =

    new AppsRequestWrapper (request, response, EBSconn,

    (instance);

    A session = wrappedRequest.getAppsSession (true);

    tried with "a session = wrappedRequest.getAppsSession ();" / / do not return not of any session

    icxCookieStatus =

    session.getCurrentState () .getIcxCookieStatus ();

    Agent = wrappedRequest.getEbizInstance () .getAppsServletAgent ();

    If (! icxCookieStatus.equals (CookieStatus.VALID)) {}

    response.sendRedirect (agent + "AppsLocalLogin.jsp");

    return;

    }

    currentUser = session.getUserName ();

    currentUserId = session.getUserId ();

    } catch (Exception ob) {}

    ob.printStackTrace ();

    }

    FacesMessage message =

    new FacesMessage ("Session is:" + icxCookieStatus + "" +)

    currentUser + "" + currentUserId);

    fctx.addMessage (null, message);

    }

    }

    }

    Have you checked

    https://blogs.Oracle.com/jruiz/entry/adf_and_oracle_e_business

    https://blogs.Oracle.com/jruiz/entry/adf_and_oracle_e_business2

    http://www.Oracle.com/technetwork/tutorials/EBS-SDK-ADF-1887167.PDF

    https://www.YouTube.com/watch?v=9wGv7yxRgVU

    Timo

  • How to duplicate a search field in the Oracle 11g ADF?

    Hello Experts,

    I created an ADF application with option "ADF query with table pane. I have a requirement to reproduce the field even one for "superior to" and another for "lower to." In this case, I need to duplicate the Sales Date twice for research between some days. Please notify.

    SS_SearchCriteriaPage1.png

    Thank you

    David Selvaraj

    In the object view go to the application tab and create display criteria. View, criteria, you can add the attributes you want to use to search for and you can repeat any attribute.

    DataControl expand the view--> named criteria object and drag the display on page criteria in the query with Table pane

  • Access a secure web service of ADF Mobile Application

    Hello

    We try to create an ADF Mobile application that uses a secure web service located in Oracle EBS (with SOA Suite).

    We use JDeveloper 11 g 11.1.2.4.0

    Initially, create usd a Control(SOAP/REST) Gallery Web Service data and provided the WSDL document. We tried to run on a simulator, but not did not do anything. We have also found a way to provide the user name and password. So we left it there.

    Then we tried to create a Java desktop app to check if it was a problem with our server. In the desktop application, we created a "Web Service Client and Proxy" new gallery followed the steps and used oracle/wss_username_token_client_policy, added the code below to put the username and password and was able to call the service and retrieve data.

    (reqContext.put (BindingProvider.USERNAME_PROPERTY, "DBAKER");

    reqContext.put (BindingProvider.PASSWORD_PROPERTY, "xxxxx");

    So we thought to return to the application the ADF Mobile and creating a "Web Service Client and Proxy" it, but when we built this project, we had the ' annotations are not supported in - source 1.4 "&" generics are not supported in - source 1.4 "errors and found that ADF Mobile does not support beyond Java 1.4" "» (Is that right?)

    We then found the video "to access the secure Services of ADF Mobile Web" by Shay (https://www.youtube.com/watch?v=rk5om3o3Pas) and saw that he was using a login server.

    We wanted to confirm if you use a login server is the right path to access a secure web service of an Oracle ADF Mobile application?

    Are there other ways to do it?

    If we need to create a login server, can provide you links that will put us on the right track in establishing a connection server that can connect to the EBS?

    Thank you.

    The URL must point to a protected page that prompts the user for basic authentication.

    See an example here:

    https://blogs.Oracle.com/Shay/entry/accessing_secure_web_services_from

    As well as the blogs linked at the bottom of this entry.

  • ADF Mobile Application to filter sms

    Hello ADF Experts.

    In the ADF, Mobile Application, we could use some features of the device / Device Manager to send text messages, emails, etc..

    Can we build a capacity in mobile application to filter the sms messages received in mobile by keywords and to send the text message to certain URL via a HTTP POST request callback.

    Help with this would be appreciated. Thanks in advance.

    Kind regards

    Dexell

    Hello

    ADF Mobile has no access to the SAM. When you send an SMS then you actually call the customer request (no matter what your mobile uses for texting) and pass strings to the URL schema. This does not, however, a two-way API, you can use to read the SMS of ADF Mobile or invoke any kind of recall

    Frank

  • ADF Swing Desktop Application - deployment problem

    Hello

    I created a Swing ADF application to interact with JavaDB. The application works fine when running in JDeveloper.

    I want to deploy this application runs on the desktop, I have therefore deployed the application according to the steps in the next post
    Re: Lack of Setup executable jar ADF

    Now, when I run my application via command line, I get the following message on the command line

    D:\myapp > java-jar ADF_Library.jar
    June 8, 2011 17:06:34 oracle.jbo.uicli.mom.CpxUtils$ logMainApplicationCpx Visitor
    INFO: jar:file:/D:/MyApp/ADF_Library.jar!/myproject/apps/view/DataBindings.cpx

    And a java console opens that shows the following error stack

    oracle.jbo.PersistenceException: Houston-26000: A Generic exception occurred loading customizations.
    at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:85)
    at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:189)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:237)
    at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1447)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:648)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:692)
    at myproject.apps.view.FormWishListEOView.main(FormWishListEOView.java:444)
    Caused by: java.lang.NullPointerException
    at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1224)
    at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:60)
    ... 7 more
    # # 0 in detail
    java.lang.NullPointerException
    at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1224)
    at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:60)
    at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:189)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:237)
    at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1447)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:648)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:692)
    at myproject.apps.view.FormWishListEOView.main(FormWishListEOView.java:444)


    Guidance on what could be causing this error?

    TIA,
    Franck

    Published by: user11977999 on June 8, 2011 04:40

    Published by: user11977999 on June 8, 2011 04:41

    Maybe you are including pots bad for a Swing client, or a pot is missing.
    And: 84 is far too IMHO.

    We include in our Swing client (most of the people is actually the MDS dependencies):

    JMX (4)
    =============
    BC4J - mbeans.jar
    javax. Management.j2ee_1.0.jar
    jmxframework.jar
    jmxspi.jar

    ADF (21)
    =============
    ADF-share - ca.jar
    ADF-share - support.jar
    adflogginghandler.jar
    ADFM.jar
    cache.jar
    Commons-cli - 1.0.jar
    common - el.jar
    DB - ca.jar
    DMS.jar
    Groovy-all - 1.6.3.jar
    javatools - nodeps.jar
    javax.transaction.jar
    jdev - cm.jar
    JPS - api .jar
    JSP - el - api .jar
    mdsrt.jar
    OJDL.jar
    ojmisc.jar
    Oracle - el.jar
    ResourceBundle.jar
    share.jar

    SWING (3)
    =============
    ADF-share - base.jar
    DVT - jclient.jar
    DVT - utils.jar

    JDBC (3)
    =============
    ojdbc6.jar
    orai18n - collation.jar
    orai18n.jar

    XML (3)
    =============
    XML.jar
    xmlef.jar
    xmlparserv2.jar

    In this version, we also turned off MDS. In 11.1.1.5.0, turn off MDS is no longer an option, it seems (SR result is pending), then you should also include javax.jsp.jar and javax.servlet.jar.

    Powering down of MDS:

    System.setProperty ("oracle.adfm.usemds", "false");
    System.setProperty ("oracle.jbo.usemds", "false");

    I don't know how reasonable is the list above. We built a list of pots from the bottom up, meaning: we tried to start the client, waited for the ClassNotFoundException, found the container class and he added and so on. She works for us in 11.1.1.3.0.

    The stack trace that you see in 11.1.1.3.0 is caused by a lack of class. ADFConfig tries to create an instance of the class 'oracle.adf.share.config.ADFContextMDSConfigHelperImpl' but fails, probably because the class is not in the classpath. The method of creation of the program of assistance and then returns the value zero, leading to the NPE in getMDSSessionAsObject().
    The exception is logged in the ADFLogger level FINE, so you should be able to see the cause, if you change the logging level.

    Sascha

  • OAM can protect the JSF application?

    Hi all

    I have a JSF application deployed in WebLogic Server. There is a server OHS giving the WebLogic Server. We have installed a WebGate on server OHS. We have access to the JSF application using jsp as http://host:port/WebApp/faces/home.jsp.

    I created a policy area to OAM and want to protect the JSF application. When I protected the URL to WebApp/faces/home.jsp, I can see the OAM authentication and authorization that passes as expected. However, when I create resources like *.jsp URLS tab to protect all URLS, it does not work. It shows a weird behavior where after you have entered the username and pwd in the connection of the form, it is again prompting with basic on LDAP authentication. Entering username and pwd once again, it is to launch a weird error as shown below.

    Operation Oracle Access Manager error
    No message not protected resource %1 used in a constructor of ObAuthenticationScheme or ObUserSession. ; Based on LDAP; UserID = 11056 password = (omitted) resource = / nicsso RequesterIP = 192.168.90.55 HostTarget = http://hostname:7777 operation = POSITION HR = http://hostname:7777 ru=/WebApp/faces/home.jsp

    Contact your Web site administrator to address this issue.

    I tried to protect the URL as shown below.

    /WebApp/faces/.../*
    /WebApp/faces/*.jsp
    / WebApp/faces / *.
    {/ WebApp/faces/.../{jsp}

    Please let me know if anyone has had the protected with OAM 10.1.4.3 JSF application.

    Thank you
    Mahendra.

    Sorry, too quickly responded. You must provide the URL of the page (s) you want to protect, not the page itself. That is to say/application/faces / instead of application/faces/*.jsp.

    -olaf

Maybe you are looking for