<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I did that too, but no cigar.<br>
    What is the context you used?<br>
    <br>
    Yves<br>
    <br>
    On 29. 01. 11 15:07, Ian Dees wrote:
    <blockquote
      cite="mid:AANLkTikv03LxJiF4Mgbzm2MSX+Z35RJhku+PyL_3ysZP@mail.gmail.com"
      type="cite">I'm not very clear on how to deploy servlets. I used
      tomcat6 and Ubuntu 10.04, too, but I deployed the war via the
      tomcat6-admin servlet that is installed as a separate package. It
      offers a "deploy" section where you can specify the path to the
      war and the context to deploy the war in. When I use that it seems
      to work well.<br>
      <br>
      <div class="gmail_quote">On Sat, Jan 29, 2011 at 2:44 AM, yvecai <span
          dir="ltr"><<a moz-do-not-send="true"
            href="mailto:yvecai@gmail.com">yvecai@gmail.com</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          I have trouble to deploy xapi-servlet in Tomcat 6, on ubuntu
          10.04.<br>
          <br>
          I compiled a xapi-servlet.war from instruction in <a
            moz-do-not-send="true"
            href="https://github.com/iandees/xapi-servlet/blob/master/readme.md"
            target="_blank">https://github.com/iandees/xapi-servlet/blob/master/readme.md</a>,
          copy it to a freshly installed Tomcat directory
          /var/lib/tomcat6/webapps/ and restarted Tomcat.<br>
          <br>
          The servlet is deployed with no error in the logfiles,
          however, when I access <a moz-do-not-send="true"
href="http://localhost:8080/xapi-servlet/api/0.6/way%5Bhighway=unclassified%5D"
            target="_blank">http://localhost:8080/xapi-servlet/api/0.6/way[highway=unclassified]</a>,
          I have a 'class not found exception' :<br>
          <br>
          java.lang.ClassNotFoundException:
          com.yellowbkpk.geo.xapi.servlet.XapiServlet<br>
          <br>
          Also, I can access <a moz-do-not-send="true"
            href="http://localhost:8080/xapi-servlet/" target="_blank">http://localhost:8080/xapi-servlet/</a>
          but not <a moz-do-not-send="true"
            href="http://localhost:8080/xapi-servlet/WEB-INF/index.html"
            target="_blank">http://localhost:8080/xapi-servlet/WEB-INF/index.html</a><br>
          <br>
          Is there a manual config to do that I missed?<br>
          <br>
          Yves<br>
          <br>
          _______________________________________________<br>
          dev mailing list<br>
          <a moz-do-not-send="true" href="mailto:dev@openstreetmap.org"
            target="_blank">dev@openstreetmap.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.openstreetmap.org/listinfo/dev"
            target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>