> java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener Weird. Is it as if Tomcat is trying to load a web app before it has loaded the servlet API classes? Is that what you are seeing?
>From the log, can you tell the sequence of events? To let you in on a little secret, JBoss 4.0.3 will have MyFaces integrated into the container. This work is mostly done. It was a little tougher than I expected, so I'm not surprised that integration with Tomcat has its problems as well. Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert > -----Original Message----- > From: Alessandro Polverini (JIRA) [mailto:myfaces- > [EMAIL PROTECTED] > Sent: Thursday, May 05, 2005 4:54 PM > To: [email protected] > Subject: [jira] Commented: (MYFACES-223) Can't share myfaces jars globally > in tomcat > > [ http://issues.apache.org/jira/browse/MYFACES- > 223?page=comments#action_64583 ] > > Alessandro Polverini commented on MYFACES-223: > ---------------------------------------------- > > Hello and thanks for the reply. > For Sean: the faces-config.xml (examples-config.xml in this case) is in > the WEB-INF directory (I opened the war, not using it directly). > > For Stan: putting the jar in common/lib or also common/endorsed make the > context to not start anymore, I'm unsure of the problem and on the log I > only find: > > StandardContext[/balancer]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.balan > cer.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]] > StandardContext[/simple]Error configuring application listener of class > org.apache.myfaces.webapp.StartupServletContextListener > java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener > at java.lang.ClassLoader.findBootstrapClass(Native Method) > [...] > > Please tell me if I can be of any assistance on doing some other tests. > > Thanks, > Alex > > > Can't share myfaces jars globally in tomcat > > ------------------------------------------- > > > > Key: MYFACES-223 > > URL: http://issues.apache.org/jira/browse/MYFACES-223 > > Project: MyFaces > > Type: Improvement > > Versions: 1.0.9 beta > > Environment: Java JDK 1.5.0_03, Tomcat 5.0.28 > > Reporter: Alessandro Polverini > > > > > Hello, > > I'm developing a lot of little applications using myfaces. > > It would be very useful to have the possibility to share globally over > tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to > deploy 1.5Mb of jars for every 50K web application. > > Thanks, > > Alex > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://issues.apache.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: > http://www.atlassian.com/software/jira
