It's been a couple of years since I last dabbled in CFML but thanks to
Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
full year after we uninstalled CF 7 due to the high cost.
I am testing an old CF app which used to run fine on BDJX, so I know
it should be (mostly) OpenBD compatible.
However, I can't make BD find my custom tags. It validates my tag
folder in the administrator, but every page fails because of inability
to locate the custom tags.
Even placing tags in the default customtags/ folder does not help. In
fact, the customtags/ folder in my installation does not validate at
all when I click on the green checkmark in the BD Administrator. This
happens with both 1.01 and 1.1.
I have found a couple of other topics here on custom tags but they do
not seem to be related. Please forgive me if they are and if this is
seen as a repost of old issues.
My app is located in a regular website folder (ie, /home/name/site/)
rather than under the Webapps root.
Tormod Guldvog wrote: > It's been a couple of years since I last dabbled in CFML but thanks to > Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a > full year after we uninstalled CF 7 due to the high cost.
Very cool--welcome back!
> However, I can't make BD find my custom tags. It validates my tag > folder in the administrator, but every page fails because of inability > to locate the custom tags.
What OS are you using? And is this the OpenBD WAR deployed on a servlet container or are you using the Ready2Run version?
> Even placing tags in the default customtags/ folder does not help. In > fact, the customtags/ folder in my installation does not validate at > all when I click on the green checkmark in the BD Administrator. This > happens with both 1.01 and 1.1.
This could be an issue with the administrator--let me know what your setup looks like and I can look into that. And I'm assuming you've looked into issues like directory permissions that might be causing problems.
> My app is located in a regular website folder (ie, /home/name/site/) > rather than under the Webapps root.
Would it be problematic for you to try running the app from the webapps directory? (I'm assuming you're on Tomcat?) Even if that's not where you ultimately want things it might help troubleshoot.
Most the time when I see this it has to do with a pathing issue. I'm not sure why it's validating in the Admin and still not working, but if it's a problem we can address that as soon as we figure out what the ROOT problem is.
Can you tell us what kind of path you're adding via the administrator? Is it a full system path or a relative system path? If it's a full system path, are you adding the $ in front of the path?
Lastly, just for the sake of testing, can you give Tomcat/OpenBD a swift kick (restart) and clear out your browser's cashe before testing again.
I don't consider myself a "noob" per se, but I recently spent several hours working on an issue that made absolutely NO SENSE, which turned out to be a browser caching issue. GRR! So... I know you're not a noob, but I want to be thorough and make sure you've checked that too! Giving Tomcat/OpenBD a kick should clear out any server-related caching, and clearing your browser will clear out any client-related caching.
Let us know how that turns out!
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/ Open BlueDragon Steering Committee
Adobe Solution Provider
> It's been a couple of years since I last dabbled in CFML but thanks to
> Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
> full year after we uninstalled CF 7 due to the high cost.
> I am testing an old CF app which used to run fine on BDJX, so I know
> it should be (mostly) OpenBD compatible.
> However, I can't make BD find my custom tags. It validates my tag
> folder in the administrator, but every page fails because of inability
> to locate the custom tags.
> Even placing tags in the default customtags/ folder does not help. In
> fact, the customtags/ folder in my installation does not validate at
> all when I click on the green checkmark in the BD Administrator. This
> happens with both 1.01 and 1.1.
> I have found a couple of other topics here on custom tags but they do
> not seem to be related. Please forgive me if they are and if this is
> seen as a repost of old issues.
> My app is located in a regular website folder (ie, /home/name/site/)
> rather than under the Webapps root.
Okay, I have been busy with other things and I've finally found time
to work with this.
I have moved my application, including all subfolders, into a new
directory under the webapp folder. I also changed the mapping in
server.xml.
The app seems to work fine but no custom tags are loaded.
I am trying an endless variation of paths:
$/opt/openbd/customtags
$/opt/openbd/tomcat/webapps/ROOT/hypography/customtags
/customtags (note - this is a folder right under the webapps folder)
../../conf/openbd/customtags
I have tried to move the first custom tag which is called, but it's
not found anywhere.
The first three paths above validate in the BD Admin, but the last
one, which is the system default, fails validation.
My server.xml has the following entry for this application (which
currently is the only application apart from the default):
> Most the time when I see this it has to do with a pathing issue. I'm not
> sure why it's validating in the Admin and still not working, but if it's
> a problem we can address that as soon as we figure out what the ROOT
> problem is.
> Can you tell us what kind of path you're adding via the administrator?
> Is it a full system path or a relative system path? If it's a full
> system path, are you adding the $ in front of the path?
> Lastly, just for the sake of testing, can you give Tomcat/OpenBD a swift
> kick (restart) and clear out your browser's cashe before testing again.
> I don't consider myself a "noob" per se, but I recently spent several
> hours working on an issue that made absolutely NO SENSE, which turned
> out to be a browser caching issue. GRR! So... I know you're not a noob,
> but I want to be thorough and make sure you've checked that too! Giving
> Tomcat/OpenBD a kick should clear out any server-related caching, and
> clearing your browser will clear out any client-related caching.
> Let us know how that turns out!
> Warm regards,
> Jordan Michaels
> Vivio Technologieshttp://www.viviotech.net/ > Open BlueDragon Steering Committee
> Adobe Solution Provider
> Tormod Guldvog wrote:
> > Hey guys
> > It's been a couple of years since I last dabbled in CFML but thanks to
> > Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
> > full year after we uninstalled CF 7 due to the high cost.
> > I am testing an old CF app which used to run fine on BDJX, so I know
> > it should be (mostly) OpenBD compatible.
> > However, I can't make BD find my custom tags. It validates my tag
> > folder in the administrator, but every page fails because of inability
> > to locate the custom tags.
> > Even placing tags in the default customtags/ folder does not help. In
> > fact, the customtags/ folder in my installation does not validate at
> > all when I click on the green checkmark in the BD Administrator. This
> > happens with both 1.01 and 1.1.
> > I have found a couple of other topics here on custom tags but they do
> > not seem to be related. Please forgive me if they are and if this is
> > seen as a repost of old issues.
> > My app is located in a regular website folder (ie, /home/name/site/)
> > rather than under the Webapps root.
> > I think I need help on troubleshooting here...
Okay...a development. If I move the custom tag into my application
folder it loads. If I place it anywhere else it fails to load.
Apparently the paths are completely ignored. This can't be a
permission issue IMHO, it looks as if OpenBD simply ignores the paths
I enter into the BD Admin.
I can't have all my custom tags in the root folder, though, as it will
break my application completely.
Any thoughts about where I need to look?
Regards,
Tormod
On 7 Jul, 10:32, Tormod Guldvog <tor...@guldvog.com> wrote:
> Okay, I have been busy with other things and I've finally found time
> to work with this.
> I have moved my application, including all subfolders, into a new
> directory under the webapp folder. I also changed the mapping in
> server.xml.
> The app seems to work fine but no custom tags are loaded.
> I am trying an endless variation of paths:
> $/opt/openbd/customtags
> $/opt/openbd/tomcat/webapps/ROOT/hypography/customtags
> /customtags (note - this is a folder right under the webapps folder)
> ../../conf/openbd/customtags
> I have tried to move the first custom tag which is called, but it's
> not found anywhere.
> The first three paths above validate in the BD Admin, but the last
> one, which is the system default, fails validation.
> My server.xml has the following entry for this application (which
> currently is the only application apart from the default):
> On 2 Jul, 19:56, Jordan Michaels <jor...@viviotech.net> wrote:
> > Hey Tormod,
> > Most the time when I see this it has to do with a pathing issue. I'm not
> > sure why it's validating in the Admin and still not working, but if it's
> > a problem we can address that as soon as we figure out what the ROOT
> > problem is.
> > Can you tell us what kind of path you're adding via the administrator?
> > Is it a full system path or a relative system path? If it's a full
> > system path, are you adding the $ in front of the path?
> > Lastly, just for the sake of testing, can you give Tomcat/OpenBD a swift
> > kick (restart) and clear out your browser's cashe before testing again.
> > I don't consider myself a "noob" per se, but I recently spent several
> > hours working on an issue that made absolutely NO SENSE, which turned
> > out to be a browser caching issue. GRR! So... I know you're not a noob,
> > but I want to be thorough and make sure you've checked that too! Giving
> > Tomcat/OpenBD a kick should clear out any server-related caching, and
> > clearing your browser will clear out any client-related caching.
> > > It's been a couple of years since I last dabbled in CFML but thanks to
> > > Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
> > > full year after we uninstalled CF 7 due to the high cost.
> > > I am testing an old CF app which used to run fine on BDJX, so I know
> > > it should be (mostly) OpenBD compatible.
> > > However, I can't make BD find my custom tags. It validates my tag
> > > folder in the administrator, but every page fails because of inability
> > > to locate the custom tags.
> > > Even placing tags in the default customtags/ folder does not help. In
> > > fact, the customtags/ folder in my installation does not validate at
> > > all when I click on the green checkmark in the BD Administrator. This
> > > happens with both 1.01 and 1.1.
> > > I have found a couple of other topics here on custom tags but they do
> > > not seem to be related. Please forgive me if they are and if this is
> > > seen as a repost of old issues.
> > > My app is located in a regular website folder (ie, /home/name/site/)
> > > rather than under the Webapps root.
> > > I think I need help on troubleshooting here...
Okay, I have now confirmed that custom tags are only found in the
folder in which the calling file resides.
Here is a sample error output. Copying the missing custom tag into
this folder solves the problem, but makes a mess of my site.
Type Application
Detail The file for the custom tag check_link could not be located
Missing File check_link
Tag Context CFINCLUDE (/opt/openbd/tomcat/webapps/ROOT/hypography/
links.cfm, Line=261, Column=4)
|
+-- CFIF (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
write_link.cfm, Line=19, Column=1)
|
+-- CFELSE (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
write_link.cfm, Line=23, Column=1)
|
+-- CFOUTPUT (/opt/openbd/tomcat/webapps/ROOT/hypography/
newinc/write_link.cfm, Line=26, Column=2)
|
+-- cf_check_link (/opt/openbd/tomcat/webapps/ROOT/
hypography/newinc/write_link.cfm, Line=33, Column=2)
Source
30: // Check if the link is listed as broken
31: // --->
32:
33: <cf_check_link link_id=#lenke_id#>
34: <cfif linkstatus IS "broken"> (Reported broken)</cfif></h4>
^ Snippet from underlying CFML source
Regards,
Tormod
On 7 Jul, 11:26, Tormod Guldvog <tor...@guldvog.com> wrote:
> Okay...a development. If I move the custom tag into my application
> folder it loads. If I place it anywhere else it fails to load.
> Apparently the paths are completely ignored. This can't be a
> permission issue IMHO, it looks as if OpenBD simply ignores the paths
> I enter into the BD Admin.
> I can't have all my custom tags in the root folder, though, as it will
> break my application completely.
> Any thoughts about where I need to look?
> Regards,
> Tormod
> On 7 Jul, 10:32, Tormod Guldvog <tor...@guldvog.com> wrote:
> > Okay, I have been busy with other things and I've finally found time
> > to work with this.
> > I have moved my application, including all subfolders, into a new
> > directory under the webapp folder. I also changed the mapping in
> > server.xml.
> > The app seems to work fine but no custom tags are loaded.
> > I am trying an endless variation of paths:
> > $/opt/openbd/customtags
> > $/opt/openbd/tomcat/webapps/ROOT/hypography/customtags
> > /customtags (note - this is a folder right under the webapps folder)
> > ../../conf/openbd/customtags
> > I have tried to move the first custom tag which is called, but it's
> > not found anywhere.
> > The first three paths above validate in the BD Admin, but the last
> > one, which is the system default, fails validation.
> > My server.xml has the following entry for this application (which
> > currently is the only application apart from the default):
> > On 2 Jul, 19:56, Jordan Michaels <jor...@viviotech.net> wrote:
> > > Hey Tormod,
> > > Most the time when I see this it has to do with a pathing issue. I'm not
> > > sure why it's validating in the Admin and still not working, but if it's
> > > a problem we can address that as soon as we figure out what the ROOT
> > > problem is.
> > > Can you tell us what kind of path you're adding via the administrator?
> > > Is it a full system path or a relative system path? If it's a full
> > > system path, are you adding the $ in front of the path?
> > > Lastly, just for the sake of testing, can you give Tomcat/OpenBD a swift
> > > kick (restart) and clear out your browser's cashe before testing again.
> > > I don't consider myself a "noob" per se, but I recently spent several
> > > hours working on an issue that made absolutely NO SENSE, which turned
> > > out to be a browser caching issue. GRR! So... I know you're not a noob,
> > > but I want to be thorough and make sure you've checked that too! Giving
> > > Tomcat/OpenBD a kick should clear out any server-related caching, and
> > > clearing your browser will clear out any client-related caching.
> > > > It's been a couple of years since I last dabbled in CFML but thanks to
> > > > Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
> > > > full year after we uninstalled CF 7 due to the high cost.
> > > > I am testing an old CF app which used to run fine on BDJX, so I know
> > > > it should be (mostly) OpenBD compatible.
> > > > However, I can't make BD find my custom tags. It validates my tag
> > > > folder in the administrator, but every page fails because of inability
> > > > to locate the custom tags.
> > > > Even placing tags in the default customtags/ folder does not help. In
> > > > fact, the customtags/ folder in my installation does not validate at
> > > > all when I click on the green checkmark in the BD Administrator. This
> > > > happens with both 1.01 and 1.1.
> > > > I have found a couple of other topics here on custom tags but they do
> > > > not seem to be related. Please forgive me if they are and if this is
> > > > seen as a repost of old issues.
> > > > My app is located in a regular website folder (ie, /home/name/site/)
> > > > rather than under the Webapps root.
> > > > I think I need help on troubleshooting here...
Date: Tue, 7 Jul 2009 03:07:51 To: Open BlueDragon<openbd@googlegroups.com>
Subject: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat
Okay, I have now confirmed that custom tags are only found in the
folder in which the calling file resides.
Here is a sample error output. Copying the missing custom tag into
this folder solves the problem, but makes a mess of my site.
Type Application
Detail The file for the custom tag check_link could not be located
Missing File check_link
Tag Context CFINCLUDE (/opt/openbd/tomcat/webapps/ROOT/hypography/
links.cfm, Line=261, Column=4)
|
+-- CFIF (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
write_link.cfm, Line=19, Column=1)
|
+-- CFELSE (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
write_link.cfm, Line=23, Column=1)
|
+-- CFOUTPUT (/opt/openbd/tomcat/webapps/ROOT/hypography/
newinc/write_link.cfm, Line=26, Column=2)
|
+-- cf_check_link (/opt/openbd/tomcat/webapps/ROOT/
hypography/newinc/write_link.cfm, Line=33, Column=2)
Source
30: // Check if the link is listed as broken
31: // --->
32:
33: <cf_check_link link_id=#lenke_id#>
34: <cfif linkstatus IS "broken"> (Reported broken)</cfif></h4>
^ Snippet from underlying CFML source
Regards,
Tormod
On 7 Jul, 11:26, Tormod Guldvog <tor...@guldvog.com> wrote:
> Okay...a development. If I move the custom tag into my application
> folder it loads. If I place it anywhere else it fails to load.
> Apparently the paths are completely ignored. This can't be a
> permission issue IMHO, it looks as if OpenBD simply ignores the paths
> I enter into the BD Admin.
> I can't have all my custom tags in the root folder, though, as it will
> break my application completely.
> Any thoughts about where I need to look?
> Regards,
> Tormod
> On 7 Jul, 10:32, Tormod Guldvog <tor...@guldvog.com> wrote:
> > Okay, I have been busy with other things and I've finally found time
> > to work with this.
> > I have moved my application, including all subfolders, into a new
> > directory under the webapp folder. I also changed the mapping in
> > server.xml.
> > The app seems to work fine but no custom tags are loaded.
> > I am trying an endless variation of paths:
> > $/opt/openbd/customtags
> > $/opt/openbd/tomcat/webapps/ROOT/hypography/customtags
> > /customtags (note - this is a folder right under the webapps folder)
> > ../../conf/openbd/customtags
> > I have tried to move the first custom tag which is called, but it's
> > not found anywhere.
> > The first three paths above validate in the BD Admin, but the last
> > one, which is the system default, fails validation.
> > My server.xml has the following entry for this application (which
> > currently is the only application apart from the default):
> > On 2 Jul, 19:56, Jordan Michaels <jor...@viviotech.net> wrote:
> > > Hey Tormod,
> > > Most the time when I see this it has to do with a pathing issue. I'm not
> > > sure why it's validating in the Admin and still not working, but if it's
> > > a problem we can address that as soon as we figure out what the ROOT
> > > problem is.
> > > Can you tell us what kind of path you're adding via the administrator?
> > > Is it a full system path or a relative system path? If it's a full
> > > system path, are you adding the $ in front of the path?
> > > Lastly, just for the sake of testing, can you give Tomcat/OpenBD a swift
> > > kick (restart) and clear out your browser's cashe before testing again.
> > > I don't consider myself a "noob" per se, but I recently spent several
> > > hours working on an issue that made absolutely NO SENSE, which turned
> > > out to be a browser caching issue. GRR! So... I know you're not a noob,
> > > but I want to be thorough and make sure you've checked that too! Giving
> > > Tomcat/OpenBD a kick should clear out any server-related caching, and
> > > clearing your browser will clear out any client-related caching.
> > > > It's been a couple of years since I last dabbled in CFML but thanks to
> > > > Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
> > > > full year after we uninstalled CF 7 due to the high cost.
> > > > I am testing an old CF app which used to run fine on BDJX, so I know
> > > > it should be (mostly) OpenBD compatible.
> > > > However, I can't make BD find my custom tags. It validates my tag
> > > > folder in the administrator, but every page fails because of inability
> > > > to locate the custom tags.
> > > > Even placing tags in the default customtags/ folder does not help. In
> > > > fact, the customtags/ folder in my installation does not validate at
> > > > all when I click on the green checkmark in the BD Administrator. This
> > > > happens with both 1.01 and 1.1.
> > > > I have found a couple of other topics here on custom tags but they do
> > > > not seem to be related. Please forgive me if they are and if this is
> > > > seen as a repost of old issues.
> > > > My app is located in a regular website folder (ie, /home/name/site/)
> > > > rather than under the Webapps root.
> > > > I think I need help on troubleshooting here...
I am not sure which user OpenBD runs as. I don't understand how it can
not have access to files which are located in the same tree as other
files it can read.
For a test I chmodded my customtags directory and files to 777 but no
change.
OpenBD simply ignores any path I enter into the admin.
On 7 Jul, 16:10, "Peter J. Farrell" <pe...@mach-ii.com> wrote:
> Date: Tue, 7 Jul 2009 03:07:51
> To: Open BlueDragon<openbd@googlegroups.com>
> Subject: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat
> Okay, I have now confirmed that custom tags are only found in the
> folder in which the calling file resides.
> Here is a sample error output. Copying the missing custom tag into
> this folder solves the problem, but makes a mess of my site.
> Type Application
> Detail The file for the custom tag check_link could not be located
> Missing File check_link
> Tag Context CFINCLUDE (/opt/openbd/tomcat/webapps/ROOT/hypography/
> links.cfm, Line=261, Column=4)
> |
> +-- CFIF (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
> write_link.cfm, Line=19, Column=1)
> |
> +-- CFELSE (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
> write_link.cfm, Line=23, Column=1)
> |
> +-- CFOUTPUT (/opt/openbd/tomcat/webapps/ROOT/hypography/
> newinc/write_link.cfm, Line=26, Column=2)
> |
> +-- cf_check_link (/opt/openbd/tomcat/webapps/ROOT/
> hypography/newinc/write_link.cfm, Line=33, Column=2)
> Source
> 30: // Check if the link is listed as broken
> 31: // --->
> 32:
> 33: <cf_check_link link_id=#lenke_id#>
> 34: <cfif linkstatus IS "broken"> (Reported broken)</cfif></h4>
> ^ Snippet from underlying CFML source
> Regards,
> Tormod
> On 7 Jul, 11:26, Tormod Guldvog <tor...@guldvog.com> wrote:
> > Okay...a development. If I move the custom tag into my application
> > folder it loads. If I place it anywhere else it fails to load.
> > Apparently the paths are completely ignored. This can't be a
> > permission issue IMHO, it looks as if OpenBD simply ignores the paths
> > I enter into the BD Admin.
> > I can't have all my custom tags in the root folder, though, as it will
> > break my application completely.
> > Any thoughts about where I need to look?
> > Regards,
> > Tormod
> > On 7 Jul, 10:32, Tormod Guldvog <tor...@guldvog.com> wrote:
> > > Okay, I have been busy with other things and I've finally found time
> > > to work with this.
> > > I have moved my application, including all subfolders, into a new
> > > directory under the webapp folder. I also changed the mapping in
> > > server.xml.
> > > The app seems to work fine but no custom tags are loaded.
> > > I am trying an endless variation of paths:
> > > $/opt/openbd/customtags
> > > $/opt/openbd/tomcat/webapps/ROOT/hypography/customtags
> > > /customtags (note - this is a folder right under the webapps folder)
> > > ../../conf/openbd/customtags
> > > I have tried to move the first custom tag which is called, but it's
> > > not found anywhere.
> > > The first three paths above validate in the BD Admin, but the last
> > > one, which is the system default, fails validation.
> > > My server.xml has the following entry for this application (which
> > > currently is the only application apart from the default):
> > > OpenBD version 1.1 on Tomcat, Apache, CentOS.
> > > Regards,
> > > Tormod
> > > On 2 Jul, 19:56, Jordan Michaels <jor...@viviotech.net> wrote:
> > > > Hey Tormod,
> > > > Most the time when I see this it has to do with a pathing issue. I'm not
> > > > sure why it's validating in the Admin and still not working, but if it's
> > > > a problem we can address that as soon as we figure out what the ROOT
> > > > problem is.
> > > > Can you tell us what kind of path you're adding via the administrator?
> > > > Is it a full system path or a relative system path? If it's a full
> > > > system path, are you adding the $ in front of the path?
> > > > Lastly, just for the sake of testing, can you give Tomcat/OpenBD a swift
> > > > kick (restart) and clear out your browser's cashe before testing again.
> > > > I don't consider myself a "noob" per se, but I recently spent several
> > > > hours working on an issue that made absolutely NO SENSE, which turned
> > > > out to be a browser caching issue. GRR! So... I know you're not a noob,
> > > > but I want to be thorough and make sure you've checked that too! Giving
> > > > Tomcat/OpenBD a kick should clear out any server-related caching, and
> > > > clearing your browser will clear out any client-related caching.
> > > > > It's been a couple of years since I last dabbled in CFML but thanks to
> > > > > Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
> > > > > full year after we uninstalled CF 7 due to the high cost.
> > > > > I am testing an old CF app which used to run fine on BDJX, so I know
> > > > > it should be (mostly) OpenBD compatible.
> > > > > However, I can't make BD find my custom tags. It validates my tag
> > > > > folder in the administrator, but every page fails because of inability
> > > > > to locate the custom tags.
> > > > > Even placing tags in the default customtags/ folder does not help. In
> > > > > fact, the customtags/ folder in my installation does not validate at
> > > > > all when I click on the green checkmark in the BD Administrator. This
> > > > > happens with both 1.01 and 1.1.
> > > > > I have found a couple of other topics here on custom tags but they do
> > > > > not seem to be related. Please forgive me if they are and if this is
> > > > > seen as a repost of old issues.
> > > > > My app is located in a regular website folder (ie, /home/name/site/)
> > > > > rather than under the Webapps root.
> > > > > I think I need help on troubleshooting here...
> I am not sure which user OpenBD runs as. I don't understand how it can
> not have access to files which are located in the same tree as other
> files it can read.
> For a test I chmodded my customtags directory and files to 777 but no
> change.
> OpenBD simply ignores any path I enter into the admin.
> On 7 Jul, 16:10, "Peter J. Farrell" <pe...@mach-ii.com> wrote:
>> Wondering if your open bd user has the correct permissions (execute, read) to use custom tags outside of your app folder. Have you checked?
>> Date: Tue, 7 Jul 2009 03:07:51
>> To: Open BlueDragon<openbd@googlegroups.com>
>> Subject: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat
>> Okay, I have now confirmed that custom tags are only found in the
>> folder in which the calling file resides.
>> Here is a sample error output. Copying the missing custom tag into
>> this folder solves the problem, but makes a mess of my site.
>> Type Application
>> Detail The file for the custom tag check_link could not be located
>> Missing File check_link
>> Tag Context CFINCLUDE (/opt/openbd/tomcat/webapps/ROOT/hypography/
>> links.cfm, Line=261, Column=4)
>> |
>> +-- CFIF (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
>> write_link.cfm, Line=19, Column=1)
>> |
>> +-- CFELSE (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
>> write_link.cfm, Line=23, Column=1)
>> |
>> +-- CFOUTPUT (/opt/openbd/tomcat/webapps/ROOT/hypography/
>> newinc/write_link.cfm, Line=26, Column=2)
>> |
>> +-- cf_check_link (/opt/openbd/tomcat/webapps/ROOT/
>> hypography/newinc/write_link.cfm, Line=33, Column=2)
>> Source
>> 30: // Check if the link is listed as broken
>> 31: // --->
>> 32:
>> 33: <cf_check_link link_id=#lenke_id#>
>> 34: <cfif linkstatus IS "broken"> (Reported broken)</cfif></h4>
>> ^ Snippet from underlying CFML source
>> Regards,
>> Tormod
>> On 7 Jul, 11:26, Tormod Guldvog <tor...@guldvog.com> wrote:
>>> Okay...a development. If I move the custom tag into my application
>>> folder it loads. If I place it anywhere else it fails to load.
>>> Apparently the paths are completely ignored. This can't be a
>>> permission issue IMHO, it looks as if OpenBD simply ignores the paths
>>> I enter into the BD Admin.
>>> I can't have all my custom tags in the root folder, though, as it will
>>> break my application completely.
>>> Any thoughts about where I need to look?
>>> Regards,
>>> Tormod
>>> On 7 Jul, 10:32, Tormod Guldvog <tor...@guldvog.com> wrote:
>>>> Okay, I have been busy with other things and I've finally found time
>>>> to work with this.
>>>> I have moved my application, including all subfolders, into a new
>>>> directory under the webapp folder. I also changed the mapping in
>>>> server.xml.
>>>> The app seems to work fine but no custom tags are loaded.
>>>> I am trying an endless variation of paths:
>>>> $/opt/openbd/customtags
>>>> $/opt/openbd/tomcat/webapps/ROOT/hypography/customtags
>>>> /customtags (note - this is a folder right under the webapps folder)
>>>> ../../conf/openbd/customtags
>>>> I have tried to move the first custom tag which is called, but it's
>>>> not found anywhere.
>>>> The first three paths above validate in the BD Admin, but the last
>>>> one, which is the system default, fails validation.
>>>> My server.xml has the following entry for this application (which
>>>> currently is the only application apart from the default):
>>>> <Host name="test.hypography.com" appBase="webapps"
>>>> unpackWARs="true" autoDeploy="true"
>>>> xmlValidation="false" xmlNamespaceAware="false">
>>>> <Context path="" docBase="/opt/openbd/tomcat/webapps/ROOT/
>>>> hypography/" />
>>>> </Host>
>>>> OpenBD version 1.1 on Tomcat, Apache, CentOS.
>>>> Regards,
>>>> Tormod
>>>> On 2 Jul, 19:56, Jordan Michaels <jor...@viviotech.net> wrote:
>>>>> Hey Tormod,
>>>>> Most the time when I see this it has to do with a pathing issue. I'm not
>>>>> sure why it's validating in the Admin and still not working, but if it's
>>>>> a problem we can address that as soon as we figure out what the ROOT
>>>>> problem is.
>>>>> Can you tell us what kind of path you're adding via the administrator?
>>>>> Is it a full system path or a relative system path? If it's a full
>>>>> system path, are you adding the $ in front of the path?
>>>>> Lastly, just for the sake of testing, can you give Tomcat/OpenBD a swift
>>>>> kick (restart) and clear out your browser's cashe before testing again.
>>>>> I don't consider myself a "noob" per se, but I recently spent several
>>>>> hours working on an issue that made absolutely NO SENSE, which turned
>>>>> out to be a browser caching issue. GRR! So... I know you're not a noob,
>>>>> but I want to be thorough and make sure you've checked that too! Giving
>>>>> Tomcat/OpenBD a kick should clear out any server-related caching, and
>>>>> clearing your browser will clear out any client-related caching.
>>>>> Let us know how that turns out!
>>>>> Warm regards,
>>>>> Jordan Michaels
>>>>> Vivio Technologieshttp://www.viviotech.net/ >>>>> Open BlueDragon Steering Committee
>>>>> Adobe Solution Provider
>>>>> Tormod Guldvog wrote:
>>>>>> Hey guys
>>>>>> It's been a couple of years since I last dabbled in CFML but thanks to
>>>>>> Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
>>>>>> full year after we uninstalled CF 7 due to the high cost.
>>>>>> I am testing an old CF app which used to run fine on BDJX, so I know
>>>>>> it should be (mostly) OpenBD compatible.
>>>>>> However, I can't make BD find my custom tags. It validates my tag
>>>>>> folder in the administrator, but every page fails because of inability
>>>>>> to locate the custom tags.
>>>>>> Even placing tags in the default customtags/ folder does not help. In
>>>>>> fact, the customtags/ folder in my installation does not validate at
>>>>>> all when I click on the green checkmark in the BD Administrator. This
>>>>>> happens with both 1.01 and 1.1.
>>>>>> I have found a couple of other topics here on custom tags but they do
>>>>>> not seem to be related. Please forgive me if they are and if this is
>>>>>> seen as a repost of old issues.
>>>>>> My app is located in a regular website folder (ie, /home/name/site/)
>>>>>> rather than under the Webapps root.
>>>>>> I think I need help on troubleshooting here...
>>>>>> With regards,
>>>>>> Tormod
The problem has to do with the custom tag delimiter inside the "bluedragon.xml" file. On a Linux system, the default behavior is to separate the tag paths with a colon ":", but the OpenBD engine requires that custom tags be separated with a semi-colon ";", so the fix is to open the bluedragon.xml file and update the delimiter in the following attribute:
> I am not sure which user OpenBD runs as. I don't understand how it can
> not have access to files which are located in the same tree as other
> files it can read.
> For a test I chmodded my customtags directory and files to 777 but no
> change.
> OpenBD simply ignores any path I enter into the admin.
> On 7 Jul, 16:10, "Peter J. Farrell" <pe...@mach-ii.com> wrote:
>> Wondering if your open bd user has the correct permissions (execute, read) to use custom tags outside of your app folder. Have you checked?
>> Date: Tue, 7 Jul 2009 03:07:51
>> To: Open BlueDragon<openbd@googlegroups.com>
>> Subject: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat
>> Okay, I have now confirmed that custom tags are only found in the
>> folder in which the calling file resides.
>> Here is a sample error output. Copying the missing custom tag into
>> this folder solves the problem, but makes a mess of my site.
>> Type Application
>> Detail The file for the custom tag check_link could not be located
>> Missing File check_link
>> Tag Context CFINCLUDE (/opt/openbd/tomcat/webapps/ROOT/hypography/
>> links.cfm, Line=261, Column=4)
>> |
>> +-- CFIF (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
>> write_link.cfm, Line=19, Column=1)
>> |
>> +-- CFELSE (/opt/openbd/tomcat/webapps/ROOT/hypography/newinc/
>> write_link.cfm, Line=23, Column=1)
>> |
>> +-- CFOUTPUT (/opt/openbd/tomcat/webapps/ROOT/hypography/
>> newinc/write_link.cfm, Line=26, Column=2)
>> |
>> +-- cf_check_link (/opt/openbd/tomcat/webapps/ROOT/
>> hypography/newinc/write_link.cfm, Line=33, Column=2)
>> Source
>> 30: // Check if the link is listed as broken
>> 31: // --->
>> 32:
>> 33: <cf_check_link link_id=#lenke_id#>
>> 34: <cfif linkstatus IS "broken"> (Reported broken)</cfif></h4>
>> ^ Snippet from underlying CFML source
>> Regards,
>> Tormod
>> On 7 Jul, 11:26, Tormod Guldvog <tor...@guldvog.com> wrote:
>>> Okay...a development. If I move the custom tag into my application
>>> folder it loads. If I place it anywhere else it fails to load.
>>> Apparently the paths are completely ignored. This can't be a
>>> permission issue IMHO, it looks as if OpenBD simply ignores the paths
>>> I enter into the BD Admin.
>>> I can't have all my custom tags in the root folder, though, as it will
>>> break my application completely.
>>> Any thoughts about where I need to look?
>>> Regards,
>>> Tormod
>>> On 7 Jul, 10:32, Tormod Guldvog <tor...@guldvog.com> wrote:
>>>> Okay, I have been busy with other things and I've finally found time
>>>> to work with this.
>>>> I have moved my application, including all subfolders, into a new
>>>> directory under the webapp folder. I also changed the mapping in
>>>> server.xml.
>>>> The app seems to work fine but no custom tags are loaded.
>>>> I am trying an endless variation of paths:
>>>> $/opt/openbd/customtags
>>>> $/opt/openbd/tomcat/webapps/ROOT/hypography/customtags
>>>> /customtags (note - this is a folder right under the webapps folder)
>>>> ../../conf/openbd/customtags
>>>> I have tried to move the first custom tag which is called, but it's
>>>> not found anywhere.
>>>> The first three paths above validate in the BD Admin, but the last
>>>> one, which is the system default, fails validation.
>>>> My server.xml has the following entry for this application (which
>>>> currently is the only application apart from the default):
>>>> <Host name="test.hypography.com" appBase="webapps"
>>>> unpackWARs="true" autoDeploy="true"
>>>> xmlValidation="false" xmlNamespaceAware="false">
>>>> <Context path="" docBase="/opt/openbd/tomcat/webapps/ROOT/
>>>> hypography/" />
>>>> </Host>
>>>> OpenBD version 1.1 on Tomcat, Apache, CentOS.
>>>> Regards,
>>>> Tormod
>>>> On 2 Jul, 19:56, Jordan Michaels <jor...@viviotech.net> wrote:
>>>>> Hey Tormod,
>>>>> Most the time when I see this it has to do with a pathing issue. I'm not
>>>>> sure why it's validating in the Admin and still not working, but if it's
>>>>> a problem we can address that as soon as we figure out what the ROOT
>>>>> problem is.
>>>>> Can you tell us what kind of path you're adding via the administrator?
>>>>> Is it a full system path or a relative system path? If it's a full
>>>>> system path, are you adding the $ in front of the path?
>>>>> Lastly, just for the sake of testing, can you give Tomcat/OpenBD a swift
>>>>> kick (restart) and clear out your browser's cashe before testing again.
>>>>> I don't consider myself a "noob" per se, but I recently spent several
>>>>> hours working on an issue that made absolutely NO SENSE, which turned
>>>>> out to be a browser caching issue. GRR! So... I know you're not a noob,
>>>>> but I want to be thorough and make sure you've checked that too! Giving
>>>>> Tomcat/OpenBD a kick should clear out any server-related caching, and
>>>>> clearing your browser will clear out any client-related caching.
>>>>> Let us know how that turns out!
>>>>> Warm regards,
>>>>> Jordan Michaels
>>>>> Vivio Technologieshttp://www.viviotech.net/ >>>>> Open BlueDragon Steering Committee
>>>>> Adobe Solution Provider
>>>>> Tormod Guldvog wrote:
>>>>>> Hey guys
>>>>>> It's been a couple of years since I last dabbled in CFML but thanks to
>>>>>> Jordan and Viviotech I am finally getting OpenBD up on my Linux box, a
>>>>>> full year after we uninstalled CF 7 due to the high cost.
>>>>>> I am testing an old CF app which used to run fine on BDJX, so I know
>>>>>> it should be (mostly) OpenBD compatible.
>>>>>> However, I can't make BD find my custom tags. It validates my tag
>>>>>> folder in the administrator, but every page fails because of inability
>>>>>> to locate the custom tags.
>>>>>> Even placing tags in the default customtags/ folder does not help. In
>>>>>> fact, the customtags/ folder in my installation does not validate at
>>>>>> all when I click on the green checkmark in the BD Administrator. This
>>>>>> happens with both 1.01 and 1.1.
>>>>>> I have found a couple of other topics here on custom tags but they do
>>>>>> not seem to be related. Please forgive me if they are and if this is
>>>>>> seen as a repost of old issues.
>>>>>> My app is located in a regular website folder (ie, /home/name/site/)
>>>>>> rather than under the Webapps root.
>>>>>> I think I need help on troubleshooting here...
>>>>>> With regards,
>>>>>> Tormod
Jordan Michaels wrote: > This issue has been identified.
> The problem has to do with the custom tag delimiter inside the > "bluedragon.xml" file. On a Linux system, the default behavior is to > separate the tag paths with a colon ":", but the OpenBD engine requires > that custom tags be separated with a semi-colon ";", so the fix is to > open the bluedragon.xml file and update the delimiter in the following > attribute:
Thanks Jordan--is this a fix that needs to be made in the admin console code as well?
Well, from what I understand, using semi-colons in windows and colons in linux is proper, but it's no big deal to me. I'm sure there's some sort of logic behind it but it seems sorta silly to me. I don't care as long as it works. =)
If we just force the Administrator to use semi-colons no matter what, that would take care of it.
Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider
Matthew Woodward wrote: > Jordan Michaels wrote: >> This issue has been identified.
>> The problem has to do with the custom tag delimiter inside the >> "bluedragon.xml" file. On a Linux system, the default behavior is to >> separate the tag paths with a colon ":", but the OpenBD engine >> requires that custom tags be separated with a semi-colon ";", so the >> fix is to open the bluedragon.xml file and update the delimiter in the >> following attribute:
> Thanks Jordan--is this a fix that needs to be made in the admin console > code as well?
Jordan Michaels wrote: > If we just force the Administrator to use semi-colons no matter what, > that would take care of it.
Sounds like we need to in order to handle this. I'll add it as a ticket on the admin console project, or if you have a minute to do so that would be much appreciated.
Yeah, no problem I can take care of it. I still need to get in there and figure out that mail server verification thing too. I'll get to it... soonly. ;)
Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider
Matthew Woodward wrote: > Jordan Michaels wrote: >> If we just force the Administrator to use semi-colons no matter what, >> that would take care of it.
> Sounds like we need to in order to handle this. I'll add it as a ticket > on the admin console project, or if you have a minute to do so that > would be much appreciated.
> Yeah, no problem I can take care of it. I still need to get in there and
> figure out that mail server verification thing too. I'll get to it...
> soonly. ;)
> Warm regards,
> Jordan Michaels
> Vivio Technologieshttp://www.viviotech.net/ > Open BlueDragon Steering Committee
> Adobe Solution Provider
> Matthew Woodward wrote:
> > Jordan Michaels wrote:
> >> If we just force the Administrator to use semi-colons no matter what,
> >> that would take care of it.
> > Sounds like we need to in order to handle this. I'll add it as a ticket
> > on the admin console project, or if you have a minute to do so that
> > would be much appreciated.
> > And thanks for digging into this so thoroughly!– Skjul sitert tekst –