tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Drescher" <robert.dresc...@gmail.com>
Subject Creating a new Service
Date Sun, 03 Aug 2008 10:27:19 GMT
Hello everyone in this list!

This is my first post in the users-help, after successfully installing
Tomcat5.5

The default applications are running (in the /usr/share/tomcat5.5-webapps
folder), but for testing my application, I'd like to move mine to a
different location in the filesystem.
Am I right in my assumption that for this, I will need to create a new
service in the server.xml, apart from Catalina?

My structure would look like this:

/usr/share/myapp/              <-- my applications root, the equivalent to
/usr/share/tomcat5.5-webapps
/usr/share/myapp/webapp   <-- my applications webapp, the equivalent to
/usr/share/tomcat5.5-webapps/ROOT

in the end, i'd like requests going to http://localhost:1234 being mapped to
/usr/share/myapp/webapp, the same as requests going to
http://localhost:8180being now mapped to
/usr/share/tomcat5.5-webapps/ROOT

Which configurations do I have to change? I've ben messing around with the
server.xml and the configurations of my webapp for some time, with the
result of getting return code 400
Also, as soon as this is working, can I just remove the definition of
catalina from the server.xml to deactivate all the standard applications?

I'd be very happy to recieve some advice on this and maybe even example
configuration files *wink*

Robert

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message