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

Steph van Schalkwyk commented on CONNECTORS-1528:
-------------------------------------------------

Karl, getting this when configurating:
{code:java}
ERROR 2018-09-11T20:06:12,598 (qtp153646652-498) - Missing resource 
'WebcrawlerConnector.DeleteUrlRegexp' in bundle 
'org.apache.manifoldcf.crawler.connectors.webcrawler.common' for lo cale 'en_US'
java.util.MissingResourceException: Can't find resource for bundle 
java.util.PropertyResourceBundle, key WebcrawlerConnector.DeleteUrlRegexp
at java.util.ResourceBundle.getObject(ResourceBundle.java:450) ~[?:1.8.0_161]
at java.util.ResourceBundle.getString(ResourceBundle.java:407) ~[?:1.8.0_161]
at org.apache.manifoldcf.core.i18n.Messages.getMessage(Messages.java:193) 
[mcf-core.jar:?]
at org.apache.manifoldcf.core.i18n.Messages.getString(Messages.java:240) 
[mcf-core.jar:?]
at org.apache.manifoldcf.core.i18n.Messages.getString(Messages.java:208) 
[mcf-core.jar:?]
at 
org.apache.manifoldcf.ui.i18n.ResourceBundleWrapper.getString(ResourceBundleWrapper.java:44)
 [mcf-ui-core.jar:?]
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_161]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
 [velocity-1.7.jar:1.7]
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
 [velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) 
[velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
 [velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
 [velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151) 
[velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
 [velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
 [velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) 
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420) 
[velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
 [velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) 
[velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) 
[velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
 [velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) 
[velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
 [velocity-1.7.jar:1.7]
at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) 
[velocity-1.7.jar:1.7]
at org.apache.velocity.Template.merge(Template.java:356) [velocity-1.7.jar:1.7]
at org.apache.velocity.Template.merge(Template.java:260) [velocity-1.7.jar:1.7]
at 
org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:354) 
[velocity-1.7.jar:1.7]
at 
org.apache.manifoldcf.ui.i18n.Messages.outputResourceWithVelocity(Messages.java:159)
 [mcf-ui-core.jar:?]
at 
org.apache.manifoldcf.crawler.connectors.webcrawler.Messages.outputResourceWithVelocity(Messages.java:136)
 [mcf-webcrawler-connector.jar:?]
at 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector.outputSpecificationBody(WebcrawlerConnector.java:2646)
 [mcf-webcrawler-connector.jar:?]
at org.apache.jsp.editjob_jsp._jspService(editjob_jsp.java:2952) [jsp/:?]
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
[jasper-6.0.35.jar:6.0.35]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
[javax.servlet-api-3.1.0.jar:3.1.0]
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388) 
[jasper-6.0.35.jar:6.0.35]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
[jasper-6.0.35.jar:6.0.35]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) 
[jasper-6.0.35.jar:6.0.35]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
[javax.servlet-api-3.1.0.jar:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769) 
[jetty-servlet-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) 
[jetty-servlet-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:595) 
[jetty-security-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) 
[jetty-servlet-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:191) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:72) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:709) 
[jasper-6.0.35.jar:6.0.35]
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:680) 
[jasper-6.0.35.jar:6.0.35]
at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:2140) [jsp/:?]
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
[jasper-6.0.35.jar:6.0.35]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
[javax.servlet-api-3.1.0.jar:3.1.0]
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388) 
[jasper-6.0.35.jar:6.0.35]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
[jasper-6.0.35.jar:6.0.35]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) 
[jasper-6.0.35.jar:6.0.35]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
[javax.servlet-api-3.1.0.jar:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769) 
[jetty-servlet-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) 
[jetty-servlet-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) 
[jetty-security-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) 
[jetty-servlet-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
 [jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.server.Server.handle(Server.java:497) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248) 
[jetty-server-9.2.3.v20140905.jar:9.2.3.v20140905]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) 
[jetty-io-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
 [jetty-util-9.2.3.v20140905.jar:9.2.3.v20140905]
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539) 
[jetty-util-9.2.3.v20140905.jar:9.2.3.v20140905]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]

{code}

> Web connector needs canonicalization mode that lowercases URLs
> --------------------------------------------------------------
>
>                 Key: CONNECTORS-1528
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1528
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Web connector
>    Affects Versions: ManifoldCF 2.10
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Major
>             Fix For: ManifoldCF 2.11
>
>         Attachments: CONNECTORS-1528.patch
>
>
> IIS maps urls to lowercase so we need a canonicalization mode that does the 
> same.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to