Hi,

I'm wondering if there is a good way to test the tomcat/geocoder setup.
Both my SUT and client seem to be able to reach the geocoder but I'm
currently seeing the following errors in my httpd error_log.

*[Thu Oct 01 19:30:49 2009] [error] [client 10.20.52.194] exception
'Exception' with message 'Did not find xml part in: $stream' in
/var/www/html/oliophp/classes/Geocoder.php:36\nStack trace:\n#0
/var/www/html/oliophp/public_html/addEventResult.php(52):
Geocoder->__construct('186+Qgt+Blvd', 'avhtapshct', 'IG', '62221')\n#1
{main}
*
In the past, this meant that my geocoder wasn't up or configured
appropriately in the config.php.  I am trying to run it on the same system
as the one under test so my config.php has the following line :
$olioconfig['geocoderURL'] = 'http://10.20.52.197:8080/geocoder/geocode';
//Geocoder URL

This url gives the following output for both the SUT and the client driver.

SUT:
33.0000 -177.0000
null
null null null USA

Client:
  <?xml version="1.0" ?>
- <ResultSet xmlns="urn:yahoo:maps" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="urn:yahoo:maps
http://api.local.yahoo.com/MapsService/V1/GeocodeResponse.xsd";>
- <Result precision="address">
  <Latitude>33.0000</Latitude>
  <Longitude>-177.0000</Longitude>
  <Address>null</Address>
  <City>null</City>
  <State>null</State>
  <zip>null</zip>
  <Country>USA</Country>
  </Result>
  </ResultSet>
-- 
SUT IP : 10.20.52.197
Client IP : 10.20.52.194

Ideas?
-Josh

Reply via email to