kolorobot / spring-mvc-quickstart-archetype

The project is a Maven archetype for Spring MVC web application.
http://blog.codeleak.pl
1.05k stars 478 forks source link

Running on JBoss 7.1.1 #48

Closed amreddycool closed 9 years ago

amreddycool commented 10 years ago

Hello,

I am trying to run the project on JBoss 7.1.1 Final. As the JBoss had Hibernate 4.0.2, I updated the module to use 4.2.5.

After running my application on my machine. The logs does not have any error. http://localhost:8080// returns 404.

I turned JBoss to Debug on org.springframework. No Errors reported.

Is there an issue, running on JBoss? I try to put a breakpoint in DispatcherServlet.doService. But its never reached on a new request.

Thank you for looking into the issue... Here is the log...

16:25:16,165 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 16:25:16,399 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 16:25:16,477 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting 16:25:17,430 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http) 16:25:17,430 INFO [org.xnio] XNIO Version 3.0.3.GA 16:25:17,461 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA 16:25:17,477 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA 16:25:17,493 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers 16:25:17,508 INFO [org.jboss.as.configadmin](ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem 16:25:17,524 INFO [org.jboss.as.clustering.infinispan](ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem. 16:25:17,524 INFO [org.jboss.as.naming](ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem 16:25:17,539 INFO [org.jboss.as.security](ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem 16:25:17,555 INFO [org.jboss.as.osgi](ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem 16:25:17,555 INFO [org.jboss.as.security](MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.7.Final 16:25:17,555 INFO [org.jboss.as.connector](MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final) 16:25:17,571 INFO [org.jboss.as.webservices](ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension 16:25:17,680 INFO [org.jboss.as.connector.subsystems.datasources](ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 16:25:17,727 INFO [org.jboss.as.naming](MSC service thread 1-4) JBAS011802: Starting Naming Service 16:25:17,758 INFO [org.jboss.as.connector.subsystems.datasources](ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.hsqldb.jdbcDriver (version 2.3) 16:25:17,789 INFO [org.jboss.as.mail.extension](MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default] 16:25:17,883 INFO [org.apache.coyote.http11.Http11Protocol](MSC service thread 1-2) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080 16:25:17,930 INFO [org.jboss.ws.common.management.AbstractServerConfig](MSC service thread 1-7) JBoss Web Services - Stack CXF Server 4.0.2.GA 16:25:18,492 INFO [org.jboss.as.server.deployment.scanner](MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory D:\MR\Java\jboss-as-7.1.1.Final\standalone\deployments 16:25:18,492 INFO [org.jboss.as.remoting](MSC service thread 1-6) JBAS017100: Listening on localhost/127.0.0.1:4447 16:25:18,492 INFO [org.jboss.as.remoting](MSC service thread 1-8) JBAS017100: Listening on /127.0.0.1:9999 16:25:18,524 INFO [org.jboss.as.server.deployment.scanner](DeploymentScanner-threads - 1) JBAS015003: Found fullcar.war in deployment directory. To trigger deployment create a file called fullcar.war.dodeploy 16:25:18,649 INFO [org.jboss.as.connector.subsystems.datasources](MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/D2DDS] 16:25:18,649 INFO [org.jboss.as.connector.subsystems.datasources](MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 16:25:18,664 INFO [org.jboss.as.server.deployment](MSC service thread 1-1) JBAS015876: Starting deployment of "fullcar.war" 16:25:21,757 WARN [org.jboss.as.ee](MSC service thread 1-6) JBAS011006: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.http.server.ServletServerHttpAsyncRequestControl at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606) at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] 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_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

16:25:21,773 WARN [org.jboss.as.ee](MSC service thread 1-6) JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.web.context.request.async.StandardServletAsyncWebRequest at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606) at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] 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_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

16:25:21,867 INFO [org.jboss.as.connector.deployers.jdbc](MSC service thread 1-6) JBAS010403: Deploying JDBC-compliant driver class org.hsqldb.jdbc.JDBCDriver (version 2.3) 16:25:21,960 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/fullcar]](MSC service thread 1-1) Spring WebApplicationInitializers detected on classpath: [com.mreddy.fullcar.config.WebAppSecurityInitializer@40baeb, com.mreddy.fullcar.config.WebAppInitializer@1af9c7b] 16:25:22,148 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/fullcar]](MSC service thread 1-1) Initializing Spring root WebApplicationContext 16:25:22,148 INFO [org.springframework.web.context.ContextLoader](MSC service thread 1-1) Root WebApplicationContext: initialization started 16:25:22,148 INFO [org.springframework.web.context.support.AnnotationConfigWebApplicationContext](MSC service thread 1-1) Refreshing Root WebApplicationContext: startup date [Tue Feb 04 16:25:22 CET 2014]; root of context hierarchy 16:25:22,195 INFO [org.springframework.web.context.support.AnnotationConfigWebApplicationContext](MSC service thread 1-1) Registering annotated classes: [class com.mreddy.fullcar.config.ApplicationConfig,interface com.mreddy.fullcar.config.DataSourceConfig,class com.mreddy.fullcar.config.JpaConfig,class com.mreddy.fullcar.config.SecurityConfig] 16:25:22,429 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader](MSC service thread 1-1) Loading XML bean definitions from class path resource [spring-security-context.xml] 16:25:22,757 INFO [org.springframework.security.core.SpringSecurityCoreVersion](MSC service thread 1-1) You are running with Spring Security Core 3.2.0.RELEASE 16:25:22,773 INFO [org.springframework.security.config.SecurityNamespaceHandler](MSC service thread 1-1) Spring Security 'config' module version is 3.2.0.RELEASE 16:25:22,804 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser](MSC service thread 1-1) Creating access control expression attribute 'permitAll' for / 16:25:22,804 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser](MSC service thread 1-1) Creating access control expression attribute 'permitAll' for /favicon.ico 16:25:22,804 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser](MSC service thread 1-1) Creating access control expression attribute 'permitAll' for /resources/ 16:25:22,804 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser](MSC service thread 1-1) Creating access control expression attribute 'permitAll' for /signin 16:25:22,804 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser](MSC service thread 1-1) Creating access control expression attribute 'permitAll' for /signup 16:25:22,804 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser](MSC service thread 1-1) Creating access control expression attribute 'isAuthenticated()' for / 16:25:22,835 INFO [org.springframework.security.config.http.HttpSecurityBeanDefinitionParser](MSC service thread 1-1) Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 700, <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>, order = 1100, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1500, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1900, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2100, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2200, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2300] 16:25:23,007 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer](MSC service thread 1-1) Loading properties file from class path resource [persistence.properties] 16:25:23,038 INFO [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor](MSC service thread 1-1) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 16:25:23,319 INFO [org.springframework.jdbc.datasource.DriverManagerDataSource](MSC service thread 1-1) Loaded JDBC driver: org.hsqldb.jdbcDriver 16:25:23,413 INFO [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean](MSC service thread 1-1) Building JPA container EntityManagerFactory for persistence unit 'default' 16:25:23,647 INFO [org.hibernate.annotations.common.Version](MSC service thread 1-1) HCANN000001: Hibernate Commons Annotations {4.0.2.Final} 16:25:23,663 INFO [org.hibernate.Version](MSC service thread 1-1) HHH000412: Hibernate Core {4.2.5.Final} 16:25:23,663 INFO [org.hibernate.cfg.Environment](MSC service thread 1-1) HHH000206: hibernate.properties not found 16:25:23,679 INFO [org.hibernate.cfg.Environment](MSC service thread 1-1) HHH000021: Bytecode provider name : javassist 16:25:23,897 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator](MSC service thread 1-1) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 16:25:24,350 INFO [org.hibernate.dialect.Dialect](MSC service thread 1-1) HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 16:25:24,460 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator](MSC service thread 1-1) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory 16:25:24,475 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory](MSC service thread 1-1) HHH000397: Using ASTQueryTranslatorFactory 16:25:24,538 INFO [org.hibernate.validator.internal.util.Version](MSC service thread 1-1) HV000001: Hibernate Validator 4.3.0.Final 16:25:24,788 INFO [org.hibernate.tool.hbm2ddl.SchemaExport](MSC service thread 1-1) HHH000227: Running hbm2ddl schema export 16:25:24,788 INFO [org.hibernate.tool.hbm2ddl.SchemaExport](MSC service thread 1-1) HHH000230: Schema export complete 16:25:25,209 WARN [org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl](MSC service thread 1-1) HHH000386: ResultSet had no statement associated with it, but was not yet registered 16:25:25,241 WARN [org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl](MSC service thread 1-1) HHH000386: ResultSet had no statement associated with it, but was not yet registered 16:25:25,772 INFO [org.springframework.security.web.DefaultSecurityFilterChain](MSC service thread 1-1) Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@ec669f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@458baa, org.springframework.security.web.authentication.logout.LogoutFilter@1d486aa, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@1d506ea, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@b8f5cb, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@110ff84, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@f7702d, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@e5da73, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@68e19d, org.springframework.security.web.session.SessionManagementFilter@1b438ca, org.springframework.security.web.access.ExceptionTranslationFilter@fc63fb, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@81f54] 16:25:25,803 INFO [org.springframework.security.config.http.DefaultFilterChainValidator](MSC service thread 1-1) Checking whether login URL '/signin' is accessible with your configuration 16:25:25,866 INFO [org.springframework.web.context.ContextLoader](MSC service thread 1-1) Root WebApplicationContext: initialization completed in 3718 ms 16:25:25,881 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/fullcar]](MSC service thread 1-1) Initializing Spring FrameworkServlet 'dispatcher' 16:25:25,881 INFO [org.springframework.web.servlet.DispatcherServlet](MSC service thread 1-1) FrameworkServlet 'dispatcher': initialization started 16:25:25,912 INFO [org.springframework.web.context.support.AnnotationConfigWebApplicationContext](MSC service thread 1-1) Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Tue Feb 04 16:25:25 CET 2014]; parent: Root WebApplicationContext 16:25:25,928 INFO [org.springframework.web.context.support.AnnotationConfigWebApplicationContext](MSC service thread 1-1) Registering annotated classes: [class com.mreddy.fullcar.config.WebMvcConfig] 16:25:26,069 INFO [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor](MSC service thread 1-1) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 16:25:26,709 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping](MSC service thread 1-1) Mapped "{[/account/current],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public com.mreddy.fullcar.account.Account com.mreddy.fullcar.account.AccountController.accounts(java.security.Principal) 16:25:26,709 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping](MSC service thread 1-1) Mapped "{[/generalError],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.error.CustomErrorController.generalError(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.ui.Model) 16:25:26,709 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping](MSC service thread 1-1) Mapped "{[/],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.home.HomeController.index(java.security.Principal) 16:25:26,709 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping](MSC service thread 1-1) Mapped "{[/signin],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.signin.SigninController.signin() 16:25:26,709 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping](MSC service thread 1-1) Mapped "{[/signup],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.signup.SignupController.signup(org.springframework.ui.Model) 16:25:26,709 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping](MSC service thread 1-1) Mapped "{[/signup],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.signup.SignupController.signup(com.mreddy.fullcar.signup.SignupForm,org.springframework.validation.Errors,org.springframework.web.servlet.mvc.support.RedirectAttributes) 16:25:26,850 INFO [org.springframework.web.servlet.DispatcherServlet](MSC service thread 1-1) FrameworkServlet 'dispatcher': initialization completed in 969 ms 16:25:26,865 INFO [org.jboss.web](MSC service thread 1-1) JBAS018210: Registering web context: /fullcar 16:25:26,865 INFO [org.jboss.as](MSC service thread 1-1) JBAS015951: Admin console listening on http://127.0.0.1:9990 16:25:26,865 INFO [org.jboss.as](MSC service thread 1-1) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 11013ms - Started 239 of 317 services (76 services are passive or on-demand) 16:25:26,943 INFO [org.jboss.as.server](DeploymentScanner-threads - 2) JBAS018559: Deployed "fullcar.war" 16:26:01,060 DEBUG org.springframework.security.web.FilterChainProxy / at position 1 of 12 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter' 16:26:01,060 DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository No HttpSession currently exists 16:26:01,060 DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository No SecurityContext was available from the HttpSession: null. A new one will be created. 16:26:01,060 DEBUG org.springframework.security.web.FilterChainProxy / at position 2 of 12 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 3 of 12 in additional filter chain; firing Filter: 'LogoutFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 4 of 12 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 5 of 12 in additional filter chain; firing Filter: 'BasicAuthenticationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 6 of 12 in additional filter chain; firing Filter: 'RequestCacheAwareFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 7 of 12 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 8 of 12 in additional filter chain; firing Filter: 'RememberMeAuthenticationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 9 of 12 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter' 16:26:01,076 DEBUG org.springframework.security.web.authentication.AnonymousAuthenticationFilter Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 10 of 12 in additional filter chain; firing Filter: 'SessionManagementFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 11 of 12 in additional filter chain; firing Filter: 'ExceptionTranslationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / at position 12 of 12 in additional filter chain; firing Filter: 'FilterSecurityInterceptor' 16:26:01,076 DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher Checking match of request : '/'; against '/' 16:26:01,076 DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor Secure object: FilterInvocation: URL: /; Attributes: [permitAll] 16:26:01,076 DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS 16:26:01,076 DEBUG org.springframework.security.access.vote.AffirmativeBased Voter: org.springframework.security.web.access.expression.WebExpressionVoter@359214, returned: 1 16:26:01,076 DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor Authorization successful 16:26:01,076 DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor RunAsManager did not change Authentication object 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxy / reached end of additional filter chain; proceeding with original chain 16:26:01,076 DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession. 16:26:01,076 DEBUG org.springframework.security.web.access.ExceptionTranslationFilter Chain processed normally 16:26:01,076 DEBUG org.springframework.security.web.context.SecurityContextPersistenceFilter SecurityContextHolder now cleared, as request processing completed

kolorobot commented 10 years ago

Hello,

Thanks for the message. I will have a look. Running on Jboss is high priority, so definitively it must be solved. I don't know yet still.

2014-02-04 16:26 GMT+01:00 amreddycool notifications@github.com:

Hello,

I am trying to run the project on JBoss 7.1.1 Final. As the JBoss had Hibernate 4.0.2, I updated the module to use 4.2.5.

After running my application on my machine. The logs does not have any error. http://localhost:8080// returns 404.

I turned JBoss to Debug on org.springframework. No Errors reported.

Is there an issue, running on JBoss? I try to put a breakpoint in DispatcherServlet.doService. But its never reached on a new request.

Thank you for looking into the issue... Here is the log...

16:25:16,165 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 16:25:16,399 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 16:25:16,477 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting 16:25:17,430 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http) 16:25:17,430 INFO [org.xnio] XNIO Version 3.0.3.GA 16:25:17,461 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA 16:25:17,477 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA 16:25:17,493 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers 16:25:17,508 INFO org.jboss.as.configadminhttp://ServerService%20Thread%20Pool%20--%2026JBAS016200: Activating ConfigAdmin Subsystem 16:25:17,524 INFO org.jboss.as.clustering.infinispanhttp://ServerService%20Thread%20Pool%20--%2031JBAS010280: Activating Infinispan subsystem. 16:25:17,524 INFO org.jboss.as.naminghttp://ServerService%20Thread%20Pool%20--%2038JBAS011800: Activating Naming Subsystem 16:25:17,539 INFO org.jboss.as.securityhttp://ServerService%20Thread%20Pool%20--%2044JBAS013101: Activating Security Subsystem 16:25:17,555 INFO org.jboss.as.osgihttp://ServerService%20Thread%20Pool%20--%2039JBAS011940: Activating OSGi Subsystem 16:25:17,555 INFO org.jboss.as.securityhttp://MSC%20service%20thread%201-1JBAS013100: Current PicketBox version=4.0.7.Final 16:25:17,555 INFO org.jboss.as.connectorhttp://MSC%20service%20thread%201-2JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final) 16:25:17,571 INFO org.jboss.as.webserviceshttp://ServerService%20Thread%20Pool%20--%2048JBAS015537: Activating WebServices Extension 16:25:17,680 INFO org.jboss.as.connector.subsystems.datasourceshttp://ServerService%20Thread%20Pool%20--%2027JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 16:25:17,727 INFO org.jboss.as.naminghttp://MSC%20service%20thread%201-4JBAS011802: Starting Naming Service 16:25:17,758 INFO org.jboss.as.connector.subsystems.datasourceshttp://ServerService%20Thread%20Pool%20--%2027JBAS010403: Deploying JDBC-compliant driver class org.hsqldb.jdbcDriver (version 2.3) 16:25:17,789 INFO org.jboss.as.mail.extensionhttp://MSC%20service%20thread%201-6JBAS015400: Bound mail session [java:jboss/mail/Default] 16:25:17,883 INFO org.apache.coyote.http11.Http11Protocolhttp://MSC%20service%20thread%201-2Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080 16:25:17,930 INFO org.jboss.ws.common.management.AbstractServerConfighttp://MSC%20service%20thread%201-7JBoss Web Services - Stack CXF Server 4.0.2.GA 16:25:18,492 INFO org.jboss.as.server.deployment.scannerhttp://MSC%20service%20thread%201-1JBAS015012: Started FileSystemDeploymentService for directory D:\MR\Java\jboss-as-7.1.1.Final\standalone\deployments 16:25:18,492 INFO org.jboss.as.remotinghttp://MSC%20service%20thread%201-6JBAS017100: Listening on localhost/ 127.0.0.1:4447 16:25:18,492 INFO org.jboss.as.remotinghttp://MSC%20service%20thread%201-8JBAS017100: Listening on / 127.0.0.1:9999 16:25:18,524 INFO org.jboss.as.server.deployment.scannerhttp://DeploymentScanner-threads%20-%201JBAS015003: Found fullcar.war in deployment directory. To trigger deployment create a file called fullcar.war.dodeploy 16:25:18,649 INFO org.jboss.as.connector.subsystems.datasourceshttp://MSC%20service%20thread%201-6JBAS010400: Bound data source [java:jboss/datasources/D2DDS] 16:25:18,649 INFO org.jboss.as.connector.subsystems.datasourceshttp://MSC%20service%20thread%201-6JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 16:25:18,664 INFO org.jboss.as.server.deploymenthttp://MSC%20service%20thread%201-1JBAS015876: Starting deployment of "fullcar.war" 16:25:21,757 WARN org.jboss.as.ee http://MSC%20service%20thread%201-6JBAS011006: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.http.server.ServletServerHttpAsyncRequestControl at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606) at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] 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_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

