Skinning in ADF 11g

Hi all,
I have created a CSS file:*myCompanySkin.css*
af|inputText::label {font-weight: bold}
and then i have created a file Trinidad-skins.xml
<?xml version="1.0" encoding="windows-1252" ?>
<skins xmlns="http://myfaces.apache.org/trinidad/skin">
<skin>
<id>mycompany.desktop</id>
<family>mycompany</family>
<extends>blafplus-rich.desktop</extends>
<style-sheet-name>css/myCompanySkin.css</style-sheet-name>
</skin>
</skins>
and then i have modifed the trinidad-config.xml file as
<?xml version="1.0" encoding="windows-1252"?>
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
<skin-family>mycompany</skin-family>
</trinidad-config>
by doing this some of my input field labels are changed as bold ,some of the filed labels are not changed.can anyone pls guide me in this.
Thanks & regards,

Hi,
can you give us the page source of the input form elements that are not changed ? In addition, can you try extending the "fusion" skin in opposite to blafblus-rich to see if it makes a difference ?
Frank

Similar Messages

  • How to implement adf skins in JDeveloper 11g

    How to integrate CSS in ADF using JDeveloper 11g without Trinidad.

    Is there any particular reason for NOT wanting to use the trinidad-config.xml? Using Jdev11g, it is very easy, requires no extra jars and have no external dependencies. Also, its [better |http://technology.amis.nl/blog/4169/adf-11g-why-use-skinning-why-not-use-simple-external-css-stylesheets] to do it using skins.
    Julian.

  • ADF 11g - Issue with Custom Skin for CommandButton & InputNumberSlider.

    Hi,
    Any Help relative will be greatly appreciated !!!
    Currenlty we have an requirement to override the UI Skin of ADF to custom one.
    Where the page design has some command button & InputNumberSlider(replace with skin of scroll bar)
    FYI, we are working with Integrated Weblogic Server, Jdeveloper Version(Build JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156)
    Following is the JSPX, containing style (CSS) with in
    ==============================================================================================================================
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:trh="http://myfaces.apache.org/trinidad/html">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document binding="#{backingDisplayImageShell.document1}" id="document1">
    <af:form binding="#{backingDisplayImageShell.form1}"
    inlineStyle='align:center; background-image:url("img/flex-skin.jpg");background-repeat:repeat;'
    id="form1">
    <style type="text/css">
    @platform window, linux {
    @agent ie, gecko {
    af|inputNumberSlider::minus-button {
    background-image: url('../img/skin/horizontal_scrollbar_arrowUp.gif');
    af|inputNumberSlider::plus-button{
    background-image: url('../img/skin/horizontal_scrollbar_arrowDown.gif');
    af|inputNumberSlider::thumb-icon-style{
    background-image : url('../img/skin/horizontal_scrollbar_knobLarge.gif');
    af|inputNumberSlider::thumb{ 
    background-image: url('../img/skin/horizontal_scrollbar_knobLarge.gif');
    af|inputNumberSlider:vertical::thumb{ 
    background-image: none;
    af|inputNumberSlider:vertical::thumb:rtl{ 
    background-image: none;;
    af|inputNumberSlider:vertical:disabled::thumb{ 
    background-image: none;
    af|inputNumberSlider:vertical:disabled::thumb:rtl{ 
    background-image: none;
    af|inputNumberSlider:disabled::minus-button{ 
    background-image: none;;
    af|inputNumberSlider:disabled::plus-button{
    background-image: none;;
    af|inputNumberSlider:disabled::thumb{ 
    background-image: none;
    af|inputNumberSlider::minor-tick{
    background-image : none;
    </style>
    <trh:script>goGetShuffled = function(event) { var source =
    event.getSource(); AdfCustomEvent.queue( source, "OnImageClick"
    , {}, false); event.cancel(); }; /*function hidePopUpWindow(){
    hide(); }*/</trh:script>
    <af:spacer height="100"/>
    <af:panelGroupLayout layout="horizontal" halign="center"
    id="panelGroup4CmdButtons"
    inlineStyle="width:45%; height:16px; background-color:transparent;"
    clientComponent="true">
    <af:commandButton text="Download" icon="/img/download.jpg"
    inlineStyle='background-image:url("img/skin/commandButton.gif"); background-repeat:no-repeat; border-color:transparent; border-style:none;'/>
    <af:commandButton text="Promote" icon="/img/promote.jpg"
    inlineStyle='background-image:url("img/skin/commandButton.gif"); background-repeat:no-repeat; border-color:transparent; border-style:none'/>
    <af:commandButton text="Delete" icon="/img/delete.jpg"
    inlineStyle='background-image:url("img/skin/commandButton.gif"); background-repeat:no-repeat; border-color:transparent; border-style:none'/>
    <af:commandButton text="Zoom" icon="/img/zoom.jpg" partialSubmit="true"
    immediate="true"
    inlineStyle='background-image:url("GlowingButton_disabledSkin.png"); background-repeat:no-repeat; border-color:transparent; border-style:none'></af:commandButton>
    <af:commandButton text="Open" icon="/img/open.jpg"
    inlineStyle='background-repeat:no-repeat; border-color:transparent; border-style:none'/>
    </af:panelGroupLayout>
    <af:spacer height="50"/>
    <!-- Scroll Bar for pagination : Start -->
    <af:panelGroupLayout id="panelGrpScrollBar" layout="horizontal"
    halign="center" valign="top"
    inlineStyle="width:60%; background-color:transparent;">
    <af:commandImageLink icon="img/skin/horizontal_scrollbar_arrowUp.gif"
    action="#{backingDisplayImageShell.previousShelf}"/>
    <af:inputNumberSlider simple="true" autoSubmit="true" immediate="true"
    binding="#{backingDisplayImageShell.inputNumberSlider1}"
    id="inputNumberSlider1"
    valueChangeListener="#{backingDisplayImageShell.sliderValueChgLstnr}"
    minimum="0" maximum="7" minimumIncrement="1"
    contentStyle="width:1100px;" rendered="true"
    inlineStyle="text-decoration:none; border-color:transparent; border-style:none; border-width:0px; font-size:0%;"/>
    <!-- 0.05 -->
    <af:commandImageLink action="#{backingDisplayImageShell.nextShelf}"
    icon="img/skin/horizontal_scrollbar_arrowUp.gif"/>
    <af:commandLink/>
    <af:outputText value="0 - 20"
    binding="#{backingDisplayImageShell.outputText1}"
    noWrap="true" id="outputText1"/>
    </af:panelGroupLayout>
    <!-- Scroll Bar for pagination : End-->
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backingDisplayImageShell-->
    </jsp:root>
    ==============================================================================================================================
    Thanks
    Rani Velu

    With the Skin changes provided in CSS is not been reflected.
    Since, it seems to have ADF Skin, but not the custom one.
    I tried even using this way as well, but not progress.
    <af:inputNumberSlider simple="true" autoSubmit="true" immediate="true" styleClass="af|inputNumberSlider::major-tick { border-color: red; }"
    id="inputNumberSlider1" inlineStyle="border-color:transparent; border-style:none"
    minimum="0" maximum="7" minimumIncrement="1"
    contentStyle="width:100px;" rendered="true"
    />

  • Command button doesn't render properly with customized images in ADF 11g

    Hi all,
    I have these elements in the .css file:
    /** button **/
    .AFButtonServerText:alias {
    background-color:#daebf2;
    color:#000000;
    font-size:100%;
    font-family:Luxi Sans, Dialog;
    vertical-align:middle;
    -ora-text-antialias:true;
    .AFButtonServerTextDisabled:alias {
    background-color:#f5f5e4;
    color:#aaaaaa;
    font-size:100%;
    font-family:Luxi Sans, Dialog;
    vertical-align:middle;
    -ora-text-antialias:true;
    .AFButtonStartIcon:alias {
    /*content:url(/skins/images/buttonStart.gif); */
    content: url("images/buttonStart.gif");
    width:8px;
    height:20px;
    .AFButtonStartIcon:alias:rtl {
    /*content:url(/skins/images/buttonEnd.gif); */
    content: url("images/buttonEnd.gif");
    width:8px;
    height:20px;
    .AFButtonEndIcon:alias {
    /*content:url(/skins/images/buttonEnd.gif); */
    content: url("images/buttonEnd.gif");
    width:8px;
    height:20px;
    .AFButtonEndIcon:alias:rtl {
    /*content:url(/skins/images/buttonStart.gif); */
    content: url("images/buttonStart.gif");
    width:8px;
    height:20px;
    .AFButtonTopBackgroundIcon:alias {
    /*content:url(/skins/images/buttonTop.gif); */
    content: url("images/buttonTop.gif");
    width:1px;
    height:2px;
    .AFButtonTopBackgroundIcon:alias:rtl {
    /*content:url(/skins/images/buttonTop.gif); */
    content: url("images/buttonTop.gif");
    width:1px;
    height:2px;
    .AFButtonBottomBackgroundIcon:alias {
    /*content:url(/skins/images/buttonBottom.gif); */
    content: url("images/buttonBottom.gif");
    width:1px;
    height:2px;
    .AFButtonBottomBackgroundIcon:alias:rtl {
    /*content:url(/skins/images/buttonBottom.gif); */
    content: url("images/buttonBottom.gif");
    width:1px;
    height:2px;
    I am expecting to get some round corners in the button, but it fails in 11g. This only happens in ADF 11g, in 10g, it works. I use JDEV 11.1.1.4.0 and <tr:commandButton> in the UI. What have I possibly missed?
    Thanks.
    Shawn
    Edited by: shawn_abc on May 17, 2012 3:52 PM
    Edited by: shawn_abc on May 17, 2012 3:56 PM

    Hi Frank,
    Yes, I was searching in this url previously: http://myfaces.apache.org/trinidad/skin-selectors.html and couldn't find it either. Is there any way to achieve what I intend to do like using af|commandButton?
    Thanks,
    Shawn

  • ADF 11g basic links

    ADF basic links
    1.http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
    2.http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/boundedtaskflow/bounded_task_flow.html
    3.http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/adf_richclient/adfrichclient.htm
    Skins
    http://jdevadf.oracle.com/adf-richclient-demo/docs/skin-selectors.html
    send any step by step example links

    Using your wsdl create web services data control (select web services data control wizard under data controls or web services). Once you created you can use it your page (drag and drop) from data control palatte.
    http://www.google.com/search?hl=en&biw=1259&bih=518&q=adf+11g+web+services&btnG=Search&aq=f&aqi=&aql=&oq=&gs_rfai=

  • ADF 11g can not select and copy data from cell of readonly table in IE

    hi,
    In ADF 11g, when render view object as readonly table with Single RowsSelection, using IE browser can not select and copy data from the cell, but it work in firefox.
    is it a bug?
    Edited by: kent2066 on 2009-5-18 上午8:46

    Hi Timo,
    Sorry forgot to mention versions.
    We are using 11.1.1.7 and IE 9.
    I tried in Google but could not get the solution.
    Kindly let me know solution for this.
    PavanKumar

  • Session Time out in ADF 11g

    Hi All,
    We have developed an application in ADF 11G and its working fine now , but we have a requirement to include session time out for our application.
    Can anyone suggest or give a link giving clear information regarding this.
    Thanks,
    Karthik

    The session timeout is defined in web.xml. Just open web.xml of your app and in the overview page in the Application section you see 'Session Timeout'. Set it to a value you like and you are done.
    Timo

  • Urgent help needed in achieving below ADF 11g flow

    Hi, I am using JDEV 11.1.1.2.0 with ADF 11g.
    I have a below requirement.
    Say in below eg. I am getting col1, col2, col3 from a single tbl in screen 1. On clicking col1's row I should go to screen 2
    Screen1
    Col1     Col2     Col3
    Nm1     Code1     10
    Nm1     Code1     30
    Nm2     Code1     30
    Nm1     Code2     20
    Here in screen 2 I will have a calculated field as shown below. Besides this In the same screen I will have a list showing distinct of col2 for the value cliked in col1. So here in this eg. it will be for Nm1 I will have 2 values in the list Code1 and Code2.      
    Screen 2          
    Col1     Nm1     
    Col2     Code1     
    Tot     *40*     
    Col2     Select     
    Code1     X     
    Code2          
    Now here if user selects the radio of 'Code2' Then my above data should change as below
    Col1     Nm1     
    Col2     Code2     
    Tot     *20*
    Col2     Select     
    Code1          
    Code2     X
    I do this by passing the col1 value as a param to a query VO.
    I have tried this using different VOs like a VO with query, VO with user defined column... nothing helps.
    I am just unable to reach to screen 2. I am either getting invalid column OR missing in out parameters.
    Can any one help on how and what should be done? This is not even master-details stuff. master-details seems easier than this.
    Urgent help is needed.
    Thanks in advance

    I have resolved your problem and build a sample application.
    You have to create 2 views and use master detail.
    First view will be a simple view for the page 1 and second view will be readonly using group by. Then create a view link between them.
    Let me know your email id. I will email you the sample application.
    SID
    Edited by: manieshsailoz on Apr 26, 2010 5:12 PM

  • ORA-01460 error only in production enviorment in ADF 11g application

    Hi ,
    We are using ADF 11g rel 1 11.1.1.4.0
    And database is
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE 11.2.0.1.0 Production"
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    All our enviornments are running the same database
    But when we are deploying the application in Production we get the Error
    JBO-27122: SQL-fejl under forberedelse af sætning. Sætning:
    select DB_TST_API.test_proc(Id1, id2) from table;
    ## Detail 0 ##
    java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested
    While executing the query which has a call tp API and input variable
    select DB_TST_API.test_proc(Id1, id2) from table;
    The DB function is defined as
    the FUNCTION test_proc(p_value IN VARCHAR2, p_list IN VARCHAR2) RETURN number;
    The input parameter is only 10 digit integer in ADF application, there is a logical difference that the DB function takes a string and ADF is supplying with Integer, but the code has worked before and has suddenly started giving this error
    The code also works fine on all other test eviornments
    Also the sql query when run from sql devleoper on production DB does not give any error
    Its becoming difficult to find out what could be causing this only on production enviornment

    In ANY case, I'd be using explicit conversions here, not implicit ones, so my recommendation would be one of these:
    a). Use TO_CHAR on the input
    b). Use Java to convert the integer to a string
    c). Change the functionto take a NUMBER as the parameter (if it really is a number)
    d). Write a wrapper for the function. The wrapper should take a number and convert it using TO_CHAR and call the real function
    John

  • Reg: Exporting the data into excel in ADF 11g application.

    Hi All,
    We have developed an application in ADF 11g which retrieves the data from database in the form of table. Now we have a requirement to export that data into an excel sheet.
    Can anyone please help us regarding this.
    Thanks,
    Harsha

    Hi Harsha,
    you can use <af:exportCollectionActionListener /> component to do that. Set the exportedId property to point to of the table. You have options to export all rows or only selected rows.
    <af:commandToolbarButton text="Export All Rows to Excel" immediate="true"
                                                   id="exportAll">
    <af:exportCollectionActionListener type="excelHTML" exportedId="table"
                                                     filename="export.xls"
                                                     title="ADF Faces Export - All" exportedRows="all"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton text="Export Selected Rows to Excel" immediate="true"
                                            id="exportSelected">
    <af:exportCollectionActionListener type="excelHTML" exportedId="table"
                                                     filename="export.xls"
                                                     title="ADF Faces Export - Selected Rows"
                                                      exportedRows="selected"/>
    </af:commandToolbarButton>Good Luck,
    Luc Bors

  • Maintaining different sessions in browser tabs in ADF 11g application

    I have a simple ADF 11g application which uses ADF BC 11g.
    I want to maintain different sessions between the tabs in the same browser.
    Currently it is messing up with session variables. Please reply to me ASAP.
    Thanks,
    Bobby
    Edited by: 866444 on Jun 16, 2011 11:35 AM

    Assuming you are having problems because of the usage of JSF Session scope beans, then the answer is to use pageFlowScope for that set of data - then it is not shared between tabs.

  • Reg: Table size adjustments in adf 11g application.

    Hi All,
    We have developed an application in ADF 11g. In this we fetching the tables from the database. When viewed, the size is not appropriate. We need to adjust the width and height of the tables as default.
    Can anyone help us regarding this.
    Thanks,
    Shanmukh

    Hi Shanmukh,
    If you wrap your table in a component that stretches its children, your table will be adjusted to fill aviable space.
    Try to surround the table with an <af:panelcollection/> or an <af:panelsplitter/> or an <panelStretchLayout/>.
    This should work.
    Good Luck,
    Luc Bors

  • Error executing ViewObject in ADF 11g application

    Hi,
    I've just deployed my ADF 11g (11.1.1.2.0) application to a standalone WebLogic 10.3 server. The app contains a single page with a dvt graph and it is configured to use a JDBC data source. I've created the data source via the WebLogic console and chosen the standard Oracle XA Thin driver.
    Most of the time the app works perfectly well, however very occasionally the graph fails to load and an error dialog is given instead showing a NullPointerException. The full stack trace is as follows:
    Caused By: java.lang.NullPointerException
            at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11145)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)
            at weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper.setObjectAtName(Unknown Source)
            at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4649)
            at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3613)
            at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:19076)
            at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1060)
            at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:842)
            at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6163)
            at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1130)
            at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1299)
            at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1217)
            at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1211)
            at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6097)
            at oracle.adf.model.bc4j.DCJboDataControl.executeIteratorBindingWithParams(DCJboDataControl.java:2911)
            at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1531)
            at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
            at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
            at oracle.adf.model.binding.DCInvokeAction.refreshInternal(DCInvokeAction.java:64)
            at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:36)
            at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3153)
            at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
            at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
            at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
            at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
            at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
            at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
            at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
            at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
            at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            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:191)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
            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)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)After receiving the error, we simply restart the browser and try again (this time the page loads successfully).
    I've tried some basic Googling for possible solutions but can't find any other instances of this NullPointerException from the driver. Since I don't have the driver source, I can't debug this. Can anyone within Oracle shed some light on why the driver is throwing this error?

    Bumping a 2-year-old thread isn't likely to get you any solution. Best course for you is to post a new thread with all of your details (which will be different, unless you are using the very old 11.1.1.2 version - in which case you will be told to try a later release).
    John

  • How to deploy a secured ADF 11g application to WebLogic 10.3 server?

    Hi,
    I have just enabled security in our ADF 11g application, as descripbed in [chapter 29|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/adding_security.htm#insertedID0] of the Fusion Developer's Guide. It works fine in the embedded WebLogic server of JDeveloper.
    Now I'm trying to deploy to our WebLogic 10.3 server, which runs in production mode. I'm running into all sorts of problems. The WebLogic console seems to have hundreds of security related pages, I don't know which one I should use, let alone how to use it. The Fusion Developer's Guide doesn't cover deployment to a production server:
    >
    When the target server is configured for production mode, you typically handle the migration task outside of JDeveloper using tools like Oracle Enterprise Manager. For details about using tools outside of JDeveloper to migrate the policy store to the domain-level in a production environment, see the [Oracle Fusion Middleware Security Guide|http://download.oracle.com/docs/cd/E12839_01/core.1111/e10043/toc.htm].
    >
    However, this guide is of very little help to me. I found [chapter 7|http://download.oracle.com/docs/cd/E12839_01/core.1111/e10043/addlsecfea.htm#insertedID0], which says "The recommended tool is Fusion Middleware Control." I have no idea what "Fusion Middleware Control" is, where to get it and how to use it.
    Long story short: I'm totally lost. I'm looking for a step by step guide on how to deploy a secured ADF 11g application to a WegLogic 10.3 server that is running in production mode. Any help is highly appreciated.

    Ok, I found a [very helpful blog post |http://andrejusb.blogspot.com/2009/01/practical-adf-security-deployment-on.html] by [Andrejus Baranovski|http://www.blogger.com/profile/04468230464412457426]. I wish Oracle's documentation was as clear as this...
    The blog post refers to an article by Steve Muench, called [Simplified ADF 11g Application Credential and Policy Migration to Standalone WebLogic Servers|http://www.oracle.com/technology/products/jdev/tips/muench/credmig111100/index.html]. This article presents an Ant script that migrates policies from JDeveloper to WebLogic, using some PFM. (See the last definition here.)
    The problem is that Steve Muench's script assumes that JDeveloper and the standalone WebLogic are on the same machine. However, in a typical environment, such as the one I'm working in currently, this is not the case. In our case the developer stations are Windows machines, while our WebLogic server runs on a HP-UX machine. So the question is: how to perform this migration between two machines with different operating systems?
    Regards,
    Bart Kummel

  • Error when invoking worklist api from adf 11g

    Hi,
    I am using ADF 11g. This application invokes Worklist Application APIs. When I try to login it throws this error. Basically it throws error at worklist application authentication. Am I missing any jar files? These are the jar files I included in the project.
    Bpm-services.jar
    Bpm-workflow-datacontrol.jar
    Oracle.soa.workflow.jar
    Wsclient.jar
    javax.servlet.ServletException: oracle/tip/pc/infra/exception/PCException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         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:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         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)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: oracle/tip/pc/infra/exception/PCException
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:204)
         at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:135)
         at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:306)
         at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:399)
         at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:257)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
         at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:190)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:232)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1031_WLStub.authenticate(Unknown Source)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:121)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:67)
         at $Proxy133.authenticate(Unknown Source)
         at task.TaskBacking.getWorkflowContext(TaskBacking.java:103)
         at task.TaskBacking.updateTaskStatus(TaskBacking.java:125)
         at task.TaskBacking.approveInvoiceTask(TaskBacking.java:159)
         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(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: oracle.tip.pc.infra.exception.PCException
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 127 more
    Thanks
    Saru

    I added the jar files and I don;t get the exception anymore. I am able to login in as weblogic and the application works fine. When I login in as anyother user I get this error. Where is this pc.properties?
    Warning: Could not locate file pc.properties in classpath
    ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user jazn.com/pat.
    Verify that the user credentials and identity service configurations are correct.
    Thanks
    Saru

Maybe you are looking for

  • How do you merge multiple pdf's into one document?

    How do you merge multiple pdf's into one document?

  • Creation of material as TRAD

    Hi guys, I am asked by QA to maintain Financial views (Accounting7Costing) for a material that is cost of freight that we want to invoice to the customer. They would like to register this material as TRAD, but my problem is that I then have to determ

  • JavaScript partially unabled in Internet Explorer

    Hi folks, I dont know if you can help me with this because this seems to be quite specific, but maybe anyone has an idea. I am using the pugin for twitter bootstrap modal dialog, as recomended by someone in this forum. The dialog is used several time

  • NLB on 2 different switch running HSRP

    Hi, we have implemented NLB on the SGI Server running IRIX OS, it works fine. the connectivity is 2 NIC connected on 3750-1(ruuning HSRP),now if i connect 1 of NIC in to the other switch 3750-2(running HSRP) will the NLB workz & will i get the 2Gbps

  • MacBook Pro Upgrade?

    Hardware Overview:   Model Name:          MacBook Pro   Model Identifier:          MacBookPro5,4   Processor Name:          Intel Core 2 Duo   Processor Speed:          2.53 GHz   Number Of Processors:          1   Total Number Of Cores:          2