One last comment on this, I downloaded the 3.0-M2-incubating source code from subversion and compiled that WAR file. It works fine on my tomcat 5.5. So the latest code in the repository is probably broken since I've verified it's not something I'm doing.
jpangburn wrote: > > I created a log4j.properties file so I could see what the error was. > > INFO: Deploying web application archive > servicemix-web-3.0-incubating-SNAPSHOT.war > Root WebApplicationContext: initialization started > Loading Spring root WebApplicationContext > Context initialization failed > org.springframework.context.ApplicationContextException: Failed to load > custom context class > [org.apache.servicemix.xbean.XmlWebApplicationContext]; nested exception > is java.lang.ClassNotFoundException: > org.apache.servicemix.xbean.XmlWebApplicationContext > Caused by: > java.lang.ClassNotFoundException: > org.apache.servicemix.xbean.XmlWebApplicationContext > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352) > > In the dev forum, it looks like this class > "org.apache.servicemix.xbean.XmlWebApplicationContext" was recently > removed for some other bug: > http://www.nabble.com/forum/ViewPost.jtp?post=4951389&framed=y > > However, it appears (to me, knowing little about servicemix) that this > file is needed by this servicemix-web WAR. Anyone know about this? > > thanks, > Jesse > > jpangburn wrote: >> >> I tried downloading the servicemix source code from the trunk today and >> compiling it. After compilation finishes there's a >> trunk\samples\servicemix-web\target\servicemix-web-3.0-incubating-SNAPSHOT.war >> file. I fresh installed tomcat 5.5.17, started it, and copied the war >> file to the webapps dir. >> >> Aug 17, 2006 1:31:38 PM org.apache.catalina.startup.HostConfig deployWAR >> INFO: Deploying web application archive >> servicemix-web-3.0-incubating-SNAPSHOT.war >> log4j:WARN No appenders could be found for logger >> (org.apache.commons.digester.Digester). >> log4j:WARN Please initialize the log4j system properly. >> Aug 17, 2006 1:31:52 PM org.apache.catalina.core.StandardContext start >> SEVERE: Error listenerStart >> Aug 17, 2006 1:31:52 PM org.apache.catalina.core.StandardContext start >> SEVERE: Context [/servicemix-web-3.0-incubating-SNAPSHOT] startup failed >> due to previous errors >> >> Anyone else had this problem? >> >> thanks, >> Jesse >> >> charley wrote: >>> >>> thx. >>> I tried the apache-servicemix-3.0-M2-incubating last night. >>> servicemix-web-3.0-M2-incubating.war works in tomcat. >>> >> >> > > -- View this message in context: http://www.nabble.com/serviccemix-web-does-not-work-after-deploying-into-Tomcat-tf2026354.html#a5860762 Sent from the ServiceMix - User forum at Nabble.com.
