Deployment of ADF library jar files

Hello

I want to deploy my application to a standalone WLS which I applied above oracle ADF library. My question is that I have to include jar files that my application has a reference to them in my ear file? Jars for JSF, ADF rumtime, ADF faces DURATION,... these jar files should not be part of the ADF library that I installed on top of WLS?

ADF BC classes are in the adf.oracle.domain library.

The default value is not set in the weblogic application. XML

ADF. Oracle.Domain

Other required libraries should be added to the weblogic - application.xml. The

Trinidad Runtime Databinding

ADF Faces DURATION 11

are in the adf.oracle.domain.webapp. Add the following to weblogic - application.xml.

ADF. Oracle.domain.WebApp

Tags: Java

Similar Questions

  • Deploy the ADF library JAR independent of the Application

    Hello

    JDeveloper release: 11.1.1.1.0
    WebLogic Server Version: 10.3.1.0

    I use a number of ADF library JAR files in my application and want to deploy the final application WAR without the need of these jars in there. I want to have the option of deploying an ADF library JAR file if this is the only change to the application. This is very similar to the requirements for this How to deploy an application that uses "ADF library Jar" - 11 G UPDATE2.

    However, I can't figure out how to make it work. I can remove the ADF in pots since the WAR file by filtering in the profile of the WAR deployment and then deploy the ADF pots independently on the WebLogic Server. But when I access the application, it seems that it does not find these pots.

    Can anyone provide assistance on how to do this?

    Thank you
    Brad

    While I was testing I found the below steps to work for me... But the problem is THAT WLS does not re - deploy a library where there is an active application to use... And none has proposed this approach so I tend to think deploying as an EAR.

    1 - to do this, you can deploy the jar files as library via the WLS console or command line and you must update the file application.xml - weblogic in the project that you are deploying war/ear

    
      .
       
        taskFlow1
      
    
      
        myLib1
      
    
      
        myLib2
      
    
    

    2 - If you want to use aliases instead of the names of files to libraries, you can add a line to the file 'manifest '. MF.
    To add this add a file to your project. Meta-Inf folder might be a good candidate to locate this file.
    Edit the newly added file and add these lines.

    Extension name: myLibrary
    Specification-Version: 2.0
    Implementation-Version: 9.0.0

  • Pass the parameter of application deployed in the ADF library jar file

    Hi all

    I use JDeveloper 11.1.2.4.0, i have 2 Applications appA, appB.

    I created in taskflow appA containing departments viewobject, appB contain stubborn workflows which has Employee.jsff page.

    I have deployed appB as library of ADF jar file and add it to appA, I need to pass the id of employee viewobject, Department

    Kind regards

    Hello

    In order to create a business application, are usually required several workflow tasks. These workflow will perform different functions, but they may have to communicate with each other. To enable this communication, you can use task flow settings, contextual events or sharing of the data control Instances.

    Please check below link

    Java / Oracle SOA blog: events ADF passing between areas of workflow

    Communication between task flow using the flow of the task - Waslley Souza Blog settings

    Thank you

    Amey

  • ADF Library Jars for shared code

    Version: Jdeveloper 12 c.

    I have a request that I am building and try to use as much shared code as possible.  I created an application called xyzUtils which contains the code that each of my applications could need.  I've conditioned as a library of the ADF.   It contains a bunch of standard java classes such as ADFUtils, JSFUtils, StuartsUtils...

    I added that day cela to

    1. my request to ADF 'ABC '. This is to be the main application which will consist of a number of small applications (which will reference each xyzUtils app).  It has a minimal amount of custom code, but search tips.

    2. my request to ADF "homepage".

    As soon as I put the taskflow of my startPage application in my request of ABC, some code has stopped working - and if I delete the shared the ABC app application, the code works.

    The idea is to reduce redundancy, but it seems that I will encounter conflicts if I have a major application that refers to the xyzUtils app, but also other applications that refer to the xyzUtils application.

    I understand the concept to ensure that names don't overlap - but in this case the shared library has the same way in each application.

    What is advised here?  I keep several versions of the shared code (adfutils etc) in each application?

    Thank you

    Stuart

    Kdario,

    I think I found the problem - and it's another error at the origin of the problem, not this... so... Thank you, but ignore!

    Stuart

  • FileNotFoundException, when you use a template stored in a jar file

    Hello

    Using Jdev 11.1.1.3.0 I created a JSF page template in a project and has been in the form of ADF library JAR file. In a second project, I added the library and I could see my model in the drop-down page templates. I created a new page based on this template, but when I run the page I get an exception FileNotFoundException indicating the name of the template file that I created in the first draft. Any idea?

    Make sure the JAR file that has been added to your project libraries has the 'default deployment"check box selected.

  • Jar of ADF library in the portal generator

    Hello

    Using the portal generator 11.1.1.8.0

    I referred the link below to use the ADF library jar which has taskflows in my portal builder

    http://codervision.blogspot.in/2015/02/integrate-ADF-taskflows-with-WebCenter-spaces.html

    I did all the steps and it's successful.

    When editing my catalog of resources, I can't able to find the workflow.

    Kindly guide me.

    Hello

    You must check the version of the implementation of the increment with each deployment in MENIFEST. MF file.

    Manifest-Version: 1.0

    Archive Version: Plexus archiver

    Created by: Apache Maven

    Built by: builder

    Build-Jdk: 1.6.0_20

    Extension name: extend.spaces.webapp

    Implementation-Label: 11.1.1.8.0

    Implementation-title: extend.spaces.webapp

    Implementation-vendor: Oracle

    Implementation-Version: 11.1.71

    Specification-title: extend.spaces.webapp

    Specification-vendor: Oracle

    Specification-Version: 11.1.1

    Thanhks,

    Amey

  • Deploy on executable jar file

    Hi all.

    I have a special need to deploy an application into an executable jar file (so it could be run as java-jar xxxxxx.jar). It is an app of the ADF, and there just the model layer. It has a main method that works perfectly inside the JDeveloper runtime.

    I use ADF components (entity objects, see objects, Application Module, etc.).

    I tried to deploy it in a jar file and libraries has added to its deployment profile. When I try to run it, I always get:

    Exception in thread "main" oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg = Houston-33003: the MyConnection_Dep login name is not defined.

    MyConnection_Dep is the login used in JDeveloper and defined in the Module of the Application, but it looks like the data connection are not deployed.

    Which can be missing? Any help would be appreciated.

    Thanks in advance

    In fact, it worked today. I used

    public class amConnection implements {EnvInfoProvider}

    public Object getInfo (String string, object environment) {}

    EnvHashtable Hashtable = (Hashtable) environment;

    envHashtable.put (Configuration.DB_USERNAME_PROPERTY, "username");

    envHashtable.put (Configuration.DB_PASSWORD_PROPERTY, "password");

    envHashtable.put (Configuration.DB_CONNECT_STRING_PROPERTY, "jdbc:oracle:thin:@myserver.domain.com:1521:xxx");

    Returns a null value.

    }

    All required jars are packed. It works very well.

    Thanks anyway

  • Can I deploy the jar files in weblogic?

    Can I deploy a jar file which will be a collection of other jar files in weblogic?
    Where can I change?

    We may keep the code deployed in the ear and all dependencies library jar files in a single pot and the pot to be installed separately in Weblogic...

    What shall we do?

    Please do help

    Hello

    try to provide inputs inside your app ".» XML' as follows




    referenceA.jar


    referenceB.jar


    referenceC.jar

    Now place all the pots inside the root of the EAR file, as well as within the "/APP-INF/lib'. nd, and then deploy that EAR as a shared library.

    Thank you
    Jay SenSharma
    http://jaysensharma.WordPress.com (WebLogic wonders are here)

  • ADF library-ize Skins?

    Under JDev 11 g +, everyone could place a skin in a joint project of View Controller, ADF library-ify the project and reuse the skin in another project through the ADF library JAR?

    Currently, when I run our main application that loads the library of ADF, it raises the event:
    < SkinFactoryImpl > < getSkin > cannot find a skin that matches the mySkin and renderkit of the org.apache.myfaces.trinidad.desktop family, so we'll use the simple skin

    My understanding is that our only real option is JAR the skin in accordance with the section "deployment of a skin file in a jar of 20.6" - http://download.oracle.com/docs/cd/E15523_01/web.1111/b31973/af_skin.htm#CHDBEDHI - or put files of appearance in our main application.

    With our thanks,

    CM.

    Hi Chris,

    Archived skins are loaded only META-INF / WEB - INF / is not yet part of the statement classpath from the standard point of view, so it is not returned by ClassLoader.getResources which is the API used to discover the skins, that's why your second policy does not work. One should work, but since we do not use ADF library for the deployment of the skin, I'm not sure.

    Kind regards

    ~ Simon

  • Dependence Maven of adf library with entity objects

    Hi all. My setup is JDeveloper 12.1.3

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

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

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

    Any ideas?

    Thank you

    I found another way to do what I needed.

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

    Configure the settings of maven for the project:

    Of course, the build environment is Maven as well:

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

    Kind regards.

  • Debugging an ADF JAR file?

    Hello. I have a shared Jar file which is used among many ADF web applications. Deploy the JAR file as a Jar ADF file and put it in the scope of the library of web applications. Is there a way I can debug the jar of the EAR file that include? I can debug the regular web application, or the JAR file on its own, but not the JAR of the EAR file. I use JDeveloper 11 g.

    Thank you! Graeme.

    In my opinion, than the General technique described in the following Lucas's blog post:
    http://technology.AMIS.nl/.../ADF-11g-debugging-task-flows-embedded-from-ADF-libraries-using-source-code-jars

    Unfortunately, the link seems to be stuck at the moment, so I can't check it for you.

    CM.

  • Deployment to .jar file error

    Hello world
    I am a developer of forms, and as such I am a completely clueless on how to do some basic things in this new tool, I am trying to learn.

    In a first step, I am building some simple applications of the ADF/Swing, everything is fine until I reached the point when I want to deploy my proyect bit. Here's what I did based on what help I could find in this forum. Thanks in advance and sorry for my bad English.


    (1) create a deployment profile, I select all dependencies by using the "Dependency análisis" option under file groups. Question: on the long list of dependencies shown in this section, it is necessary to include all the libraries figure? If I understand all the resulting jar file is 120 MB in size, and that is a very simple form. Is this normal / correct. ?

    (2) after you have deployed the jar I try to run it with "java-jar xxx.jar", but I get the following exceptions: it seems to be related to the manifest file, and I find it very odd that when I look in the jar file, there are TWO 'manifest '. MF' under the same META-INF folder, it is capitalized and is small enough, the second is tiny and very large. I don't know if this is what causes the problem and I can not find someone else who has the same issue.

    The error:


    Exception in thread "main" java.lang.SecurityException: no manifiest section for
    signature input file javax/media/rtp/event/SessionEvent.class
    at sun.security.util.SignatureFileVerifier.verifySection (SignatureFileVe
    check. Java:260)
    at sun.security.util.SignatureFileVerifier.process (SignatureFileVerifier
    . Java:172)
    at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
    at java.util.jar.JarVerifier.update(JarVerifier.java:194)
    at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
    at java.util.jar.JarFile.getInputStream(JarFile.java:362)
    at sun.misc.JarIndex.getJarIndex(JarIndex.java:92)
    to sun.misc.URLClassPath$ JarLoader. < init > (URLClassPath.java:543)
    to sun.misc.URLClassPath$ 3.run(URLClassPath.java:320)
    at java.security.AccessController.doPrivileged (Native Method)
    at sun.misc.URLClassPath.getLoader(URLClassPath.java:309)
    at sun.misc.URLClassPath.getLoader(URLClassPath.java:286)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:156)
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:191)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)


    Thank you.

    Each must have its own file java.exe JDK. Check the path to the JDK for your project (on the page of the library project properties dialog box) and when you run your JAR file, do it with

    / Path/to/Development/JDK/java-jar...

    Hope this helps,
    Avrom

  • Generate the ADF with Eclipse jar file


    EIS,

    I followed the guide to use Eclipse as the tool to develop ADF related stuff, found here:

    http://www.Oracle.com/WebFolder/technetwork/Eclipse/ADF/gettingStarted/tutorial/ADFwithOEPE_1.html

    Everything is fine, and I've created classes, references, the flow and the pages. However, how to deploy such things in a jar file? There is an option in the JDeveloper, however, I can't find any way to do this in Eclipse? You need a profile I can use, or similar?

    The thing is that I've developed things like extensions of the IOM, and so I need to add the jar genereated file to the war file named:

    Oracle.IAM.UI.Custom - dev-starter - pack.war

    by:

    oracle.iam.ui.custom-dev-starter-pack/WEB-INF/lib/the-generated-jar-file.jar

    Hope someone has a clue about what to do, because I really want to use Eclipse and JDeveloper.

    Kind regards

    Vegard

    Looks like some doc links are broken. I found the tools Oracle ADF that describes what it takes to generate an adfLibrary in eclipse, but I don't know for what version this document is intended.

    Timo

  • ADF mobile application deployment: the Android Dalvik (.dex) file does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)

    Nice day

    I use Jdeveloper 11.1.2.3.0

    I'm getting following error when deploying my first app on the android emulator, please help me solve this problem. The exception log is the:

    [10: 50:12] update Android profile dependencies with FAR profiles created from application projects...

    [10: 50:12]-deployment began.  ----

    [10: 50:12] the target platform's (Android).

    [10: 50:12] early deployment of ADF Mobile 'FirstMobileApp' to Android application using the profile "ANDROID_MOBILE_NATIVE_archive2."

    [10: 50:12] check the State of the Android Debug Bridge server...

    [10: 50:17] Server Android Debug Bridge started.

    [10: 50:17] check a single Android emulator is online and connected to the ADB server...

    [10: 50:17] early deployment of ADF Mobile 'FirstMobileApp' to Android application using the profile "ANDROID_MOBILE_NATIVE_archive2."

    [10: 50:17] analysis of the dependence running...

    [10: 50:17] building...

    [10: 50:17] deployment of 3 profiles...

    [10: 50:17] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ApplicationController\deploy\ApplicationController.jar

    [10: 50:18] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ViewController\deploy\ViewController.jar

    [10: 50:18] start preparing the package...

    [10: 50:18] check the Application Controller project exists...

    [10: 50:18] checking dependencies of applications...

    [10: 50:18] Validation of the application XML files...

    [10: 50:18] Validation of the XML files in the ApplicationController project...

    [10: 50:18] Validation of the XML files in the ViewController project...

    [10: 50:18] copy of FARs in the application of the Mobile ADF framework...

    [10: 50:18] far from the source of the copy: ViewController...

    [10: 50:18] copy by far the source: ApplicationController...

    [10: 50:18] copy of model Android...

    [10: 50:48] copy of the framework resource files...

    [10: 50:48] copy of resource files java framework...

    [10: 50:57] copy of the common javascript files...

    [10: 51:02] deployment of counting files...

    [10: 51:02] copy of the application image files...

    [10: 51:02] copy of the ADF Mobile configuration files...

    [10: 51:02] .adf files...

    [10: 51:03] copy of file security related to the application of the Mobile ADF framework...

    [10: 51:03] Creation of preferences Android XML files...

    [10: 51:03] creating AndroidManifest.xml file...

    [10: 51:03] Creation of unsigned Android application file...

    [10: 51:31] compile the file of the Android resource identifier...

    [10: 51:33] create file classes.dex Android since the class files...

    [10: 51:33] update of Android application file not signed with content file and .adf DEX...

    [10: 51:33] Server Android Debug bridge closure...

    [10: 51:33] undeployment.

    [10: 51:33] - incomplete deployment.

    [10: 51:33] the Android Dalvik (.dex) file does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)

    Hello

    I found the answer to this error, it's like actually had reinstalled Studio Android, whereby a new directory has been created with the software, called SDK as sdk1. And in my tools-> preferences, path of the plate-shape and tools platform was given as the sdk (old directory). Now, I've updated the path in the new directory as sdk1 and it works fine.

    Best regards,

    Julien

  • Image of page template ADF JAR file not updated in existing applications

    JDeveloper 11.1.2.4.0

    We have a jar of page templates (2 models) and a company logo (png file) that is added to all of our ADF applications ViewController project.  Models include an active image that references the logo. I've updated the JAR file to include a third model of the page and update the company logo image file.

    Changes work properly when you add the POT to a new application:

    Create a new application.

    Add the JAR of update for ViewController project.

    Create the view in the workflow (all three models are available: selected new model)

    Run the built-in page Weblogic Server.

    Page appears in the browser and the new logo is displayed.

    When you try to add changes to an existing application, the new model is available, but the logo is not updated:

    Open an existing application.

    Updating of the library of the ADF in the ViewController project

    Creates a new view in the workflow (all three models are available: selected new model)

    Run the built-in page Weblogic Server.

    Page appears in the browser and the old logo is displayed.

    I need to know how to get the new logo appears on the pages of an existing application.

    Have you tried to clear the cache of the browser?

    Timo

Maybe you are looking for