ADFUtils JSFUtils in Jdev 11.1.2.3 on RedHat5.8

Hello:
I created a workspace common code as an Application added to the ADF business components and personalized. Now, I want to add the ADFUtils and the JSFUtils to this workspace of common code.

I copied ADFUtils and JSFUtils of the FOD demo app and tried to add these classes in my workspace. So, I create the class and paste the code source.

In ADFUtils, I get a not found on import:
import javax.faces.model.SelectItem

In JSFUtils, I get a not found on import:
Import javax.faces.application.Application;
Import javax.faces.application.FacesMessage;
javax.faces.component.UIComponent import.
Import javax.faces.component.UIViewPort;
Import javax.faces.context.ExternalContext;
Import javax.faces.context.FacesContext;

What I am doing wrong?

Thanks for the help.

You must add the JFS 2.0 library to your project. This lib contains the necessary classes.

Timo

Tags: Java

Similar Questions

  • ADFUtils / JSFUtils for Oracle JDeveloper 11 g 2 Cookbook

    Hi all

    You might have heard and read very probably yet another great book on Oracle ADF and JDeveloper. Now a days I busy to read her recipes.

    The author questions download the latest version of FOD here for classes ADFUtils and JSFUtils , located in the SupplierModule\ViewController\src\oracle\fodemo\supplier\view\utils directory level. I downloaded the latest project FOD and extract the files, but there is not SupplierModule within the project. I tried the project and got these loacted files to the StorefrontUI directory and these classes added to the recipe.

    I thought that the recipe is made... but it is not the case...

    While practitioners using a framework of actions to support generic bean recipe, the code contains a call to ADFUtils.hasChanges () is in error and it seems that either I'm using the wrong version of the ADFUtils/JSFUtils or downloaded the wrong FOD project where no SupplierModule is present.

    I'm stuck now and can not continue...

    Anyone with ADFUtils/JSFUtils with all methods used throughout the book?
    ...
    Or a link to the right project FOD
    ...
    Please help and it will be highly appreciated.

    Thank you
    Best regards
    Bilal

    Hi Bilal,

    Firstly thank you for your good comments on the book :)

    Now regarding the problem you are experiencing: hasChanges() is not part of the ADFUtils comes with the merger of the order (FOD) demo. This is a helper method that is implemented in the recipe ' * determine if the current transaction pending changes * "in Chapter 8: does not save Bakery: bean recipes. As I mentioned in the recipe by using ADFUtils/JSFUtils : "+ utility classes ADFUtils and JSFUtils, at the time of writing, are not part of any official release of JDeveloper.» "You will have to locate them, configure them and develop if necessary for your project. Thus, throughout the book, I expanded ADFUtils by adding a number of new helper methods that the book was evolving. Given that the code of the book progresses gradually from Chapter 1 to Chapter 12, you will find the full code in the last recipe (recipe 5) of Chapter 12. If you open the SharedComponents workspace for this recipe, you will find the ADFUtils as it has evolved throughout the writing of the book. For your convenience, I am also reprint hasChanges() utility method below:

        /**
         * Recipe: Determining whether the current transaction has pending changes.
         *
         * Determines whether there are changes done to the current record.
         *
         * @return true/false whether there are uncommited changes.
         */
        public static boolean hasChanges() {
            // check for dirty transaction in both the model and the controller.
            return isBCTransactionDirty() || isControllerTransactionDirty();
        }
    
        /**
         * Recipe: Determining whether the current transaction has pending changes.
         *
         * @return true/false whether there are pending changes in the BC.
         */
        public static boolean isBCTransactionDirty() {
            // get application module and check for dirty transaction
            ApplicationModule am = ADFUtils.getDCBindingContainer().getDataControl().getApplicationModule();
            return am.getTransaction().isDirty();
        }
    
        /**
         * Recipe: Determining whether the current transaction has pending changes.
         *
         * @return true/false whether there are pending changes in the controller.
         */
        public static boolean isControllerTransactionDirty() {
            // get data control and check for dirty transaction
            BindingContext bc = BindingContext.getCurrent();
            String currentDataControlFrame = bc.getCurrentDataControlFrame();
            return bc.findDataControlFrame(currentDataControlFrame).isTransactionDirty();
        }
    

    While working on the recipe by using a generic support bean context action hasChanges() method can simply be added to the ADFUtils and just return true, i.e.:

        public static boolean hasChanges() {
            // for now return true; see recipe "Determining whether the current transaction has pending changes" for more info
            return true;
        }
    

    Then, when you get to Chapter 8 and read the recipe to determine if the current transaction has changes pending , you can update hasChanges().

    Hope this helps you continue with your "cooking" ;)

    Nick

  • on ADFUtils / JSFUtils

    In my project, I use an ADFUtils / JSFUtils classes to get the modules of the application, display items and borrowed with links but this classes have two problems:

    1. it is not in the JDeveloper class library.
    2. it's use a ValueBindings that are deprecated.

    Is there some way to get application module, view object and connect to the bindings without using this course?

    Thank you..

    Sameh Shokry

    Sorry for my short previous reaction:

    Call the getAm() will get the appmodule for you

    EmpDeptServiceImpl am = getAm();

    Here's the code for getAm().
    private EmpDeptServiceImpl {} getAm()
    FacesContext CF = getFacesContext();
    Application app = fc.getApplication ();
    ExpressionFactory elFactory = app.getExpressionFactory ();
    ELContext elContext = fc.getELContext ();
    ValueExpression valueExp =
    elFactory.createValueExpression (elContext, "#{data.") EmpDeptServiceDataControl.dataProvider} «»
    Object.Class);
    return (EmpDeptServiceImpl) valueExp.getValue (elContext);
    }

    From there, you can call am.get

    Hope this helps

    Luke

  • Latest Version of ADFUtils, FacesUtils, JSFUtils for Jdev 11.1.2

    Hello:

    Is there an official or newer ADFUtils, FacesUtils and JSFUtils version? If so where can I download the source from? The versions that I have depricated methods...

    Thank you.

    chk this
    http://www.Oracle.com/technetwork/developer-tools/jdev/index-095536.html

    you will get later in the file zip here

  • Importer ADF libraries - reuse and conflicts?

    JDeveloper 12.1.2

    I am designing applications for re-use and want to be sure that I won't put my apps during the conflict.  So far, I've created:

    1. an application from adfUtils called xxxADFUtils.  It has all the usual suspects in the Java code (you guessed it, ADFUtils, JSFUtils and a number of code java House that I use frequently).

    2. a model

    3. the demand for labor

    4. an application with a taskflow to be used as a region within the main application.  This application is the xxxADFUtils library since it requires the common code.

    Of the main Application, I now add request 4 - the workflow.  I noticed that I am now able to reference the xxxADFUtils.

    Later, I intend to add another application that will reference the xxxADFUtils.  

    My question is this.  If I import the xxxADFUtils (code share) in the model, the main application and all other applications that contain workflows - will there be a conflict?

    You can add imported libraries if necessary or should pay you close attention to their implementation to avoid conflicts, as you do with the file naming conventions.

    Thank you

    Stuart

    It should not be conflicts. The library will only be in the final artifact once. Taskflows who use the library even have no problem, as long as the library is the same version (has the same methods with the same signature).

    Timo

  • 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

  • Where can I find AnalyticsUtil for call display page events

    Hi all

    I have a Webcenter Portal Application and I'm trying to integrate the analytical Service to count the number of page views. I've installed the Analytics collector and tried to setup the connection to ActivitiesDS via JDeveloper.I am following the steps in the below document:

    http://docs.Oracle.com/CD/E23943_01/WebCenter.1111/e10148/jpsdg_analytics.htm#BABEHEHC

    I'm stuck at the 47.2.3.1.As mentioned in the section section I added the javascript code on the page but I don't know exactly where to find the AnalyticsUtil as stated in the document that will actually send the event page. I suppose he's a util similar to ADFUtils, JSFUtils etc. Any help appreciated.

    Thank you

    Swathi Jonathan

    Required import location is-

    Import oracle.webcenter.framework.service.AnalyticsUtil;

    If it is found, and then add the required library.

    Kind regards
    Hoque

  • ADFUtils and JSFUtil do not compile

    Hi, I'm looking to take advantage of these two files in my project, so I copied these two sample window and rename the package name and add in my application. I use 11.1.1.5

    However, when I deploy my application on weblogic, the compiler throws a series of compilation errors, such as:

    Package javax.faces.application does not exist
    Package javax.faces.component does not exist
    Package javax.faces.context does not exist
    There is no package FacesMessage
    Cannot find FacesContext class
    Cannot find UIComponent.
    etc.

    Of course, I missed somethings in my application. What should I do to be able to use these utility files?

    Thank you

    In the project properties > "Libraries and Classpath", what are the libraries that are currently added?

    Thank you
    Nini

  • JSFUtils for the declarative component

    Hello;

    I use jdev 11.1.1.6

    I have

    < af:declarativeComponent viewId = "declarative.jsff" id = "dc_1" > "

    < / af:declarativeComponent >

    In declarative.jsff

    < af:inputText id = "findThis" label = "Label 1"value ="#{var.something}" immediate = "true" autoSubmit = "true" / >

    Back bean

    {} public void check()

    UIComponent component = JSFUtils.findComponentInRoot ("dc_1");

    System.out.println ("component is:"composant); [output is RichDynamicDeclarativeComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@3035a4, id = dc_1]

    UIComponent component1 = component.findComponent("findThis");

    System.out.println ("component is:"component1); output is set to null

    }

    Looking at your declarative.jsff - does not need tags?

    Is that what you want to do with the component once you have? There could be a better way that manipulates it in Java.

    The method that I was referring to would include creating a bean:

    public class DeclarativeBackingBean {
    
      RichInputText inputTextComponent;
    
      public void check() {
        System.out.println("component is " + inputTextComponent);
      }
    
      public void setInputTextComponent(RichInputText inputTextComponent) {
        this.inputTextComponent = inputTextComponent;
      }
    
      public RichInputText getInputTextComponent() {
        return inputTextComponent;
      }
    }
    

    Add to your workflow as a bean managed in extensive backup of bean.

    In the binding of your text entry property, then refers to it. that is add

    Binding = "#{backingBeanScope.DeclarativeBackingBean.inputTextComponent} '"

    for the af:inputText tag.

    You can then refer to the inputTextComponent variable in your code and it is filled in.

  • JSFUtils.java where?

    where is the code for jsfutils.java?
    AdfBoy

    DDI you try google? Cause, he said - you could get the essential JSFUtils for JDeveloper demo application - the demo of the showcase (Fusion order Demo) from this link: http://www.oracle.com/technology/products/jdev/samples/fod/index.html.

  • JDev 12.1.3: Aliases used in of query and ViewCriteria ViewObject there ARE criteria do not match

    JDEV: 12.1.3

    Java (TM) Platform 1.7.0_51

    Oracle IDE 12.1.3.0.41.140521.1008

    I get the error, explained in the below link (Bug #20419037)

    https://Java.NET/jira/browse/ADFEMG-261

    It seems that this bug has been resolved.

    How can I get the correction of this problem to the 12.1.3 JDev Summit.

    Could you please let me know.

    Thank you

    Vishnu Gillella

    It's as told in https://java.net/jira/browse/ADFEMG-261

    You must file an SR with support.oracle.com and request a patch for the mentioned bug number. Then you download the patch from Oracle.

    Nobody on this forum can provide the patch (even it it was) because he did not share the work.

    Only other way for you is to test workaround or use 12.2.1.

    Timo

  • How can I delete queries by icon example in JDev 12.1.3.0?

    How can I delete queries by example this icon in the collection of panels in JDev 12.1.3.0?

    Thank you

    AR

    As far as I KNOW, it is not possible

  • Error when running a page in J Developer - java.io.IOException: C:\JDeveloper10g\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml

    Hello

    In J Developer a strange error happens when I try to run any page yesterday.

    I don't know what happened and how do I fix this

    Can someone please help me what to do?

    Screenshot below shows the dialog box when opening the developer J (10.1.3.3)

    Capture.PNG

    Here is the error when running a page,

    java.io.IOException: C:\JDeveloper10g\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml

    at oracle.jdeveloper.xml.DomIO.loadImpl(DomIO.java:128)

    at oracle.jdeveloper.xml.URLDomIO.load(URLDomIO.java:21)

    at oracle.jdeveloper.xml.BindingIO.load(BindingIO.java:43)

    at oracle.jdeveloper.xml.BindingIO.load(BindingIO.java:37)

    at oracle.jdeveloper.xml.oc4j.Oc4jConfigAdmin.getServerConf(Oc4jConfigAdmin.java:227)

    at oracle.jdeveloper.xml.oc4j.Oc4jConfigAdmin.getRmiServerURL(Oc4jConfigAdmin.java:978)

    at oracle.jdeveloper.xml.oc4j.Oc4jConfigAdmin.getRmiServer(Oc4jConfigAdmin.java:1002)

    at oracle.jdevimpl.runner.oc4j.Oc4jZombieUtil.okToProceed(Oc4jZombieUtil.java:38)

    at oracle.jdevimpl.runner.oc4j.Oc4jStarter.preStart(Oc4jStarter.java:614)

    at oracle.jdevimpl.runner.oc4j.Oc4jStarter.start(Oc4jStarter.java:269)

    at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:830)

    at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:473)

    at oracle.jdevimpl.runner.run.RunningProcess.startTarget(RunningProcess.java:76)

    to oracle.ide.runner.RunProcess$ $2 1.run(RunProcess.java:768)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Caused by: oracle.xml.parser.v2.XMLParseException: start of the element root waited.

    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)

    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)

    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)

    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:292)

    at oracle.jdeveloper.xml.DomIO.loadImpl(DomIO.java:115)

    ... more than 20

    java.io.IOException: C:\JDeveloper10g\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml

    at oracle.jdeveloper.xml.DomIO.loadImpl(DomIO.java:128)

    at oracle.jdeveloper.xml.URLDomIO.load(URLDomIO.java:21)

    at oracle.jdeveloper.xml.BindingIO.load(BindingIO.java:43)

    at oracle.jdeveloper.xml.BindingIO.load(BindingIO.java:37)

    at oracle.jdeveloper.xml.oc4j.Oc4jConfigAdmin.getServerConf(Oc4jConfigAdmin.java:227)

    at oracle.jdeveloper.xml.oc4j.Oc4jConfigAdmin.getHttpWebSiteConf(Oc4jConfigAdmin.java:359)

    at oracle.jdeveloper.xml.oc4j.Oc4jConfigAdmin.getHttpPort(Oc4jConfigAdmin.java:1125)

    at oracle.jdevimpl.runner.oc4j.Oc4jPortConflictUtil.acquirePorts(Oc4jPortConflictUtil.java:58)

    at oracle.jdevimpl.runner.oc4j.Oc4jStarter.preStart(Oc4jStarter.java:622)

    at oracle.jdevimpl.runner.oc4j.Oc4jStarter.start(Oc4jStarter.java:269)

    at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:830)

    at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:473)

    at oracle.jdevimpl.runner.run.RunningProcess.startTarget(RunningProcess.java:76)

    to oracle.ide.runner.RunProcess$ $2 1.run(RunProcess.java:768)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Caused by: oracle.xml.parser.v2.XMLParseException: start of the element root waited.

    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)

    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)

    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)

    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:292)

    at oracle.jdeveloper.xml.DomIO.loadImpl(DomIO.java:115)

    ... more than 20

    I guess BC4J Server is not running.

    Please help me.

    Had to extract the patch again and run the new developer,

    Old data of projects migrated to this new folder, then it is running

  • Impossible to install JDEV 12.1.3 on Mac

    The installation goes very well on mac Yosemite 10.10.5

    but at the launch of the jdev he throws more excetiopn

    Warning - could not install some modules:

    Profiler Java (common) - none of the modules providing the org.netbeans.lib.profiler.common.Profiler capacity could be installed.

    Actions - the module named oracle.ide bridge was needed and not found.

    Cache - module named oracle.ide extensions was needed and not found.

    JDeveloper/NetBeans bridge - module named oracle.ide was needed and not found.

    GUI Builder to JDev - module named oracle.ide.library was needed and not found.

    GUI Builder to JDev - module named oracle.javamodel_rt was needed and not found.

    GUI Builder to JDev - module named oracle.javatools_nodeps was needed and not found.

    GUI Builder to JDev - module named oracle.ide was needed and not found.

    GUI Builder to JDev - module named oracle.jdeveloper.java.core was needed and not found.

    JDev projects via NB API - module named oracle.ide.library was needed and not found.

    JDev projects via NB API - module named oracle.javatools_nodeps was needed and not found.

    JDev projects via NB API - module named oracle.ide was needed and not found.

    Profiler Impl - module named oracle.jdeveloper.runner was needed and not found.

    Profiler Impl - module named oracle.ide.library was needed and not found.

    Profiler Impl - module named oracle.javamodel_rt was needed and not found.

    Profiler Impl - module named oracle.ide.runner was needed and not found.

    Profiler Impl - module named oracle.javatools_nodeps was needed and not found.

    Profiler Impl - module named oracle.ide was needed and not found.

    Profiler Impl - module named oracle.jdeveloper.java.core was needed and not found.

    Master + URL FileSystem - module named oracle.ide was needed and not found.

    5 additional modules could not be installed because of the above problems.

    Please notify

    found the problem, it is with the help of java 1.8 1.7 rather

  • [JDev 12.2.1, GlassFish 4.1] Migrated JDev 12.1.3 app amounts to org.apache.catalina.LifecycleException when deployed on GlassFish 4.1

    Hallo,

    I migrated my 12.1.3 application ADF Essentials (until now deployed on GlassFish 3.1) to JDeveloper 12.2.1.

    The migrated application is successfully deployed on the WLS internal JDev 12.2.1.

    I have also installed and configured GlassFish 4.1, but when I try to deploy the application migrated on it I get this error:

    Error occurred during deployment: Exception when loading the application: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: could not find relief for javax.faces.context.FacesContextFactory of the factory. . Please see server.log for more details.

    Below, I copied the lower part of the ball.

    If you kindly could help solve this problem?

    Thank you

    Federico

    [2015 12-14 T 19: 49:35.432 + 0100] [glassfish 4.1] [SERIOUS] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID = 44 _ThreadName = admin-listener (1)] [timeMillis: 1450118975432] [levelValue: 1000] []

    An exception occurred while processing life cycle

    java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: could not find relief for javax.faces.context.FacesContextFactory of the factory.

    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)

    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)

    at org.glassfish.internal.data.ModuleInfo.start (ModuleInfo.java:291)

    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:539)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:535)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs(Subject.java:360)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 2.execute(CommandRunnerImpl.java:534)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:565)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:557)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs(Subject.java:360)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1300 (CommandRunnerImpl.java:109)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1846)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1722)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275)

    at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:133)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:497)

    to org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$ 1.invoke(ResourceMethodInvocationHandlerFactory.java:81)

    to org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$ 1.run(AbstractJavaResourceMethodDispatcher.java:144)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)

    to org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ ResponseOutInvoker.doDispatch (JavaResourceMethodDispatcherProvider.java:160)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)

    to org.glassfish.jersey.server.ServerRuntime$ 2.run(ServerRuntime.java:309)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:271)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:267)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:315)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:297)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:267)

    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)

    at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292)

    at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1139)

    at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:375)

    to org.glassfish.admin.rest.adapter.RestAdapter$ 2.service(RestAdapter.java:316)

    at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ HttpHandlerCallable.call (ContainerMapper.java:459)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)

    at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)

    at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)

    at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)

    to org.glassfish.grizzly.filterchain.ExecutorResolver$ 9.execute(ExecutorResolver.java:119)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)

    at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)

    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)

    at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)

    at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)

    in org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$ 100 (WorkerThreadIOStrategy.java:56)

    to org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:591)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:571)

    at java.lang.Thread.run(Thread.java:745)

    ]]

    [2015 12-14 T 19: 49:35.432 + 0100] [glassfish 4.1] [SERIOUS] [] [javax.enterprise.system.core] [tid: _ThreadID = 44 _ThreadName = admin-listener (1)] [timeMillis: 1450118975432] [levelValue: 1000] []

    An exception occurred while loading the application]]

    [2015 12-14 T 19: 49:35.433 + 0100] [glassfish 4.1] [SERIOUS] [AS-WEB-GLUE-00192] [javax.enterprise.web] [tid: _ThreadID = 44 _ThreadName = admin-listener (1)] [timeMillis: 1450118975433] [levelValue: 1000] []

    Undeployment failed for the context /MyWebApp]]

    [2015 12-14 T 19: 49:35.459 + 0100] [glassfish 4.1] [SERIOUS] [] [javax.enterprise.system.core] [tid: _ThreadID = 44 _ThreadName = admin-listener (1)] [timeMillis: 1450118975459] [levelValue: 1000] []

    Exception when loading the application: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: could not find relief for javax.faces.context.FacesContextFactory of the factory. ]]

    [2015 12-14 T 19: 49:35.616 + 0100] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID = 45 _ThreadName = admin-listener (2)] [timeMillis: 1450118975616] [levelValue: 800] []

    Exception occurred: error occurred during deployment: Exception when loading the application: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: could not find relief for javax.faces.context.FacesContextFactory of the factory. . Please see server.log for more details.   ]]

    You have validated the content of the file web.xml instead of faces-config. XML

    Try to return to faces-config. XML to 2.1.

    Also, check if useBundledJsf = false will make a difference.

    If nothing else helps, try to remove the extra libs (one by one)

    Dario

