Spring Security [message #647053] |
Tue, 04 January 2011 06:53  |
Eclipse User |
|
|
|
Hi!
I have successfully deployed a web app on Virgo 2.1.0.
All my bundles are installed and started successfully and in my log I see the url mappings to my controller classes.
I have configured Spring Security 3.0.2.
When I access my application in my browser, I expect to be forwarded to the login page.
But I get a:
[2011-01-04 12:49:02.171] http-8080-1 System.err 04-01-2011 12:49:02 org.apache.catalina.core.StandardWrapperValve invoke
[2011-01-04 12:49:02.187] http-8080-1 System.err SEVERE: Servlet.service() for servlet default threw exception
[2011-01-04 12:49:02.187] http-8080-1 System.err java.lang.LinkageError: loader constraint violation: when resolving field "logger" the class loader (instance of org/eclipse/virgo/kernel/userregion/internal/equinox/KernelBundleClassLoader) of the referring class, org/springframework/web/filter/GenericFilterBean, and the class loader (instance of org/eclipse/virgo/kernel/userregion/internal/equinox/KernelBundleClassLoader) for the field's resolved type, org/apache/commons/logging/Log, have different Class objects for that type
[2011-01-04 12:49:02.187] http-8080-1 System.err at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:61)
[2011-01-04 12:49:02.187] http-8080-1 System.err at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
[2011-01-04 12:49:02.187] http-8080-1 System.err at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
[2011-01-04 12:49:02.187] http-8080-1 System.err at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
[2011-01-04 12:49:02.187] http-8080-1 System.err at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
[2011-01-04 12:49:02.187] http-8080-1 System.err at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.eclipse.virgo.web.tomcat.ApplicationNameTrackingValve.invoke(ApplicationNameTrackingValve.java:29)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
[2011-01-04 12:49:02.296] http-8080-1 System.err at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[2011-01-04 12:49:02.296] http-8080-1 System.err at java.lang.Thread.run(Thread.java:619)
What is going on here?
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06723 seconds