16:25:21,773 WARN org.jboss.as.ee http://MSC%20service%20thread%201-6JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.web.context.request.async.StandardServletAsyncWebRequest at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606) at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] 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_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

16:25:21,867 INFO org.jboss.as.connector.deployers.jdbchttp://MSC%20service%20thread%201-6JBAS010403: Deploying JDBC-compliant driver class org.hsqldb.jdbc.JDBCDriver (version 2.3) 16:25:21,960 INFO org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/fullcar]http://MSC%20service%20thread%201-1Spring WebApplicationInitializers detected on classpath: [com.mreddy.fullcar.config.WebAppSecurityInitializer@40baeb, com.mreddy.fullcar.config.WebAppInitializer@1af9c7bhttps://github.com/com.mreddy.fullcar.config.WebAppInitializer/spring-mvc-quickstart-archetype/commit/1af9c7b ] 16:25:22,148 INFO org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/fullcar]http://MSC%20service%20thread%201-1Initializing Spring root WebApplicationContext 16:25:22,148 INFO org.springframework.web.context.ContextLoaderhttp://MSC%20service%20thread%201-1Root WebApplicationContext: initialization started 16:25:22,148 INFO org.springframework.web.context.support.AnnotationConfigWebApplicationContexthttp://MSC%20service%20thread%201-1Refreshing Root WebApplicationContext: startup date [Tue Feb 04 16:25:22 CET 2014]; root of context hierarchy 16:25:22,195 INFO org.springframework.web.context.support.AnnotationConfigWebApplicationContexthttp://MSC%20service%20thread%201-1Registering annotated classes: [class com.mreddy.fullcar.config.ApplicationConfig,interface com.mreddy.fullcar.config.DataSourceConfig,class com.mreddy.fullcar.config.JpaConfig,class com.mreddy.fullcar.config.SecurityConfig] 16:25:22,429 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReaderhttp://MSC%20service%20thread%201-1Loading XML bean definitions from class path resource [spring-security-context.xml] 16:25:22,757 INFO org.springframework.security.core.SpringSecurityCoreVersionhttp://MSC%20service%20thread%201-1You are running with Spring Security Core 3.2.0.RELEASE 16:25:22,773 INFO org.springframework.security.config.SecurityNamespaceHandlerhttp://MSC%20service%20thread%201-1Spring Security 'config' module version is 3.2.0.RELEASE 16:25:22,804 INFO org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParserhttp://MSC%20service%20thread%201-1Creating access control expression attribute 'permitAll' for / 16:25:22,804 INFO org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParserhttp://MSC%20service%20thread%201-1Creating access control expression attribute 'permitAll' for /favicon.ico 16:25:22,804 INFO org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParserhttp://MSC%20service%20thread%201-1Creating access control expression attribute 'permitAll' for /resources/ 16:25:22,804 INFO org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParserhttp://MSC%20service%20thread%201-1Creating access control expression attribute 'permitAll' for /signin 16:25:22,804 INFO org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParserhttp://MSC%20service%20thread%201-1Creating access control expression attribute 'permitAll' for /signup 16:25:22,804 INFO org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParserhttp://MSC%20service%20thread%201-1Creating access control expression attribute 'isAuthenticated()' for / 16:25:22,835 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParserhttp://MSC%20service%20thread%201-1Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primar y=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 700, , order = 1100, Root bean: class [org.springframework.security.web.authentication. www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1500, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCand idate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1900, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null ; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2100, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2200, , order = 2300] 16:25:23,007 INFO org.springframework.beans.factory.config.PropertyPlaceholderConfigurerhttp://MSC%20service%20thread%201-1Loading properties file from class path resource [persistence.properties] 16:25:23,038 INFO org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessorhttp://MSC%20service%20thread%201-1JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 16:25:23,319 INFO org.springframework.jdbc.datasource.DriverManagerDataSourcehttp://MSC%20service%20thread%201-1Loaded JDBC driver: org.hsqldb.jdbcDriver 16:25:23,413 INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBeanhttp://MSC%20service%20thread%201-1Building JPA container EntityManagerFactory for persistence unit 'default' 16:25:23,647 INFO org.hibernate.annotations.common.Versionhttp://MSC%20service%20thread%201-1HCANN000001: Hibernate Commons Annotations {4.0.2.Final} 16:25:23,663 INFO org.hibernate.Versionhttp://MSC%20service%20thread%201-1HHH000412: Hibernate Core {4.2.5.Final} 16:25:23,663 INFO org.hibernate.cfg.Environmenthttp://MSC%20service%20thread%201-1HHH000206: hibernate.properties not found 16:25:23,679 INFO org.hibernate.cfg.Environmenthttp://MSC%20service%20thread%201-1HHH000021: Bytecode provider name : javassist 16:25:23,897 INFO org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiatorhttp://MSC%20service%20thread%201-1HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 16:25:24,350 INFO org.hibernate.dialect.Dialecthttp://MSC%20service%20thread%201-1HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 16:25:24,460 INFO org.hibernate.engine.transaction.internal.TransactionFactoryInitiatorhttp://MSC%20service%20thread%201-1HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory 16:25:24,475 INFO org.hibernate.hql.internal.ast.ASTQueryTranslatorFactoryhttp://MSC%20service%20thread%201-1HHH000397: Using ASTQueryTranslatorFactory 16:25:24,538 INFO org.hibernate.validator.internal.util.Versionhttp://MSC%20service%20thread%201-1HV000001: Hibernate Validator 4.3.0.Final 16:25:24,788 INFO org.hibernate.tool.hbm2ddl.SchemaExporthttp://MSC%20service%20thread%201-1HHH000227: Running hbm2ddl schema export 16:25:24,788 INFO org.hibernate.tool.hbm2ddl.SchemaExporthttp://MSC%20service%20thread%201-1HHH000230: Schema export complete 16:25:25,209 WARN org.hibernate.engine.jdbc.internal.JdbcCoordinatorImplhttp://MSC%20service%20thread%201-1HHH000386: ResultSet had no statement associated with it, but was not yet registered 16:25:25,241 WARN org.hibernate.engine.jdbc.internal.JdbcCoordinatorImplhttp://MSC%20service%20thread%201-1HHH000386: ResultSet had no statement associated with it, but was not yet registered 16:25:25,772 INFO org.springframework.security.web.DefaultSecurityFilterChainhttp://MSC%20service%20thread%201-1Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@ec669f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@458baa, org.springframework.security.web.authentication.logout.LogoutFilter@ 1d486aahttps://github.com/org.springframework.security.web.authentication.logout.LogoutFilter/spring-mvc-quickstart-archetype/commit/1d486aa,

