ADF applications can use compression?

Hi all,
I'm using ADF Faces, Jdeveloper 11g and weblogic 10.3
I'm trying to reduce the time and the height of the files served to clients and I have added the GZIPFilter into my web.xml and it's library, but it seems that doesn't work.
I've followed the steps specified in
http://www.eisele.net/blog/2009/02/using-html-and-http-compression-with.html
It's because I'm doing something wrong? or maybe this filter doesn't work for ADF Fusion webs?
I've this code in web.xml
<filter>
<filter-name>GZIPFilter</filter-name>
<filter-class>weblogicx.servlet.gzip.filter.GZIPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>/*.js</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>/*.jspx</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>/*.css</url-pattern>
</filter-mapping>
Thanks in advance, any help will be appreciated,
Xavi.

Hi all,
finally, I've solved the problems with the compression.
To achieve it, and make the filter work well, just delete the slashes in the url-pattern node:
<filter>
<filter-name>GZIPFilter</filter-name>
<filter-class>weblogicx.servlet.gzip.filter.GZIPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>*.js</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>*.css</url-pattern>
</filter-mapping>
Hope it will be helpfull for everybody
Xavi.

Similar Messages

  • Mass ADF Application Deployment using JDeveloper

    I really hope there is a simple answer for this...
    I have a 'suite' of Oracle ADF applications (they use ADF Faces + ADF Business Components + JHeadstart technology) that I would like to mass-deploy / mass-redeploy to our Oracle Application Server 10g (10.1.3).
    What is the easiest solution that will let me just say "GO!" and thus deploy all 17 individual web applications to the server? For the longest time I have been just individually deploying each application through each individual WAR Deployment Profile (*.deploy) that each application has. Now, I need a less tedious way to perform this maintenance.
    Thanks.

    Hi,
    Are you using the ANT/JDev integration to do this? I've never tried it, but in the last part of the video http://www.oracle.com/technology/products/jdev/viewlets/1013/agile_development_viewlet_swf.html it seems like there are deployment tasks available in the integrated ANT with JDeveloper.
    Sorry I can't provide any specific insights - perhaps someone else has done this?
    John

  • Deployment of an ADF application with use's the JAAS

    hi all,
    i built an ADF application and used the JAAS based authentication and authorization and every thing works fine on the embedded oc4j for the Jdev, but when i deployed the application to the application server the authentication is apparently disabled since it's open the jsp pages without redirecting to the login page as usual on the embedded oc4j, so what should i configure on the AS oc4j ?
    since i created all roles and users ans premissions on the application side how can i configure the AS oc4j to the system-jazn-data.xml?
    i updated the security provider and it doesn't work.
    appreciate any help

    Hi
    the login screen come up after deployment but i changed the security provider for my application to the system-jazen-data.xml file which i placed on the AS but it still doesn't read the users and roles and permissions configured on it..
    my major problem is that i built the whole Application on the Jdev and it's internal OC4J, so how can i deploy it on the AS without repeating my work??
    and a second question , with the ear file it self is the polices the i gave to each role configured in it??? can i just add the roles and users on the AS OC4J and i ll find the authorization i did already on the Application level??
    thanx and best regards for help

  • How to configure ADF application to use OAM Identity Assertion ? web.xml

    We have a web application developed using ADF (application development framework) and deployed on WebCenter 11.1.1.2 (weblogic 10.3.2)
    OID Authentication and OAM identity assertion is configured in WebLogic 10.3.2 .
    How to configure security in ADF application (web.xml or weblogic.xml) so that it uses OAM identity assertion (already configured as authentication providers in weblogic server)
    Any pointers or documentation so that application (developed using ADF) check for identity tocken and verifies it with one of identity assertion providers.

    John,
    I have to concur. With OAM you don't need this. OAM intercepts the calls and inserts a cookie for WLS to get user information from.
    I strongly advise to go through the above mention OFM Security Guide. Esp. Chapter 10 tells you in every detail how to implement OAM SSO with WLS (with or without OHS as a proxy).
    Reading this chapter saves you time and turnarounds on this topic...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Oracle ADF Essentials can used in Production as free licenced

    Hi All,
    I have few questions wrt to Oracle ADF Essentials Freeware.
    Recently Oracle release a pressnote that Oracle ADF Essentials is a free ware. So it can also use in production mode?
    I want use this in creating Monitor page for SOA in my project. I am novice in ADF side , so can come one please correct me if i am wrong.
    Is it possible to Create a monitor page using the Benefit of of Oracle ADF Essentials.
    Basically i want to display data from the table of SOA like instance complete state,count of the instance, error or success states, alerts..etc.
    If any help, i would be thankfull.
    Regards,
    Tarak.

    Can some please update this thread..
    Regards,
    Tarak.

  • 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.

  • How to implement an audit system to track ADF applications DML activity?

    We have implemented a complete audit system for one of our databases in order to keep history for every table and every value that has been modified.
    The solution that we currently have can be split into two discrete parts:
    1. Keeping a record of all connections to the db account
    This is achieved via a table ‘user_sessions’ into which we record data for every session in the database with the help of on-logon and on-logoff triggers and some PL/SQL procedures:
    Column name        |  Explanation
    -------------------|-------------------------------------------
    US_ID              | PK, based on a sequence
    SESSION_ID         | sys_context('USERENV' ,'SESSIONID')  
    USER_NAME          | sys_context('USERENV' ,'OS_USER')
    LOGON_TIME         | when the on-logon trigger fires
    LOGOFF_TIME        | when the on-logoff trigger fires
    USER_SCHEMA        | sys_context('USERENV' ,'SESSION_USER')
    IP_ADDRESS         | sys_context('USERENV' ,'IP_ADDRESS')
    us_id |session_id |user_name|user_sschema|ip_address|logon_time               |logoff_time     
    560066|8498062       |BOB      |ABD         |1.1.1.2   |14-SEP-06 03.51.52.000000|14-SEP-06 03.52.30.000000
    560065|8498061       |ALICE    |ABC         |1.1.1.1   |14-SEP-06 02.45.31.000000|14-SEP-06 04.22.43.0000002. Keeping the history of every change of data made by a given user
    For every table in the account there is a corresponding history table with all of the columns of the original table plus columns to denote the type of the operation (Insert, Delete, Update), start and end time of validity for this record (createtime, retiretime) and us_id (which points to the user_sessions table).
    The original table has triggers, which fire if there is an insert, update or delete and they insert the data into the corresponding history table. For every record inserted into a history table the us_id taken from the user_sessions table is recorded as well, allowing us to determine who has modified what data via the combination of these two tables.
    Below is an example of a table TASKS, the history related triggers and the history table TASKS_HIST.
    At the moment we are developing new applications by using ADF. Since there is an Application Module Pool and Database Connection Pool implemented for the ADF, one connection to the database could be used by several users at different moments of time. In that case the history records will point to a database session logged into the user_sessions table, but we will not know who actually modified the data.
    Could you, please, give us a suggestion, how we can know at any moment of time who (which of our users currently making use of an ADF application) is using a given database connection?
    By way of an example of the problem we are facing, here is how we solved the same problem posed by the use of Oracle Forms applications.
    When the user starts to work with a given Forms application, user_sessions table would attempt to record the relevant information about he user, but since the db session was created by the application server, would in actual fact record the username and ip address of the application server itself.
    The problem was easy to solve due to the fact that there is no connection pooling and when a user opens their browser to work with Forms applications, a db connection is opened for the duration of their session (until they close their browser window).
    In that case, the moment when the user is authenticated (they log in), there is a PL/SQL procedure called from the login Form, which updates the record in the user_sessions table with the real login name and ip address of the user.
    Example of a table and its ‘shadow’ history table
    CREATE TABLE TASKS (
         TASKNAME     VARCHAR2(40),
         DESCRIPTION  VARCHAR2(80)
    ALTER TABLE TASKS ADD (
         CONSTRAINT TASKS_PK PRIMARY KEY (TASKNAME));
    CREATE OR REPLACE TRIGGER TASKS_HISTSTMP
    BEFORE INSERT OR UPDATE OR DELETE ON TASKS
       BEGIN
         HISTORY.SET_OPERATION_TIME('TASKS');
       EXCEPTION
         WHEN OTHERS THEN
           ERROR.REPORT_AND_GO;
    END TASKS_HISTSTMP;
    CREATE OR REPLACE TRIGGER TASKS_WHIST
      AFTER INSERT OR UPDATE OR DELETE ON TASKS
      FOR EACH ROW
      BEGIN
    CASE
          WHEN INSERTING THEN
            UPDATE TASKS_HIST
               SET retiretime = HISTORY.GET_OPERATION_TIME
             WHERE createtime = (SELECT MAX(createtime)
                                   FROM TASKS_HIST
                                  WHERE retiretime IS NULL AND TASKNAME=:NEW.TASKNAME)
               AND retiretime IS NULL AND TASKNAME=:NEW.TASKNAME;
            INSERT INTO TASKS_HIST (TASKNAME      ,DESCRIPTION      ,optype
                                    ,createtime                    
                                    ,us_id)
                   VALUES          (:NEW.TASKNAME ,:NEW.DESCRIPTION ,'I'
                                    ,HISTORY.GET_OPERATION_TIME    
                                    ,USER_SESSION.GET_USER_SESSIONS_ID);
          WHEN UPDATING THEN
            UPDATE TASKS_HIST
               SET retiretime = HISTORY.GET_OPERATION_TIME
             WHERE createtime = (SELECT MAX(createtime)
                                   FROM TASKS_HIST
                                  WHERE TASKNAME=:OLD.TASKNAME) 
               AND TASKNAME=:OLD.TASKNAME;
            INSERT INTO TASKS_HIST (TASKNAME      ,DESCRIPTION      ,optype
                                    ,createtime
                                    ,us_id)
                   VALUES          (:NEW.TASKNAME ,:NEW.DESCRIPTION ,'U'
                                    ,HISTORY.GET_OPERATION_TIME
                                    ,USER_SESSION.GET_USER_SESSIONS_ID);
          ELSE
            UPDATE TASKS_HIST
               SET retiretime = HISTORY.GET_OPERATION_TIME
             WHERE createtime = (SELECT MAX(createtime)
                                   FROM TASKS_HIST
                                  WHERE TASKNAME=:OLD.TASKNAME) 
               AND TASKNAME=:OLD.TASKNAME;
            INSERT INTO TASKS_HIST (TASKNAME      ,DESCRIPTION      ,optype
                                    ,createtime
                                    ,us_id)
                   VALUES          (:OLD.TASKNAME ,:OLD.DESCRIPTION ,'D'
                                    ,HISTORY.GET_OPERATION_TIME
                                    ,USER_SESSION.GET_USER_SESSIONS_ID);
        END CASE;
      EXCEPTION
        WHEN OTHERS THEN
          ERROR.REPORT_AND_GO;
    END TASKS_WHIST;
    CREATE TABLE TASKS_HIST (
         TASKNAME       VARCHAR2(40),
         DESCRIPTION    VARCHAR2(80),
         OPTYPE         VARCHAR2(1),
         CREATETIME     TIMESTAMP(6),
         RETIRETIME     TIMESTAMP(6),
         US_ID          NUMBER
    ALTER TABLE TASKS_HIST ADD (
         CONSTRAINT TASKS_HIST_PK PRIMARY KEY (TASKNAME, CREATETIME)
           );

    Frank,
    Thanks for your reply.
    I checked the site that you mentioned.
    I try the sample “demo with bundle. The sample worked.
    But it needed to start separately with the application.
    I do not know how to build a help system with the existed web application developed with Jdeveloper (It has two projects: model and user-view-control. It is deployed on Oracle Application server).
    Could you help me step by step to build the help system?

  • Deploying ADF application to standalone Weblogic server

    Hi.
    I deyloy ADF application which use Business Intelgence reports and when i run page which contain any report from BI presentation server there occur such problem in page : " Unable to connect to the BI Presentation Server. Please ensure that it is running, configured properly, and that the connection details within this application are correct.No credentials found for this connection - please check that your connection credentials were deployed properly. "
    How can i solve this problem ?
    Thanks in advance.

    Hi..
    Check this
    http://www.orastudy.com/oradoc/selfstu/fusion/bi.1111/e10545/embedding_adf.htm#BABJBECF

  • Html Editor in ADF Applications

    Hi people,
    We have used RichText editor for our application. But our customer isn't satisfied with the editor. They have been asking us to import Office into our web application :) So we are searching for a better editor. We have found some, but they want to run under a index.jspx page. But we want our editor to run under a task flow (under the tag <af:region> )
    Is there anyone who have used a better editor in their ADF application, can someone help us with our problem?
    Thanks.

    Yannick, you will always be my hero and saviour, but not this time :)
    I really need to take the documents from the web page, what we are aiming for is to cut the dependency of the users from Word applications, just enter some info from the page, store those info in UCM metadata, see the document right in the page, make some changes, and then submit the doc., then start a BPEL process, the approver can see the document in the Task Form, approve it, and the story goes on like that. If we are dependent on some Office application, the usabilility of our product would be poor.
    What I need is some complicated HTML editor in my application.

  • ADF application deployed on Weblogic..access denied error

    I have deployed an ADF application on WebLogic Server. My ADF application is using multiple application modules. I have also created a datasource using Oracle XA driver to connect to the database. Now I am able to login to my application and on one page getting the details from the database. This makes sure that there is no problem with database connectivity. However, when I click on a hyperlink I get a jspx page which only shows the field names. I am not getting any field values and ADF BC table row shows "Access Denied" message. This did not happen on Oracle AS. I am using examplesServer (Admin) server of weblogic. I have deployed my application on other machines and also tried to connect to different databases but all leading to the same problem. Also, If I click on any link after that, I get this error:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (oracle.apps.aia.bsr.admin.model.BsrAdminAMLocal) failed to checkout an application module due to the following exception:
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
    at oracle.adf.model.binding.DCIteratorBinding.(DCIteratorBinding.java:127)
    at oracle.jbo.uicli.binding.JUIteratorBinding.(JUIteratorBinding.java:60)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
    at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
    at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
    at oracle.adf.model.BindingContext.get(BindingContext.java:483)
    at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
    at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
    I have already installed ADF run time libraries on Weblogic server.
    Any help would be really appreciated.
    Thanks.
    Message was edited by:
    Vivek Raut

    Also,
    I checked the "monitoring" window of my datasource on weblogic server and saw that there are no failed database connections. So, the problem of a broken database connectivity can be ruled out.
    --Vivek                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Run an Oracle ADF application on a tablet pc?

    I've been asked if an Oracle ADF application can run on a tablet pc. (I'm assuming XP Tablet PC Edition) . Does anyone know? If so, can I develop using JDev 10.1.3?

    User,
    Can you please be more specific? If you are talking about an ADF Faces application, those types of apps are web applications, and can be accessed just fine as long as you have a supported browser. However, your question isn't quite clear - do you mean you want to use JDeveloper 10.1.3 on this tablet PC to develop an application?
    John

  • FMW Console for ADF applications

    Hello everyone,
    JDeveloper 11.1.1.3.0
    We've developed an ADF application while using the ADFLogger.
    The main advantage of this ADFLogger is the fact that you can change the log-levels in run-time.
    To change these log-levels, you need the Fusion Middleware Console (FMW Console), the one under http://localhost:7001/em.
    This component is not installed ootb with WLS and ADF.
    It is however installed with the other components of FMW, like WebCenter, SOA, Forms&Reports, ...
    How can we install FMW Console on our WLS running our ADF application?
    Thank you in advance.
    Filip Huysmans

    hi Dario
    kdario wrote:
    You need to install Application Development Runtime to your WLS and then extend your domain(by using $MW_HOME/wlserver_10.3/common/bin/config.sh or config.cmd).
    In Domain Configuration Wizard you can select Oracle Enterprise Manager.Do you (or anyone else) know where that has been documented?
    The only related aspect I could find in the documentation was a note:
    "if you use Oracle JDeveloper to install and configure a Oracle WebLogic Server domain and to apply the JRF template, Oracle Enterprise Manager Fusion Middleware Control cannot be configured in the domain."
    in section "5.1.4.2 Extending an Existing Domain With the JRF Template "
    at http://docs.oracle.com/cd/E14571_01/upgrade.1111/e10126/basic_upgrade.htm#CACBFEJJ
    many thanks
    Jan Vervecken
    edit : in the same documentation section I somehow missed
    "Run the Oracle WebLogic Server configuration wizard from an Application Developer, Oracle SOA Suite, or Oracle WebCenter Oracle home.
    Select the option to extend the domain, and then select the JRF template when prompted with the list of available templates.
    You can also choose to apply the Oracle Enterprise Manager template, which provides you with the ability to use Fusion Middleware Control to manage the domain.
    For more information, refer to the appropriate Oracle Fusion Middleware installation guide."
    Edited by: Jan Vervecken on Nov 8, 2012 8:15 PM

  • Portelize ADF application

    Hi all,
    I just want to know how to portelize ADF application in JDeveloper.I created one ADF application by using Portlet producer application template but after deploying the portlet,I am unable to get it displayed on the webcenter application.
    Pls help me out.Its urgent .

    There is a webcenter forum here: WebCenter Portal The topic should be posted there.
    When you have deployed a portlet producer, you should register it with webcenter by using the WSRP1.0 or WSRP2.0 URL of your producer. The WSRP URL of your producer has following pattern:
    http://<server>:<port>/<context root>/portlets/wsrp2?WSDL
    This URL is used to register the producer in webcenter. This can be done in JDeveloper or in the EM.
    If you already have done this, do you get errors when showing the portlet on your page?

  • ADF Application on iPad

    Hi All,
    We have web based ADF application developed using 11.1.1.4. The ADF application is using ADF faces (Rich ADF faces components) at UI side.
    We are now looking at feasibility for iPad. I am looking for your recommendation/thoughts/comments/ on this.
    Some points
    1. Is ADF web application compatible with iPad?
    2. If yes, can we use existing application directly on iPad?
    3. If no, what are the options to make it feasible for iPad?
    4. Do we need to upgrade it to the latest version?
    Looking forward for your replies.

    You will need to migrate to Jdev PS5 or 11.1.16 for this & you should be able to use it directly on the ipad mobile browsers I beleive.
    More details -
    https://blogs.oracle.com/shay/entry/adf_faces_now_with_betterDemo
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFFacesTouch/ADFFacesTouch.
    Related thread
    https://groups.google.com/forum/#!topic/adf-methodology/Z2LoPcir7LU

  • Send email in adf application

    hi have anyone send email in adf application,my use case is am doing user registration entering user details including theire email i what to send email to user whats i click the save button i,must send email to the email i enterd when doing registration. am in jdeveloper 11.1.1.6.0

    i suggest u can use javamail api
    http://www.oracle.com/technetwork/java/javamail/index.html
    you can also use
    Apache Commons Mail (http://commons.apache.org/email/) to do something similar
    see this as well send mail from adf faces
    Edited by: Vinay Kumar2 on May 28, 2013 3:00 AM

Maybe you are looking for

  • Issues with importing word docs into robohelp 10

    I currently have an issue when I try to import a 'saved as: 97-2003' or 'MS Word' doc or docx into Robohelp 10, I receive the following error: Any assistance with this would be appreciated. In the meantime I've been converting everything from a doc/d

  • Asmlib error on Linux

    Hello - I installed and configured asmlib on Linux RH 5... I am getting the following error when running the oracleasm command "createdisk": Default user to own the driver interface [oracle]: Default group to own the driver interface [dba]: Start Ora

  • Zebra printing

    Hi experts, we are using Zepra printer (105SL). i want to inculde logo in the existing layout. but in the script it is showing different format. 1000000120000001 ^XA DFZ8B17B-1FS ^PRC LH0,0FS ^LL1207 ^MD0 ^MNY LH0,32FS BY1,3.0FO26,554B3N,N,55,N,YFRFN

  • My iphone is disabled connect to itunes?

    my iphone is disabled connect to itunes?

  • Can't open drop down form fields on iPad

    I created a form in Adobe Pro, added several dropdowns and they don't work on the iPhone/iPad.  You can see the box with the arrow, but only allows you to type custom text, no dropdown list populates.  Below is a link to screen shot.  Thanks for any