Hi, Mark.
 
In my development IDE, I set up my development server and coldfusion mappings to match what my ISP mappings are. E.g., my ISP's disk path to my shared directory is D:\inetpub\gsn. I therefore partitioned my dev server hard disk and created the same path. THus my CF and IIS paths and mappings on my dev server match exactly what exists on my live server.
 
Thus, all I need to change in the environment.cfm are the URL & SSL roots and the login destination (and of course the mail server and data sources). THis reduces the opportunities for getting mixed up.
 
Once I got these variable set up deployment was very easy.  BTW, my earliest deployment experiments were all done with a very tiny /test directory that permitted me to simply test the setup process and run a simple plum-driven hello page (with header, footer, and left nav bar).
 
Comment on ISP access: For a couple of years I had an ISP that required me to submit a tech support request for any type of environment change. Then I changed to an ISP that has a web control panel that gives me direct access to critical CF, data source, and IIS operations so that I almost never need to request tech support for routine configurations. (The only exception to this was when I wanted to designate a MS SQL datasource for handling client variables... their control panel didn't do this, but tech support had it configured for me in a short time.)
 
The convenience and power this control panel gives me at my ISP is well worth anything extra I have to pay for the service.
 
Speaking of client variables, I use a MS SQL data source for client variables and  I have discovered that this has a very high volume overhead. I've had to implement a scheduled process that deletes expired client variables that are over 14 days old so that I don't exceed my SQL data memory allowance.
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mark
Sent: Tuesday, March 14, 2006 10:20 AM
To: [email protected]
Subject: RE: {Spam?} RE: [plum] deploying on shared host and global.cfm

Hey Al,
 
That's where I just ended up.  It seems I have a mapping problem.  when I run setup.cfm I get an error that says:
 

Setup

An error occured while attempting to clear out your persistent variables. This may be due to an invalid setting of the ColdFusion Mapping Root value, which is set in the Paths node in the Plum IDE. However, if you have changed this value since the last time you ran Setup.cfm, you will need to restart ColdFusion Server and try again. You may also want to check the settings in the Plum ...
 
I am trying to resove this with the host, but so far, no luck.  I think it has something to do with how they use "virtutal" mappings maybe.  I am waiting for a reply from tech support via email.   They were unable to help me via the phone and said they'd get back to me.  So, I work on something else for a while I guess.
 
Thanks
 
Mark
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Al Rogers
Sent: Tuesday, March 14, 2006 12:59 PM
To: [email protected]
Subject: {Spam?} RE: [plum] deploying on shared host and global.cfm

Hi, Mark. I've recently gone through my first PLUM deployment and the first question that popped into my mind is this:
 
Did you run the /setup/setup.cfm application on your shared host?
 
(My ISP allows me to password protect the /setup directory so that users can't discover and execute setup.cfm... hope your ISP does the same.)
 
Al

--------------------------------
Al Rogers [EMAIL PROTECTED]


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mark
Sent: Tuesday, March 14, 2006 9:19 AM
To: [email protected]
Subject: RE: [plum] deploying on shared host and global.cfm

Jeff thanks for the answer.  I tried setting the client management="no" and deleting Client storage as it is optional.  Now I am getting an unrelated error message (at least I think it is unrelated):
 

Element COOKIEAPI is undefined in a Java object of type class [Ljava.lang.String; referenced as

 
The error occurred in C:\websites\de8ddr\test\Global.cfm: line 40
Called from C:\websites\de8ddr\test\Global.cfm: line 16
Called from C:\websites\de8ddr\test\Global.cfm: line 1
Called from C:\websites\de8ddr\test\Global.cfm: line 1
Called from C:\websites\de8ddr\test\Application.cfm: line 15
38 : 		// instantiate them here to prevent them from re-instantiating on each request:
39 : 		
40 : 	}
41 : 	
42 : 	// During development, instantiate your custom Application-scoped components here so they 
 
Any thoughts?  Right below this snippet on line 46 it has this:
 
 
 
if (Len(Trim(Application.CookieAPI.GetCookie("LayoutName"))) EQ 0) {
  Application.CookieAPI.SetCookie("LayoutName", "Standard", false);
  Application.CookieAPI.SetCookie("Style", "", false);
 }
 
 Request.layoutName = Application.CookieAPI.GetCookie("LayoutName");
 
 Request.layout = Application.mappingRoot & "/layouts/" & Request.layoutName;
 Request.layoutImages = Application.absoluteUrlRoot & "/layouts/" & Request.layoutName & "/images";
 Request.layoutStyles = Application.absoluteUrlRoot & "/layouts/" & Request.layoutName & "/styles";
 Request.layoutSwfs = Application.absoluteUrlRoot & "/layouts/" & Request.layoutName & "/swfs";
 Request.layoutJS = Application.absoluteUrlRoot & "/layouts/" & Request.layoutName & "/js";
 
 if (Len(Trim(Application.CookieAPI.GetCookie("AdminLayoutName"))) EQ 0) {
  Application.CookieAPI.SetCookie("AdminLayoutName", "Standard", false);
  Application.CookieAPI.SetCookie("AdminStyle", "", false);
 }
 
Thanks,
 
Mark
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Jeff Fleitz
Sent: Tuesday, March 14, 2006 11:52 AM
To: [email protected]
Subject: Re: [plum] deploying on shared host and global.cfm

I guess I didnt' answer your question fully, sorry.

Line 29 would be the datasource name for the database used for client variable storage.



On 3/14/06, mark <[EMAIL PROTECTED]> wrote:
I am in the process of deploying my first Plum app.  It is on a shared host
and apparently accessing the regestry is a no no.

Here is the error message and it is referring to line #29.  What should this
be set to?

Security: The requested template has been denied access to cfregistry.
The following is the internal exception message: access denied
(coldfusion.tagext.GenericTagPermission cfregistry)

The error occurred in C:\websites\de8ddr\test\Environment.cfm: line 28
Called from C:\websites\de8ddr\test\Global.cfm: line 14
Called from C:\websites\de8ddr\test\Global.cfm: line 1
Called from C:\websites\de8ddr\test\Global.cfm: line 1
Called from C:\websites\de8ddr\test\Application.cfm: line 15

26 :    sessionManagement="Yes"
27 :    sessionTimeout="#Request.sessionTimeout#"
28 :    clientManagement="Yes"
29 :    clientStorage="Registry"
30 :    setDomainCookies="No"

Thanks,

Mark





**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:

http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************



--
v/r,

Jeff Fleitz

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
Please contact [EMAIL PROTECTED] if you have questions about this email.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
Please contact [EMAIL PROTECTED] if you have questions about this email.

Reply via email to