JSF/ADF Application Visual Drawing Tool Integration

Can any one recommend a visual drawing tool that can be integrated into a JSF/ADF application that is data aware (something like Visio)? I need to generate an UI with printed outputs that is very graphically rich and is based on underlying data. I believe I could use Viso's SDK but, would like to use a more Java friendly tool.
Thanks.

Hi,
These concepts are quite long to ellaborate (a few chapters long on the Developer Guide :) ). Here are my thoughts about your questions, i'll try my best:
1) All queries to the database like this one you have to do through a View Object. In your project, you can select new -> view Object, and type in your SQL in the text area. In this particular case, you can do something like "SELECT * FROM user WHERE username = :uName". Then in the next screen you define a Bind Variable with the same name, in this case "uName". Then you have to create an Application Module in the same way (new -> Application Module), binding your new View Object to it. As soon as you do it, you will see that your Data Control Palette on the right side of JDev has a new entry. From there it's a matter of dragging and dropping the methods on the UI.
2) In a similar way, all updates to the DB go through View Objects. As you used the wizard, you will notice that there are some Entity Objects in your project, one for each table in the DB. You can create a View Object based on one or more Entity Objects to allow updates. Whenever you change any attribute on the VO that maps to an attribute in an EO this change is posted to the DB. This said, you can simply drag and drop the View Object from the Data Control Palette to your page and it will retrieve and update data.
There are tons of concepts behind all i said, this is only a glimpse of what ADF BC and Faces do. I recommend reading the Dev Guide that comes with Jdev, you can find it on the menu (help -> table of contents) and also do some tutorials (help -> start page) that are the simplest things you can do with ADF.
Hope it Helps!
Thiago

