Running Jtrac as root on Jetty
May 11, 2009 11:22 AM Subscribe
Any ideas on how to run JTrac as the root context on Jetty or failing that a context that redirects to the app?
We are running a pretty standard installation of Jtrac which when deploys on http://server/jtrac and would like it to run on the root, e.g. http://server, unfortunately between Jtrac and Jetty I am a little lost.
There is no root context at http://servername, but the standard 404 error page "No context on this server matched or handled this request. Contexts known to this server are..."
I guess it is down to configuration in the /etc/jetty.xml or webdefault.xml. At this stage I would settle for a custom context that would re-direct to /jtrac but cannot find clear instructions on how to write this either.
Anyone have any pointers, documentation is patchy. Thanks!
We are running a pretty standard installation of Jtrac which when deploys on http://server/jtrac and would like it to run on the root, e.g. http://server, unfortunately between Jtrac and Jetty I am a little lost.
There is no root context at http://servername, but the standard 404 error page "No context on this server matched or handled this request. Contexts known to this server are..."
I guess it is down to configuration in the /etc/jetty.xml or webdefault.xml. At this stage I would settle for a custom context that would re-direct to /jtrac but cannot find clear instructions on how to write this either.
Anyone have any pointers, documentation is patchy. Thanks!
Response by poster: Thanks WAI - that was the direction that I needed. Changing the <arg>/jtrac</arg> to <arg>/<arg> did the trick inside org.mortbay.jetty.webapp.WebAppContext section of jetty.xml, I swear I tried a thousand combinations in this file before but missed this one. It is hard when you don't even know you are on the right track.
posted by clarkie666 at 5:29 PM on May 11, 2009
posted by clarkie666 at 5:29 PM on May 11, 2009
This thread is closed to new comments.
posted by Who_Am_I at 12:09 PM on May 11, 2009