Repository using Maven with ADF

Hi all

I did a little reinforcement autour with Maven in recent weeks. As we know, Oracle ADF libraries are not available on all public deposits of Maven. Now, this is not a problem, we can create an individual/enterprise Maven repository for libraries.

My question: is there any effort underway, either within the Oracle, either, to standardize the "coordinates" for these libraries in the hierarchy of Maven repository? I think to create a repostitory staff/company with these libraries, and if there is a standard for how they should be named, which would save me time in the future event that Oracle decides to host a Maven repository for their libraries (for example).

Best regards

John

John,

based on a recent client requirement, I'm about to file an ER for such a repository.

Frank

Tags: Java

Similar Questions

  • Using @Interceptors with ADF managed beans

    Hi Experts,

    I am using the annotation javax.interceptor.Interceptors on my methods of ADF managed beans, but my methods of interception are not get called.

    Is it possible to use it with controlled beans? Has anyone tried this before?

    JDev: 11.1.1.7

    Java: 1.7

    MyInterceptor.java

    =========

    public class MyInterceptor {}

    public MyInterceptor() {}

    Super();

    }

    @AroundInvoke

    public object intercept (InvocationContext context) throws Exception {}

    System.out.println ("MyInterceptor - logging BEFORE calling method:"+ context.getMethod () .getName () ");

    Object result = context.proceed ();

    System.out.println ("MyInterceptor - logging AFTER calling method:"+ context.getMethod () .getName () ");

    return the result;

    }

    }

    =========

    SomeBean.java

    =============

    public class SomeBean {}

    @Interceptors (MyInterceptor.class)

    {} public void doReset (ActionEvent actionEvent)

    do something

    System.out.println ("In reset");

    }

    }

    =============

    Thank you

    Soham

    As far as I KNOW, JSF(and ADF) can't stand the interceptors.

    Maybe you can try this in 12.2.1 jdev because with this version is packaged 2.2 JSF (which should support the CDI)

    Dario

  • Possible to use USB with ADF Mobile devices

    Hi guys,.

    I have found a few reader (include chip) chip card that works with a mobile device through their ports (port 30 pins, micro usb) in mobile native development(iOS/Android)

    but I want to know can be used with ADF Mobile as we Smartcard reader SDK JAR that working in the 1.4 jvm that I'm not sure on the support of usb-host function in ADF Mobile.

    Thank you.

    Hello.

    In the current version, the only way to get what you want is to build your own plugin of Cordova. This means that you will need to write native Android and iOS code to interact with the device, but also a JavaScript wrapper that will expose your API to Mobile ADF application. You can find more information in the Documentation of the API Apache Cordova.

    Best regards

    Frédéric Desbiens.

  • How to use captcha with ADF Faces 10g (10.1.3).)

    Hi all

    Could you Pls tell me how to use captcha using 10 g I'm currently using the version 10.1.3 jdeveloper. I found the link to the use of the * [captcha using 11g | http://www.oracle.com/technology/products/jdev/tips/fnimphius/captcha/captcha.html] * but some here like af:panelFormLayout and af:panelGroupLayout components are not available in 10 g. There are alternative components Availablel for the 10 g


    concerning
    Marie-Laure

    Dominique... remove the attribute.

    The idea for the article was Frank present a concept, not necessarily for him to provide the code you just drop and use.

    Understand the concept, then you can implement the details.

    John

  • Hi all the * please how (add & use) jquery in adf file * thank you

    Hello

    Refer

    Blog of Ashish Awasthi (Jdev/ADF): using JQuery in Oracle ADF

    Using JQuery in Oracle ADF | Oracle ADF Blog

    http://andrejusb.blogspot.ca/2014/02/simple-jQuery-notification-message-for.html

    https://technology.AMIS.nl/2011/01/31/ADF-11g-using-jQuery-with-ADF-to-provide-a-fading-user-feedback/

  • The Repository Maven Oracle ADF 12.2.1 update

    Hello

    will there be an update of the Repository Maven Oracle with ADF 12.2.1 libraries?

    If yes - that someone can say when it will be available.

    Well, there is no need to open multiple threads on the same topic, just to bump existing thread.

    Anyway, only Oracle employees may have this information so your best chance is to create the Service Request(if you have support account).

    But don't expect much, Oracle policy is to withhold the release date for their products.

    Dario

  • Dependence Maven of adf library with entity objects

    Hi all. My setup is JDeveloper 12.1.3

    I created an adf library jar with common entity objects so I can reuse this library in other modules of my application. The jar was created using the plugin for maven ojdeploy and if I inspect the jar file, everyhting is there (EO, Assoc, etc.)

    However, when I add the library as a dependency maven in another application, I don't see the EntityObjects, it is as if it is not added to my request. If I import the jar file directly by using the properties of project/libraries and classpath option, it works, I can see the EntityObjects and can create ViewObjects of them.

    I must say that the project compiles using maven dependency. What I can't do, is create a ViewObjects of the EntityObjects that are in the jar file, in order to do that I have to add the Jar file manually to libraries and to the classpath of the project.

    Any ideas?

    Thank you

    I found another way to do what I needed.

    I had to create a custom instead of an Application of Web of Fusion ADF application. The reason? I had to add Maven to the list of the characteristics of project:

    Configure the settings of maven for the project:

    Of course, the build environment is Maven as well:

    With this configuration, when I add a jar file to library adf to my project using the maven dependencies, I can use business defined in this library components. This solution is consistent with Maven and CI environment.

    Kind regards.

  • How to create the validation for a composite primary key feature when I use create with operation of parameters to pass values to a page (i.e. the ADF table) to another page I get this error, how can I solve it. Please help me any one ASAP?

    Hello

    I have a page with adf faces table, I need to pass values to the table to another the inputfields page (both fields are composite primary keys), I'm passing values but I get the error while I'm passing values twice on the next page with a button command (using setPropertyListener) this error... Please help me?

    Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is Houston-25013. Error messages settings are {0 = oracle.jbo.Key [22 9]}

    ADF_FACES-60097: for more information, see the error log of the server for an entry beginning with: ADF_FACES - Exception during the PPR, #1 60096:Server


    The error log is...


    URL - target http://127.0.0.1:7101/Recruting-ViewController-context-root/faces/login.JSPX

    < ViewHandlerImpl > < _checkTimestamp > Apache Trinidad runs with control of activated timestamp. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml

    < UIXEditableValue > < _isBeanValidationAvailable > Validation Bean A provider is not present, so bean validation is disabled

    passing the user name: 201157

    < _LogUnhandledException > ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase 5 of INVOKE_APPLICATION

    oracle.jbo.TooManyObjectsException: Houston-25013: too many objects correspond to the oracle.jbo.Key [22 primary key 9].

    at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:608)

    at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:617)

    at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1030)

    at oracle.jbo.server.EntityCache.add(EntityCache.java:541)

    at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1141)

    at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1140)

    at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:461)

    at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:478)

    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5800)

    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1941)

    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2504)

    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2545)

    at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2510)

    at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:11133)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1342)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)

    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 oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)

    at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1091)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:982)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:880)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:553)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)

    at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)

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

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

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to 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:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

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

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

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

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

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

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

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

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

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

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    < RegistrationConfigurator > < handleError > ADF_FACES - 60096:Server Exception during the PPR, #1

    oracle.jbo.TooManyObjectsException: Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is Houston-25013. Error messages settings are {0 = oracle.jbo.Key [22 9]}

    at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:608)

    at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:617)

    at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1030)

    at oracle.jbo.server.EntityCache.add(EntityCache.java:541)

    at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1141)

    at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1140)

    at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:461)

    at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:478)

    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5800)

    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1941)

    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2504)

    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2545)

    at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2510)

    at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:11133)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1342)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)

    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 oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)

    at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1091)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:982)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:880)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:553)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)

    at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)

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

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

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to 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:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

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

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

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

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

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

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

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

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

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

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Hi all, finally I found the solution to this exception.

    I did the following steps to solve the problem.

    1. create a bean and use this method

    public void tooManyObjectsMatchExceptioHandeler() {}

    Add the code in the event here...

    System.out.println ("inside the Handeler");

    FacesMessage message =

    new FacesMessage ("Type your friendly message");

    message.setSeverity (FacesMessage.SEVERITY_ERROR);

    FacesContext fc = FacesContext.getCurrentInstance ();

    fc.addMessage (null, message);

    }

    Now, drag and drop the file above java projects in data controls in the browser of the application.

    2. drag a workflow method call (where u get exception as Houston-25013) and call this method as an activity of the exception handler,

    Now, do a right click on this--> definition of the page method call create or go to definition of the page--> create a link Action method and select the above method in the select and file def page this method call in the workflow then go to properties inspector set out fixed property (here name of activities of method call) u give.

  • Using SQL Server with ADF BC and getting Houston - 29114 ADFContext aren't Setup error

    Hello... I work with ADF BC and my connection is with a MS SQL Server database.  I added the sqljdbc4.jar in my template project, and can't seem to connect with the DB and build an Entity/View/AppMod infrastructure.  However, once I deploy the application on the integrated WebLogic Server I get errors when ADF BC tries to connect.  I added a POJO supported data control and tried to debug but PPR reports an error when my key to call the code stripped of JDBC:

    Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is Houston-29000. Error messages settings are {0 = java.lang.NoClassDefFoundError, 1 = com/microsoft/sqlserver/jdbc/SQLServerException}

    ADF_FACES-60097: for more information, see the error log of the server for an entry beginning with: ADF_FACES - Exception during the PPR, #1 60096:Server

    Seems to me that the POT is not in the classpath on the WLS.  What is the problem? If Yes... How would have added that JAR, sqljdbc4.jar, the path of the WLS class.  I've done through the deployment of models, and he saw in the META-INF/lib directory that has been deployed.

    Thanks for any help!

    Do not apply the JDBC JAR (s) in the archives of application deployment. You must add the JAR to the classpath WLS JDBC (s). Change the commEnv.cmd/sh for this script:

    Using JDBC with WebLogic Server - 11g Release 1 (10.3.6) drivers

    Note that WLS is pre-configured with a number of brand WebLogic DataDirect JDBC drivers (including a SQLServer driver), so you can use it instead of adding a new driver if the DataDirect driver meets your needs:

    Using WebLogic brand DataDirect drivers - 11g Release 1 (10.3.6)

    WLS 10.3.5 documentation provides more detailed information:

    The MS SQL Server driver

    Dimitar

  • Creation of IOM plugin using maven

    Hello

    Anyone using maven to create the plugin automatically in OIM 11 g zip file? If so, can you share reference sample pom.xml.

    Thanks in advance

    Hello

    the necessary zip structure (corresponding to your ad with plugin.xml and the lib folder in the roots and the jar inside the lib file) will be created, Yes.

    Our facility is such that all plugins will be compiled into a single jar file. The plugin.xml, which should be placed in src/main/resources, must be changed manually, of course.

    Here's the dep.xml you requestd:

    
      bin
      ../
      
      zip
      
      
      
      ${project.basedir}
      /
      
      README*
      LICENSE*
      NOTICE*
      
      
      
      ${project.build.directory}
      /lib
      
      *.jar
      
      
      
      ${project.build.directory}/classes
      
      plugin.xml
      
      /
      
      
    
    
  • including the extension in jdeveloper with ADF Faces?

    Hello

    We have an application with ADF Faces components that must be migrated to OracleAS weblogic 11 g Server (10.3.5).

    We strive to upgrade the application under jdeveloper 11.1.1.5.0.  I have 3 questions.

    1. which the ADF jdeveloper extension should download us for this purpose?

    We already seem to have the extensions 'Fusion Web Applications (ADF)' and ' Applications Java Desktop (ADF) "."

    2. during the upgrade, we were given an option to upgrade the ADF Faces in Trinidad, when this option has been chosen, we got a "unexpected mistake."

    is it necessary to go to TRINIDAD to be able to deploy successfully on weblogic 10.3.5? If Yes, is the extension for Jdeveloper MAVEN?

    3. in weblogic server, I understand, we need the extension JRF to support the length of the ADF, is there anything else that we need on weblogic server that the adf works?

    Thank you in advance.

    If the origins of your application of jdev 10g and runs on the OAS, you can migrate to Trinidad. No extension is required for this as the required libraries are already there. Maven is useless and will not work for 11.1.1.5.0. First version with the full support of MAVEN is 12 c.

    If you get an unexpected error during the migration from the old app to 11 g, you should try to find out

    (1) projects that is causing the error

    (2) file that is causing the error

    and work from there. There are some configurations that cannot be migrated (check the release notes), however they should not lead to unexpected errors. However, check the release notes.

    If you don't find anything and cannot pass through the error, you must open a SR with support.oracle.com.

    Next question is why migrate to 11.1.1.5.0 which is already obsolete.

    Timo

  • Problem with ADF Mobile on Android

    Hello

    I am trying to perform a very simple test with adf mobile on android emulator.

    But when I try to open the application, the startup screen never changes.

    Only when I go to the menu and go back to the application in the menu device, it shows the main screen.

    And...

    When I try to open a page very simple amx, the app launch a message that says:

    Failed to initialize the AdfcContext {classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ;}}

    Can someone help me?

    I use:

    Framework Mobile ADF oracle.adf.mobile 11.1.2.4

    SDK Android 22

    Message: http://db.tt/mIqcekCI

    Journal: http://db.tt/0frlguNq

    Thank you!

    Hi, there, a number of things to double check your settings of the emulator:

    • When the Android emulator configuration, make sure that the emulator emulates the ARM processor (armeabi - v7).  ADF Mobile works only with the ARM processors - device so the emulator.
    • Under Options, memory, please ensure that RAM is at least 768 or higher.  It is of course also constrained by the amount of memory that your development computer has, but in general, you should have at least 768 MB allocated.  ADF Mobile app itself will almost RAM of course, but there are lots of Android apps that are started in the background when the Android emulator starts.
    • Also make sure, there are 500 MB of internal storage configured - you can go as low as 200 MB, but the space will be quickly.

    Finally, compile/deploy again, please open JDeveloper menu Build - Clean all to clean up any left over deployment artifacts.

    Thank you

    Joe Huang

  • [Help needed] Several errors in X 40 with ADF security with or without custom login page

    OTN greetings community, I'm sorry to bother you again, but I need help again once, links to the relevant files (pastebin and imgur) are on the bottom of the post in the meantime ill try to explain my situation.

    I use version 11.1.1.7.0 for JDeveloper with (I assume) updates all of the current side.

    In my efforts to learn more about ADF, I had finished the Apps to build with ADF I guide I produce a 'simple' application to manage contacts, companies and their places of activity.

    With all my functions done and tested semi (small scale) I went ahead and and tried implement security.

    So, with the help of Andrejus Baranovskis Entry of Blog (have been using his blog as a source of information, has contributed to many situations, especially related bean) and fireboxtraining (Part1 and Part2) youtube videos, I have 2 pages, a Login Page (a dispatcher Panel 1 facet has only text showing the user names and passwords connection and the 2nd input text facet 2 related to the bean requesting the user name and Word 3rd password a button that calls the doLogin method) and an error page displays just the text.

    So after you have enabled security, create 2 users, create 2 roles of the company, creating application roles 2 and associating all 2 grants of right one to each role app giving privilege to see on the pages I want, I developed (my goal is that in the homepage, using a mixer according to user's role would display a region that all data can be changed or another that all data is read-only but I don't that have not yet implemented).

    So I went on the test page and unfortunately I hit the 1st wall would not display the login page (seemed to be always be update a blank page in firefox) so I checked if the pages are in the anonymous role and they were. So, as I saw in the video I deleted the page definition files in the Databindings.cpx file and I am past the 1st obstacle has shown the login page. So I typed the username and passwords and I hit my second wall (error 404 - Not found), I saw the code, debugged it and found that he wouldn't be able to hang or something like that (forgive me for my brutal inexperience) then I disabled the security and reactivated with pages of default form, and when it prompted me to type the user name and password I had hit my 3rd and last wall (error 401 - no allowed) which we I didn't wait, I went in the jazn-"Data.xml" and looked if the grants/permissions/roles were ok, in my inexperience, I don't find any problem, so beat I come here to seek support.

    Code:

    MyLoginBean

    MyJazn-"Data.xml"

    MyWeb.xml

    Error logs:
    OnDeployment

    OnLogin

    Screenshots:

    404 full

    401 full

    Sorry for the long post and to put the code in another site (not wanted to put this post more than it already is).

    Thank you very much for your time and your support.

    Hello

    Article http://www.oracle.com/technetwork/issue-archive/2012/12-jan/o12adf-1364748.html

    comes with a sample download, run and explore.

    http://www.Oracle.com/technetwork/issue-archive/2012/12-Jan/o12adf-524995.zip

    It includes all your use cases. So I suggest that start here

    Note that following the code has experienced problems with recent versions of the IDE instead of a side server before we recommend (and will amend accordingly our documentation) to use a redirect on the facesContext--> externalContext instead (I'm typing through while it's not his apparent

    recommended and more)

    ' Private Sub sendForward (HttpServletRequest, HttpServletResponse response, forwardUrl String query) {}

    FacesContext ctx = FacesContext.getCurrentInstance ();

    RequestDispatcher dispatcher = request.getRequestDispatcher (forwardUrl);

    try {}

    Dispatcher.Forward (request, response);

    } catch (ServletException to) {}

    reportUnexpectedLoginError ("ServletException", is);

    } catch (IOException ie) {}

    reportUnexpectedLoginError ("IOException", IE);

    }

    ctx.responseComplete ();

    }

    Frank

  • Running Application Module tester with ADF security

    Hi, I use JDeveloper 11.1.1.6 and recently activated ADF security on my request. Now when I try to run the Application Module Tester by right click on the request form and say run I get the following error. I get the JAAS prompt to enter my credentials, but no matter what I put, I get the following.

    oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.adf.share.security.ADFSecurityAuthenticationException, msg = EXC_NO_AUTHENTICATION_SERVICE
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:599)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
    at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
    at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    ... 13 more
    # # 0 in detail
    oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
    at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
    at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)

    Also, I have tried to disable the security of the ADF and the request module Tester then works fine but I need to run it with security ADF is turned on. Someone knows how to fix this?

    Thank you.

    I understood the question. It seems that I had to remove the library "ADF generic Runtime ' libraries and Classpath of the project of my model parameters. Does anyone know why having this library referenced in your project settings would cause this issue? I also had to delete this reference from the library to a project to generate a web service proxy in the past, it seems to cause a few problems when they are associated with libraries and Classpath for a project or even associated with a library that depends on another library. Can anyone provide any indication regarding the library and why it causes so many problems? You can recreate this issue on demand by adding the library "ADF generic Runtime ' to your template with ADF security project and then activated by running the module of the application by clicking on it and say run.

  • Download Document of Intranet Portal with adf 11g connection credentials

    Hello


    JDev Version: 11.1.2.2.0

    I am trying to download a document of intranet portal that uses my IDs of NT.

    When I try to download the link from the browser, it works, but try even when download of java code with ADF Backing Bean his fault download saying 401: unauthorized Exception.

    Question here is how to move the Windows NT credentials to my grain of document download or is there a way to say "use my login credentials of the system"?


    I copy the source code here for your reference.

    /**
    * Download the file stored in the database in the URL format
    @param facesContext
    @param outputStream
    */
    ' Public Sub downloadDocument (FacesContext facesContext, OutputStream, outputStream)
    {
    OperationBinding op = (OperationBinding) findOperation ("getDocumentLocation");
    Map opParamsMap = op.getParamsMap ();
    opParamsMap.put ("docRowKey", docValueID.getValue ());
    String result = (String) op.execute ();.
    System.out.println ("location of the document" + result);
    FileOperations.getInstance (f:System.NET.WebRequestMethods.FTP.DownloadFile (result));
    }


    synchronized Public Shared Sub downloadFile (String strURL)
    {
    DocumentURL URL;
    UConn URLConnection = null;

    try {}
    documentURL = new URL (strURL);
    uConn = documentURL.openConnection ();


    Authenticator.setDefault (new Authenticator() {}
    protected PasswordAuthentication getPasswordAuthentication() {}
    return new PasswordAuthentication ("xxxx", "xxxxx".toCharArray ());
    // }
    // });

    int byteRead;
    int byteWritten = - 1;

    InputStream is = uConn.getInputStream ();
    OutputStream outStream = null;
    Byte [] buf = new byte [153600];
    While ((byteRead = is.read (buf))! = - 1) {}
    outStream.write (buf, 0, byteRead);
    byteWritten += byteRead;
    }
    System.out.println ("uploaded successfully.");
    }
    catch (FileNotFoundException fnfe)
    {
    System.out.println ("Exception occurred while downloading file:" + fnfe.getMessage ());
    }
    catch (MalformedURLException e)
    {
    e.printStackTrace ();
    }
    catch (IOException e)
    {
    e.printStackTrace ();
    }
    Finally
    {

    }
    }


    Please note that I am the download document based on a URL (intranet portal).

    Happy to provide any other information.

    Appreciate the quick response

    Thank you inadvance

    Network and application user id user ID but can match... the password is not... Since you say that the URL itself works very well when you give him on browser, try opening the URL using goLink.
    Guess it would work if the user of the network has access to the portal.

    Check out the link below to open the URL using goLink.

    Open a dynamic URL to link to the Table column

    Good luck!

    Edited by: 119413 January 10, 2013 14:35

Maybe you are looking for