ADF/WCP - the substitution of the default jars

Hello

I use JDeveloper with WCP 11.1.1.8.0 11.1.1.7.0. We need to use the suite in pots to interact with third party api-


org.Apache.http.Components.httpcore - 4.2.1.jar and org.apache.http.components.httpclient - 4.2.1.jar


Then the server already has these jars, but the version is different-

org.Apache.http.Components.httpcore - 4.1.2.jar and org.apache.http.components.httpclient - 4.1.2.jar

Question - if I need to run my application with 4.2.1 version of the jars, I have to ask weblogic to include these instead of 4.1.2 version... or can I include in my application as any other jar and run it?

Now I get this error-

java.lang.NoSuchMethodError: org.apache.http.client.entity.UrlEncodedFormEntity. < init > (Ljava/lang/Iterable; Ljava/nio/charset/Charset ;) V

at org.rundeck.api.ApiCall.login(ApiCall.java:645)

at org.rundeck.api.ApiCall.execute(ApiCall.java:538)


The third party that api is an application built using a RunDeck

Concerning

Hey, Dario.

Thanks for your answers, has found the solution and with your help.

Added to this-

true

in weblogic.xml, worked

The link that you shared was prefer application-packages in weblogic - application.xml, what he missed was the jars for these packets should be inside the APP - INF inside the EAR.

Kind regards

Frédéric

Tags: Java

