iandees / xapi-servlet

XAPI Servlet
A Java servlet implementation of XAPI using Osmosis to do the heavy lifting.
27 stars 5 forks source link

No Transaction Currently Active #20

Closed iandees closed 12 years ago

iandees commented 12 years ago

http://jxapi.openstreetmap.org/xapi/api/0.6/map?bbox=-73.6010,45.399,-73.559,45.441

gives a stack trace:

org.openstreetmap.osmosis.core.OsmosisRuntimeException: No transaction is currently active.
    org.openstreetmap.osmosis.pgsnapshot.common.DatabaseContext.commitTransaction(DatabaseContext.java:86)
    com.yellowbkpk.geo.xapi.db.PostgreSqlDatasetContext.complete(PostgreSqlDatasetContext.java:383)
    com.yellowbkpk.geo.xapi.servlet.XapiServlet.doGet(XapiServlet.java:182)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
iandees commented 12 years ago

This was happening because the jxapi.osm.org server is currently not active. The file system isn't big enough to hold the complete database anymore. I recommend using MapQuest's JXAPI until we can find more disk space.