]
Divyesh Vallabh updated TEIID-5241:
-----------------------------------
Git Pull Request:
Problem with OData proxy configuration
--------------------------------------
Key: TEIID-5241
URL:
https://issues.jboss.org/browse/TEIID-5241
Project: Teiid
Issue Type: Bug
Components: OData
Reporter: Divyesh Vallabh
Assignee: Steven Hawkins
When configuring the proxy-base-uri parameter in the web.xml in the
teiid-olingo-odata4.war located in the
<jbosshome>\modules\system\layers\dv\org\jboss\teiid\main\deployments folder the
following error is generated when trying to access a vdb via the OData protocol
2018-01-26 11:50:22,396 WARN [org.teiid.ODATA] (default task-2) TEIID16052 Unable to
process odata request due to: The URI is malformed.: Unexpected start of resource-path
segment.
at
org.apache.olingo.server.core.uri.parser.ResourcePathParser.leadingResourcePathSegment(ResourcePathParser.java:236)
at
org.apache.olingo.server.core.uri.parser.ResourcePathParser.parsePathSegment(ResourcePathParser.java:88)
at org.apache.olingo.server.core.uri.parser.Parser.parseUri(Parser.java:234)
at org.apache.olingo.server.core.ServiceDispatcher.execute(ServiceDispatcher.java:93)
at org.apache.olingo.server.core.OData4HttpHandler.process(OData4HttpHandler.java:67)
at org.teiid.olingo.web.ODataServlet.service(ODataServlet.java:39)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)