Are Libraries Required?

I am using Jdeveloper 11.1.2.2
Using the application provided in the article by Frank Nimphius, Security For everyone, I extracted the LoginBean.java and the HomeManagedBean.java and the login section of the home.jsf.
I added this to a new application containing just a view controller, which I packaged and will be able to use in multiple applications. (Thank you Frank).
I created a template and placed the login section of code in this. Created new java files with the same names, and then placed the appropriate code in the files.
The files did not compile. I opened the View Controller project properties and added the libraries:
ADF Model Runtime
Weblogic 10.3 Remote Client
Now the java files compiled. I packaged the project into a jar (providing unique names for all files etc) named ssfTemplate.jar
I Created a new application. Added the ssfTemplate.jar to the resource palette as a file system connection. Created a new application with jsf pages, taskflows and security and was able to login just fine.
HOWEVER, Here is my question:
In Frank Nimphius's Book Oracle Fusion Developer guide (I highly recommend it) On page 469 at the bottom in the gray area of it states:
If an ADF Library JAR requires additional dependent JAR files to be around at runtime, these need to be added separately to the web project that consumes the ADF library JAR
SO,  Do I need to add the ADF Model Runtime and Weblogic 10.3 Remote Client, since I needed to on the template when I created it????
Thank you very much for any insight!!!
Stuart

dvohra16,
Thank you for your quick reply! I will look into that....I believe there may be a few things going on here -- because when I deploy to a stand-alone weblogic server that I have created for testing purposes, I get this error
I also get this error if I move the application from one directory on my computer to another directory!_
Even though the View Controller Library contains the ADF Library (which contains a reference to the jar!!!).
If I open up the JSF, then the xml referencing the template is there, but there are errors concerning the reference. Very Interesting.
I tried one more thing. I placed my application into subversion, closed it, then checked it out. Same problem!
Hope there is an answer for this one. Kind of hijacked my own posting on this one.... so I decided to add another posting Issue with Packaged Jars added to project from resource Palette
I also made a youtube video to show the error and some troubleshooting I had to perform. http://youtu.be/ERyLngq9hlI
Error 500--Internal Server Error
java.io.FileNotFoundException: /WEB-INF/ssfTemplate/SSFTemplate.jsf Not Found in ExternalContext as a Resource
     at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:224)
     at com.sun.faces.facelets.impl.DefaultFacelet.getRelativePath(DefaultFacelet.java:276)
     at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:344)
     at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
     at oracle.adfinternal.view.faces.facelets.rich.IncludeHandler.applyNextHandler(IncludeHandler.java:77)
     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
     at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
     at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
     at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
     at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
     at oracle.adfinternal.view.faces.facelets.rich.RichDocumentHandler.applyNextHandler(RichDocumentHandler.java:68)
     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
     at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
     at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:186)
     at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
     at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
     at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:82)
     at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
     at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:744)
     at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:341)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:987)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:339)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
     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:300)
     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:173)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
     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.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Edited by: Stuart Fleming on Nov 18, 2012 10:18 AM

Similar Messages

  • How to determine which Visual C++ Redistributables are really required?

    A client's PC came with a whole load of unwanted Desktop-Applications pre-installed, which were consequently removed. Unfortunately, there are still various generations of Visual C++ runtimes to be found on the system. - Is there a reliable way
    to determine which of those are still needed after cleaning up those unwanted apps?
    ________________ drahnier

    Hi,
    Let's take Microsoft Visual C++2010 Redistributable Package as example:
    The Microsoft Visual C++ 2010 Redistributable Package installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2010 installed.
    This package installs runtime components of C Runtime (CRT), Standard C++, ATL, MFC, OpenMP and MSDIA libraries.
    While, I don't think there any reliable way to determine which of those package still needed after removed them.
    In my opinion, these package doesn't occupy too much space, why not keep them in case an application that need them.
    Roger Lu
    TechNet Community Support

  • Which packages are not required?

    Hi Friends,
    Initially, I was trying to install arch by just installing base and then going ahead, but was unable to get X. Then, I installed base+X11+X11 libs+ X11 something (dont remember..) and after a lot of trouble, finally got XFCE installed and running (though still problems with fontsand have posted another query in desktop environment section). I have noticed that in doing so, I have installed a lot of things that are not required for my system, like xf86-input-bla bla and xf86-vide-bla bla, I know that only a few of them are required, but i'm afraid of uninstalling anything given that could break the system.
    So, is there a way to determine which packages are being used by my system and which are required so that I can free up some space and make my box more slim.
    Please post your opinions. Thanks in advance.
    Ravi S Ghosh

    FUBAR wrote:
    [22:30:01|foo@bar:~] $ pacman -Q --help
    usage: pacman {-Q --query} [options] [package]
    options:
    -e, --orphans list all packages that were explicitly installed
    and are not required by any other packages
    o_O
    There are two notions of "orphan". As it is meant in the orphan script, a package is an orphan iff it is not needed in a working system. This is an intrinsically vague target, which can be focussed only through a partial heuristics.
    In the sense of the -Qe pacman option, an app is an orphan iff it is not a dependency of another package. In this sense, many vital apps -- explicitly installed -- in a system are orphans.
    However, it is true that pacman -Qe allows to have a list of the top-level apps (the stuff you know what it is, without the libraries etc.). If you identify in the list of pacman orphans the apps you do not need and then remove them with 'pacman -Rsc', you clean your system pretty well.
    However, you should be careful, many problems can be foreseen when you do not know what it is the package you are removing.

  • T/F: iPhone users are not required to pay $15/month extra for Good Technology

    I have a personal Droid RAZR M.  You may wonder why I am posting in the iPhone forum but you are about to find out.
    I have access to corporate e-mail via Good Technology.  When I got this service set up at the same time I acquired the phone, I was required to upgrade from a $30/month 2GB plan to a $45/month 2GB plan just to have this access ("needed for access to company servers").  That was a surprise but I got over it.  However, since then, I have come to learn the following:
    1.  It appears that other than VZW, no other carriers are charging users extra for access to Good Technology.
    2.  Based on a colleague's information from a Good Technology support engineer and a office mate who is using a VZW iPhone, VZW iPhone users are *not* *required* to move to an Enterprise plan aren't paying an extra $15/month.  If one searches the Internet, I am not the only one asking about this.
    If you are using a Verizon Wireless iPhone and have Good Technology on your phone, would you let me know if were *required* to upgrade your data plan and pay extra just for using Good Technology?
    Thanks,
    Techvet

    I need to check some information at work about this, since they have some guidance on how their employees can connect to their corporate email with android and iphone devices.

  • What are the required settings for Quality Certificate

    Hi Team
    What are the required settings for Quality Certificate for Raw material from vendor. This is my RR - Result Recording  for inspection lot.
    Please sugget me T-Code to view this.
    Can I see say for 6-9 months RR done insp. lot.
    Thanks

    Settings for Quality Certificate for Raw material from vendor,
    Activate QM Procurement key, enter qm control key with certificate and Enter certificate type in certificate field.
    There are 2 cases,
    u want details of certificate send by vendor
    u want to record results and see inspection lot wise results.
    case1
    depending upon the certificate selected by u, system will give u warning or error msg for certificate confirmation at the time of gr. for confirmation QC51 t_code is used. here status has to be changed to 'filed and inspected' then gr will be allowed.
    all these certificates can be dispalyed in QC55 T_CODE.
    CASE2
    U can record results and see in inspection report tab in QA33
    Edited by: YOGINI B THORAT on Aug 4, 2009

  • Mapping Error: Mappings are not required for this Integrator

    Hi,
    when I created my upload integrator with the Desktop Integrator Manager (12.1.2) I am not able to attach a mapping to it. I get the following error:
    Mapping Error: Mappings are not required for this Integrator because the ability to download information has not been enabled.
    Does anyone know what I've missed?
    cheers
    Jeroen

    Hi ,
    Without creating the content if you are trying to do mapping this error will come.
    Solution:
    Create the content and then do mapping..
    Regards,
    Sreekanth.S
    Edited by: user12045904 on Dec 9, 2010 10:55 PM

  • What are the required things to do the debug?

    hi Experts,
    What are the required things to do the debug?
    thanks in advance
    sekhar

    Hi,
    There are different ways to go in debugging mode.
    One way is to go to the transaction and put /h + enter in the top blank space.
    The other way is to but a breakpoint in your program.After you execute the program,it will stop at the breakpoint and go into debugging mode.
    The thirdway is to write break-point in the code at a specific point.On execution it will stop at that point.
    A fourth way is to write break (your user id).It will stop only for you and then you can debug it.
    Hope it was useful.
    Thanks,
    Sandeep.

  • What are the required depreciation areas to post IFRS

    Hi,
    what are the required depreciation areas to post IFRS
    Thanks And Regards.
    Ramakrishna.K

    Hi,
    You should use the local rules for depreciation area 01 = local book and
    set up your group rules in another depreciation area such as 30 where you can use different GAAP.
    Regards
    Sunil
    Assign Points, if Useful

  • SQL ENTERPRISE: The edition of Reporting Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database

    The error below makes absolutely no sense! I'm using Enterprise Core...yet I'm being told I can't use remote data sources:
    w3wp!library!8!03/05/2015-19:08:48:: i INFO: Catalog SQL Server Edition = EnterpriseCore
    w3wp!library!8!03/05/2015-19:08:48:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: The feature: "The edition of Reporting
    Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.;
    Really? This totally contradicts the documentation found here:
    https://msdn.microsoft.com/en-us/library/ms157285(v=sql.110).aspx
    That article says remote connections are completely supported.
    ARGH! Why does this have to be so difficult to setup?!?

    Hi jeffoliver1000,
    According to your description, you are using Enterprise Core edition and you are prompted that you can’t use remote data sources.
    In your scenario, we neither ignore your point nor be doubt with what you say. But actually we have met the case before that even though the SQL Server engine is Enterprise but the reporting services is still standard. So I would recommend you to find the
    actual edition of reporting services you are using. You can find Reporting Services starting SKU in the Reporting Service logs ( default location: C:\Program Files\Microsoft SQL Server\<instance name>\Reporting Services\LogFiles). For more information,
    please refer to the similar thread below:
    https://social.technet.microsoft.com/Forums/en-US/f98c2f3e-1a30-4993-ab41-acbc5014f92e/data-driven-subscription-button-not-displayed?forum=sqlreportingservices
    By the way, have you installed the other SQL Server edition before?
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • The feature: "The edition of Reporting Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.

    Hello all,
    I have SQL express 2014 advance edition installed ..
    and i am connecting SQl server 2008 r2 instance which is in network 
    while creating datasource in Reportserver which has Express installed ..
    got this error ..
    please help me how to connect to remote server
    Dilip Patil..

    Error message says it all.
    With SQL Express, Data source should be local SQL DB.
    With SQL Enterprise, Standard, BI edition, you can create Data soruce which are hosted on other servers.
    Please refer similar thread:
    https://social.msdn.microsoft.com/Forums/en-US/c0468e3f-bad7-47a7-a695-75c13762280a/the-feature-the-edition-of-reporting-services-that-you-are-using-requires-that-you-use-local-sql?forum=sqlreportingservices
    Cheers,
    Vaibhav Chaudhari
    [MCTS],
    [MCP]

  • How do I change system settings so that users are not required to enter the mac's admin pw in order to join a wifi network?

    how do I change system settings so that users are not required to enter the mac's admin pw in order to join a wifi network?
    Right now my macbook pro requires an admin password before connecting to a new wifi network. In other words when a user that is not an admin tries to connect to a new wifi network the pop up displays indicating that it is locked and an admin password is required.
    Is there a way to remove this restriction so that a non admin can connect to wifi without the mac's admin password.

    You can enable / disable this option in System Preferences:
    System Preferences > Network > Wi-Fi > Advanced > Wi-Fi tab > Require administrator authorization to: Change networks

  • HTTP and RFC Adapter are not Required Sender

    Hi All,
    I have one dought....
    Why Plain HTTP and RFC Adapter are not Required Sender Communication Channel and Sender Agreements...
    I Know this two Adapter are in ABAP Stack....
    Please clarify my dought...
    Regards

    Idoc Adapters do NOT require Sender Communication Channel.
    The Sender System identifies itself at the Integration Server, with the fields SNDPOR and Client of the Control Record.
    Sender Communication channels are used for communication betweeen the Application System and the Integration Server.
    In the case of Idocs, all idocs are tranferred to the Integration Server pipeline and NOT to the regular EDI/IDOC interface.
    The RECEVIER DETERMINATION is based on the values in the Control Record.
    If you are doing ALE, then you have to maintain the idoc types which are NOT to be transferred to the Integration server by executing report IDX_SELECT_IDOCTYP_WITHOUT_IS.
    By maintaining the Idoc Types using this report, only these idoc types are sent to the regular EDI/IDOC interface.

  • Which are the required roles/privs for viewing all scheduler jobs in OEM?

    Platform: Oracle 11.1.0.6 Enterprise Edition (64) Windows 2008 R2 Server
    - I've created a new Admin user in "OEM>Setup>Adminstrators>Create"
    - I checked the user in "OEM>Server>Users":
    CREATE USER "SA_ADMIN"
    PROFILE "DEFAULT"
    INDENTIFIED BY "saadminsa"
    DEFAULT TABLESPACE "SYSAUX"
    TEMPORARY TABLESPACE "TEMP"
    ACCOUNT UNLOCK;
    GRANT SELECT ANY DICTIONARY TO "SA_ADMIN";
    GRANT "MGMT_USER" TO "SA_ADMIN"
    - "SA_ADMIN" was granted only the permissions above.
    - I can log in OEM as "SA_ADMIN"
    - I can see OEM backup jobs and the history
    - But I cannot see any "scheduler" jobs in "OEM>Server>Jobs"
    - I get a lists of the jobs in "OEM>Scheduler Central" but I cannot display any more information of "scheduler jobs"
    - I logged off from OEM
    - I granted SCHEDULER_ADMIN role to "SA_ADMIN"
    GRANT SCHEDULER_ADMIN TO "SA_ADMIN";
    - I logged back in OEM as "SA_ADMIN
    - I can now see some scheduler jobs, but not all of the jobs, I still cannot see any of the new jobs I created logged in OEM as SYS.
    Which are the required roles/privs for viewing all scheduler jobs in OEM?

    if you grant "SYSDBA" to the new Admin user then you can see the "scheduler" jobs.
    GRANT SYSDBA TO "SA_ADMIN";
    I wanted to grant "read" access in OEM for the new user.
    This behaviour is strange.
    Without the "SYSDBA" role the new user can see the OEM backup jobs that were create in as SYS, but it cannot see the "scheduler" jobs.

  • How to Show All Packages, That are not required by any other package

    I need a way to see al the installed packages thar are not required by any other package
    Thanks in advance ...

    You probably want pacman -Qt or pacman -Qdt
    Check out man pacman.

  • What are the requirements for Dreamweaver?

    What are the requirements for Dreamweaver? The link is broken

    http://www.adobe.com/products/dreamweaver/tech-specs.html
    Works for me...
    Mylenium

Maybe you are looking for

  • PL/SQl Libary not working

    Hi, I am trying to create a report that uses an Attached Library which contains a dynamic SQL statement. 1. The formula that calls the library is as follows: Return Calculation('Sales.MTH_Sales', :Month); 2. The Library looks as follows: Function Cal

  • Do I need a separate iPhone for development?

    Hello fellow developers, I'm excited that I'm finally accepted to the dev program so I can test my app on my iPhone. Before I start testing, I have a couple of questions though. Do I need a dedicated iPhone device for the development? or is it possib

  • PO not showing IR value

    Hello Experts I have a issue where "PO shows IR of 5k where as the PDC 235 is being charged with 48k. user cannot trace invoice that totals 48k, he can account for only 5k. can you advice why PDC 235 was charged when he don't see any service delivery

  • Collaboration tools

    We are running EP6 SP2 patch 3. If I select the details option for a document in the portal KM repository, then the resultant pop-up window includes a Collaboration menu item that allows me to give feedback or write a review. When I do the same for a

  • Find a class under Jar file

    Hi all, If I want to find out a class resides under what jar file, under Linux, I use this command: for i in $(find -name \*.jar) ; do if jar tf $i | grep �q className.class ; then echo $i ; fi ; done Does anybody know how can I do this under Windows