JavaServerFaces javax.faces.application.Action cant find this package/class

My ant build is failing as a result of being unable to find
javax.faces.application.Action (I extended this class). I cannot find
that package in any of the jsf-ea3 or j2ee jar files. Any help would be appreciated.
I already posted this once but got no response, this time I will assign a few dukes. I figured this was a simple question.

Well that would explain why I can't find it, as I am using EA3. And by the looks of my compile errors when using jwsdp1.2 (includes ea4), I have some work to do to get my app to compile under the new release. Thanks, you get the dukes.

Similar Messages

  • What happened with javax.faces.application.Action ??

    Can someone explain me how to perform the Action with new JSF libraries. I really do not understand why the Action class is not available in new JSF libs?
    <h:command_button value="#{bundle.recalculate}"
    action="#{carstore.currentModel.updatePricing}"
    immediate="true" />
    This is the command_button out of car demo.
    The boundle.recalculate is probably an recalculate string specified in Resources.properties. But where? In WEB-INF\classes\cardemo or in WEB-INF\classes\carstore\bundles? How can I specify this in my application? I
    Can anyone explain me the meaning of the new action attribute?
    What is �carstore�?
    What is �currentModel�?
    What is �updatePricing�?
    How can I compare this to the old Action-s invoke() method?
    Thanks.
    Nermin B.

    Hi Kim Topley,
    Thank you very much. Your respond helped me a lot. I
    was about to start rebuilding my code to the new JSF,
    but unfortunately I did not understood to much looking
    thro examples.
    action="#{carstore.currentModel.updatePricing}"
    The getCurrentModel() is simple returning an object
    from type �CarBean� and �updatePricing� is an method
    called from this object.
    What is the advantage of using such an structure (2
    Layers), instead of specifying the CarBean in
    faces-config.xml and calling its method
    �updatePricing()� One reason is that the getCurrentModel() method returns the user's current
    choice of car, which can vary. The other reason is (I 'm guessing - I haven't looked at
    this sample in any detail) that the cars are all created in the application model
    and therefore do not need to be instantiated as required by the managed beans
    feature.
    or in that case it will be
    "getUpdatePricing()" directly? (1 Layer)In a method binding, the last part of the name is always the full method name.
    The mutation to "getXXX", "isXXX" or "setXXX" happens only for a value binding.
    >
    Is there any other limitation regarding
    updatePricing() method except that it must have no
    arguments and it must return a String?Not that I am aware of.
    >
    >
    I must say the new feature <f:loadBoundle �> is an
    great feature, and I am very glad to have something
    like this.
    Do you know if bundle is being loaded for every
    request new, or if let say English bundle is loaded
    once, it stays in application request for the rest of
    time?It is loaded for each request. However, this is not as bad as it seems,
    because the ResourceBundle class keeps a cache, so it is likely that
    most loads will be satisfied from the cache with almost no overhead.
    >
    Thanks:
    Nermin B.
    PS: I am very glad to see some movements here in JSF
    forum. Last few weeks we have not seen to many
    discussion.

  • I purchaseed an app monotoricamera but i cant find this application and this app removed from iTunes store what can i do for this problem?

    i purchaseed an app monotoricamera but i cant find this application and this app removed from iTunes store what can i do for this problem? when i use report problem in purchase history " say to me this app is removed and i pay for that

    Well, if you didn't keep it in your iTunes library, on your computer, & then back that data up, you're out of luck if it's no longer available in the App store.
    Apple warns to backup your purchases for this very reason.

  • Javax.faces.application.ViewExpiredException when using http parameters

    Hi,
    I got two jsf-pages and every time I'm using an http request parameter I get a javax.faces.application.ViewExpiredException straight away, so it's no timeout issue.
    That means, if I open the page with "http://localhost:8080/rmp-invoicing/invoicing/monitorInvoiceRun.jsf" everything works fine, but when I use "http://localhost:8080/rmp-invoicing/invoicing/monitorInvoiceRun.jsf?test=test" I get the following exception:
    05.12.2008 09:48:41 com.sun.faces.lifecycle.LifecycleImpl phase
    WARNUNG: executePhase(RESTORE_VIEW 1,org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit@1ec239f) threw exception
    javax.faces.application.ViewExpiredException: viewId:/invoicing/monitorInvoiceRun.jsf - View /invoicing/monitorInvoiceRun.jsf could not be restored.
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
         at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
         at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.orchestra.filter.OrchestraServletFilter.doFilter(OrchestraServletFilter.java:77)
         at org.apache.myfaces.orchestra.lib.CompoundFilter$1.doFilter(CompoundFilter.java:58)
         at org.apache.myfaces.orchestra.lib._NullFilter.doFilter(_NullFilter.java:45)
         at org.apache.myfaces.orchestra.lib.CompoundFilter.doFilter(CompoundFilter.java:63)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    09:48:41,149 DEBUG [DelegatingVariableResolver:140] - Successfully resolved variable 'org.apache.myfaces.orchestra.viewController.ViewControllerManager' in Spring ApplicationContext
    09:48:41,165 DEBUG [DefaultListableBeanFactory:214] - Returning cached instance of singleton bean 'org.apache.myfaces.orchestra.viewController.ViewControllerManager'
    09:48:41,165 DEBUG [DelegatingVariableResolver:140] - Successfully resolved variable 'org.apache.myfaces.orchestra.viewController.ViewControllerManager' in Spring ApplicationContext
    09:48:41,165 DEBUG [DefaultListableBeanFactory:214] - Returning cached instance of singleton bean 'org.apache.myfaces.orchestra.viewController.ViewControllerManager'
    09:48:41,165 ERROR [BaseXMLFilter:180] - Exception in the filter chain
    javax.servlet.ServletException: viewId:/invoicing/monitorInvoiceRun.jsf - View /invoicing/monitorInvoiceRun.jsf could not be restored.
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:249)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
         at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
         at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.orchestra.filter.OrchestraServletFilter.doFilter(OrchestraServletFilter.java:77)
         at org.apache.myfaces.orchestra.lib.CompoundFilter$1.doFilter(CompoundFilter.java:58)
         at org.apache.myfaces.orchestra.lib._NullFilter.doFilter(_NullFilter.java:45)
         at org.apache.myfaces.orchestra.lib.CompoundFilter.doFilter(CompoundFilter.java:63)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    09:48:41,165 ERROR [[Faces Servlet]:253] - Servlet.service() for servlet Faces Servlet threw exception
    javax.faces.application.ViewExpiredException: viewId:/invoicing/monitorInvoiceRun.jsf - View /invoicing/monitorInvoiceRun.jsf could not be restored.
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
         at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
         at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.orchestra.filter.OrchestraServletFilter.doFilter(OrchestraServletFilter.java:77)
         at org.apache.myfaces.orchestra.lib.CompoundFilter$1.doFilter(CompoundFilter.java:58)
         at org.apache.myfaces.orchestra.lib._NullFilter.doFilter(_NullFilter.java:45)
         at org.apache.myfaces.orchestra.lib.CompoundFilter.doFilter(CompoundFilter.java:63)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    09:48:41,180 DEBUG [RequestContextListener:89] - Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@114798a
    I also get the same exception when trying to navigate from one page to the next using navigations-rule in the spring-config.xml file since the http request parameter "?conversationContext=2" is then attached to the http-path.
    I will add some code in the following posts

    my faces-config.xml file looks like this:
            <managed-bean>
              <managed-bean-name>InvoicingBean</managed-bean-name>
              <managed-bean-class>com.bearingpoint.ta.webac.invoicing.jsf.InvoiceRunBacking</managed-bean-class>
                    <managed-bean-scope>request</managed-bean-scope>
         </managed-bean>
         <managed-bean>
              <managed-bean-name>InvoicingMonitorBean</managed-bean-name>
              <managed-bean-class>com.bearingpoint.ta.webac.invoicing.jsf.InvoiceMonitorBacking</managed-bean-class>
                    <managed-bean-scope>request</managed-bean-scope>
                    <managed-property>
                       <property-name>invoicingFacade</property-name>
                       <value>#{invoicingFacade}</value>
                    </managed-property>
         </managed-bean>
        <navigation-rule>
            <from-view-id>/invoicing/startInvoiceRun.xhtml</from-view-id>
            <navigation-case>
                <from-outcome>monitor</from-outcome>
                <to-view-id>/invoicing/monitorInvoiceRun.xhtml</to-view-id>
                <redirect/>
            </navigation-case>
        </navigation-rule>In my Backing Bean (com.bearingpoint.ta.webac.invoicing.jsf.InvoiceRunBacking) I got something like this:
         * Start generate invoice.
        public String startGenerateInvoice() {
           String outcome;
           //find out if we should stay on this page or go to the Monitor-Page
           //assume we want to go to the monitor page
           outcome = "monitor";
           return outcome;
        }And this method is called in the file startInvoiceRun.xhtml:
                   <a4j:commandButton value="#{rpmMessages['invoicing.button.label']}"
                    action="#{InvoicingBean.startGenerateInvoice}">
                </a4j:commandButton>Anyone got any ideas?
    Edited by: Thomas_Schenkeli on Dec 5, 2008 12:53 AM

  • Dealing with javax.faces.application.ViewExpiredException in jsf 1.2

    Hello,
    I am working on a jsf 1.2 application and I am trying to implement a way to deal with the ViewExpiredException. Here is what I tried:
    <error-page>
    <exception-type>javax.faces.application.ViewExpiredException</exception-type>
    <location>/WEB-INF/include/viewExpired.jsf</location>
    </error-page>
    (there is a viewExpired.xhtml file in the same folder as the jsf file)
    What happens is that the above exception is indeed thrown by my app by an ajax component but the error page is not displayed leaving the user with an application that is not working.
    Can anyone please help?
    Thanks in advance,
    Julien.

    Facelets tends to wrap exceptions into generic ones; anything that is not an IOException or a RuntimeException is wrapped into a FacesException. Thus your ViewExpiredException is not the top-level exception anymore and the error-page rule won't work.
    The way I work around this is to define my own view handler to be able to deal with exceptions myself. I figured this out from some article, but I cannot find it anymore. So I'll just post what I have:
    public class MyFaceletsViewHandler extends FaceletViewHandler {
      // TODO: replace with your own log API
      protected Logger  logger = Logger.getLogger(getClass().getName());
      public MyFaceletsViewHandler(ViewHandler parent) {
        super(parent);
      protected void handleRenderException(FacesContext context, Exception ex) throws IOException, ELException, FacesException {
        try {
          Throwable rootcause = findRootCause(ex);
          context.getExternalContext().getSessionMap().put("exception", rootcause);
          logger.error("Error rendering view!", ex);
          // TODO: put correct path to error page here
          ((HttpServletResponse) context.getExternalContext().getResponse()).sendRedirect("error.jsf");
          context.responseComplete();
        catch (IOException ioe) {
          logger.fatal("Could not process redirect to handle application error", ioe);
      private Throwable findRootCause(Throwable t){
        Throwable ret = t;
        while(ret.getCause() != null && ret.getCause() != ret){
          ret = ret.getCause();
        return ret;
      }And in your faces-config.xml:
    <application>
            <view-handler>package.to.MyFaceletsViewHandler</view-handler>
        </application>In the view handler you can then target specific exceptions if you want, like your ViewExpiredException. I added a little trickery to search for the root cause of the exception; that is usually the only part of an exception stacktrace that I'm interested in.
    If anybody knows a better way to deal with specific exceptions in facelets, please share.

  • Javax.faces.application.ViewExpiredException: viewId:/greeting.jsp - View /

    I'm new to JSF and I am trying to learn it, I tried the first example that comes with JavaEE Tutorial:
    I was successfully able to run the guessNumber application on Tomcat 6.x
    I left Tomcat and the app idel for a while, when I returned I tried to refresh the page and got this exception , instead of the usual page:
    javax.faces.application.ViewExpiredException: viewId:/greeting.jsp - View /greeting.jsp could not be restored.
         com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)Then I did an ant clean build on the application and shutdown tomcat and restarted it, to try this example again, but the above error reoccurs.
    Has anyone solved this exception or know anything about what coudl be the cause?
    I've already tried Google, but couldn't find a response from anyone that solved it yet.
    Many thanks for your help.

    I just solved this problem.
    Even though I had shut-down Tomcat, I was still using the same browser instance.
    When I closed the old instance and used a new browser instance of Firefox - it displayed normally.
    However, I have another problem ( a different one) - when I try to open the app in Internet Explorer 7, instead of rendering the JSP page , IE asks me to download it.
    And the file type has changed from JSP to jsp_auto_file , but IE is was rendering this page properly - I don't know what's causing it to not render it now.
    Also IE shows a default pop-up blocker when I try to load the above example.
    Message was edited by:
    appy77

  • ClassNotFoundException-javax.faces.application.ProjectStage - deploy of WAR

    Hello All,
    We are trying to deploy the ViewController project, of a jsf/adf based application, to a WAR file. We are migrating our application from 10g to 11g. We have successfully gone past all the comilation errors and now trying deployment.
    We were getting the following error and got around it by checking - ViewController -> rt. Click ProjectProperties -> Deployment -> Edit WAR deployment profile -> WEB-INF/LIB -> Contributors : checked jsf2.0, jstl1.2, jstl1.2tags
    Error while deployment: [12:52:11 PM] [Deployer:149193]Operation 'deploy' on application 'webapp1' has failed on 'AdminServer'
    [12:52:11 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp1 on AdminServer.: Failed to load webapp: 'webapp1.war'.
    [12:52:12 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'webapp1.war'
    [12:52:12 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@16785362[app:webapp1 module:webapp1.war path:/coagov spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    NOW, we get the following error and the deployment is unsuccessful
    [04:16:59 PM] Deploying Application...
    [04:19:58 PM] [Deployer:149193]Operation 'deploy' on application 'webapp1' has failed on 'AdminServer'
    [04:19:58 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp1 on AdminServer.: javax.faces.application.ProjectStage.
    [04:19:58 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException: javax.faces.application.ProjectStage
    [04:19:58 PM] See server logs or server console for more details.
    [04:19:58 PM] weblogic.application.WrappedDeploymentException: javax.faces.application.ProjectStage
    [04:19:58 PM] Deployment cancelled.
    [04:19:58 PM] ---- Deployment incomplete ----.
    [04:19:58 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    From log-
    java.lang.ClassNotFoundException: javax.faces.application.ProjectStage
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
    Please help!!!
    Thanks,

    This seems like a JDeveloper packaging issue perhaps, or at least needs some knowledge of the JDeveloper packaging process:
    The deployment error:
    [12:52:12 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@16785362[app:webapp1 module:webapp1.war path:/coagov spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false] Seems to indicate that the weblogic.xml file you are embedding, has a <library-ref> element pointing to a JSF 2.0 shared-library deployed on WLS -- and that shared-library is not available.
    So you fixed it by doing this:
    Deployment -> Edit WAR deployment profile -> WEB-INF/LIB -> Contributors : checked jsf2.0, jstl1.2, jstl1.2tagsAnd thus, you have JSF 2.0 packaged in the WEB-INF/lib.
    Can you check that it is actually included in the WEB-INF/lib directory of your WAR file? Perhaps it's not being included for some reason.
    Have you also tried deploying the WLS jsf-2.0.war shared-library to the server you are deploying the web app to?
    -steve-

  • I am using apex 4.2 and in sample application i cant find the administratio

    i am using apex 4.2 and in sample application i cant find the administration module
    through which i can add users.
    I dont think that facility is available in 4.2 kindly confirm pls
    Any information shall be appreciated
    Thanks
    Edited by: susf on Nov 26, 2012 6:02 AM

    It is called the sample database application. This consist of tabs like
    customer
    product
    order
    and admin
    In apex 4.0 i had a facility in admin to create users. .Thats not available in 4.2
    I mean facility to create user
    I was looking for custom authentication feature which was present earlier in this demo
    its not present currently
    Edited by: susf on Nov 26, 2012 6:07 AM
    Edited by: susf on Nov 26, 2012 6:17 AM

  • Javax.faces.application.ViewExpiredException

    Hi,
    i am developing a web application with MobileJSF. if i keep the pages idle for some time after i gave any request i am getting the below exception
    javax.faces.application.ViewExpiredException: viewId:/pages/mobile/login.jsp - View /pages/mobile/login.jsp could not be restored.
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:187)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.ericsson.sn.mobilefaces.MobileFacesServletFilter.doFilter(MobileFacesServletFilter.java:96)
         at com.efici.eficash.client.filter.WapRequestFilter.doFilter(WapRequestFilter.java:37)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    when i am getting this exception session is not expired . i am sure about that.
    Please help me on this
    Thanks in advance

    I do not want save state in the client
    javax.faces.application.ViewExpiredException: viewId:/datauploads/fileupload.jsf - View /datauploads/fileupload.jsf could not be restored.
            at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:187)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
            at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
            at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
            at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
            at java.lang.Thread.run(Thread.java:619)

  • Javax.faces.application.ViewExpiredException: viewId:/folderUpload.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.

    Hi,
    I am developing a utility for multiple file upload. I am getting some error here. First i want to explain my case.
    I am using JDeveloper 11.1.1.7,
    InputFile Properties:  maximumFiles="150"    uploadType="auto"
    web.xml change:  org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE =5368709120   (For 5GB)
                                    org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY = 5368709120
                                    org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKEN = 3
                                    session time out = 30 minute   
    Here when i am uploading upto 5 files its working fine but when i am selecting more than 15 files its always coming below error.
    Error Log
    AdfcExceptionHandler>  ADFc: While handling an exception the application's exception handler threw a new exception.
    javax.faces.application.ViewExpiredException: viewId:/folderUpload.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      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:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      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:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      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:163)
      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)
      ADFc: While attempting to handle this exception the application's exception handler failed.
    javax.faces.application.ViewExpiredException: viewId:/folderUpload.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      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:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      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:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      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:163)
      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)
      ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    javax.faces.application.ViewExpiredException: viewId:/folderUpload.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      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:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      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:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      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:163)
      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)
    [Application termination requested.  Undeploying application DMSMultipleFileUploadUtility.]
    Why is session time out error is coming while 15 files(Small files in KBs) is taking 15-20 sec to upload, what configuration required for this error. Take a look Timo Hahn
    Thanks and Regards
    Maroof Ahmad

    Hi All,
    Finally i resolved my issue   for my case and working fine. Thanks Timo Hahn for kind help .
    Solution made by below changes.
    1. You should use valueChangeListener on inputFile for
    2.Changes in web.xml
    Changes in web.xml
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
    </context-param>
    <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>
    <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>true</param-value>
      </context-param>
    <context-param>
        <description>Here Values is in bytes for file upload. This is for 5GB</description>
        <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE</param-name>
        <param-value>5368709120</param-value>
      </context-param>
    <context-param>
        <description>Here Values is in bytes for file upload. This is for 5GB</description>
        <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY</param-name>
        <param-value>5368709120</param-value>
      </context-param>
      <context-param>
        <description>Session Time out solution 3600 here</description>
        <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKEN</param-name>
        <param-value>4000</param-value>
      </context-param>
    <context-param>
        <description>"all": stores all state in the client in a (potentially large) hidden form field. This matches the default behavior of the JSF reference implementation, and can be useful for developers avoiding any use of HttpSession.</description>
        <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_METHOD</param-name>
        <param-value>all</param-value>
      </context-param>
    <context-param>
        <description>The &lt;uploaded-file-max-disk-space&gt; element is used to change the default location uploaded files are stored. This setting directly overrides the web.xml setting org.apache.myfaces.trinidad.UPLOAD_TEMP_DIR. This value can be hardcoded or can be explicitly configured with an EL expression that returns a String object.</description>
        <param-name>org.apache.myfaces.trinidad.UPLOAD_TEMP_DIR</param-name>
        <param-value>/tmp/TrinidadUploads/</param-value>
      </context-param>
    For detail configuration of trinidad see  APACHE MYFACES TRINIDAD
    If your are using large size file then you also increase Java heap size other wise you may get Out Bound Memory
    Maroof

  • HT1338 Have a macbook pro 2009 currently at version 10.5.8 need to install new version for i phone 5 but will not let me until I install MAC OS X Version 10.6 cant find this anywhere! Any ideas thanks

    Have a macbook pro 2009 currently at version 10.5.8 need to install new version for i phone 5 but will not let me until I install MAC OS X Version 10.6 cant find this anywhere! Any ideas thanks

    Click here.
    (75139)

  • HT5312 Dear sir.  I have problem in reseting my qusetion and answer in my account i have forgot  i cant send reset email i have already intered  rescue email  i cant find this option.

    reseting my qusetion and answer in my account i have forgot  i cant send reset email i have already intered  rescue email  i cant find this option.
    <Email Edited by Host>

    The option to send reset info only appears if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account - if you've just added an address then it will be an alternate email address, a rescue email address can only be added by answering 2 of your questions. You will need to contact iTunes Support or Apple to get the questions reset.
    e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then 'Forgotten Apple ID security questions'
    or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57
    When they've been reset you can then use the steps half-way down the page that you posted from to add a rescue email address for potential future use. Or you could use 2-step verification : http://support.apple.com/kb/HT5570

  • Cant find a package

    I am trying to compile an example i found on web to send snmp traps but I cant find the package it uses.
    where can i find it ?
    regards
    Sami
    package com.sun.content.server.foundation.snmp;
    public class SnmpTrapTest {
    * For unit testing.
    * @param args an array of command-line arguments
    public static void main(String[] args) {
    try {
    System.out.println("Starting...");
    SnmpTrapSender sa = SnmpTrapSender.getInstance();
    // new SnmpTrapSender("172.16.1.38", 162);
    sa.sendTrap(SnmpConstants.SNMP_TRAP_DBCONNECTION_DOWN, "DB Down Test");
    sa.close();
    System.out.println("Done...");
    } catch (Exception e) {
    e.printStackTrace();
    System.exit(0);
    }

    i got this while googling the web
    [http://www.sun.com/software/products/delivery_server/index.xml]
    in the comments at the beginning of file, it said this:
    * Title: Content Delivery Server
    * Description:     Manages sending traps to the specified NMS
    * Version:          1.0
    */i'm not completely sure, but this was what I could find so far
    this link too for the link provided for the license in the comment in the code:
    [https://opencds.dev.java.net/]
    nvm... check out the link just above (opencds)
    also check out their api, here's a link to their doc's page:
    [https://opencds.dev.java.net/pages/documents/index.html]
    Edited by: scphan on Apr 14, 2009 5:44 PM
    Edited by: scphan on Apr 14, 2009 5:47 PM
    Edited by: scphan on Apr 14, 2009 ~5:49 PM

  • Ive looked for 2 days, i cant find this swing component

    im looking for the size of the rectangles used to draw parts of a JScrollBar.
    ive tired get them through calculations based on the ratios of visable space in the JScrollPane...that dosent work.
    today ive tried making the protected method getThumbBounds() in BasicScrollUI() public so that i could see the sweeeeet rectangle dimensions within, yet when i execute this code i get all zeros
    //scroll is a JScrollPane
    scroll.getVerticalScrollBar().setUI(new BasicScrollBarUI());               
    BasicScrollBarUI ui = (BasicScrollBarUI) scroll.getVerticalScrollBar().getUI();
    System.out.println(ui.getThumbBounds().toString()   ); do i need to validate or somthing?
    how else could i get them?

    First of all, if you want to controll two scroll bars
    at once, you don't need to know any of its dimensions.
    You should read up on models, views, and controllers
    in swing. i did read up on them and found no other way. maby someone could give more specifics on how else to do it? besides i allready have the code to do it,its only a few lines, i just need those values
    Secondly, you can subclass the
    MetalScrollBarUI and create methods which return the
    size of the scroll buttons, the track, and the
    thumb.great idea, but will this work for all look and feels? the more abstract ScrollBarUI does not seem to offer generic methods for getting the track value.
    also if i cant find a way to do it for all L&Fs, where can i find the WindowsScrollBarUI class? id rather subclass that then the metal, but only as a last resort. thanks

  • Cant find this CLASSIC song .....  :(

    well, im trying to find Imagine by John Lennon because im feelomg mellow. BUT i cant find the song on iTunes. i have tried searching for: Imagine, Lennon, John Lennon etc. WHY DOES ITUNES NOT HAVE THIS GREAT SONG!!!!???? all the searches come up with arw a load of wannabe bands ive never heard of. can u like check your database or summin because i really want the song and i want to knoow if you have it!
    thx,
    Issy. (very annoyed iTunes user....:)

    thx every1!!!
    that Yoko is like really missin out on loads of
    money
    she could make out of sellin stuff on the web. but
    i
    wouldnt no anythion bout that... well im just
    ramblin
    soz
      Windows XP
    Apple paid Yoko over $2 million last year. Apple
    Corps, that is. You know, the music distribution
    company. The one that was promised by Apple Computer
    they would not get into the music business. Seemed
    like a good bet 20 years ago, but guess what. Apple
    Computer is the man now. The way things are going,
    they're gonna crucify me.
    O rilly, gotta cite?

Maybe you are looking for