elber kam
2017-11-03 20:22:03 UTC
Hi everyone.
I am trying to install tomee with drop in version, I have downloaded latest
7.0.82 version of tomcat and downloaded tomee plus 7.0.2 war file and
followed http://tomee.apache.org/installation-drop-in-war.html instruction.
When I start tomcat I get following:
Nov 03, 2017 4:11:26 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
Nov 03, 2017 4:11:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Nov 03, 2017 4:11:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Nov 03, 2017 4:11:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 629 ms
Nov 03, 2017 4:11:26 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Nov 03, 2017 4:11:26 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
Nov 03, 2017 4:11:26 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
C:\work\apache-tomcat-7.0.55-new\webapps\tomee.war
Nov 03, 2017 4:11:27 PM org.apache.catalina.util.SessionIdGenerator
createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using
[SHA1PRNG] took [164] milliseconds.
OpenEJB Loader init-params:
There are no initialization parameters.
Nov 03, 2017 4:11:28 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.embedder.source=LoaderServlet'
Nov 03, 2017 4:11:28 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.embedder.source=LoaderServlet'
Nov 03, 2017 4:11:28 PM
org.apache.tomee.catalina.TomcatThreadContextListener <init>
SEVERE: Expected ContextBinding to have the method getThreadName()
java.lang.ClassNotFoundException:
org.apache.tomcat.util.scan.StandardJarScanFilter
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:278)
at
org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:200)
at
org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.openejb.loader.Embedder.init(Embedder.java:80)
at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:87)
at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:75)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5229)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5516)
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:649)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880)
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:745)
Nov 03, 2017 4:11:28 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive
C:\work\apache-tomcat-7.0.55-new\webapps\tomee.war has finished in 2,061 ms
Nov 03, 2017 4:11:28 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\docs
Nov 03, 2017 4:11:32 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:32 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:32 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:32 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [370] ms.
Nov 03, 2017 4:11:32 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\docs has finished in 4,371 ms
Nov 03, 2017 4:11:32 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\examples
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI:
http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already
defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already
defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI:
http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Nov 03, 2017 4:11:36 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:36 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:36 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:36 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [130] ms.
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\examples has finished in 3,770 ms
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\host-manager
Nov 03, 2017 4:11:39 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:39 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:39 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:39 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [50] ms.
Nov 03, 2017 4:11:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\host-manager has finished in 2,458
ms
Nov 03, 2017 4:11:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\manager
Nov 03, 2017 4:11:41 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:41 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:41 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:41 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [52] ms.
Nov 03, 2017 4:11:41 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\manager has finished in 2,618 ms
Nov 03, 2017 4:11:41 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\ROOT
Nov 03, 2017 4:11:44 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:44 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:44 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:44 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [43] ms.
Nov 03, 2017 4:11:44 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\ROOT has finished in 2,585 ms
Nov 03, 2017 4:11:44 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Nov 03, 2017 4:11:44 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 03, 2017 4:11:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 17942 ms
Any idea why I am getting this class not found issue, I see class exists in
tomcat-util jar in lib folder of tomcat. I have tried with 7.0.55 version
of tomcat and the same issue is present.
I am trying to install tomee with drop in version, I have downloaded latest
7.0.82 version of tomcat and downloaded tomee plus 7.0.2 war file and
followed http://tomee.apache.org/installation-drop-in-war.html instruction.
When I start tomcat I get following:
Nov 03, 2017 4:11:26 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
Nov 03, 2017 4:11:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Nov 03, 2017 4:11:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Nov 03, 2017 4:11:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 629 ms
Nov 03, 2017 4:11:26 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Nov 03, 2017 4:11:26 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
Nov 03, 2017 4:11:26 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
C:\work\apache-tomcat-7.0.55-new\webapps\tomee.war
Nov 03, 2017 4:11:27 PM org.apache.catalina.util.SessionIdGenerator
createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using
[SHA1PRNG] took [164] milliseconds.
OpenEJB Loader init-params:
There are no initialization parameters.
Nov 03, 2017 4:11:28 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.embedder.source=LoaderServlet'
Nov 03, 2017 4:11:28 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.embedder.source=LoaderServlet'
Nov 03, 2017 4:11:28 PM
org.apache.tomee.catalina.TomcatThreadContextListener <init>
SEVERE: Expected ContextBinding to have the method getThreadName()
java.lang.ClassNotFoundException:
org.apache.tomcat.util.scan.StandardJarScanFilter
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:278)
at
org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:200)
at
org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.openejb.loader.Embedder.init(Embedder.java:80)
at org.apache.tomee.loader.TomcatHook.hook(TomcatHook.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.tomee.loader.TomcatEmbedder.embed(TomcatEmbedder.java:87)
at org.apache.tomee.loader.LoaderServlet.init(LoaderServlet.java:75)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5229)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5516)
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:649)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880)
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:745)
Nov 03, 2017 4:11:28 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive
C:\work\apache-tomcat-7.0.55-new\webapps\tomee.war has finished in 2,061 ms
Nov 03, 2017 4:11:28 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\docs
Nov 03, 2017 4:11:32 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:32 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:32 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:32 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [370] ms.
Nov 03, 2017 4:11:32 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\docs has finished in 4,371 ms
Nov 03, 2017 4:11:32 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\examples
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI:
http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already
defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already
defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI:
http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Nov 03, 2017 4:11:36 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:36 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:36 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:36 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [130] ms.
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\examples has finished in 3,770 ms
Nov 03, 2017 4:11:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\host-manager
Nov 03, 2017 4:11:39 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:39 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:39 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:39 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [50] ms.
Nov 03, 2017 4:11:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\host-manager has finished in 2,458
ms
Nov 03, 2017 4:11:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\manager
Nov 03, 2017 4:11:41 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:41 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:41 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:41 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [52] ms.
Nov 03, 2017 4:11:41 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\manager has finished in 2,618 ms
Nov 03, 2017 4:11:41 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\ROOT
Nov 03, 2017 4:11:44 PM org.apache.myfaces.ee6.MyFacesContainerInitializer
onStartup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Nov 03, 2017 4:11:44 PM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Nov 03, 2017 4:11:44 PM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: WebAppBuilder not
found in SystemInstance. Ensure the following entry exists in the Tomcat
server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
java.lang.IllegalStateException: WebAppBuilder not found in SystemInstance.
Ensure the following entry exists in the Tomcat server.xml file: <Listener
className="org.apache.tomee.catalina.ServerListener"/>
at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:43)
at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
at
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:200)
at
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:592)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:121)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4990)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
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:649)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
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:745)
Nov 03, 2017 4:11:44 PM
org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFO: MyFaces Core has started, it took [43] ms.
Nov 03, 2017 4:11:44 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
C:\work\apache-tomcat-7.0.55-new\webapps\ROOT has finished in 2,585 ms
Nov 03, 2017 4:11:44 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Nov 03, 2017 4:11:44 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 03, 2017 4:11:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 17942 ms
Any idea why I am getting this class not found issue, I see class exists in
tomcat-util jar in lib folder of tomcat. I have tried with 7.0.55 version
of tomcat and the same issue is present.
--
Thanks.
-Elber
Thanks.
-Elber