Brad Ummer's picture

 

I just tried starting from scratch using the newer TurnKey VM (the RC version) that contains the following:
Apache Tomcat/6.0.24
JVM Version 1.6.0_20-b20
 
and now I can start Tomcat without the errors (without having to disable any security features) and with birt-viewer showing as running in the Application Manager page, so I'm making progress. Here's a screenshot of the page:
 
 
However I still can't see the birt-viewer page (I get a 404). One thing I'm thinking it might be is the port that Tomcat is using. On the TurnKey VM, it is set up to use port 80, not 8080. So the Application Manager page is:
 
 
(Note 10.4.20.72 is the IP of the VM on my box) If I try to access it via any other ports (e.g., http://10.4.20.72:8080/manager/html) it can't connect to the server, so I'm guessing that birt-viewer needs to be accessed via 80 as well. But going to this link:
 
gives me the 404. Note I've also installed the commons logging library using:
cd /opt/download
wget http://www.devlib.org/apache//commons/logging/binaries/commons-logging-1.1.1-bin.zip
unzip commons-logging-1.1.1-bin.zip
cp /opt/download/commons-logging-1.1.1/commons-logging-1.1.1.jar /var/lib/tomcat6/webapps/birt-viewer/WEB-INF/lib/
/etc/init.d/tomcat6 restart
Here's what I’m seeing in the log files:
root@tomcat-apache log/apache2# tail -n1 /var/log/apache2/error.log
[Mon Dec 06 02:19:46 2010] [error] [client 192.168.2.100] File does not exist: /var/www/birt-viewer, referer: https://10.4.20.72/manager/html

root@tomcat-apache log/apache2# tail -n1 /var/log/apache2/other_vhosts_access.log
127.0.1.1:80 192.168.2.100 - - [06/Dec/2010:02:32:02 +0000] "GET /birt-viewer HTTP/1.1" 404 503 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
Could it be that birt-viewer is hard-wired to run at a port other than 80? Are there any other things I could look at to figure out what's going wrong (like other logs)? Thanks for any help.