Maybe you are looking for

  • Satellite P30 will not start, but shows the power on LED and fans work

    I work on a P30, radiator cleaned, the basic form of new fine thermal compounds, worked for a few hours, then turned it off and move the power LED lights, fans, cd rom works, but it is she, no display, no boot, nothing. Any ideas on how to solve this

  • How can I add another entry to a subsystem of control and simulation?

    I tried to add manually by dragging the wire in the subsystem, but it does not connect. See attached photo for clarification of the situation.

  • Power delay

    I want to turn a fan on when the temperature of my house is higher than 40 c and then turn off the fan when the temperature of the Assembly is less than 35 ° C.  If the temperature is between 35 and 40 C, the fan will be on or off if the temperature

  • everything I try and tells me that I have not assicated file with the program and it is not true, what should I do?

    IF I TRY AND OPEN, VIEW, DELETE, DOWNLOAD, WHATEVER. I GET A MSG OF ERROR THAT SAYS THAT THE FILE IS NOT AN ASSOCIATION TO PERFORM THE TASK AND TO SET FILE ASSOCIATIONS IN THE PANEL.  \THIS IS NOT TRUE  AND EVERYTHING?  I CAN'T DO A SYSTEM RESTORE YE

  • Cannot install AVG

    I had AVG (free or basic, can't remember) and a number of months ago decided to download the new version for free. The statement is to uninstall the latest version. Then I went to the list of programs and remove all references in there to AVG, includ