Hi Jason,
> So for my new context, I don't need anything but the web.xml
> file, correct? And I only need that if I'm going to have
> web.xml settings that are custom to that context. Correct?
Correct. When you don't have a custom web.xml file in the WEB-INF
directory of a web-app, Tomcat defaults to the web.xml file that's in
it's "conf" directory. (c:\openbd\tomcat\conf\ - in a default install)
> The admin console is specific for each context, correct?
No, not in the case of a common class install. All contexts are
controlled by the single bluedragon.xml file located in c:\openbd\conf\.
The OpenBD Administrator is located in Tomcat's ROOT context, and will
modify that bluedragon.xml file - thus controlling the settings for all
webapps.
In order to control each webapp separately in OpenBD, you would need to
have a new instance of OpenBD installed for that webapp (like a WAR
deployment).
> Meaning, if I have two tomcat context's, each would have, or
> could have, it's own bluedragon webadmin. That's true, right?
> So if I configure a new context, and another one already has
> a bunch of datasources setup, etc. those won't carry over to
> the new context.
Nope. All webapps are controlled by the single OpenBD instance and
single bluedragon.xml config file (where your DSN's are stored, etc)
This is good in that it saves some memory duplication for each
OpenBD-enabled instance, but bad that each webapp doesn't have it's own
settings. It is, however, more similar to current commercial engine
installs - which lowers the learning curve a bit when checking out
OpenBD for the first time.
If you want each webapp to have it's own settings, go with a WAR deployment.
> Just trying to understand how everything connects together.
No problem. Healthy curiosity and genuine interest are signs of
intelligence. =)
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Railo Community Distributions
On 06/11/2010 07:28 AM, Jason King wrote:
Hi Jordan,
Ok, so my install looks like
c:\openbd\tomcat\webapps
and I see 3 app folders in the webapps directory
host-manager
manager
ROOT
With jetty, I had both the WEB-INF folder and Bluedragon folder in my
webapp's folder
c:\openbd\tomcat\webapps\myapp\WEB-INF
c:\openbd\tomcat\webapps\myapp\Bluedragon
The WEB-INF folder of the jetty install has contents
myapp\web-inf\bin
myapp\web-inf\bluedragon
myapp\web-inf\classes
myapp\web-inf\customtags
myapp\web-inf\lib
myapp\web-inf\webresources
myapp\web-inf\web.xml
Now.. looking at the webapps\root folder
it appears that the web-inf folder in the root folder only has the
web.xml file, and not the other folders. I assume this is because in
this install, OpenBD is a common class, and the adminapi, administrator,
jars and scripts folders are not needed for each webapp, and are found
in the main c:\openbd folder. So for my new context, I don't need
anything but the web.xml file, correct? And I only need that if I'm
going to have web.xml settings that are custom to that context.
Correct?
Now, looking at the jetty install again, in my context, The BlueDragon
Folder has contents
myapp\bluedragon\adminapi
myapp\bluedragon\administrator
myapp\bluedragon\jars
myapp\bluedragon\scripts
Which is the same as the Root folder found on the tomcat install.
The admin console is specific for each context, correct?
Meaning, if I have two tomcat context's.. website1.com
<http://website1.com> and website2.com <http://website2.com>, each would
have, or could have, it's own bluedragon webadmin. That's true, right?
So if I configure a new context, and another one already has a bunch of
datasources setup, etc. those won't carry over to the new context.
Just trying to understand how everything connects together.
--
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
--
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