[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection
mike_mackey
do-not-reply at jboss.com
Thu Jun 25 10:20:16 EDT 2009
If I don't include int-vfs and int-deployers in the war/lib directory (but I do have them in the spring.deployers directory) I get the following exception
| 15:16:26,116 INFO [TomcatDeployment] deploy, ctxPath=/common-mgt-fw-war, vfsUrl=common-mgt-fw.spring/common-mgt-fw.war
| 15:16:27,701 INFO [[/common-mgt-fw-war]] Initializing Spring root WebApplicationContext
| 15:16:27,702 INFO [STDOUT] 25-Jun-2009 15:16:27 INFO [ContextLoader] - <Root WebApplicationContext: initialization started>
| 15:16:27,804 INFO [STDOUT] 25-Jun-2009 15:16:27 ERROR [ContextLoader] - <Context initialization failed>
| org.springframework.context.ApplicationContextException: Custom context class [org.jboss.spring.factory.VFSXmlWebApplicationContext] is not of type [org.springframework.web.context.ConfigurableWebApplicationContext]
| at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:245)
| at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
| at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
| 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:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
| at $Proxy36.start(Unknown Source)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240071#4240071
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240071
More information about the jboss-user
mailing list