[Geoserver-devel] GeoServer WMS in ESRI GPT Map Viewer

I try to load a GeoServer WMS into ESRI's GeoPortal Toolkit Map Viewer and it
errors with "Server not responding...". Tomcat logs show:

Setting request encoding:UTF-8

WMSCatalog:
#### checking for username/pwd
GPT: Refreshing channels...
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
        at java.lang.String.substring(String.java:1768)
        at
com.esri.is.gos.util.ArcExplorerWebUtil.getWMSServicesInfo(ArcExplorerWebUtil.java:1062)
        at
com.esri.is.gos.servlet.ArcExplorerWeb.doPost(ArcExplorerWeb.java:345)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
        at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
        at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)

I can load other GeoServer WMS services. Any ideas?

--
View this message in context: http://www.nabble.com/GeoServer-WMS-in-ESRI-GPT-Map-Viewer-tp17698312p17698312.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

greid ha scritto:

I try to load a GeoServer WMS into ESRI's GeoPortal Toolkit Map Viewer and it
errors with "Server not responding...". Tomcat logs show:

Setting request encoding:UTF-8

WMSCatalog:
#### checking for username/pwd
GPT: Refreshing channels...
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
        at java.lang.String.substring(String.java:1768)
        at
com.esri.is.gos.util.ArcExplorerWebUtil.getWMSServicesInfo(ArcExplorerWebUtil.java:1062)
        at
com.esri.is.gos.servlet.ArcExplorerWeb.doPost(ArcExplorerWeb.java:345)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
        at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
        at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)

I can load other GeoServer WMS services. Any ideas?

Hard to say, it seems the ARCIMS code is tripping while parsing the
capabilities document generated by GeoServer, why, I don't know... you'd have to ask the ESRI support, a quick Google search for this stack trace revealed nothing.

Cheers
Andrea