Open SLJ2920W opened 9 years ago
p {margin-top:0px;margin-bottom:0px;}
안녕하세요..답변이 늦어서 정말 죄송합니다..메일은 이미 진작에 받아놓고는 있었는데..제가 한창 프로젝트 중이어서 제가 바로 답변을 드릴수가 없었네요..프로젝트가 저번주 금요일부로 종료가 되어서 이제서야 메일에 대한 답변을 드리네요..일단 제가 컴을 다시 밀고 STS부터 다시 설치해서 테스트해보았으나 저에게는 별 문제가 없었습니다..어떻게 셋팅하셨는지 셋팅 과정을 알수가 없어서 머라 답변 드리기가 어렵고../springsecurity/main.do를 하셨다고 하셨는데..제가 github에 남긴 내용을 보시면 context path를 root(/)로 잡으신걸 아실겁니다..일단 STS에서 project의 context path를 root로 잡아보세요..그것때문이라고 보기는 어렵지만 일단 저랑 차이가 나는 부분이 그 부분뿐이 안보여서요..또 WAS 기동시 DB를 조회하는 부분도 있기 때문에 DB 접속정보에 대한 확인도 부탁드립니다..그리고 로그가 그것만 나온다는 것도 좀 이해하기 어려운데요..일단 제 프로젝트에서 찍히는 로그를 보여드리면 다음과 같이 나옵니다..12월 14, 2014 11:16:28 오후 org.apache.catalina.core.AprLifecycleListener init정보: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_71\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.7.0_71\jre\bin;D:\Oracle\app\oracle\product\11.2.0\server\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Bandizip\7z;.12월 14, 2014 11:16:28 오후 org.apache.tomcat.util.digester.SetPropertiesRule begin경고: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:springsecurity' did not find a matching property.12월 14, 2014 11:16:28 오후 org.apache.coyote.AbstractProtocol init정보: Initializing ProtocolHandler ["http-bio-8080"]12월 14, 2014 11:16:28 오후 org.apache.coyote.AbstractProtocol init정보: Initializing ProtocolHandler ["ajp-bio-8009"]12월 14, 2014 11:16:28 오후 org.apache.catalina.startup.Catalina load정보: Initialization processed in 1061 ms12월 14, 2014 11:16:29 오후 org.apache.catalina.core.StandardService startInternal정보: Starting service Catalina12월 14, 2014 11:16:29 오후 org.apache.catalina.core.StandardEngine startInternal정보: Starting Servlet Engine: Apache Tomcat/7.0.5012월 14, 2014 11:16:33 오후 org.apache.tomcat.jdbc.pool.ConnectionPool init경고: maxIdle is larger than maxActive, setting maxIdle to: 1012월 14, 2014 11:16:33 오후 org.apache.catalina.core.ApplicationContext log정보: No Spring WebApplicationInitializer types detected on classpath12월 14, 2014 11:16:33 오후 org.apache.catalina.core.ApplicationContext log정보: Initializing Spring root WebApplicationContextINFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization startedINFO o.s.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Sun Dec 14 23:16:34 KST 2014]; root of context hierarchyINFO o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/root-context.xml]INFO o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/spring-security.xml]INFO o.s.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 3.2.4.RELEASEINFO o.s.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 3.2.4.RELEASEINFO o.s.s.config.http.HttpSecurityBeanDefinitionParser - 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.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,
이상하게 오늘 다시 해보니까 되네요..수정한것도 없는데 흠.. 아 그리고 블로그 글 정말 잘봤습니다 정말 많은 도움이 되었어요 ^^ 수고하세요!!~
스프링 시큐리티 배우는데 많은 도움이 되었습니다
근데 소스를 실행 해서 주소창에 /springsecurity/main.do 치면 404에러가 나옵니다
톰캣 실행 하면 별다른 에러는 안나오고
WARN o.s.s.config.http.DefaultFilterChainValidator - Possible error: Filters at position 10 and 11 are both instances of org.springframework.security.web.access.intercept.FilterSecurityInterceptor
이런 로그가 나오네요 그외 별다른 에러나 경고 문구도 없습니다..
왜 이런 문제가 발생 하는걸까요 ㅠㅠ