No message catalogs for resource javax.faces.context.FACES_IMPL_MESSAGES

Hi All,
Just out of curiosity I tried deploying the cardemo.war to JBoss 3.0.3 with its inbeded tomcat container. However when I hit index.html and follow the link I get :
No message catalogs for resource javax.faces.context.FACES_IMPL_MESSAGES
thrown. Any idears why? Is the cardemo only working with the tomcat in a standalone mode?
Jon Ridgway

I'm having the same problem. Using JBoss 3.20/tomcat 4.12.
However everything works fine when running tomcat outside of JBoss.
There is some mention in a catalina readme file located in
~$CATALINA_HOME/temp
This temp directory is used by the JVM for temporary file storage.
The JVM is configured to use this as its java.io.tmpdir in the
catalina.sh and catalina.bat scripts. Tomcat is configured to use
this temporary directory rather than its default for security reasons.
The temp directory must exist for Tomcat to work correctly.
I tried setting this JRE option in the run.sh of the JBoss/bin dir.
Without any positive results.

Similar Messages

  • ClassNotFoundException: javax.faces.context.FacesContext

    I am deploying my WebCenter Portal: Framework application from JDeveloper 11.1.1.6.0 to to a custom managed server in a 11.1.1.6.0. WebLogic domain (with latest bundle patch).
    Deployment fails with the following error:
    Stack trace for message 149004
    java.lang.ClassNotFoundException: javax.faces.context.FacesContext at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270) at java.lang.ClassLoader.loadClass(ClassLoader.java:660) at java.lang.ClassLoader.loadClass(ClassLoader.java:626) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179) at java.lang.Class.getDeclaredFieldsImpl(Native Method) at java.lang.Class.getDeclaredFields(Class.java:550) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1024) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1017) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:98) at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37) at weblogic.servlet.internal.WebAnnotationProcessorImpl.processFilters(WebAnnotationProcessorImpl.java:239) at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:210) at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105) at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1371) at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:451) at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:495) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418) at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976) at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384) at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused By: java.lang.ClassNotFoundException: javax.faces.context.FacesContext at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270) at java.lang.ClassLoader.loadClass(ClassLoader.java:660) at java.lang.ClassLoader.loadClass(ClassLoader.java:626) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179) at java.lang.Class.getDeclaredFieldsImpl(Native Method) at java.lang.Class.getDeclaredFields(Class.java:550) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1024) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1017) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:98) at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37) at weblogic.servlet.internal.WebAnnotationProcessorImpl.processFilters(WebAnnotationProcessorImpl.java:239) at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:210) at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105) at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1371) at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:451) at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:495) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418) at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976) at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384) at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    My apologies for the poor layout, it's WebLogic's server log.
    Any pointers were this may be going wrong? Why is it unable to load the Faces class? The domain was create using the template so it should have all required libraries.

    Alright, I've narrowed it down to my Customization Class. I attempted to have my customization class PortalCC in a JAR file, excluded it from the WAR file and added the JAR in the lib directory of the EAR file, as described on:
    http://docs.oracle.com/cd/E23943_01/web.1111/e16272/deploy_java_ee_app.htm#CHDGGFEB

  • Get NoClassDefFoundError: javax/faces/context/FacesContext Error at Runtime

    I'm in 11g, PS1. I have an application and I have a SelectOneChoice component that invokes a managed bean (i.e. #{queryHandler.availableFilterChoice}). It then calls my constructor public QueueHandler and within that constructor i have the following line of code:
    Application application = FacesContext.getCurrentInstance().getApplication();
    This line of code builds and compiles, but at runtime I get the following error NoClassDefFoundError: javax/faces/context/FacesContext and the application stops and fails and nothing is rendered. I have the following libraries in my project:
    JSP Runtime
    JSF 1.2
    JSTL 1.2
    ADF Page Flow Runtime
    ADF Controller Runtime
    ADF Controller Schema
    ADF Faces Runtime 11
    ADF Common Runtime
    ADF Web Runtime
    MDS Runtime
    MDS Runtime Dependencies
    Common Beanutils 1.6
    Common Logging 1.0.4
    Common Collections 3.1
    ADF DVT Faces Runtime
    ADF DVT Faces Databinding Runtime
    EJB 3.0
    JPS Designtime
    TopLink
    Oracle XML Parser V2
    Java EE 1.5 API
    Oracle JEWT
    Trinidad Runtime 11
    JSTL 1.2 Tags
    Resource Bundle Support
    Resource Bundle Variable Resolver
    Weblogic 10.3 Remote-Client
    Oracle JDBC

    I'm sorry, but I guess I don't understand what you're saying. But I'm not using the line of code below anywhere so I cannot remove it. I did try to use to use that line of code then I used the import org.apache.myfaces.trinidad.util.Service; and when I use those lines of code, I get the same exact Error.
    ExtendedRenderKitService erks = Service.getRenderKitService(FacesContext.getCurrentInstance(), ExtendedRenderKitService.class);

  • Could not find Factory: javax.faces.context.FacesContextFactory

    I'm trying to start a new JSF with facelets app from scratch using JSF 1.2.06 on Tomcat 6.0.10 but I can't even get the app to start.
    I get this when I try to start the app:
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         javax.faces.FactoryFinder.getFactory(FactoryFinder.java:263)
         javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:699)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:59)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I've seen a few contradictory pieces of advice on how to resolve but none seem very promising.
    What are the basic requirements for a JSF 1.2 application, especially regarding entries required in web.xml and faces-config.xml? I don't see this clearly documented anywhere on Sun's JSF site.
    Thanks!

    I think I found the reason for this problem.
    I should have also mentioned that my app contained a welcome page (index.jsp) that contained only a forward to my Facelet-based home page via:
    <jsp:forward page="pages/stm/StmHome.jsf" />
    My home page was named: StmHome.xhtml
    I mapped the FacesServlet to handle all requests with a *.jsf extension
    But I set the javax.faces.DEFAULT_SUFFIX context parameter to: .xhtml
    When I changed the value for the forward tag in the index.jsp to "StmHome.xhtml" the app started ok and the home page displayed without error.
    So it looks like this problem was caused by a mismatch between the value I set for the javax.faces.DEFAULT_SUFFIX context parameter and the value I set for the URL pattern in the FacesServlet mapping, correct ?
    Which brings me to my next question: should the values for the javax.faces.DEFAULT_SUFFIX and the FacesServlet URL pattern always match?
    Thanks!

  • Javax.faces.context.FacesContext not found in JDeveloper 10.1.3.2

    I tried to use javax.faces.context.FacesContext calss in my application but JDeveloper 10.1.3.2 can not find this class
    ( the same problem also in 10.1.3)
    I checked the jar file of this library (jsf-api.jar ), it is in folder [jsf-ri] in Jdev home
    why JDev. can not read this library
    please how can i solve this problem
    Waheed

    Hi,
    make sure the project you are working in is configured for JSF. Double click onto the project to open its properties and set the "Technology Scope" to JSF. This ensures that all libraries are cnfigured. This also adds aa copy of jsf-impl.jar to the Web-Inf/lib directory of your project.
    Frank

  • Over-riding the class javax.faces.context.FacesContext: SUN App Server 9.1

    The method to over ride the faces context has changed between SUN Application Server 8.2 and 9.1, as a result the instructions which were previously provided on the MyFaces wiki (http://wiki.apache.org/myfaces/Installation_and_Configuration) no longer work. What I am looking for is instructions that will allow me to use our own faces jars and not (javaee.jar) which is provided as part of the application server.
    What I need to do is to get Sun Application Server 9.1 to allow me to over ride the faces context /javax/faces/context/ with that from my local jars, in version 8.X the following steps were enough:
    Start 8.X instructions:
    1. Change the config security file so that MyFaces <http://wiki.apache.org/myfaces/MyFaces> can delete it's temporary files.
    Change permission
        java.io.FilePermission <http://wiki.apache.org/myfaces/FilePermission> "<<ALL FILES>>", "read,write";to
      java.io.FilePermission <http://wiki.apache.org/myfaces/FilePermission> "<<ALL FILES>>", "read,write,delete";2. Prevent the sun reference implementation from being used
    In your WEB-INF, create a sun-web.xml file containing
        <?xml version="1.0" encoding="UTF-8"?>
        <sun-web-app>
        <class-loader delegate="false"/>
        </sun-web-app>3. That way, myfaces classes will be loaded instead of Sun RI ones.
    And prevent MyFaces <http://wiki.apache.org/myfaces/MyFaces> from loading the Sun RI context listener
    By creating in your webapp a "fake"
    com.sun.faces.config.ConfigureListener
    <http://wiki.apache.org/myfaces/ConfigureListener> that will be loaded BEFORE the sun RI one's.
    The war file I am making available as a test case has just such a file in my case it is called fakefaces.jar
    End instructions for 8.2
    However these steps have changed for version 9.1 as following the exact same procedures does not result in the Application Server using the correct jars, the following is a test using a simple find.jsp, notice how Application Server 9.1 is still using the default jars and not the ones shipping with included as part of my testApp.
    Within the war file is a jsp called find.jsp using this I can check which jar file file is being used for any class in my case I'm interested in the the /javax/faces/context/FacesContext.class, in 9.1 it always uses teh copy from javaee.jar and never teh local copy:
    For example running: http://<ip address>:<port>/test/find.jsp?class=javax.faces.context.FacesContext
    Version 9.1 returns: file:/u01/software/Apps/SunAppServer9.1/lib/javaee.jar!/javax/faces/context/FacesContext.class
    Version 8.2 returns: file:/u01/software/Apps/SunAppServer8.2/domains/domain1/applications/j2ee-apps/TestApp/test_war/WEB-INF/lib/myfaces-api.jar!/javax/faces/context/FacesContext.class
    Hence 9.1 is still using the copy provided by SUN and not our copy.
    The code for find.jsp is:
    <%
        String className = request.getParameter("class");
        Class theClass;
        try
            theClass = Class.forName(className);
            java.net.URL url = theClass.getResource("/" + theClass.getName().replace('.', '/') + ".class");
            out.println(url.getFile());
        catch (ClassNotFoundException e)
            // TODO Auto-generated catch block
            out.println(e);
    %>-------------------------------------------------
    Any idea how to over-ride the FacesContext class in version 9.1 to allow for similar functionality as 8.X
    Thanks,
    ERIC GANDT

    Alright, I've narrowed it down to my Customization Class. I attempted to have my customization class PortalCC in a JAR file, excluded it from the WAR file and added the JAR in the lib directory of the EAR file, as described on:
    http://docs.oracle.com/cd/E23943_01/web.1111/e16272/deploy_java_ee_app.htm#CHDGGFEB

  • Can't find javax.faces.context.FacesContext

    Hi,
    I have strange problem since morning. I am using Jdeveloper 10.1.3 ADF BC
    I have been using the below code successfully. But today all of a sudden everything is pointing to the wrong import
    // 1. Access the FacesContext
    FacesContext fc = javax.faces.context.FacesContext.getCurrentInstance();
    // 2. Create value binding for the #{data} EL expression
    ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
    // 3. Evaluate the value binding, casting the result to BindingContext
    BindingContext bc = (BindingContext)vb.getValue(fc);
    // 4. Find the data control by name from the binding context
    DCDataControl dc = bc.findDataControl("AppModuleDataControl");
    For eg: FacesContext instead of fetching from javax.faces.context is getting FacesContext from com.sun.Faces
    DCIteratorBinding is going to oracle.jbo.uicli.binding.JUIteratorBinding instead of oracle.adf.model.binding even if i have imported it in the class. Should i start all over again.
    Please Help.
    Thanks in advance

    ADF BC isn't relevant here. However JSF is. What JSF component set are you using? Pure JSF components or ADF Faces?
    I suggest (or guess) what's happened is at some point you were using JSF only components, and the project was configured to use the pure JSF classes. However at some point you've brought in an ADF Faces component as well, and now its switched over to using the super ADF Faces classes instead.
    Does this make sense?
    Regards,
    CM.

  • JSF IllegalStateException:  could not find Factory: javax.faces.context....

    Dear all,
    I am trying to deploy a JSF page on the following system:
    Tomcat 5.5
    JSF 1.3
    JDK 1.5
    But keep getting the following exception:
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory (the full error is attached below).
    However, I have double checked that I have already placed all the neccessary .jar in <TOMCAT>/common/lib (e.g. jsf-api.jar, jsf-impl.jar, etc.) and also the WEB-INF/lib folder under my specific webapp (just make sure that the app should be able to retrieve it).
    I googled around and found that many people suggested to add a listener tag to the web.xml:
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    I also tried this but then I got 404.
    What could I have done wrong? Why can't Tomcat see the jsf-api.jar (which is where javax.faces.context.FacesContextFactory should be located)?
    Thanks very much in advance.
    Regards,
    Robert
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:837)
         org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
         org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
         javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
         javax.faces.webapp.FacesServlet.init(FacesServlet.java:164)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:837)
         org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
         org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
         java.lang.Thread.run(Unknown Source)

    Dear all,
    I am trying to deploy a JSF page on the following system:
    Tomcat 5.5
    JSF 1.3
    JDK 1.5
    But keep getting the following exception:
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory (the full error is attached below).
    However, I have double checked that I have already placed all the neccessary .jar in <TOMCAT>/common/lib (e.g. jsf-api.jar, jsf-impl.jar, etc.) and also the WEB-INF/lib folder under my specific webapp (just make sure that the app should be able to retrieve it).
    I googled around and found that many people suggested to add a listener tag to the web.xml:
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    I also tried this but then I got 404.
    What could I have done wrong? Why can't Tomcat see the jsf-api.jar (which is where javax.faces.context.FacesContextFactory should be located)?
    Thanks very much in advance.
    Regards,
    Robert
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:837)
         org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
         org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
         javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
         javax.faces.webapp.FacesServlet.init(FacesServlet.java:164)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:837)
         org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
         org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
         java.lang.Thread.run(Unknown Source)

  • Package javax.faces.context does not exist

    i get the following errors when trying to compile my class
    package javax.faces.context does not exist
    package javax.faces.component does not exist
    package javax.faces.validator does not existi'm really new to this and i do not know what this means
    i hope someone can help me
    this is my really simple code
    package  ourdemo;
    import javax.faces.context.*;
    import javax.faces.component.*;
    import javax.faces.validator.*;
    public class player
         String firstname;
         String lastname;   
         public void setfirstname(String a)
         { firstname=a; }
         public String getfirstname()
         { return firstname; }
         public void setlastname(String b)
         { lastname=b; }
         public String getlastname()
         { return lastname; }
         public void changeName()
         { lastname = firstname+" "+lastname; }             
    }

    Hello,
    nornaly this kind of errors happens, when the compiler isn't able to find the classes which it needs to compile your sourcecode. What you have to do is to say the compiler where it can find the sourcecodes. This means you have to put the jars into you classpath. you find the jars in the lib-directory of the jsf-directory which you downloaded. after unzipping the jsf-directory you will see it.
    if you use eclipse you go with you mouse to your workingdirectory, click with the right
    button on that directory ,choose properties then on the left you choose " java build path" and than on the right the libraries. Here you choose " add external jars" so you will have to direct to the jars. your are done.
    But if you don't use eclipse, you have to put those jars in your classpath, in the environment of windows.
    bye hamid

  • How can i  remove messages from faces context

    hi
    how can i remove messages from faces context
    with regards
    shannu sarma

    I'm also looking to find a way to remove message/s from FacesContext, and so far I've not been able to do this.
    The issues described below (if you have the patience to understand it) may uncover some JSF issues when combining different functionalities in JSF to come up with a solution.
    I have a requirement to display (let's just say error) messages in a message board. I do this in 2 steps: field-level validations are done first, and if all corrected (by the user), I do multi-field-level as well as business logic validation after model update (the way JSF seems to be designed to handle different types of validations). Let's say I have a combination of 3 combo-boxes that are dependent on one another. Selection from (1) requires dynamically filtering and setting a list for two and that in turn requires dynamically filtering and setting a list for 3, so the first two have valueChangeListener (try doing this in JSF!!!, I had to hack my way through to set this up with JSF, but that is not the issue). I have business rules associated with items within combo (1) and other entry fields entered by users (i.e. for simplicity let's just say, if material 'chain' is selected from combo 1, I should set combo (2) and (3), and validate that user entered at least four in # used entry field). Let's say I have a table with many rows of above combination of combo-boxes specified. Again for simplicity, assume we only have business rule violations (not field-level that would not go through model update):
    * User selects many combination of entried before submit (with no field-level error)
    * Business rules are checked and messages added to FacesContext and displayed in a message board
    * Next, all these messages disappear from the view when selecting any item from any combo-box (with valueChangeListeners attached to them) - 2 reasons: 1. a new FacesContext is created per valueChangeEvent 2. Business model update does not happen (so we don't generate these messages again and add them to FacesContext, it is not efficient to do so anyways)
    * we would like to display all those business logic validation messages so the user could correct them all (and not lose them by any combo-box selection)
    * As a workaround, I add these messages to session (which is another issue, since FacesMessages are not serializable) at the end of business logic validation, and retrieve and display them by (a.) forcing combo-boxes go through (field-level) validation, (b.) adding a new hidden field at the end of all fields in JSP page with a custom-validator that all it does is to get messages saved to session (from the last business logic validation) and add them to the FacesContext - this ensures that messages are not lost due to combo-box selections
    * The problem is that when user submits (to validate the business rules again), since the old Business validations messages are added to FacesContext at the end of field-level validation, I need to clear them, before adding the newly generated messages
    * But....I can't remove messages from FacesContext
    So here's a reason for this 'needed' functionality, based on whatever is available (as of JSF 1.1.01). Is there a better way to this, I'll be delighted to hear it (as I have tried different solutions myself with above combination of issuses), and have wasted some time trying to work-around the issues I've faced using JSF (in every one of those ways I've tried) ....part of which is described here...
    Thanks...

  • Outlook for mac, message HTTP error resource not found 18596

    outlook for mac, message HTTP error resource not found 18596 really strange and outlook is connected and as soon as you send a mail you suddenly get the message, really annoying actually, seems to be an old problem!!!
    Help appreciated!!!!!!!!

    Same probelm any suggestions ????

  • My friends need to know that am texting from my I phone for example in Face book I texted a message means in my friend inbox my messages delevire like "sended from his I Phone" what can I do for this

    am using I 6 plus
    My friends need to know that am texting from my I phone for example in Face book I texted a message means in my friend inbox my messages delevire like "sended from his I Phone" what can I do for this

    1. Make your iMessage settings.
    2. Change your friends phone number on contacts property of iPhone(not work, home, mobile). if you know his icloud account you can use this too.
    3. Use iMessage while messagging with him.
    When you open chat with him in sms menu there writes iMessage. and messages shows color of blue.

  • Customize messages in oracle.adf.view.faces.resource.MessageBundle class

    Is there a way to customize messages in oracle.adf.view.faces.resource.MessageBundle class?
    Thanks
    JP

    Hi,
    you don't mention teh JDeveloper release. The way you can do it is to define a custom resource bundle in a custom skin file. In 10.1.3 this is a bit more work because you have to write a complte skin wheras in JDeveloper 11 you can inherit from an existing skin
    Frank

  • Cannot open the message catalog "man" for locale "es_ES.UTF-8"

    Hi,
    When using the command line and I type a command (for example "man ls") I get the following message:
    Cannot open the message catalog "man" for locale "es_ES.UTF-8"
    (NLSPATH="<none>")
    Then I get man pages in English instead of my language.
    Could you please help?
    Many thanks!

    I post this just in case someone has the same problem. Finally I was digging into /usr/sare/man and I found that apple just includes translations in man for English, French, Italian, Russian and Polish as you can see in the following listing of files:
    fr it.UTF-8 man5 mann ru.UTF-8
    fr.ISO8859-1 man1 man6 pl whatis
    fr.UTF-8 man2 man7 pl.ISO8859-2
    it man3 man8 pl.UTF-8
    it.ISO8859-1 man4 man9 ru.KOI8-R
    I don't know if it is possible to download the spanish translation from somewhere. If someone knows please let me know.
    Hope this helps to someone in the future.
    Cheers

  • Javax.xml.soap.SOAPException: Unable to create message factory for SOAP

    I installde jwsdp1.5 and tomcat50-jwsdp, want to use the local registry server in jwsdp1.5 to publish and query services. the code can run successfully on other PC, but I can not run it successfully.
    when I run the JSP+Servlet to publish a service, the information is:
    javax.xml.registry.JAXRException: javax.xml.bind.JAXBException
    - with linked exception:
    [javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
         at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
         at com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown Source)
         at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
         at Publish.doPost(Publish.java:66)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.bind.JAXBException
    - with linked exception:
    [javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
         at com.sun.xml.registry.common.util.MarshallerUtil.jaxbMarshalObject(Unknown Source)
         ... 32 more
    what can I do?? Help me please!!Thanks very very very much!

    It seems saaj-impl.jar (in case of Sun One Server) or the jar which contains implementationof SAAJ API is not in the classpath.

Maybe you are looking for

  • Apple TV can no longer connect to network after upgrade.

    I had heard that lots of people were affected with this problem with the software upgrade before this one so I deliberately waiting until this one came out before taking a chance. I was wrong. After updating to 4.4. (3140) I can no longer connect to

  • ISE 1.1.1 to ISE 1.2 upgrade path for ISE node

    Hi, Currently in ISE deployment , we have  2 ISE nodes with 1.1.1.268 version  with latest patch, ISE nodes hold following  personas Node1 :  Admin, Monitoring ,  PSN Node 2 : PSN How will above deplyoment should be upgrade to 1.2 ? In which order th

  • List Of Values Switcher doesn't work fine here

    Hello, I tried a new List Of Values Switcher feature, in jdev11g R, and i tried andrejusb's example( http://andrejusb.blogspot.com/2008/10/multiple-lovs-per-attribute-in.html ), but it doesn't work Is that a bug?? Thanks

  • Solaris 10 Max Partition size

    Hi, I would like to know the maximum partition size that Solaris 10 can support/create. We have a Sun StorEdge 6920 system with a 8 TBytes, based on 146 GBytes Hard Disks. Is it possible to create a 4 TBytes partition? if not, any suggestions are app

  • Default Profle Issues

    Hi All, Sorry if this has been posted in the past, I've tried checking previous posts and I can't see any mention of it so does anyone know how to setup audition so that it picks up/defaults to the correct sound card when different users login? This