Wondering if your open bd user has the correct permissions (execute, read) to 
use custom tags outside of your app folder. Have you checked?
-----Original Message-----
From: Tormod Guldvog <[email protected]>

Date: Tue, 7 Jul 2009 03:07:51 
To: Open BlueDragon<[email protected]>
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">&nbsp;(Reported broken)</cfif></h4>
^ Snippet from underlying CFML source

Regards,
Tormod

On 7 Jul, 11:26, Tormod Guldvog <[email protected]> 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 <[email protected]> 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 <[email protected]> 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


--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to