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.
On Sat, Jan 29, 2011 at 2:44 AM, yvecai <[email protected]> wrote: > I have trouble to deploy xapi-servlet in Tomcat 6, on ubuntu 10.04. > > I compiled a xapi-servlet.war from instruction in > https://github.com/iandees/xapi-servlet/blob/master/readme.md, copy it to > a freshly installed Tomcat directory /var/lib/tomcat6/webapps/ and restarted > Tomcat. > > The servlet is deployed with no error in the logfiles, however, when I > access > http://localhost:8080/xapi-servlet/api/0.6/way[highway=unclassified]<http://localhost:8080/xapi-servlet/api/0.6/way%5Bhighway=unclassified%5D>, > I have a 'class not found exception' : > > java.lang.ClassNotFoundException: > com.yellowbkpk.geo.xapi.servlet.XapiServlet > > Also, I can access http://localhost:8080/xapi-servlet/ but not > http://localhost:8080/xapi-servlet/WEB-INF/index.html > > Is there a manual config to do that I missed? > > Yves > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev >
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

