Sure, just bear in mind that we have a unorthodox deployment procedure and
setup.  Also, we run Jboss which is not supported by MM, but any server that
is hot-deployable will run into these problems if they deviate from the
standard mappings provided in the CF installation.

Basically, we had to move the persistent CF files to a location outside the
server path (in this case Jboss).  By persistent, I mean XML files, compiled
bytecode, etc.  Now, when you use the CF tool to build an EAR or WAR, it
looks for the properties starting not from the context root that you define
in the   XML file, but from the live deployed directory.  So if you've
specified that your ColdFusion files will exist 5 directories up from your
context root, you have to specify that in the web.xml file (one example
provided).

<init-param id="InitParam_1034013110642">
   <param-name>cfRootDir</param-name>
   <param-value>../../../../../db/cfusion</param-value>
</init-param>

This is relative from the defined context root of the application:
   C:\jboss-4.0.1\server\default\deploy\ourapp.war

Now, the CF tool uses the same settings, but it looks relative from the
deployed directory - which looks something like this:
   C:\jboss-4.0.1\server\default\work\jboss.web\localhost\_

So it will fail every time since it's obviously not going to find the
libraries it needs.  Again, this is a highly unorthodox setup and 99%+ of
people out there will not be messing with these settings, but just in case
you do, be aware.

- Steve

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005 10:49 AM
To: CF-Talk
Subject: RE: adminapi and j2ee packaging

> Anyway, the reason I ask is that I've found the build tool in the 
> admin to not be flexible at all and even doesn't work under certain 
> circumstances.

Can you provide more details about any problems you've run into with this?
Thanks in advance.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200497
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to