Screencast on OpenBD Setup and connecting to Apache
This screencast shows how to get up and running with OpenBD and Tomcat. Deploy your application and be ready to run. Also, we show how you can connect Apache to Tomcat over proxy. Instructions in written form can be found on my previous blog post.
Tip: Play the video and click on the “HD on” to watch this in full screen and HD quality!
If you enjoyed this post, make sure you subscribe to my RSS feed!










What if this does not work for me?
Which specific mods need to be installed for Apache to use these proxy attributes?
What if my Ubuntu 8.04.1 Apache2 does not have any /etc/apache2/extra/httpd-vhosts.conf file (or even an /extra/ directory for that matter)?
Which file do I edit then? I’ve tried both 000-default and openbd.local.conf under /sites-enabled/.
Could I use my Webmin 1.42 interface to make all these vhost settings? Webmin shows multiple Virtual Servers with the same settings whenever I directly modify the above conf files as you suggest.
I have BlueDragon running, I can see a CFM page under the http://(mydomain.com):8080/openbluedragon/ directory. But I can’t get the URL “http://(mydomain.com)” to show this page. I get the Apache 403 message “You don’t have permission to access / on this server”.
Perhaps the method used to set up Apache proxies has changed recently, or for Ubuntu 64 bit? Perhaps the Apache2 2.2.8-lubuntu0.3 package does not have all required mods running by default?
Configuring Apache needs a little bit know how about the file system and where Apache stored them.
On CentOS/RedHat you will find them under “/etc/httpd/” on MacOS X “/etc/apache2/”. I am guessing that Ubuntu stores them under “/etc” as well. Look for a directory called “http” or “apache”.
Apache 2.x started to uses includes, thus you have the additional vhosts include. But each vendor does it a bit different, thus your virtual hosts might still be in the http.conf file.
Your best bet is to use the “find” command. Enter in a shell:
find / -iname apache
This should take some time as it searches the whole server for every file containing “apache”.
This should get you in the right direction. There is also the OpenBD Mailinglist where you can ask all those questions as well.
OK, so I used Webmin to create a Virtual Server, and then just located the .conf file that Webmin customized and added the new VirtualHost and ProxyPass tags there.
Restarted Tomcat and Apache, now I get a 403:
“You don’t have permission to access / on this server”
I think it’s referring to the root “/” in the Proxy tags, because if I change it there (to “/foo”), then the error message echoes the change.
Headaches later…
Ubuntu 8.04 (Debian) Apache2 version has a sneaky “Deny from all” command inside proxy.conf - a file under /etc/apache2/mods-enabled/ - that definitely needs to be commented out. Yes that’s right; a “mods” directory with a bunch of “conf” files in it…
And for my needs; /etc/hosts file revision did not work. I just needed to use / http://serverIP:8080/openbluedragon/path in the ProxyPass attributes.
I hope this helps someone else.