aks310 Posted May 16, 2007 Share Posted May 16, 2007 Hi I have installed jasper server and now trying to authenticate users with my AD. I am getting this error, can anybody help me out please. Thanks in advance AMIT HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jasperserver threw exception org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jsCommContr' defined in ServletContext resource [/WEB-INF/jasperserver-servlet.xml]: Cannot resolve reference to bean 'userLocalesList' while setting bean property 'locales'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'userLocalesList' is defined org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:253) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:124) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1019) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:809) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161) org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:642) org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:233) org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:125) org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:103) org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73) org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:86) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:302) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1081) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161) org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346) org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156) org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308) org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252) org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221) org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115) javax.servlet.GenericServlet.init(GenericServlet.java:211) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs. -------------------------------------------------------------------------------- Apache Tomcat/5.5.20:huh: Link to comment Share on other sites More sharing options...
swood Posted May 19, 2007 Share Posted May 19, 2007 There is a problem with your bean configuration. The userLocalesList is a bean in applicationContext-security.xml which is referred to by a bean in jasperserver-servlet.xml. JasperServer loads bean definitions with names like applictionContext*.xml in WEB-INF. Did you change the applicationContext-security.xml to another name? ShermanJasperSoft Link to comment Share on other sites More sharing options...
aks310 Posted May 25, 2007 Author Share Posted May 25, 2007 some problem with the attachement , please have a look on next messagethanksPost edited by: aks310, at: 2007/05/25 06:02 Link to comment Share on other sites More sharing options...
aks310 Posted May 25, 2007 Author Share Posted May 25, 2007 Hi Swood,thanks for the reply , I just fixed that error . now I am getting bad credential error. My config file is attached herewith , kindly suggest what to do as I am finished now. RegardsAmit [file name=applicationContext_security.txt size=25957]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/applicationContext_security.txt[/file] Link to comment Share on other sites More sharing options...
swood Posted May 25, 2007 Share Posted May 25, 2007 Without having your AD setup in front of me, I am not going to be able to give you a definitive answer. Here are some things to try. 1. Turn on debug logging for the LDAP authentication. org.acegisecurity.providers.ldap is the package. 2. Check out the Acegi security documentation at http://acegisecurity.org 3. There are a number of AD related posts on the Acegi forum at http://forum.springframework.org/forumdisplay.php?f=33 ShermanJasperSoft Link to comment Share on other sites More sharing options...
aks310 Posted May 26, 2007 Author Share Posted May 26, 2007 Hi Sherman, Thanks for that , my AD setup is :AD server is win2003 . IP 10.10.10.10DC=internal,DC=ros,DC=nswthere are several ous . but my main users like AD Test (which I am using here to establish connection) is under ou=sft, ou=ros and allmost all users are there .so it is 10.10.10.10---- DC=internal,DC=ros,DC=nsw-------ou=sft---------ou=ros----------cn=AD TEST And futher adding to this I have an novell edirectory setup as well which is synced with this AD . we can use either of these services . In case of edirectory ip is 10.10.10.11 and just o=ros and ou=sft ,ou=ros there is no Dc etc. Hope you understand the structure.Kindly help me. RegardsAmit Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now