Similar Questions

  • How to set the default value of the component selectOneChoice in the table to the ADF

    Hi all

    I use jdev 11.1.1.6.0 version.

    I used an adf table in which an attribute is selectOnceChoice.

    To create the table and selectOneChoice I used the data control java bean.

    and drag and drop a table and after that I have drag and drop one of the attributes as selectonechoice and linked with the return of the method list as < key, value > pair.

    I want the default value to select only one option in each attribute rows.

    I checked with simillar issue on post next, but not yet resolved.

    
    
    
    
    

    My jspx code is

    
    <af:column id="c11"
                                             headerText="Invoice To" >
                                        <af:outputText value="#{row.invoiceTo}" id="ot19"/>
    <af:selectOneChoice value="#{bindings.invoiceTo.inputValue}"
                                                        label="#{bindings.invoiceTo.label}"
                                                        required="#{bindings.invoiceTo.hints.mandatory}"
                                                        shortDesc="#{bindings.invoiceTo.hints.tooltip}"
                                                        id="soc3"
                                                        autoSubmit="true"
                                                        valuePassThru="true">
                                      <f:selectItems value="#{bindings.invoiceTo.items}"
                                                     id="si4"/>
                                    </af:selectOneChoice>
    </af:column>
    
    
    

    where invoiceTo is the table attribute and the invoiceTo attribute is dragged and dropped as a SOC function list Source data mapped data value with the List attribute

    and the display attribute

    Data value = invoiceTo List = lovMasterKey attribute

    Display attribute = lovMasterValue

    that list is maintained at < lovMasterKey, lovMasterValue >

    According to the value of invoiceTo line, it should show as default value is selectOneChoice, but its showing no not as a default value.

    Please, help me how set the default value of selectOneChoice in the table according to each value line invoiceTo.

    Thank you all for the help on this issue.

    Problem has been resolved.

    Reason for this was used

    It is solved using code used for the list built for selectoneChoice more

      List lovMasterList = new ArrayList();
    
    SelectItem siItem = new SelectItem();                      
    
    siItem.setLabel(objAfCmnLovMasterListVO1.getLovMasterValue());
    
    siItem.setValue(objAfCmnLovMasterListVO1.getLovMasterKey());
    
      lovMasterList.add(siItem);
    

    Now, I used the code where the line below. InvoiceTo is the key and row.invoiceToItems are the list of articles for selectOneChoice.

    
    
    
      
    
    

    Thank you very much...

  • How to set the order in the table in the ADF for a transitional attribute in the default sort t

    Guys,

    I have a VO with 2 columns, the column is transitional attribute.  In my jsff page, I got an af:table that displays the transition attribute.

    When the page is loaded for the first time, by default, transitional attribute values should be sorted in ascending order. Currently, the displayed values are not sorted. I need to click the sort button to sort the values. I need to change this behavior to sort automatically when the page is displayed for the first time.

    Question: How can I set the command to the table in the ADF for a transitional attribute of default sort?

    Note: I have to pragmatically, I can't use order by clause in my VO for the transitional attribute.

    Help, please.

    Thank you

    Rambaud

    Hi Rambaud,

    You can do the sorting "in memory".

    You can implement it like this:

    Get the VO and make sure that all required lines are extracted from the DB

    ....

    Sort the rows by transient attribute

    myVO.setSortBy ("TransientAttribute");

    read the current query mode

    int oldQueryMode = myVO.getQueryMode ();

    to sort in memory

    myVO.setQueryMode (ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);

    myVO.executeQuery ();

    redefine the query mode on original value (only needed if you want to be able to get new lines of the DB)

    deadlineVO.setQueryMode (oldQueryMode);

    I hope this helps.

    Kind regards

    Linda

  • ADF: Can ignore us the default activity of the ADF train in the stubborn workflow. ?

    Hi all

    I am a newbie for ADF and JDev. Start learning about the documentation provided for the ADF, I try to create a stubborn workflow that has an element of train and every stop on the train should be activated/skippered by program. I am able to jump the train stops after reading the content provided at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf.
    But I'm not able to jump to the default train stop which is the first call of the activity in my case during initialization.
    Here are the steps I followed:
    1 creating a project of viewController and created a workflow in bounded with the component train activated.
    2. added 4 displays with train component marking the first view as default activity appeal.
    3. According to the document, which I mentioned above, I've added bean managed to ignore the train stop by program files.

    Now when I run the workflow, I'm able to jump the number of train stops 2/3/4, but I'm not able to jump stop number 1 (first stop which is the default activity) at initialization.
    According to documents from the ADF, for a stubborn workflow must be assigned default activity that is always called first when we enter the stubborn workflow. Which means, default activity will always be called initialization of said defined workflow and never to be ignored by the program. ? Alternatively, if there is a way to jump to the default activity, so please let me know the documentation/measures to do this.

    Thanks in advace.

    Published by: 1004973 on May 9, 2013 02:52

    Thanks Timo. Your idea has solved my problem. :)

    I created a new page in my workflow narrow-minded that I realized as a default activity for the workflow bounded. Then I applied the navigation via router and under certain conditions, I am now able to switch my order to my desired train stop. By this design, I can make another customization on train button(Back/Next).

  • PanelTabbed of the ADF. How to choose the default tab when the page loads

    Hi all
    I have a panelTabbed with three showDetailItem component, and I want the first showDetailItem to the tab by default whenever the page loads.
    Currently, the default tab, that's all that the tab that was last visited.

    I tried to disclosed attribute set to true on the first tab and false for the other, but it does not work.

    Thanks in advance.

    Published by: 947142 on July 18, 2012 11:03

    Have a method in the managed bean that is called when the page is loaded and set the tab disclosed.

    Here is a sample based on your use cases:

    PanelTabbed.jspx:



    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >












    PanelTabbedBean.java:

    import java.util.List;

    javax.faces.component.UIComponent import;
    Import javax.faces.event.PhaseEvent;

    Import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    Import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    Import oracle.adf.view.rich.context.AdfFacesContext;

    public class PanelTabbedBean {}
    Private RichPanelTabbed myPanelTab;

    public PanelTabbedBean() {}
    }

    {} public void setMyPanelTab (RichPanelTabbed myPanelTab)
    this.myPanelTab = myPanelTab;
    }

    public RichPanelTabbed getMyPanelTab() {}
    Return myPanelTab;
    }

    {} public void onPageLoad (PhaseEvent phaseEvent)
    If (phaseEvent.getPhaseId () .equals (phaseEvent.getPhaseId (). RENDER_RESPONSE)) {}
    If (!.) {AdfFacesContext.getCurrentInstance () .isPostback ())}
    If (this.myPanelTab! = null) {}
    List childUIComponent = this.myPanelTab.getChildren ();
    If (childUIComponent! = null & childUIComponent.size () > 0) {}
    for (int i = 0; i)< childuicomponent.size();="" i++)="">
    If (childUIComponent.get (i) instanceof RichShowDetailItem) {}
    If (i == 0) {}
    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (true);
    } else {}
    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (false);
    }
    }
    }
    }
    }
    }
    }
    }
    }

    Thank you
    Nini

  • How to set up the default value in the ADF option button?

    Hi all

    I use 11.1.6

    I want to put the default value in the radio button (in the UI).

    EX: I have a SelectOneRadio as sex

    In these two values, one is male and secondly a woman.

    I need to see the default value of the male part of the user interface.

    I mean when the loading of the page it should show male is checked in the user interface part?

    Someone help with this task?

    Ok

    So in your BinderSolutionsBean, you have an attribute called;

    String scenType;

    public String getScenType()...

    What you need to do is to initialize scenType to rtb;

    public BinderSolutionBean {}

    String scenType = "rtb";

    .

    .

    .

    }

    Hope this makes sense;

  • Error during the creation of the default domain for the intigrated weblogic Server

    Hello

    An error occurred by building the default domain for the weblogic Server integrated

    the log file contains details of set-aside on error

    "C:\Oracle\Middleware\oracle_common\common\bin\wlst.cmd" "C:\Oracle\Middleware\jdeveloper\MyWork\system11.1.1.5.38.61.26\o.j2ee.adrs\CreateDefaultDomain.py".
    Process began
    WLST >
    WLST > CLASSPATH=C:\Oracle\Middleware\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar; C:\Oracle\Middleware\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar; C:\Oracle\Middleware\jdk160_24\lib\tools.jar; C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar; C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar; C:\Oracle\Middleware\modules\features\weblogic. Server.modules_10.3.5.0.jar; C:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar; C:\Oracle\Middleware\modules\org. Apache.ant_1.7.1/lib/Ant-all.jar; C:\Oracle\Middleware\modules\net. SF.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar; C:\Oracle\Middleware\oracle_common/modules/Oracle.jrf_11.1.1/JRF-wlstman.jar; C:\Oracle\Middleware\oracle_common\common\wlst\lib\adf-share-MBeans-WLST.jar; C:\Oracle\Middleware\oracle_common\common\wlst\lib\adfscripting.jar; C:\Oracle\Middleware\oracle_common\common\wlst\lib\applcore-Diagnostics-WLST.jar; C:\Oracle\Middleware\oracle_common\common\wlst\lib\mdswlst.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\auditwlst.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\igfwlsthelp.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\jps-WLST.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\jrf-WLST.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\oamap_help.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\oamAuthnProvider.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap_help.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\ovdwlsthelp.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\sslconfigwlst.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\wsm-WLST.jar
    WLST >
    WLST > PATH = C:\Oracle\Middleware\patch_wls1035\profiles\default\native; C:\Oracle\Middleware\patch_jdev1111\profiles\default\native; C:\Oracle\Middleware\wlserver_10.3\server\native\win\32; C:\Oracle\Middleware\wlserver_10.3\server\bin; C:\Oracle\Middleware\modules\org. Apache.ant_1.7.1\Bin; C:\Oracle\Middleware\jdk160_24\jre\bin; C:\Oracle\Middleware\jdk160_24\bin; C:\Oracle\Middleware\wlserver_10.3\server\native\win\32\oci920_8
    WLST >
    WLST > your environment has been defined.
    WLST >
    WLST > CLASSPATH=C:\Oracle\Middleware\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar; C:\Oracle\Middleware\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar; C:\Oracle\Middleware\jdk160_24\lib\tools.jar; C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar; C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar; C:\Oracle\Middleware\modules\features\weblogic. Server.modules_10.3.5.0.jar; C:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar; C:\Oracle\Middleware\modules\org. Apache.ant_1.7.1/lib/Ant-all.jar; C:\Oracle\Middleware\modules\net. SF.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar; C:\Oracle\Middleware\oracle_common/modules/Oracle.jrf_11.1.1/JRF-wlstman.jar; C:\Oracle\Middleware\oracle_common\common\wlst\lib\adf-share-MBeans-WLST.jar; C:\Oracle\Middleware\oracle_common\common\wlst\lib\adfscripting.jar; C:\Oracle\Middleware\oracle_common\common\wlst\lib\applcore-Diagnostics-WLST.jar; C:\Oracle\Middleware\oracle_common\common\wlst\lib\mdswlst.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\auditwlst.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\igfwlsthelp.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\jps-WLST.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\jrf-WLST.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\oamap_help.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\oamAuthnProvider.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap_help.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\ovdwlsthelp.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\sslconfigwlst.jar; C:\Oracle\Middleware\oracle_common\common\wlst\resources\wsm-WLST.jar; C:\Oracle\Middleware\utils\config\10.3\config-launch.jar; C:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbynet.jar; C:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbyclient.jar; C:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbytools.jar;
    WLST >
    WLST > initialization WebLogic Scripting Tool (WLST)...
    WLST >
    WLST > welcome to WebLogic Server Administration Scripting Shell
    WLST >
    WLST > type help() for help on the available commands
    WLST >
    WLST > creation of a default domain
    WLST > model of reading: /C:/Oracle/Middleware/wlserver_10.3/common/templates/domains/wls.jar
    WLST > name of the parameter to "DefaultServer".
    WLST > ListenAddress setting to "
    WLST > ListenPort parameter to 7101
    WLST > domain administrator of the parameter to "FAAdmin".
    WLST > password field setting.
    WLST > problem invoking WLST - Traceback (innermost last):
    WLST > file "C:\Oracle\Middleware\jdeveloper\MyWork\system11.1.1.5.38.61.26\o.j2ee.adrs\CreateDefaultDomain.py", line 59, in it?
    WLST > to com.oracle.cie.domain.script.jython.WLSTSecurityPrincipal.set(WLSTSecurityPrincipal.java:70)
    WLST >
    WLST > to com.oracle.cie.domain.script.jython.WLSTSecurityUser.setPassword(WLSTSecurityUser.java:33)
    WLST >
    WLST > at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    WLST >
    WLST > to sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    WLST >
    WLST > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    WLST >
    WLST > to java.lang.reflect.Method.invoke(Method.java:597)
    WLST >
    WLST >
    WLST > com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: java.lang.Exception: the password must be at least 8 alphanumeric characters, at least one number or special character.
    WLST >


    Rohit

    Hello

    you see this message: "the password must be at least 8 alphanumeric characters, at least one number or special character."?

    Password: weblogic password you provide when prompted
    must be at least: minimum requirement for secure passwords applied on default WLS
    at least 8 alphanumeric characters: not 7 but less than eight characters
    at least one number or special character: password must have a number in there or a '@' '-' or similar

    For example

    weblogic1

    is a password option that would meet the requirement

    Frank

  • The bookmark sidebar appears when Firefox opens first; I can turn it off, but it opens again on restart; How can I change the default?

    It's a slight discomfort, but the bookmark sidebar always appears when Firefox opens first. I uncheck in view or click the 'x', but he reappears on the next departure upward. I can't find any option in the options that controls the default value this. I do a lot of work with several windows and need space.

    -> Themes and extensions troubleshooting

    -> Tap ALT key or press F10 to display the Menu bar-> go to Menu view-> sidebar-> bookmarks deselection

    IF the problem persists, preferences are not saved - file User.js, the substitution of preferences

    Check and tell if its working.

  • HP 7510 - Always scan the default loading paper

    A few months ago the default parser using the paper feeder instead of scan during the scanning bed.

    Even if I close the tray of paper, he will roll/try feeding of the paper in the tray instead of scanning from the bed.

    I have reset settings one or two times, but he always return to the default values.

    Is there a setting somewhere that I can put it to bed scan?

    Hello

    Just test mine (also a 7510). You hear a 'ting' noise when putting paper in the ADF? I think that it has a sensor and you may need to clean the surface of the sensor. How to clean I don't know, the printer is a printer ready so I don't want to break it.

    Kind regards.

  • ADF against the REST business components to access data

    Hello

    JDeveloper 12.2.1

    We are about to build a custom application of ADF that must run completely on the site.

    Given that we build it from scratch, we want to start with last 12.2.1

    There is also no specific use cases where another application has consumed our application services.

    With the recent versions of JDeveloper and ADF, there was a lot of improvements made to REST etc. and other industry standards

    I came across some discussions about to consider the use of these new features

    https://groups.Google.com/Forum/#! Searchin'/adf / methodology/repairman$ 20services/adf-methodology/u0dz4x4w2xU/15xrimlxQaYJ

    https://groups.Google.com/Forum/#! Searchin'/adf / methodology/repairman$ 20services/adf-methodology/zpMv4PqOKhI/Qws0C4IBBYAJ

    We plan to use the default ADF Business components to access data, because our requirements and I am more inclined to the use of these.

    That is to say, using the ADF business components based on database objects directly (using a thin driver for data source)

    But I also want to determine if there is any other good reasons to use other ways to talk to the database (such as RESTful services) as shown in the links above.

    I believe, if we must use RESTful services to access the data, then it should be in the following scenarios.

    a. If the database is on a cloud (as if we use DaaS)

    b. There are already services available for the access to these data, and just build the user interface

    But if we build the application from scratch, which is supposed to be running on site, then I would choose the ADF business components to access data via a thin driver for the data source.

    Someone can correct me if I am wrong in my thinking?

    Thanks for any help.

    Sameer

    Without knowing your situation, I would say that it seems that the use ADF BC is the right way to go.

    It will allow you not only to access your database, but also add logic and to create complex data structures and relationships – all in a layer that is outside your database.

    Your ADF UI can then link directly to this ADF BC layer.

    If in the future you will need other interfaces to access the same logic through REST services - then that in 12.2.1 you can expose ADF BC as REST services will give you this ability.

  • Force all the PDF files to print at 100%, regardless of the default values to the users.

    I need a framework (as a preference, Acrobat) that will make every single PDF I create for print clients to 100%, of the substitution of the default on the PC that is always 'fit to page '. I want to talk about hundreds of forms, so it's really a mess of having to go into each one, always check to be sure that it is implemented individually. All these forms are basic letter-size, so there is really no need what to scale, but (as we all know) when customers drive is set to 'fit to page' the margins get huge and the type becomes small. Frustrated customers because they forget to change whenever they want to print and wind up twice more printing. Any ideas? I'm working on a Mac. Customers are all PC.

    Is not possible.

  • How to hide the default text once the departure of the user to type the value?

    Hi all

    I use JDeveloper11.1.1.4. My scenario is that I have the login with the username and password fields page. Need to field of password to display the default, text give your password here! Start the user to type the password for the default text should be disappear. (E.G. Gmail login page). Is this possible in the components of the ADF, or I need to use JavaScript to achieve this scenario.

    Thank you

    David

    Hi David,

    See also Oracle ADF | WebCenter tips tricks and experiences: watermark to display on af:inputText in ADF 11 g using javscript

    Thank you

    Nitesh

  • How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Mr President.

    How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Concerning

    For the date, you can use groovy expression adf.currentDate to set the current date. reference http://adfgouravtkiet.blogspot.in/2012/11/how-to-set-default-values-for-entity.html

    You already have ways to use the sequence.

    How do you add a new value in the form. You're creating a new line of your page (user interface) and by engaging with validation operation? Unless you commit you will not be able to see anything in the table.

    Thank you

  • How to change the color of the indicator of loading the default page?

    Hello

    I was wondering how to change the color of the indicator as shown in the photo below, the default page loading

    http://1drv.Ms/1kivj05

    I use Jdeveloper 11 GR 2 11.1.2.4 & Weblogic 10.3.6

    Best regards.

    Hello

    This will guide you to what you need to do.

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/15-custom-splash-screen-169144.PDF

    As Timo says you will need to locate the gift of animation edit and then create a new skin by using the new gif.

    Concerning

  • any button in the dynamic region you put me the default taskflow

    Hi all

    I used Oracle Adf 12 c,

    I do application with a jsf page and using Panel springboard and inside he ShowDetailItem inside static area Dynmiac area inside.

    Jsf Page > > Panel Spring Board > > view item details > > static region > > dynamic region

    the problem is when I click on the button in the dynamic region it navigate to the default taskflow.

    My problem is solved by changing the scope of the managed bean (application scope in sight).

Maybe you are looking for