Similar Messages

  • BEA-160197: Simple ADF application fails to deploy on integrated weblogic

    JDeveloper 11.1.1.6.0
    Simple JSF ADF application fails to test localy on integrated weblogic. I have never seen this and have no clue where to look for the problem. Anyone?
    [01:11:01 PM] Deploying Application...
    <23.05.2012. 13.11.01 CEST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\Documents and Settings\drtodor\Application Data\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\TrackingSystem11g/META-INF/weblogic-application.xml of module TrackingSystem11g. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.application.ApplicationDescriptor.getWeblogicApplicationDescriptor(ApplicationDescriptor.java:324)
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:181)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:67)
         at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:315)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
         ... 27 more
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         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.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         ... 35 more
    .>
    <23.05.2012. 13.11.01 CEST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDeploymentMBean TrackingSystem11g#V2.0. Error - weblogic.management.DeploymentException: Unmarshaller failed.
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    <23.05.2012. 13.11.01 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1337771461093' for task '1'. Error is: 'weblogic.management.DeploymentException: Unmarshaller failed'
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    <23.05.2012. 13.11.01 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TrackingSystem11g [Version=V2.0]'.>
    <23.05.2012. 13.11.01 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86e4fd19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    [01:11:01 PM] #### Deployment incomplete. ####
    [01:11:01 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application TrackingSystem11g due to error deploying to IntegratedWebLogicServer.
    [Application TrackingSystem11g stopped and undeployed from Server Instance IntegratedWebLogicServer]

    OK I found it and opened it. This is the content before I started the application:
    <?xml version = '1.0' encoding = 'windows-1250'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.1/weblogic-application.xsd"
                          xmlns="http://xmlns.oracle.com/weblogic/weblogic-application">
      <listener>
        <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
      </listener>
      <library-ref>
        <library-name>adf.oracle.domain</library-name>
      </library-ref>
    </weblogic-application>I kept it open and ran the app. It got edited in front my eyes just like this:
    <?xml version = '1.0' encoding = 'windows-1250'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.1/weblogic-application.xsd"
                          xmlns="http://xmlns.oracle.com/weblogic/weblogic-application">
      <listener>
        <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>
          oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
        </listener-class>
      </listener>
      <listener>
        <listener-class>
          oracle.mds.lcm.weblogic.WLLifecycleListener
        </listener-class>
      </listener>
      <library-ref>
        <library-name>adf.oracle.domain</library-name>
      </library-ref>
      <library-ref>
        <library-name>
          adf.oracle.domain
        </library-name>
      </library-ref>
    </weblogic-application>

  • How to browse ADF Application page by user

    Hi, i am ali & just i want to know, how to access ADF Application page by user through browser
    Edited by: user13367653 on Jan 17, 2012 5:20 AM

    Ali,
    Welcome to the forum. Please take a bit of time and tell us which jdev version you are using.
    It's helpful to read https://forums.oracle.com/forums/ann.jspa?annID=56 before posting.
    You question is not clear, so we can't relay answer it. Where would you like to access the adf application? On the integrated server or a stand alone server?
    Timo

  • Browser back button not working with ADF Application integrated with SSO

    I have integrated an adf application with Oracle SSO Authentication. Application is running fine.
    Though, while navigating between pages, using browser back button , it is not redirecting the url properly
    Should Redirect it to : http://<hostname>:<port>/<contex-root>/<servlet>/<id>
    Presently Redirecting it to :http://<hostname>:<port>/<contex-root>
    As, directory browsing is not allowed, there is Error 403--Forbidden .
    Can anybody tell what changes needs to be made to make browser back button work.

    In some of the documentation I have read, they have mentioned that using the back button in a browser doesn't work too well with any JSF type of application (not just ADF and Jdeveloper apps).
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/web_form.htm#CFHHJGJH
    Instead, they suggest using buttons on the form.
    There is a video on using navigation between forms that may be of value: http://www.youtube.com/watch?v=bsPtmRID5XI&feature=plcp
    Stuart
    Edited by: Stuart Fleming on Sep 11, 2012 5:30 AM

  • Dynamic User Authentication in JSF, ADF BC Application

    I have developed a JSF, ADF BC Application using JDeveloper 10.1.3.3. My application consists of jspx pages and I also have to integrate some existing oracle forms with it using OraFormsFaces library.
    I have successfully used custom DBProcLogin Module by Frank to authenticate the users with the help of a stored procedure and user credentials stored in database tables.
    During integrating Oracle Forms I realised that some of these oracle forms use get_application_property(username) to retreive connected user information. All of the users which are stored in database tables are also oracle users with the same credentials as stored in database tables. The existing oracle forms based application was connecting to Oracle every time with different provided user credentials each time and therefore returning correct (required) user name information.
    Now since I have used DBProcLogin Module in new ADF application, when I run it, user is successfully authenticated but get_application_property(username) in the existing oracle forms returns the user name that application module is using to connect with the database. To make it work correctly, I want my ADF application to connect to oracle database with different user each time.
    I have searched and seen topics such as, Dynamic JDBC Credentials, Database Proxy Users etc. But I am confused with the width and depth of this much information available. Therefore, I thought I may get some advice from the experts present in the forum that which of the techniques will go best with my application.
    Keeping in view the scenario that I have provided, can someone please guide me to the best suitable technique and the related information/documentation?
    Thanks in advance,
    Amir

    Hi,
    the whitepaper you reference is written by the expert on this subject. Samples are posted by the same author: http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    Note that what you try to do will create a dedicated connection for Forms and ADF, which means that 100 users will have 200 database connections open.
    Frank

  • Can Oracle Application Express (APEX) be integrated with ADF applications?

    Hi All,
    Oracle Application Express (APEX) works on various supported databases. Can this tool be integrated with ADF for report publishing, in adf some of my result is coming from Business Components , so can these things be related to each other?
    Please provide a suitable forum to ask this question if this question doesn't fir in ambit of this forum.
    Thanks in advance.

    There are a couple of things you can do - a lot depends on what your application needs. Since you ask this in the JDeveloper forum, I'm going to address getting to ApEx from ADF, not to ADF from ApEx - but some of the same possibilities apply.
    Easiest thing to do is to jump into the ApEx application with a af:goLink or af:goCommand referencing the needed page's URL. By setting the target, you can control whether it opens in a new window or the same window. I'm not currently using ApEx, but I have a few reports written as PL/SQL Server Pages that I call exactly this way.
    You can also open the ApEx pages in an af:inlineFrame - and it will look like it is inside your ADF application - but use inline frames with a little caution - they don't work perfectly in all browsers, notably Mobile Safari.
    ApEx can't look inside your ADF BC objects, but of course, if your two applications are using the same database, you can communicate between them within the database. One possibility to look at is Advanced Queuing.
    Some ApEx functionality can be executed by executing the underlying PL/SQL procedures - do a search in this forum for how to call PL/SQL from an ADF BC Application Module.

  • Ant/Hudson integration with ADF application

    Hi,
    I'm currently investigating some Ant and Hudson integration for my project and I'd be interested to know how other people are handling such things as continuous integration, automated builds, release management etc with Oracle ADF applications.
    I've had some success using ojdeploy from Ant, and I'm now able to run a Hudson project to at least keep track of whether the build (via ojdeploy) is successful or not. However, the ojdeploy tool is a bit of a black box and I'd like to add further steps to my build (such as unit test execution, code quality reports, etc). I guess I can replicate everything that ojdeploy is doing into my own Ant script and stop using ojdeploy (or just use it for EAR creation), but I'm wondering if there are any other helpful bits and pieces I should know about. Are there any JDeveloper/ADF specific ant tasks that I can add to Ant via taskdef and make use of?
    Cheers!

    japher,
    I am not using ojdeploy because of [url http://forums.oracle.com/forums/thread.jspa?threadID=848196]a bug that I had found in the earlier 11g releases - I haven't checked to see if it's resolved in 11gR1 yet.
    The sneak preview is, yes, it's quite possible to use ANT to build your ADF projects (the article goes into the gory details as to how) - a key thing is to put all of the ADF libraries into your version control system so that you can build the applications without having to install JDeveloper. Once you've done that, setting up Hudson (or TeamCity or Continuum, or any of the other build servers out there) is pretty straightforward. I like Hudson and TeamCity personally, because they involve little-to-no editing of configuration files and lots of point-and-click-at-the-pretty-web-UI. TeamCity isn't free (for anything other than a small configuration), so Hudson becomes a nice default.
    John

  • Error while running ADF application in integrated weblogic server

    Hi, I'm new to Jdeveloper. I'm using Jdeveloper 11, when i try to run a sample ADF application in Jdeveloper integrated weblogic server i am getting following errors. Can anyone help me how to fix it?
    [06:44:04 PM] Redeploying Application...
    <AzUtil> <getPermClassLoadingErrorMessage> Cannot instantiate permission class "oracle.fodemo.storefront.store.view.AccountPermission", target "AccountPermission", or actions "view" as defined in the system policy context.
    <ConfigureListener> <contextInitialized> Critical error during deployment:
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.sun.faces.config.ConfigureListener.isJspTwoOne(ConfigureListener.java:624)
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:649)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:244)
         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:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         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:52)
         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:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         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:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Oct 6, 2011 6:44:13 PM EDT> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext.
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
         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:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.sun.faces.config.ConfigureListener.isJspTwoOne(ConfigureListener.java:624)
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:649)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:244)
         Truncated. see log file for complete stacktrace
    >
    <AzUtil> <getPermClassLoadingErrorMessage> Cannot instantiate permission class "oracle.fodemo.storefront.store.view.AccountPermission", target "AccountPermission", or actions "view" as defined in the system policy context.
    <Oct 6, 2011 6:44:14 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1317941045593' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.sun.faces.config.ConfigureListener.isJspTwoOne(ConfigureListener.java:624)
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:649)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:244)
         Truncated. see log file for complete stacktrace
    >
    <Oct 6, 2011 6:44:14 PM EDT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'StoreFrontModule'.>
    <Oct 6, 2011 6:44:14 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'StoreFrontModule'.>
    <Oct 6, 2011 6:44:14 PM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.sun.faces.config.ConfigureListener.isJspTwoOne(ConfigureListener.java:624)
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:649)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:244)
         Truncated. see log file for complete stacktrace
    >
    Thanks,

    It looks like some jasper library missing.
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
    Please make sure you have all dependent jasper libraries imported in your project.
    Thanks,
    Nantha

  • ADF application integrating with Oracle Web Cache

    Hello,
    I am trying to integrated my ADF 11g application with Oracle Web Cache. I used this link http://andrejusb.blogspot.com/2010/06/oracle-webtier-11g-configuration-for.html for it.
    I am able to access my ADF application using webcache port 7785.
    I created few caching rules in the Oracle Web Cache. And in the popular request section of the Oracle Web cache i see jpg,png and other image files cached.
    But the issue is when the application access images like /testapp/test/images/abc.jpg?_adf.ctrl-state=5b0s7lzfo_29 . I created a caching rule with regular expression ^/testapp/test/images/[A-Za-z0-9_]*\.(gif|jpeg|png|jpg)\?_adf\.ctrl-state=[A-Za-z0-9_]*$.
    But when i access the popular request in em i don't see the URL given above as cached. The caching reason it specifies as URL contains query string.
    I am not sure if i need to do anything additional to cache these URL's as well.
    Thanks!
    Ram

    Yes that works. But my question is how to cache the urls which has querystring. I was trying to give a regular expression to match the url so that the url which contains parameters like _afrLoop which changes with each HTTP request can also be cached.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to display BLOB image column with WEB application, JSF, ADF BC

    I looking for a way to display the content from a blob column on a WEB application, JSF, ADF BC
    The blob column contains a JPEG image.
    About the application
    The model contains a viewobject where the blob column attribute (photoimg) type is of type : BlobDomain
    Now I have to create the view to display the content of photoimg inside a JSF-JSP page.
    Any advice ?

    Search is your friend
    How to display the content of a BLOB column in a ADF/BC pages ?
    John

  • BPM Tasklist Integration with ADF Application

    Hi Experts,
    We are using Jdeveloper 11.1.1.7 in our project and need to integrate with Oracle BPM 11g. We basically need to see the BPM task list as well as initiate a new task from ADF Application.
    I have already searched the blogs and internet about the same. Below are some of them along with andrejus blogs.
    Con-Fusion, Bugs, Facts & Workarounds: ADF-BPM Integration: Custom Worklist.
    http://docs.oracle.com/cd/E23943_01/user.1111/e15175/bpmug_ws_taskflows.htm#BPMUG20812
    What I am looking for is step by step process including the things which needs to be done on Weblogic and domain side to integrate task list with adf application.
    Thanks

    It seems all of the instructions are there on your second link.  When it comes to doing the weblogic portions there are links from there to another guide.  I found the following two other links but your second link looks the closest to what I remember from an internal document that had those same steps.
    https://blogs.oracle.com/webcenterportal/entry/oracle_bpm_suite_oracle_webcenter
    http://andrejusb.blogspot.com/2013/10/integrating-custom-bpm-worklist-into.html

  • Deploying JSF - ADF Faces (EA14) application to OAS 10.1.2

    JSF 1.1.01 problem
    I have an ADF Faces application that I have been working on in JDeveloper 10.1.3.0.2.223 and I thought that it was time to deploy it to an Oracle 10g AS (10.1.2) (WindowsXP SP2). A long time ago I did a test deploy of a sample program jsflogin and that works fine (although I now realize that this was a JSF 1.0 application) and my ADF application is, of course, JSF 1.1.
    As I've already said, my JSF 1.1 / ADF application works perfectly in JDeveloper. The problem is that the first time the OAS 10.1.2 deployed instance of my application hits a <f:tag> it fails. When the first <f:tag> was <f:loadBundle> the error looked like this:
    500 Internal Server Error
    java.lang.NullPointerException     at com.sun.faces.taglib.jsf_core.LoadBundleTag.doStartTag(LoadBundleTag.java:96)     
    at LoginPage.jspService(_LoginPage.java:72)
    [SRC:/LoginPage.jsp:12]     
    at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)     
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)     
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     
    at java.lang.Thread.run(Thread.java:534)
    When I got rid of the resource file it then failed on the <f:view> tag as follows:
    500 Internal Server Error
    javax.servlet.jsp.JspException: Cannot find FacesContex     
    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)     
    at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)     
    at LoginPage.jspService(_LoginPage.java:70)
    [SRC:/LoginPage.jsp:12]     
    The rest is the same as above.
    I've got all the jsf, jstl, standard, and other jars in my WEB-INF/lib folder and there are no other jsf or jstl jars in the OAS home so I can't be connecting to the "wrong" library.
    Any hints? Has someone else out there successfully deployed to 10.1.2?
    Thanks in advance, Mark

    Okay, so my problem was that the URL I was using was the OC4J launch url (http://host/applicationname and my welcome-file-list was
    <welcome-file-list>
    <welcome-file>LoginPage.jsp</welcome-file>
    </welcome-file-list>
    I tried these two variations
    <welcome-file-list>
    <welcome-file>LoginPage.faces</welcome-file>
    </welcome-file-list>
    <welcome-file-list>
    <welcome-file>faces/LoginPage.jsp</welcome-file>
    </welcome-file-list>
    and neither of these worked either. (I did restart the OC4J node between each attempt.)
    I finally created an index.html file for the application with an automatic refresh content="0;URL=faces/LoginPage.jsp" and this is working.
    Should the welcome-file-list have worked? Am I doing something wrong here?
    Thanks for the help. Mark

  • Virsa application components not found in Visual Admin tool (GRC AC 5.3)

    Hi experts,
    I have this weird issue. I was trying to run the background job to synch the backend roles, users and profiles in CC. But when I checked the background job deamon through this link
    http://209.207.245.71:50000/sap/CCADStatus.jsp  , the screen was blink.
    I searched and found this note #999785.
    When I looked for the " virsa/ccxsysbgear application" through the Visual Administrator, I could not find any of the Virsa components application in our GRC server under this path:
    Visual Admin --> cluster tab --> deploy folder --> virsa/*  (all components)
    We have AE, FF configured and running in our development server. Now I am configuring the CC and found all the virsa application services are missing.
    We are implemented GRC Access control 5.3 . Any ideas how to get these components deployed and running in the Visual Admin tool??
    Some of the sample deployed components are
    1. virsa/ccxsysbgear application '
    2. virsa/ccume
    3. virsa/AEume
    4. virsa/ccxsysbher etc
    Greatly appreciate your help!
    Thanks
    Siri

    I found these files with the new name.. There is no virsa tag for these files.

  • Communication between ADF Application and third party tool

    Hi,
    JDev 11.1.1.5.0
    I am a new bee to SOA Suite :). I am looking for a suggestion on below usecase.
    We have Arbortext Editor which is a dynamic publishing tool for creating technical publication. We are planning to develop a UI tool
    using ADF/JDev. As POC, we are able to invoke our ADF application from Arbortext Editor as shown below.
    AccessURL accessURL = new AccessURL();
    String myURL = "http://127.0.0.1:7101/IFS_Object_Selector_1-
    ViewController-context-root/faces/object_selector_main?";
    java.awt.Desktop myNewBrowserDesktop = java.awt.Desktop.getDesktop();
    java.net.URI myNewLocation = new java.net.URI( myURL);
    myNewBrowserDesktop.browse( myNewLocation );
    So, Arbortext is having it's own JVM and can have standalone java program with main method. If we can able to provide communication between our ADF application and Arbortext JVM, that can solve our issue.
    We need to pass some information back to Arbortext editor from ADF application on some action (Button click).
    Can you suggest any clue on this?
    It would be really helpful, if you can provide some pointers for similar usecases.
    Thanks,
    Samba.

    Hi Samba,
    I'd suggest better raise it in he ADF forum.
    However, this should be possible by calling the Arbortext functions on click of ADF form buttons. Or you may send the information to a placeholder (JMS, File, DB etc.) from where Arbortext can pick that information.
    Regards,
    Neeraj Sehgal

  • 3rd party payment integration with ADF application

    Hi ADF experts,
    We have a requirement to integrate our ADF application with 3rd party payment gateway.
    For this we have created 2 servlets(one to post data, and one for relay response) which will talk to payment gateway.
    Since we are using servelts, we wont have access to bindings or any of ADF features. We manage the handshake between servlets and ADF app by passing data through session variables.
    I am not happy with this solution, even though it works in our test environment. I would prefer a complete ADF soultion rather than using servelts/jsps.
    Is there a standard way(either inbuilt in ADF or extensions) to integrate 3rd party gateway with ADF application which is safe and secure?
    Jdev used: 11.1.1.1.5
    Payment gateway used: authorize.net
    thanks
    -Venkat

    You can access adf application module from a servlet. All you have to do its to setup a pagedef for the servlet.Check out my blog http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/ Which shows how to do this.
    I'm not aware of standard integration to a payment service.
    Timo

Maybe you are looking for