Lexical Error At Line 1 Column 10. Encountered 58 After
Contents |
here encountered \n 10 after for a quick overview of the site Help
Lexical Error Encountered
Center Detailed answers to any questions you might have Meta Discuss the
Lexical Error In Java
workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about
Encountered: After
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up LDAP Authentication with Spring Security 3 up vote 2 down vote favorite 1 I'm trying to secure parts of my Spring 3 MVC web application by authenticating against my organization's LDAP server. I'm new to LDAP so I'm learning as I go. I've been following the documentation here and the example here but I can't seem to get it right. Here is my security-context.xml and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor. Announcement Announcement Module Collapse No announcement yet. BadLdapGrammarException: Failed to parse DN Page Title Module Move Remove Collapse This topic is closedX X Conversation Detail Module Collapse Posts Latest Activity Search Forums Page of 1 http://stackoverflow.com/questions/13648748/ldap-authentication-with-spring-security-3 Filter Time All Time Today Last Week Last Month Show All Discussions only Photos only Videos only Links only Polls only Filtered by: Clear All new posts griff Member Join Date: Jan 2008 Posts: 37 #1 BadLdapGrammarException: Failed to parse DN Jun 4th, http://forum.spring.io/forum/spring-projects/security/82983-badldapgrammarexception-failed-to-parse-dn 2010, 02:15 PM Can anyone tell me why I am unable to configure the ldap authentication manger as shown in the ldap samples? I am using Spring Security 3.0.2, following the documentation: in the reference guide Here is my configuration: Code: Sign in Pricing Blog Support Search GitHub This repository Watch https://github.com/spring-projects/spring-security/issues/2625 238 Star 1,342 Fork 1,658 spring-projects/spring-security Code Issues 540 Pull requests 12 Projects 0 Wiki Pulse Graphs New issue SEC-2405: BadLdapGrammarException with https://web.liferay.com/community/forums/-/message_boards/message/16362380 search result from referral #2625 Closed spring-issuemaster opened this Issue Oct 17, 2012 · 8 comments Projects None yet Labels Bug Closed lexical error Fixed Jira Milestone 3.2.0 Assignees rwinch 2 participants spring-issuemaster commented Oct 17, 2012 Tom Field (Migrated from SEC-2405) said: org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 6. Encountered: English » 2. Using Liferay » General Recent Posts Statistics RSS (Opens New Window) Answer (Unmark) Mark as an Answer Threads [ Previous | Next ] server throwing java excetion error (SOLVED) gordon daniels September 12, 2012 9:16 PM RE: server throwing java excetion error gordon daniels September 12, 2012 6:07 PM RE: server throwing java excetion error David H Nebinger September 12, 2012 7:46 PM RE: server throwing java excetion error gordon daniels September 12, 2012 8:57 PM RE: server throwing java excetion error bo li November 15, 2012 1:57 PM RE: server throwing java excetion error Hitoshi Ozawa November 15, 2012 4:03 PM RE: server throwing java excetion error bo li November 16, 2012 6:28 AM server throwing java excetion error (SOLVED) September 12, 2012 9:16 PM Answer gordon daniels Rank: Liferay Master Posts: 727 Join Date: August 23, 2008 Recent Posts My portal appears to be working fine, but in checking logs I get the following msg:Exception in thread "http-bio-8080-exec-7" java.lang.StackOverflowErrorI have enclosde the log file in the hopes that someone can tell me what it means.thanks Attachments: catalina.out (6,162.5k) Sign in to vote. Flag Please sign in to flag this as inappropriate. RE: server throwing java excetion error September 12, 2012 6:07 PM Answer gordon daniels Rank: Liferay Master Posts: 727 Join Date: August 23, 2008 Recent Posts Its also throwing out this msg:Sep 13, 2012 12:51:11 AM org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet [Portlet Bridge Servlet] in context with path [] threw exception [Downstream error: Lexical error at line 1, column 13. Encountered: ":" (58), after : ""] with root causeorg.apache.tomcat.util.http.parser.TokenMgrError: Lexical error at line 1, column 13. Encountered: ":" (58), after : "" Sign in to vote. Flag Please sign in to flag this as inappropriate. Mark as an Answer RE: server throwing java excetion error September 12, 2012 7:46 PM Answer David H Nebinger Community Moderator Rank: Liferay Legend Posts: 11597 Join Date: September 1, 2006 Recent Posts Snap, that's one ugly stack trace...Don't know if this helps, but...1. Are you using jdk6? jdk7 is not yet supported.2. Have you enabled/disabled/added/removed any of the filters?There's also mention of trying to load the 404 jsp page, so it looks like it's try to render a 404 but it looks like maybe the filter chain is giving it fits... Sign in to vote. Flag Please sign in to flag this as inappropriate. Mark as an Answer RE: s