org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@ 1d506eahttps://github.com/org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter/spring-mvc-quickstart-archetype/commit/1d506ea, org.springframework.security.web.authentication. www.BasicAuthenticationFilter@b8f5cb, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@ 110ff84https://github.com/org.springframework.security.web.savedrequest.RequestCacheAwareFilter/spring-mvc-quickstart-archetype/commit/110ff84, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@f7702d, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@e5da73, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@68e19d, org.springframework.security.web.session.SessionManagementFilter@1b438cahttps://github.com/org.springframework.security.web.session.SessionManagementFilter/spring-mvc-quickstart-archetype/commit/1b438ca, org.springframework.security.web.access.ExceptionTranslationFilter@fc63fb, org.springframework.security.web.access.intercept.FilterSecur ityInterceptor@81f54] 16:25:25,803 INFO org.springframework.security.config.http.DefaultFilterChainValidatorhttp://MSC%20service%20thread%201-1Checking whether login URL '/signin' is accessible with your configuration 16:25:25,866 INFO org.springframework.web.context.ContextLoaderhttp://MSC%20service%20thread%201-1Root WebApplicationContext: initialization completed in 3718 ms 16:25:25,881 INFO org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/fullcar]http://MSC%20service%20thread%201-1Initializing Spring FrameworkServlet 'dispatcher' 16:25:25,881 INFO org.springframework.web.servlet.DispatcherServlethttp://MSC%20service%20thread%201-1FrameworkServlet 'dispatcher': initialization started 16:25:25,912 INFO org.springframework.web.context.support.AnnotationConfigWebApplicationContexthttp://MSC%20service%20thread%201-1Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Tue Feb 04 16:25:25 CET 2014]; parent: Root WebApplicationContext 16:25:25,928 INFO org.springframework.web.context.support.AnnotationConfigWebApplicationContexthttp://MSC%20service%20thread%201-1Registering annotated classes: [class com.mreddy.fullcar.config.WebMvcConfig] 16:25:26,069 INFO org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessorhttp://MSC%20service%20thread%201-1JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 16:25:26,709 INFO org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappinghttp://MSC%20service%20thread%201-1Mapped "{[/account/current],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public com.mreddy.fullcar.account.Account com.mreddy.fullcar.account.AccountController.accounts(java.security.Principal) 16:25:26,709 INFO org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappinghttp://MSC%20service%20thread%201-1Mapped "{[/generalError],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.error.CustomErrorController.generalError(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.ui.Model) 16:25:26,709 INFO org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappinghttp://MSC%20service%20thread%201-1Mapped "{[/],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.home.HomeController.index(java.security.Principal) 16:25:26,709 INFO org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappinghttp://MSC%20service%20thread%201-1Mapped "{[/signin],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.signin.SigninController.signin() 16:25:26,709 INFO org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappinghttp://MSC%20service%20thread%201-1Mapped "{[/signup],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.signup.SignupController.signup(org.springframework.ui.Model) 16:25:26,709 INFO org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappinghttp://MSC%20service%20thread%201-1Mapped "{[/signup],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.mreddy.fullcar.signup.SignupController.signup(com.mreddy.fullcar.signup.SignupForm,org.springframework.validation.Errors,org.springframework.web.servlet.mvc.support.RedirectAttributes) 16:25:26,850 INFO org.springframework.web.servlet.DispatcherServlethttp://MSC%20service%20thread%201-1FrameworkServlet 'dispatcher': initialization completed in 969 ms 16:25:26,865 INFO org.jboss.web http://MSC%20service%20thread%201-1JBAS018210: Registering web context: /fullcar 16:25:26,865 INFO org.jboss.as http://MSC%20service%20thread%201-1JBAS015951: Admin console listening on http://127.0.0.1:9990 16:25:26,865 INFO org.jboss.as http://MSC%20service%20thread%201-1JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 11013ms - Started 239 of 317 services (76 services are passive or on-demand) 16:25:26,943 INFO org.jboss.as.serverhttp://DeploymentScanner-threads%20-%202JBAS018559: Deployed "fullcar.war" 16:26:01,060 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 1 of 12 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter' 16:26:01,060 DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepositoryhttp://http-localhost-127.0.0.1-8080-1No HttpSession currently exists 16:26:01,060 DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepositoryhttp://http-localhost-127.0.0.1-8080-1No SecurityContext was available from the HttpSession: null. A new one will be created. 16:26:01,060 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 2 of 12 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 3 of 12 in additional filter chain; firing Filter: 'LogoutFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 4 of 12 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 5 of 12 in additional filter chain; firing Filter: 'BasicAuthenticationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 6 of 12 in additional filter chain; firing Filter: 'RequestCacheAwareFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 7 of 12 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 8 of 12 in additional filter chain; firing Filter: 'RememberMeAuthenticationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 9 of 12 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter' 16:26:01,076 DEBUG org.springframework.security.web.authentication.AnonymousAuthenticationFilterhttp://http-localhost-127.0.0.1-8080-1Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 10 of 12 in additional filter chain; firing Filter: 'SessionManagementFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 11 of 12 in additional filter chain; firing Filter: 'ExceptionTranslationFilter' 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ at position 12 of 12 in additional filter chain; firing Filter: 'FilterSecurityInterceptor' 16:26:01,076 DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcherhttp://http-localhost-127.0.0.1-8080-1Checking match of request : '/'; against '/' 16:26:01,076 DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptorhttp://http-localhost-127.0.0.1-8080-1Secure object: FilterInvocation: URL: /; Attributes: [permitAll] 16:26:01,076 DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptorhttp://http-localhost-127.0.0.1-8080-1Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@ 9055e4ahttps://github.com/org.springframework.security.authentication.AnonymousAuthenticationToken/spring-mvc-quickstart-archetype/commit/9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS 16:26:01,076 DEBUG org.springframework.security.access.vote.AffirmativeBasedhttp://http-localhost-127.0.0.1-8080-1Voter: org.springframework.security.web.access.expression.WebExpressionVoter@359214, returned: 1 16:26:01,076 DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptorhttp://http-localhost-127.0.0.1-8080-1Authorization successful 16:26:01,076 DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptorhttp://http-localhost-127.0.0.1-8080-1RunAsManager did not change Authentication object 16:26:01,076 DEBUG org.springframework.security.web.FilterChainProxyhttp://http-localhost-127.0.0.1-8080-1/ reached end of additional filter chain; proceeding with original chain 16:26:01,076 DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepositoryhttp://http-localhost-127.0.0.1-8080-1SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession. 16:26:01,076 DEBUG org.springframework.security.web.access.ExceptionTranslationFilterhttp://http-localhost-127.0.0.1-8080-1Chain processed normally 16:26:01,076 DEBUG org.springframework.security.web.context.SecurityContextPersistenceFilterhttp://http-localhost-127.0.0.1-8080-1SecurityContextHolder now cleared, as request processing completed

— Reply to this email directly or view it on GitHubhttps://github.com/kolorobot/spring-mvc-quickstart-archetype/issues/48 .

Rafał.

skype: kolorobot80 blog: http://blog.codeleak.pl | http://blog.goyello.comhttp://blog.goyello.com/author/rborowiec/ twitter: http://twitter.com/#!/kolorobot https://twitter.com/#!/kolorobot github: http://github.com/kolorobot https://github.com/kolorobot

kolorobot commented 9 years ago

I have decided to migrate the project to Java 8. And as far as I am concerned 7.1.1 does not support 1.8. I will focus more on running the application on next generation WildFly.

Tried quickly with Wildfly 8.0.0 and it worked fine. Need to investigate this further.