Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Unable to load custom tags in OpenBD / Tomcat
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tormod Guldvog  
View profile  
 More options Jul 1, 3:27 am
From: Tormod Guldvog <tor...@guldvog.com>
Date: Wed, 1 Jul 2009 00:27:56 -0700 (PDT)
Local: Wed, Jul 1 2009 3:27 am
Subject: Unable to load custom tags in OpenBD / Tomcat
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Woodward  
View profile  
 More options Jul 1, 11:12 am
From: Matthew Woodward <m...@mattwoodward.com>
Date: Wed, 01 Jul 2009 08:12:36 -0700
Local: Wed, Jul 1 2009 11:12 am
Subject: Re: [OpenBD] Unable to load custom tags in OpenBD / Tomcat

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.

--
Matthew Woodward
m...@mattwoodward.com
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

  smime.p7s
4K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jordan Michaels  
View profile  
 More options Jul 2, 1:56 pm
From: Jordan Michaels <jor...@viviotech.net>
Date: Thu, 02 Jul 2009 10:56:40 -0700
Local: Thurs, Jul 2 2009 1:56 pm
Subject: Re: [OpenBD] Unable to load custom tags in OpenBD / Tomcat
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 Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tormod Guldvog  
View profile  
 More options Jul 7, 4:32 am
From: Tormod Guldvog <tor...@guldvog.com>
Date: Tue, 7 Jul 2009 01:32:03 -0700 (PDT)
Local: Tues, Jul 7 2009 4:32 am
Subject: Re: Unable to load custom tags in OpenBD / Tomcat
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tormod Guldvog  
View profile  
 More options Jul 7, 5:26 am
From: Tormod Guldvog <tor...@guldvog.com>
Date: Tue, 7 Jul 2009 02:26:59 -0700 (PDT)
Local: Tues, Jul 7 2009 5:26 am
Subject: Re: Unable to load custom tags in OpenBD / Tomcat
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tormod Guldvog  
View profile  
 More options Jul 7, 6:07 am
From: Tormod Guldvog <tor...@guldvog.com>
Date: Tue, 7 Jul 2009 03:07:51 -0700 (PDT)
Local: Tues, Jul 7 2009 6:07 am
Subject: 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 <tor...@guldvog.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter J. Farrell  
View profile  
 More options Jul 7, 10:10 am
From: "Peter J. Farrell" <pe...@mach-ii.com>
Date: Tue, 7 Jul 2009 14:10:50 +0000
Local: Tues, Jul 7 2009 10:10 am
Subject: Re: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat
Wondering if your open bd user has the correct permissions (execute, read) to use custom tags outside of your app folder. Have you checked?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tormod Guldvog  
View profile  
 More options Jul 9, 4:04 am
From: Tormod Guldvog <tor...@guldvog.com>
Date: Thu, 9 Jul 2009 01:04:42 -0700 (PDT)
Local: Thurs, Jul 9 2009 4:04 am
Subject: Re: Unable to load custom tags in OpenBD / Tomcat
Thanks for your reply.

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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jordan Michaels  
View profile  
 More options Jul 9, 1:00 pm
From: Jordan Michaels <jor...@viviotech.net>
Date: Thu, 09 Jul 2009 10:00:20 -0700
Local: Thurs, Jul 9 2009 1:00 pm
Subject: Re: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat
Hey Tormod,

Let me help you with this. I've emailed you off-list and will post the
resolution back to the list if it's relevant to the community.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Unable to load custom tags in OpenBD / Tomcat [SOLVED]" by Jordan Michaels
Jordan Michaels  
View profile  
 More options Jul 9, 7:19 pm
From: Jordan Michaels <jor...@viviotech.net>
Date: Thu, 09 Jul 2009 16:19:04 -0700
Local: Thurs, Jul 9 2009 7:19 pm
Subject: Re: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat [SOLVED]
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:

Change this:

<cfmlcustomtags>
     <mapping name="cf">
     <directory>$/opt/openbd/customtags:$/mysite/customtags</directory>
       <name>cf</name>
     </mapping>
</cfmlcustomtags>

To this:

<cfmlcustomtags>
     <mapping name="cf">
     <directory>$/opt/openbd/customtags;$/mysite/customtags</directory>
       <name>cf</name>
     </mapping>
</cfmlcustomtags>

Notice the delimiter between the two custom tag mappings is changed from
a colon to a semi-colon.

After you update the bluedragon.xml file, give OpenBD a quick restart
(or whatever server you're running it on) and your custom tags should
work now.

I hope this post helps anyone having a similar problem.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Woodward  
View profile  
 More options Jul 9, 7:20 pm
From: Matthew Woodward <m...@mattwoodward.com>
Date: Thu, 09 Jul 2009 16:20:30 -0700
Local: Thurs, Jul 9 2009 7:20 pm
Subject: Re: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat [SOLVED]

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?

--
Matthew Woodward
m...@mattwoodward.com
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

  smime.p7s
4K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jordan Michaels  
View profile  
 More options Jul 9, 7:41 pm
From: Jordan Michaels <jor...@viviotech.net>
Date: Thu, 09 Jul 2009 16:41:54 -0700
Local: Thurs, Jul 9 2009 7:41 pm
Subject: Re: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat [SOLVED]
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Woodward  
View profile  
 More options Jul 9, 7:40 pm
From: Matthew Woodward <m...@mattwoodward.com>
Date: Thu, 09 Jul 2009 16:40:03 -0700
Local: Thurs, Jul 9 2009 7:40 pm
Subject: Re: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat [SOLVED]

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!
--
Matthew Woodward
m...@mattwoodward.com
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

  smime.p7s
4K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jordan Michaels  
View profile  
 More options Jul 9, 7:48 pm
From: Jordan Michaels <jor...@viviotech.net>
Date: Thu, 09 Jul 2009 16:48:51 -0700
Local: Thurs, Jul 9 2009 7:48 pm
Subject: Re: [OpenBD] Re: Unable to load custom tags in OpenBD / Tomcat [SOLVED]
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tormod Guldvog  
View profile  
 More options Jul 10, 3:47 am
From: Tormod Guldvog <tor...@guldvog.com>
Date: Fri, 10 Jul 2009 00:47:26 -0700 (PDT)
Local: Fri, Jul 10 2009 3:47 am
Subject: Re: Unable to load custom tags in OpenBD / Tomcat [SOLVED]
What can I say. Thanks Jordan, I'd never have thought of this myself.

Looking forward to getting my apps back up on OpenBD. :)

It's so great to have a skilled OpenBD community.

Regards,
Tormod

On 10 Jul, 01:48, Jordan Michaels <jor...@viviotech.net> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google