- This topic has 9 replies, 5 voices, and was last updated 14 years, 10 months ago by Ton Huisman.
-
AuthorPosts
-
Christopher KyburgMemberI have tried to deploy the Trerrserver WS Client example and when I try to access it I get error when I hit ‘submit’ If I use the same data city=Dallas state=TX country = United States inthe Web Service Explorer it works. I tried deploying on Tomcat server that comes with MyEclipse (Tomcat 6) and with an external (Tomcat 5) server and get essentially the same error (see below please) Any suggestions?
Any help greatly appreciated.
–Chris
HTTP Status 500 –
——————————————————————————–
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Server returned error code = 301 for URI : http://terraserver.microsoft.com/TerraService2.asmx. Check server logs for details
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)root cause
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Server returned error code = 301 for URI : http://terraserver.microsoft.com/TerraService2.asmx. Check server logs for details
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:92)
org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
$Proxy13.convertPlaceToLonLatPt(Unknown Source)
org.apache.jsp.TerraServer_jsp._jspService(TerraServer_jsp.java:161)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)root cause
org.codehaus.xfire.fault.XFireFault: Server returned error code = 301 for URI : http://terraserver.microsoft.com/TerraService2.asmx. Check server logs for details
org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:83)
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
org.codehaus.xfire.client.Client.invoke(Client.java:336)
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
$Proxy13.convertPlaceToLonLatPt(Unknown Source)
org.apache.jsp.TerraServer_jsp._jspService(TerraServer_jsp.java:161)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)root cause
org.codehaus.xfire.XFireRuntimeException: Server returned error code = 301 for URI : http://terraserver.microsoft.com/TerraService2.asmx. Check server logs for details
org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:130)
org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
org.codehaus.xfire.client.Client.invoke(Client.java:336)
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
$Proxy13.convertPlaceToLonLatPt(Unknown Source)
org.apache.jsp.TerraServer_jsp._jspService(TerraServer_jsp.java:161)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
Loyal WaterMemberCan you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
Christopher KyburgMemberHere you go!
Thanks for your help,
*** Date:
Monday, February 11, 2008 2:01:55 PM PST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.6.0_02*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.0.1 GA
Build id: 6.0.1-GA-200710Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse Project SDK
Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
Build id: M20071023-1652Eclipse Platform
Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
Build id: M20071023-1652Eclipse RCP
Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
Build id: I20070625-1500Eclipse Plug-in Development Environment
Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
Build id: M20071023-1652Eclipse Java Development Tools
Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: I20070625-1500Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.2.R331_v20071019\eclipse_1021.dll
-startup
C:\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-product
com.genuitec.myeclipse.product.ide
-vm
c:\java6\bin\..\jre\bin\client\jvm.dll
Christopher KyburgMemberI’m not quite sure why but I tried running it again against the plugin Tomcat server and got a somewhat different error. Not sure why or if it is related to the problem see below if it might help:
Sorry, wish I knew why.HTTP Status 500 –
——————————————————————————–
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /TerraServer.jsp at line 106
103: place.setCountry(“USA”);
104:
105: //Process result
106: result = service.convertPlaceToLonLatPt(place);
107: longtitude = String.valueOf(result.getLon());
108: latitude = String.valueOf(result.getLat());
109: } else {Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)root cause
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Server returned error code = 301 for URI : http://terraserver.microsoft.com/TerraService2.asmx. Check server logs for details
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:92)
org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
$Proxy13.convertPlaceToLonLatPt(Unknown Source)
org.apache.jsp.TerraServer_jsp._jspService(TerraServer_jsp.java:161)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)root cause
org.codehaus.xfire.fault.XFireFault: Server returned error code = 301 for URI : http://terraserver.microsoft.com/TerraService2.asmx. Check server logs for details
org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:83)
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
org.codehaus.xfire.client.Client.invoke(Client.java:336)
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
$Proxy13.convertPlaceToLonLatPt(Unknown Source)
org.apache.jsp.TerraServer_jsp._jspService(TerraServer_jsp.java:161)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)root cause
org.codehaus.xfire.XFireRuntimeException: Server returned error code = 301 for URI : http://terraserver.microsoft.com/TerraService2.asmx. Check server logs for details
org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:130)
org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
org.codehaus.xfire.client.Client.invoke(Client.java:336)
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
$Proxy13.convertPlaceToLonLatPt(Unknown Source)
org.apache.jsp.TerraServer_jsp._jspService(TerraServer_jsp.java:161)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
——————————————————————————–
Apache Tomcat/6.0.13
Loyal WaterMemberI was able to reproduce this error at my end as well. I guess this is related to the web service URL. I’ll get this checked and get back to you with an update.
Christopher KyburgMemberThank you Nipun! I look forward to seeing your advice.
Riyad KallaMemberkyburg,
Thanks for the heads up on this. It looks like Microsoft changed the web service definition. I regenerated the client classes and updated the project. Please reinstall it and rerun, it should work.
Christopher KyburgMemberThanks folks, Perfect!
I really appreciate the help.
–Chris
Walter EralioMemberwhere are the files to recompile and run with the new URL?? (msrmaps.com??) I’m having an issue folowing the project
Ton HuismanMemberIs that terraserver still up?
-
AuthorPosts