Sunday, March 29, 2009

phpUnderControl, CruiseControl and Jetty - No context on this server matched handled this request

I am tryin to get phpUnderControl set up, and for that I needed to get Cruisecontrol working.
I installed Cruisecontrol, set up phpUnderControl (there are enough instructions out there), but let me know if you want me to do a writeup)
After putting all pieces together in a VirtualHost, I go to cc.myserver.com and I get:
Error 404 - Not Found.
No context on this server matched or handled this request.

I looked around quite a bit, but didn't find the answer. Going to Jetty forums, finally, I pieced together that Jetty doesn’t get configured with a default context automatically. So here is what I did:
go to /opt/cruisecontrol (where I have cruisecontrol installed)
cd webapps
ln -s cruisecontrol root

Restart cruisecontrol and now cc.myserver.com loads the cruisecontrol nicely.

No comments: