You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Piergiorgio Lucidi (JIRA)" <ji...@apache.org> on 2012/09/30 14:07:07 UTC

[jira] [Created] (CONNECTORS-549) Wrong credentials not correctly managed by CMIS Connector

Piergiorgio Lucidi created CONNECTORS-549:
---------------------------------------------

             Summary: Wrong credentials not correctly managed by CMIS Connector
                 Key: CONNECTORS-549
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-549
             Project: ManifoldCF
          Issue Type: Bug
          Components: CMIS connector
    Affects Versions: ManifoldCF 0.6
            Reporter: Piergiorgio Lucidi
            Assignee: Piergiorgio Lucidi
             Fix For: ManifoldCF 1.0


If you try to register a CMIS Connection with wrong credentials the CmisPermissionDeniedException is not managed, the UI remain without any output and it returns the following exception in the log file:
{code}
84334 [qtp1595252236-192] WARN org.eclipse.jetty.servlet.ServletHandler - /mcf-crawler-ui/execute.jsp
org.apache.jasper.JasperException: An exception occurred processing JSP page /viewconnection.jsp at line 108

105: 			{
106: 				try
107: 				{
108: 					connectionStatus = c.check();
109: 				}
110: 				finally
111: 				{


Stacktrace:
	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
	at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:709)
	at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:680)
	at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:392)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
	at org.eclipse.jetty.server.Server.handle(Server.java:349)
	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
	at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ClassCastException: org.apache.chemistry.opencmis.commons.exceptions.CmisPermissionDeniedException cannot be cast to java.lang.Error
	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.getSession(CmisRepositoryConnector.java:437)
	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.checkConnection(CmisRepositoryConnector.java:517)
	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.check(CmisRepositoryConnector.java:374)
	at org.apache.jsp.viewconnection_jsp._jspService(viewconnection_jsp.java:331)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
	... 47 more

{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CONNECTORS-549) Wrong credentials not correctly managed by CMIS Connector

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466455#comment-13466455 ] 

Karl Wright commented on CONNECTORS-549:
----------------------------------------

r1392009 (release branch)

                
> Wrong credentials not correctly managed by CMIS Connector
> ---------------------------------------------------------
>
>                 Key: CONNECTORS-549
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-549
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: CMIS connector
>    Affects Versions: ManifoldCF 0.6
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>             Fix For: ManifoldCF 1.0
>
>
> If you try to register a CMIS Connection with wrong credentials the CmisPermissionDeniedException is not managed, the UI remain without any output and it returns the following exception in the log file:
> {code}
> 84334 [qtp1595252236-192] WARN org.eclipse.jetty.servlet.ServletHandler - /mcf-crawler-ui/execute.jsp
> org.apache.jasper.JasperException: An exception occurred processing JSP page /viewconnection.jsp at line 108
> 105: 			{
> 106: 				try
> 107: 				{
> 108: 					connectionStatus = c.check();
> 109: 				}
> 110: 				finally
> 111: 				{
> Stacktrace:
> 	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> 	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
> 	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
> 	at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:709)
> 	at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:680)
> 	at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:392)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:349)
> 	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
> 	at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)
> 	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
> 	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)
> 	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
> 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
> 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.ClassCastException: org.apache.chemistry.opencmis.commons.exceptions.CmisPermissionDeniedException cannot be cast to java.lang.Error
> 	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.getSession(CmisRepositoryConnector.java:437)
> 	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.checkConnection(CmisRepositoryConnector.java:517)
> 	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.check(CmisRepositoryConnector.java:374)
> 	at org.apache.jsp.viewconnection_jsp._jspService(viewconnection_jsp.java:331)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> 	... 47 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CONNECTORS-549) Wrong credentials not correctly managed by CMIS Connector

Posted by "Piergiorgio Lucidi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piergiorgio Lucidi resolved CONNECTORS-549.
-------------------------------------------

    Resolution: Fixed

r1392006.
                
> Wrong credentials not correctly managed by CMIS Connector
> ---------------------------------------------------------
>
>                 Key: CONNECTORS-549
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-549
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: CMIS connector
>    Affects Versions: ManifoldCF 0.6
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>             Fix For: ManifoldCF 1.0
>
>
> If you try to register a CMIS Connection with wrong credentials the CmisPermissionDeniedException is not managed, the UI remain without any output and it returns the following exception in the log file:
> {code}
> 84334 [qtp1595252236-192] WARN org.eclipse.jetty.servlet.ServletHandler - /mcf-crawler-ui/execute.jsp
> org.apache.jasper.JasperException: An exception occurred processing JSP page /viewconnection.jsp at line 108
> 105: 			{
> 106: 				try
> 107: 				{
> 108: 					connectionStatus = c.check();
> 109: 				}
> 110: 				finally
> 111: 				{
> Stacktrace:
> 	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> 	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
> 	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
> 	at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:709)
> 	at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:680)
> 	at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:392)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:349)
> 	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
> 	at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)
> 	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
> 	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)
> 	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
> 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
> 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.ClassCastException: org.apache.chemistry.opencmis.commons.exceptions.CmisPermissionDeniedException cannot be cast to java.lang.Error
> 	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.getSession(CmisRepositoryConnector.java:437)
> 	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.checkConnection(CmisRepositoryConnector.java:517)
> 	at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.check(CmisRepositoryConnector.java:374)
> 	at org.apache.jsp.viewconnection_jsp._jspService(viewconnection_jsp.java:331)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> 	... 47 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira