First, check out the "Getting Started" page here:

http://wiki.openbluedragon.org/wiki/index.php/Getting_Started_(OBD_Installer)

It can probably be improved, so please let me know if anything is unclear or doesn't make sense. The screen shots are from W2K8, but all the same rules still apply to W2K3. (IE: you still need a "jakarta" directory in IIS, and you still need to update the server.xml file)

> C:\openbd\webapps\context\WEB-INF\bluedragon\bluedragon.xml

There are paths in this file that will probably need to be updated if you were to copy this file directly. Other then that, you should be alright.

> C:\openbd\webapps\context\WEB-INF\web.xml

This one is probably also safe, but you will want to make sure there's nothing jetty-specific in this file.

> C:\openbd\etc\jetty.xml
> C:\openbd\contexts\context.xml

You will almost certainly NOT be able to copy these over. Instead, you should re-create their information using the Tomcat config files. Namely the server.xml file.

> What are the important config files for TomCat?

Tomcat's configs are located here by default:

c:\openbd\tomcat\conf\

The most important config file is the server.xml file. You will work with that one the most. Another important config file is the web.xml file. This holds the default handlers for the CFM file types, the CFM servlet definitions, that sort of thing. You probably won't work with it too much, but it's important.

You can create custom configs on a per-site basis by adding a WEB-INF directory and dropping a custom web.xml file into it. Some sites (like Mura, Mangoblog, that sort of thing) can use SES URL's, and the site-specific web.xml file is where you'd configure that sort of thing.

> Where do I configure contexts?

In Tomcat's server.xml file. The start menu link labeled "Tomcat Host Config" will open that file in Notepad for you so you can update it easily. After you update it, Tomcat will need to be restarted for the changes to take effect.

> ...just use the openbd container to process any docs it gets
> that have .cfml?

Matt's right on for this one. OpenBD is configured in Tomcat as a common class. This mean that all contexts inside Tomcat have access to OpenBD and can run CFML code without any additional configuration.

> in that case, there's nothing special about configuring a tomcat
> site with openBD.

Nope. Just add the "jakarta" virtual directory to IIS (this facilitates communication between IIS and the Tomcat Connector) and add the site to Tomcat's server.xml file and you're all set. Don't forget to give Tomcat a quick restart after you update the server.xml file.

Let us know if you run into any problems along the way!

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Railo Community Distributions



On 06/09/2010 08:51 PM, Jason Allen wrote:
Jordan can probably answer this best..

I googled but didn't find anything. I installed the TomCat package and
will use the built in webserver.. all on 2003 WebServer Ed. Installing
it was a piece of cake. I was able to login to OpenBD Admin no
problem. Good Work Jordan.

My question is;

Regarding OpenBD, all OpenBluedragon .xml files related to my website
context configured in jetty should be able to just be copied into
place of the default docs in the tomcat install.. correct?

With Jetty, I think these were the most important files, regarding
configuration

C:\openbd\etc\jetty.xml
C:\openbd\contexts\context.xml
C:\openbd\webapps\context\WEB-INF\web.xml
C:\openbd\webapps\context\WEB-INF\bluedragon\bluedragon.xml

The last two bluedragon files should be 1 to 1 replacements, correct?

What are the important config files for TomCat? Where do I configure
contexts? Is any of this outlined in a howto? There's plenty of
instruction on getting the package installed, but I'm not finding much
about how to setup a website, etc. Or do I just configure the site as
I would for tomcat normally, and it will just use the openbd container
to process any docs it gets that have .cfml? in that case, there's
nothing special about configuring a tomcat site with openBD. It's just
that I need to have openBD installed if I want the tomcat based
website to process .cfml files?


--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
online manual: http://www.openbluedragon.org/manual/

mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to