我有一个基于库tomuts2 y spring在tomcat上运行的java proyect,
现在我想在jboss服务器上安装它但是当我将war复制到部署文件夹时,jboss会生成一个名为miwar.war.failed的文件,并在server.log中显示:
16:53:24,570 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/JuadiJava]] (MSC service thread 1-12) Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Login' defined in ServletContext resource [/WEB-INF/classes/herramientas/usuarios/Aspects-Usuarios.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut executeLogout
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) [org.springframework.web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) [org.springframework.web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [org.springframework.web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut executeLogout
at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:317) [xwork-2.1.2.jar:]
at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:195) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch(AspectJExpressionPointcut.java:181) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.aspectj.AspectJExpressionPointcut.getClassFilter(AspectJExpressionPointcut.java:162) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:200) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:254) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply(AopUtils.java:286) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(AbstractAdvisorAutoProxyCreator.java:117) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:87) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:68) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:359) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322) [org.springframework.aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1426) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
... 19 more
16:53:24,587 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-12) Error listenerStart
16:53:24,588 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-12) Falló en arranque del Contexto [/JuadiJava] debido a errores previos
16:53:24,589 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/JuadiJava]] (MSC service thread 1-12) Closing Spring root WebApplicationContext
16:53:24,590 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-12) MSC00001: Failed to start service jboss.web.deployment.default-host./JuadiJava: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./JuadiJava: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
16:53:24,795 INFO [org.jboss.as.server] (HttpManagementService-threads - 6) JBAS015870: Deploy of deployment "JuadiJava.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./JuadiJava" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./JuadiJava: JBAS018040: Failed to start context"}}
16:53:25,044 INFO [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015877: Stopped deployment JuadiJava.war in 248ms
16:53:25,044 INFO [org.jboss.as.controller] (HttpManagementService-threads - 6) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.web.deployment.default-host./JuadiJava: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./JuadiJava: JBAS018040: Failed to start context
我的系统有ubuntu服务器12.04,java jdk 7和jboss 7.11,我在我的proyect struts 2.1.6和spring 3.0.6中使用
有人知道为什么我无法部署以及我需要做什么?