manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Avdeev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1328) Problem with Sharepoint repositories on Unix
Date Fri, 12 Aug 2016 16:59:20 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419125#comment-15419125
] 

Konstantin Avdeev commented on CONNECTORS-1328:
-----------------------------------------------

it gets downloaded to {{connector-common-lib/javaee-api-6.0.jar}}, not sure, which component
it is depend on.
maybe {{<servlet-api.version>3.1.0</servlet-api.version>}}

> Problem with Sharepoint repositories on Unix
> --------------------------------------------
>
>                 Key: CONNECTORS-1328
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1328
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 2.4
>         Environment: Red Hat (Linux), oracle java 1.8.0
>            Reporter: Konstantin Avdeev
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 2.5
>
>
> UI cannot check status of a Sharepoint repository throwing an exception:
> {code}
> [qtp133250414-16] WARN org.eclipse.jetty.servlet.ServletHandler - 
> org.apache.jasper.JasperException: An exception occurred processing JSP page /viewconnection.jsp
at line 77
> 74:       {
> 75:         try
> 76:         {
> 77:           connectionStatus = c.check();
> 78:         }
> 79:         finally
> 80:         {
> Stacktrace:
> 	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:412)
> 	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:790)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
> 	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:497)
> 	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
> 	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
> 	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: javax.servlet.ServletException: java.lang.ClassFormatError: Absent Code attribute
in method that is not native or abstract in class file javax/xml/rpc/ServiceException
> 	at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
> 	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
> 	at org.apache.jsp.viewconnection_jsp._jspService(viewconnection_jsp.java:528)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> 	... 23 more
> Caused by: java.lang.ClassFormatError: Absent Code attribute in method that is not native
or abstract in class file javax/xml/rpc/ServiceException
> 	at java.lang.ClassLoader.defineClass1(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
> 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> 	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	at org.apache.manifoldcf.crawler.connectors.sharepoint.SharePointRepository.getSession(SharePointRepository.java:331)
> 	at org.apache.manifoldcf.crawler.connectors.sharepoint.SharePointRepository.check(SharePointRepository.java:445)
> 	at org.apache.jsp.viewconnection_jsp._jspService(viewconnection_jsp.java:233)
> 	... 26 more
> {code}
> Upgrading {{javaee-api.jar}} to 7.0 solved the problem
> http://central.maven.org/maven2/javax/javaee-api/7.0/
> P.S. the issue occurs on Unix environment only



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message