Can you send the pom file, if you use maven? Christian
Am 26.04.2011 20:26, schrieb Ron Grimes:
Hi Christian, I definitely have spring-web-3.0.5.RELEASE in my path. I'm using the same set of jars for TC7 as I did for my successful implementation of TC6. The only difference being the javaee.jar that is included. For TC6, I used the javaee version 5, and for TC7 I've tried both the version 5 and 6 jars of javaee. But, since ContextLoaderListener implements ServletContextListener, this is why I felt that the reason I can get TC6 working, but not TC7, had to do with the change in the servlet jar changing from version 2.5 to 3.0. I just don't know exactly what it doesn't like. I've tried building with both version of javaee within TC7, but to no avail. All it tells me is that it can't configure the application listener. Ron Grimes -----Original Message----- From: Christian Schneider [mailto:[email protected]] Sent: Tuesday, April 26, 2011 2:43 AM To: [email protected] Subject: Re: Anyone Successfully Set-up Tomcat 7 with CXF 2.4? Hi Ron, from the error message it looks like the spring web jar is not on the classpath. Could you send the content of your pom you use to create the war file and of course check if the above jar is in the lib dir? Christian Am 26.04.2011 01:16, schrieb Ron Grimes:All, Just a shot in the dark, but has anyone managed to get Tomcat 7 CXF 2.4 Spring 3.0.5 working together? I've been beating my head against a wall with the following error, and am not really sure what it's complaining about : INFO: Deploying web application archive ssc-maximo.war Apr 25, 2011 4:41:01 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4638) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5204) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5199) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Apr 25, 2011 4:41:01 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) Apr 25, 2011 4:41:01 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Apr 25, 2011 4:41:01 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/ssc-maximo] startup failed due to previous errors I suspected the problem was with the change from servlet-api 2.5 to 3.0. I've tried configuring it both ways to no avail. I have managed to get Tomcat 6, CXF 2.5, and Spring 3.0.5 working, but, since I'm finally upgrading from Tomcat 5.5.26, I wanted to push it all the way to TC 7. Any help would be greatly appreciated. Thanks, Ron Grimes-- ---- http://www.liquid-reality.de
-- ---- http://www.liquid-reality.de
