myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <yuv...@harel-ins.co.il>
Subject [trinidad] unable to run the examples
Date Tue, 18 Nov 2008 12:47:50 GMT
Hello List members,

 

I am trying to run the Trinidad demo: trinidad-1.2.9-example.zip but and i get the following
error:

In the console i see:

SEVERE: Error filterStart

18/11/2008 14:36:28 org.apache.catalina.core.StandardContext start

SEVERE: Context [/trinidad-demo-1.2.9] startup failed due to previous errors

 

When I open the tomcat log for localhost I see:

SEVERE: Exception starting filter trinidad

java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext

            at java.lang.Class.getDeclaredConstructors0(Native Method)

            at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)

            at java.lang.Class.getConstructor0(Class.java:2671)

            at java.lang.Class.newInstance0(Class.java:321)

            at java.lang.Class.newInstance(Class.java:303)

            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.init(TrinidadFilter.java:53)

            at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)

            at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)

            at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)

            at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)

            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)

            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)

            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

            at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)

            at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)

            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)

            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)

            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

            at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

            at org.apache.catalina.core.StandardService.start(StandardService.java:448)

            at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

            at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

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

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

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

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

            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

18/11/2008 14:36:28 org.apache.catalina.core.StandardContext listenerStop

SEVERE: Exception sending context destroyed event to listener instance of class org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl

java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext

            at org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl.contextDestroyed(TrinidadListenerImpl.java:39)

            at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3805)

            at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4364)

            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4246)

            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)

            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

            at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)

            at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)

            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)

            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)

            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

            at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

            at org.apache.catalina.core.StandardService.start(StandardService.java:448)

            at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

            at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

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

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

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

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

            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

18/11/2008 14:36:28 org.apache.catalina.core.ApplicationContext log

INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL:
http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param
name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule:
Redirect URL: http://jakarta.apache.org]]

18/11/2008 14:36:28 org.apache.catalina.core.ApplicationContext log

INFO: ContextListener: contextInitialized()

18/11/2008 14:36:28 org.apache.catalina.core.ApplicationContext log

INFO: SessionListener: contextInitialized()

18/11/2008 14:36:29 org.apache.catalina.core.ApplicationContext log

INFO: ContextListener: contextInitialized()

18/11/2008 14:36:29 org.apache.catalina.core.ApplicationContext log

INFO: SessionListener: contextInitialized()

 

My environment is:

Windows XP (SP2)

JAVA_HOME: C:\Program Files\Java\jdk1.5.0_12

apache-tomcat-5.5.27

 

I unzipped the trinidad-1.2.9-example.zip and copied the trinidad-demo-1.2.9.war to the webapps
dir

 

Any ideas?

 

Thanks a lot in advance

Yuval Zilberstein

 

בברכה

יובל זילברשטיין

צוות תשתיות java ואינטרנט

משרד:03-7549767

סלולארי:054-4524604

 

 





 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************



Mime
View raw message