This discussion is archived
13 Replies Latest reply: Apr 23, 2013 8:09 AM by 996913 RSS

How to identify the Exploded EAR name from the UI

996913 Newbie
Currently Being Moderated
Hi,

I need to do a customization in a page, "Manage Employment" (of 'Human Resources' product family)using Jdeveloper. Is there a way to find the corresponding EAR file from the UI.

When I searched in the UNIX box (under /xx/oracle/fapp/products/fusionapps/applications/hcm/deploy) I can see Ext*.jar file in the following EAR directories.

[ora@xxxxxxxxx deploy]$ find . -name Ext*.jar
./EarHcmCore.ear/APP-INF/lib/ExtHcmCustomization.jar
./EarHcmCoreExternal.ear/APP-INF/lib/ExtHcmCustomization.jar
./EarHcmTalent.ear/APP-INF/lib/ExtHcmCustomization.jar
./EarHcmCompensation.ear/APP-INF/lib/ExtHcmCustomization.jar
./EarHcmPayroll.ear/APP-INF/lib/ExtHcmCustomization.jar
./EarHcmBenefits.ear/APP-INF/lib/ExtHcmCustomization.jar
./EarHcmCoreSetup.ear/APP-INF/lib/ExtHcmCustomization.jar

Which JAR file should I take to customize? Is the file same under different exploded EAR directories. Please let me know.

Thanks,
  • 1. Re: How to identify the Exploded EAR name from the UI
    Jani Rautiainen Journeyer
    Currently Being Moderated
    The Ext*.jar contain the classes for customization levels, not the actual objects which are located in the EAR directories. You can use the page composer to find the specific UI object you want to customize, see details in this [url https://blogs.oracle.com/fadevrel/entry/finding_code_artifacts_for_customization]blog post. The name and path of the object can then be used to find the EAR file. Can you provide the exact navigation to the UI you are interested in ?
    --
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/
  • 2. Re: How to identify the Exploded EAR name from the UI
    Jani Rautiainen Journeyer
    Currently Being Moderated
    Also do note that you would not generally customize jar files directly rather you would create a "Customization Application Workspace" based on the EAR file. For more details refer to [url http://docs.oracle.com/cd/E28271_01/fusionapps.1111/e16691/ext_jdev.htm#BABIHECB]10.2 Customizing Oracle ADF Artifacts with JDeveloper
    --
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/
  • 3. Re: How to identify the Exploded EAR name from the UI
    996913 Newbie
    Currently Being Moderated
    Thanks Jani.

    Here are the details

    Navigation
    Navigator --> Workflorce Management --> Person Management --> Search for a Person and click on the Name link

    Path of UI - /oracle/apps/hcm/integratedWorkAreas/workforce/ui/page/HcmIntWA.jspx
    Path of Region - /oracle/apps/hcm/people/core/publicUi/page/PersonName.jsff

    Please let me know how to find the the exploded EAR for this and the associated JAR file that has the ADFBC components. I do understand that we need to customize and eventually create a MAR file to deploy the customizations to the MDS.

    Thanks,
  • 4. Re: How to identify the Exploded EAR name from the UI
    Jani Rautiainen Journeyer
    Currently Being Moderated
    I think these would be in EarHcmCore. To find an EAR for a "random" file you would need to grep through the EAR archive or use a tool like [url http://docs.oracle.com/cd/E24329_01/web.1211/e24368/classloading.htm#BABHJGJJ]WLS Classloader Analysis Tool (CAT). To find the JAR file I think the easiest is through the customization archive i.e. for the "Customization Application Workspace" navigate to "Application Resources -> Connections -> Customizable Archive -> Base Application Archive" right click choose "Filter" and use the object you are interested as search criteria. Once you open the file the location will be displayed in the title.
    --
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/
  • 5. Re: How to identify the Exploded EAR name from the UI
    996913 Newbie
    Currently Being Moderated
    Thank you.

    Edited by: 993910 on Apr 21, 2013 7:27 AM
  • 6. Re: How to identify the Exploded EAR name from the UI
    Jani Rautiainen Journeyer
    Currently Being Moderated
    If issue is resolved, can you mark the question as "answered" so we can keep track which threads need responses ..
    --
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/
  • 7. Re: How to identify the Exploded EAR name from the UI
    996913 Newbie
    Currently Being Moderated
    Hi Jani,

    I moved the entire EAR directory and the Ext*.jar to my local machine and created the "Customization Application Workspace". I was able to find out the View object to be customized
    using the Filter of 'Customizable Archive' as you suggested.
    But when I try to edit the page, the Jdeveloper seems to be hanged and I get the following error in the log.
    Apr 23, 2013 12:35:52 AM oracle.javatools.buffer.ReadWriteLock traceDeadlock
    SEVERE: lock deadlock; thread 'AWT-EventQueue-0' blocked on lock 'BenefitsServic
    eCenter.jsff' for more than 20,000ms:

    "AWT-EventQueue-0" id=15, blocked, no reads, no writes, no history collected:
    at oracle.javatools.buffer.ReadWriteLock.writeLock(ReadWriteLock.java:34
    6)
    at oracle.javatools.buffer.AbstractTextBuffer.writeLock(AbstractTextBuff
    er.java:1045)
    at oracle.ide.model.TextNode$FacadeTextBuffer.writeLock(TextNode.java:13
    88)
    at oracle.mds.internal.dt.dom.MDSDomModelPlugin.acquireWriteLockDirectly
    (MDSDomModelPlugin.java:1350)
    at oracle.bali.xml.dom.impl.DomModelImpl._acquireWriteLock(DomModelImpl.
    java:1632)
    at oracle.bali.xml.dom.impl.DomModelImpl.acquireWriteLock(DomModelImpl.j
    ava:486)

    I use the below memory setting in the Jdev start command script.
    set USER_MEM_ARGS=-Xms256m -Xmx1250m -XX:MaxPermSize=1024m -XX:CompileThreshold=8000
    Also I have done the appropriate memory settings in jdev.conf and ide.conf files as suggested in the Fusion Applications Developer guide.
    Can you please help?


    Thanks,
  • 8. Re: How to identify the Exploded EAR name from the UI
    Vik Kumar Explorer
    Currently Being Moderated
    does restarting jdevelopr helps? how are you launching the jdeveloper?

    Vik
  • 9. Re: How to identify the Exploded EAR name from the UI
    996913 Newbie
    Currently Being Moderated
    Hi,

    No. I restarted the Jdev and the machine too. It did not help. I am getting the error still.

    I am using launchjdev.cmd script as mentioned in the blog

    Thanks,
  • 10. Re: How to identify the Exploded EAR name from the UI
    Jani Rautiainen Journeyer
    Currently Being Moderated
    Can you describe the detailed steps you are doing ?
    <li>Which role do you start JDeveloper with ?
    <li>Did you add the object to your project with the "Customize" context menu ?
    <li>How do you navigate to the object to be customized?
    <li>What is the customization level selected ?
    <li>What are you changing on the object ?

    --
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/
  • 11. Re: How to identify the Exploded EAR name from the UI
    996913 Newbie
    Currently Being Moderated
    I created a new application and did the changes and now I do not see the error.

    I am not sure what went wrong in the first time. The steps that I have taken is,
    1. Created the 'Customization Application Workspace' through 'Oracle Fusion Applications Developer' role
    2. Logged in using 'Oracle Fusion Applications Administrator Customization' role and Identified the jsff file by filtering the 'Base Application Archive'
    3. Added the jsff file to the library by choosing to 'Customize' it.
    4. Identified the associated VO and added that to library as well
    5. Set the Customization Layer to 'Global' and added an attribute to the VO
    6. Then I wanted to edit the .jsff to add a new column to a table. Set the Customization Layer to 'Site' and tried to add a column, then Jdev got hung and I was getting the above error.

    On another note, can you please let me know, once the mar file is deployed to the Integrated weblogic server, how to test the change, before deploying to the actual server.

    Thanks,
  • 12. Re: How to identify the Exploded EAR name from the UI
    Jani Rautiainen Journeyer
    Currently Being Moderated
    So I take it you are able to customize the region now? You can test locally by running the jspx containing the region on integrated server (you can find the jspx with the "Manage Customizations" menu, see the [url https://blogs.oracle.com/fadevrel/entry/finding_code_artifacts_for_customization]blog post for details). For system testing prior to production you can use sandboxes; see the following:
    <li>[url http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e16691/ext_lifecycle.htm#sthref14]Understanding the Customization Development Lifecycle -- Typical Design Time Workflow
    <li>[url http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e16691/ext_busobjedit.htm#BABDBDEJ]Deploying ADF Customizations and Extensions

    --
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/
  • 13. Re: How to identify the Exploded EAR name from the UI
    996913 Newbie
    Currently Being Moderated
    Thanks for the details, Jani,

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points