[OSM-dev] Xapi-servlet deployement in Tomcat
yvecai at gmail.com
Tue Feb 1 18:57:45 GMT 2011
I did it, because xapi-servlet.war was easier than
I also give a try to Jetty, with the same
It's maybe not a problem of class but permissions, should a default user
be declared somewhere in Tomcat?
On 01. 02. 11 11:05, Brett Henderson wrote:
> Tomcat should allow file-based deployment. It should be as simple as
> copying the war file into the webapps directory. It will end up with
> a context root that matches the war filename (minus .war).
> Different app servers usually provide ways to override the default
> context root via embedding app server specific files into the
> deployment archive (at least full JEE servers such as jboss,
> websphere, and glassfish do), but I can't remember how to do that with
> Tomcat. In most cases just renaming the war prior to deployment is
> the simplest solution.
> On Sun, Jan 30, 2011 at 3:32 AM, yvecai <yvecai at gmail.com
> <mailto:yvecai at gmail.com>> wrote:
> I did that too, but no cigar.
> What is the context you used?
> On 29. 01. 11 15:07, Ian Dees wrote:
>> 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 <yvecai at gmail.com
>> <mailto:yvecai at gmail.com>> wrote:
>> I have trouble to deploy xapi-servlet in Tomcat 6, on ubuntu
>> 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
>> I have a 'class not found exception' :
>> 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?
>> dev mailing list
>> dev at openstreetmap.org <mailto:dev at openstreetmap.org>
> dev mailing list
> dev at openstreetmap.org <mailto:dev at openstreetmap.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev