1 Reply Latest reply on Aug 1, 2013 7:29 AM by Stephen Coy

    JBoss as7 about 'SSH'

    dovery Newbie

      Hello,

      I use the jboss7 as my web application sever.Now,I have some questions about it.My project is developed with ‘Struts2+Spring3+Hibernate3’。My project can run in tomcat6 but can't jboss7。

       

      How to solve?

       

      The following error :

      Messages:
      1. loginAction from [Module "deployment.CNCTOA.war:main" from Service Module Loader]
      2. Unable to instantiate Action, loginAction, defined for 'user_login' in namespace '/login'loginAction from [Module "deployment.CNCTOA.war:main" from Service Module Loader]
      File:org/jboss/modules/ModuleClassLoader.java
      Line number:190


      Stacktraces

      Unable to instantiate Action, loginAction, defined for 'user_login' in namespace '/login'loginAction from [Module "deployment.CNCTOA.war:main" from Service Module Loader] 
          com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:319)  com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:400)  com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194)  org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)  org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)  com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)  org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:500)  org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)  org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)  com.cnctoa.filter.AuthFilter.doFilter(AuthFilter.java:46)  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)  org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)  java.lang.Thread.run(Thread.java:619)  

      java.lang.ClassNotFoundException: loginAction from [Module "deployment.CNCTOA.war:main" from Service Module Loader] 

          org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)  org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)  org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)  org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)  org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)  com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:157)  com.opensymphony.xwork2.ObjectFactory.getClassInstance(ObjectFactory.java:107)  com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:233)  com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:153)  com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:150)  com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:120)  com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:300)  com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:400)  com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194)  org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)  org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)  com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)  org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:500)  org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)  org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)  com.cnctoa.filter.AuthFilter.doFilter(AuthFilter.java:46)  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)  org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)  java.lang.Thread.run(Thread.java:619)  


      You are seeing this page because development mode is enabled. Development mode, or devMode, enables extra debugging behaviors and reports to assist developers. To disable this mode, set:

        struts.devMode=false  

      in your WEB-INF/classes/struts.properties file.