ICEfaces
  1. ICEfaces
  2. ICE-10907

emporium samples app deployment server error (MyFaces JSF)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1.1
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces-4.1.0 Jenkins Build# 3/MyFaces JSF
      Browsers: all
      Server: Tomcat7
    • Assignee Priority:
      P1

      Description

      Emporium app (MyFaces JSF):

      A server error occurs when deploying emporium with MyFaces JSF:

      Dec 20, 2015 3:11:54 PM org.apache.myfaces.util.ExternalSpecifications isBeanValidationAvailable
      INFO: MyFaces Bean Validation support disabled
      Dec 20, 2015 3:11:54 PM org.icefaces.impl.renderkit.DOMRenderKit <clinit>
      INFO:
      ICEsoft Technologies Inc.
      ICEfaces 4.1.0
      Build number: 3
      Build date: 151218
      Revision: 46894

      Dec 20, 2015 3:11:54 PM org.apache.myfaces.config.FacesConfigurator handleSerialFactory
      INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
      Dec 20, 2015 3:11:54 PM org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider
      INFO: Using LifecycleProvider org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
      Dec 20, 2015 3:11:54 PM org.apache.myfaces.webapp.AbstractFacesInitializer _createEagerBeans
      WARNING: The managed-bean with name icefacesBeanDestroyRecorder must be application scoped to support eager=true.
      Dec 20, 2015 3:11:54 PM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces
      SEVERE: An error occured while initializing MyFaces: This method is not supported during startup
      java.lang.UnsupportedOperationException: This method is not supported during startup
              at org.apache.myfaces.context.servlet.StartupServletExternalContextImpl.getSession(StartupServletExternalContext
      Impl.java:187)
              at org.apache.myfaces.view.impl.DefaultViewScopeHandler.generateViewScopeId(DefaultViewScopeHandler.java:128)
              at org.apache.myfaces.view.ViewScopeProxyMap.getWrapped(ViewScopeProxyMap.java:76)
              at org.apache.myfaces.view.ViewScopeProxyMap.get(ViewScopeProxyMap.java:109)
              at org.apache.myfaces.config.ManagedBeanBuilder.getScope(ManagedBeanBuilder.java:560)
              at org.apache.myfaces.config.ManagedBeanBuilder.getNarrowestScope(ManagedBeanBuilder.java:464)
              at org.apache.myfaces.config.ManagedBeanBuilder.isInValidScope(ManagedBeanBuilder.java:435)
              at org.apache.myfaces.config.ManagedBeanBuilder.initializeProperties(ManagedBeanBuilder.java:319)
              at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:163)
              at org.apache.myfaces.webapp.AbstractFacesInitializer._createEagerBeans(AbstractFacesInitializer.java:303)
              at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:193)
              at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java
      :119)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)

      Dec 20, 2015 3:11:54 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\examples
      Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\host-manager
      Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\manager
      Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\ROOT
      Dec 20, 2015 3:11:56 PM org.icefaces.demo.emporium.watcher.base.ThreadedWatcher stop
      INFO: Stop requested for null.
      Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8080"]
      Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8443"]
      Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["ajp-bio-8009"]
      Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 9900 ms
      Dec 20, 2015 3:12:11 PM org.icepush.servlet.MainServlet <init>
      INFO:
      ICEsoft Technologies Inc.
      ICEpush 4.1.0
      Build number: 3
      Revision: 46894

      Dec 20, 2015 3:12:13 PM org.apache.myfaces.util.ExternalSpecifications isUnifiedELAvailable
      INFO: MyFaces Unified EL support enabled
      Dec 20, 2015 3:12:13 PM org.icefaces.demo.emporium.auth.AuthController determineStatus
      WARNING: Failed to find or validate Auth password file from path: /opt/tomcat/emporium/password, disallowing Auth.
      Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.bid.model.AuctionImage generateParentDir
      INFO: Item image directory C:\Servers\apache-tomcat-7.0.42\temp\1-emporium\resources\items valid with 177 files.
      Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.settings.SettingsBean initSettingsBean
      INFO: User initialized with SettingsBean: User #34333 from North America using theme cupertino with fg/bg colors rgba(0,
       0, 0, 0.9)/rgba(176, 196, 222, 0.9)
      Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.bid.AuctionService initAuctionService
      INFO: Test Flag status...no interval push [false], expiry [false], bid robot [false], many items [false], many past bids
       [false], autojoin chat [false], growl messages [false], no auth [false].

        Activity

          People

          • Assignee:
            Carlo Guglielmin
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: