hi again, i don“t know why jboss throws a ClassNotFoundException due to UserRoleAuthorizationIntercept, but that is the problem, because i have commented:
in applicationContext-struts.xml: <bean id="adminInterceptor" class="es.sacyl.psd.awd.webapp.interceptor.UserRoleAuthorizationInterceptor"> <property name="authorizedRoles" value="ROLE_ADMIN"/> </bean> in struts.xml <interceptor-ref name="adminOnly"/> <interceptor name="adminOnly" class="adminInterceptor"/> And application works fine! why jboss throws a ClassNotFoundException with UserRoleAuthorizationIntercept?? any idea? On Fri, Aug 7, 2009 at 2:22 PM, Miguel Romero < miguel.romero.remi...@gmail.com> wrote: > hi people, > > my appfuse fails in jboss-4.2.2.GA server not in jetty and tomcat that > works fine! any idea? > > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name '_filterChainProxy': Initialization of bean failed; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name '_filterChainList': Cannot resolve reference to bean > '_basicAuthenticationFilter' while setting bean property 'filters' with key > [8]; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name '_basicAuthenticationFilter': Initialization of bean failed; > nested exception is > org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find > class [es.sac.psac.webapp.interceptor.UserRoleAuthorizationInterceptor] for > bean with name 'adminInterceptor' defined in ServletContext resource > [/WEB-INF/applicationContext-struts.xml]; nested exception is > java.lang.ClassNotFoundException: > es.sac.psac.webapp.interceptor.UserRoleAuthorizationInterceptor > > thanks!!! >