RE: How can I view arguments in a CFC on-screen?

2013-04-02 Thread Rick Faircloth

When I put this inside a function of a CFC, right after thearguments 
declarations: cfdump var = '#arguments#' output='e:\dump.html' 
format='html'orcfdump var = '#arguments#' output='console' format='text' I 
get this error message from CF: Context validation error for the cffunction tag.
The start tag must have a matching end tag.
An explicit end tag can be provided by adding
lt;/cffunctiongt;.  If the body of the tag is empty,
\you can use the shortcut lt;cffunction .../ It's as if the cfdump is causing 
CF not to recognize
the closing /cffunction tag.

Am I putting the cfdump in the wrong place in the method?Thanks!Rick
  To: cf-talk@houseoffusion.com
 Subject: Re: How can I view arguments in a CFC on-screen?
 Date: Mon, 1 Apr 2013 19:06:31 -0400
 From: dswit...@pengoworks.com
 
 
 Use the step debugger.
 
 On Monday, April 1, 2013, Russ Michaels wrote:
 
 
  Dump them all to a file, then view the file.
 
  Regards
  Russ Michaels
  www.michaels.me.uk
  www.cfmldeveloper.com - Free CFML hosting for developers
  www.cfsearch.com - CF search engine
  On Apr 1, 2013 6:36 PM, Rick Faircloth 
  r...@whitestonemedia.comjavascript:;
  wrote:
 
  
   I wouldn't think this would be that difficult! Normally, I would include
   variables in a struct (when I'm using AJAX, whichis almost always) and
  view
   the variables when they're returned to the calling page. However, there
  are
   times, like right now, when I just want to have a look at allthe argument
   variables that a CFC is receiving and verify their accuracy. Isn't there
  an
   easy way to do this? I'm using CF 9. Thanks! Rick
  
  
 
  
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355222
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: How can I view arguments in a CFC on-screen?

2013-04-02 Thread Rick Faircloth

The way I finally got to view the arguments sent to the CFC methodwas by simply 
assigning the arguments to the struct I created: cfset authorizeStruct  = 
structNew() / cfset authorizeStruct.ARGUMENTS = '#arguments#' / cfreturn 
authorizeStruct / That put a halt to all further processing in the method, 
which is good,and sent back the name pairs in JSON so I could view them in the 
console.
 From: r...@whitestonemedia.com
To: cf-talk@houseoffusion.com
Subject: RE: How can I view arguments in a CFC on-screen?
Date: Tue, 2 Apr 2013 10:39:18 -0400




When I put this inside a function of a CFC, right after the
arguments declarations:
 
cfdump var = '#arguments#' output='e:\dump.html' format='html'
or
cfdump var = '#arguments#' output='console' format='text'
 
I get this error message from CF:
 
Context validation error for the cffunction tag.
The start tag must have a matching end tag.
An explicit end tag can be provided by adding
lt;/cffunctiongt;.  If the body of the tag is empty,
\you can use the shortcut lt;cffunction .../ It's as if the cfdump is causing 
CF not to recognize
the closing /cffunction tag.

Am I putting the cfdump in the wrong place in the method?Thanks!Rick
 
 To: cf-talk@houseoffusion.com
 Subject: Re: How can I view arguments in a CFC on-screen?
 Date: Mon, 1 Apr 2013 19:06:31 -0400
 From: dswit...@pengoworks.com
 
 
 Use the step debugger.
 
 On Monday, April 1, 2013, Russ Michaels wrote:
 
 
  Dump them all to a file, then view the file.
 
  Regards
  Russ Michaels
  www.michaels.me.uk
  www.cfmldeveloper.com - Free CFML hosting for developers
  www.cfsearch.com - CF search engine
  On Apr 1, 2013 6:36 PM, Rick Faircloth 
  r...@whitestonemedia.comjavascript:;
  wrote:
 
  
   I wouldn't think this would be that difficult! Normally, I would include
   variables in a struct (when I'm using AJAX, whichis almost always) and
  view
   the variables when they're returned to the calling page. However, there
  are
   times, like right now, when I just want to have a look at allthe argument
   variables that a CFC is receiving and verify their accuracy. Isn't there
  an
   easy way to do this? I'm using CF 9. Thanks! Rick
  
  
 
  
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355223
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF sandbox security

2013-04-02 Thread Earl, George

Is CF sandbox security intended to secure the application runtime environment 
or is it intended to secure directory and folder access during development when 
developers upload and access files? Or is it intended for both?

For example, are sandboxes the way to go if we want to restrict a developer's 
access to certain directories during development so he cannot damage files in 
other folks' directories?

I ask because we are weighing FTP vs RDS for uploading files to our servers.

Thanks!

George



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355224
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF sandbox security

2013-04-02 Thread Russ Michaels

A sandbox restricts acces to folders, tags,.functions, ports,.datasources,
etc
Also allows you to sandbox rds users.

Ftp will only allow you to restrict what folders someone can upload files
to, which is pointless if they have full system access via cfml and rds. So
you definitely need tp use a sandbox.

Regards
Russ Michaels
www.michaels.me.uk
www.cfmldeveloper.com - Free CFML hosting for developers
www.cfsearch.com - CF search engine
On Apr 2, 2013 6:10 PM, Earl, George george.e...@ssa.gov wrote:


 Is CF sandbox security intended to secure the application runtime
 environment or is it intended to secure directory and folder access during
 development when developers upload and access files? Or is it intended for
 both?

 For example, are sandboxes the way to go if we want to restrict a
 developer's access to certain directories during development so he cannot
 damage files in other folks' directories?

 I ask because we are weighing FTP vs RDS for uploading files to our
 servers.

 Thanks!

 George



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355225
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Now() offset by 1 hour

2013-04-02 Thread Richard White

Hi,

Since the clocks went forward in GMT the now() function is returning an 
incorrect time (-1 hour to what the server clock reads).

I have searched over the internet and found several references to this but not 
solution.

Has anyone found a way to fix? I am using CF9

Thanks
Richard 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355226
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Wil Genovese

This could be caused by an old JVM version. Which version JVM are you running?




Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote:

 
 Hi,
 
 Since the clocks went forward in GMT the now() function is returning an 
 incorrect time (-1 hour to what the server clock reads).
 
 I have searched over the internet and found several references to this but 
 not solution.
 
 Has anyone found a way to fix? I am using CF9
 
 Thanks
 Richard 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355227
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Richard White

Hi Will, thanks for your suggestion i just updated to the latest JVM 7, update 
17. No change unfortunately


This could be caused by an old JVM version. Which version JVM are you running?




Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote:

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355228
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Wil Genovese

On rare occasion I've had a JVM refuse to get onto the correct timezone, while 
new and having the correct timezone data and the server having the correct 
timezone data and even reporting the correct time.  

1. Make sure the JVM is reporting the correct timezone.
2. if its not, you can force it with this JVM arg in jvm.config  
-Duser.timezone=America/New_York

If it's reporting the correct timezone, then I think we need to start looking 
for bugs with JVM 1.7. Unsure about that though. 



Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Apr 2, 2013, at 1:03 PM, Richard White rich...@re-base.net wrote:

 
 Hi Will, thanks for your suggestion i just updated to the latest JVM 7, 
 update 17. No change unfortunately
 
 
 This could be caused by an old JVM version. Which version JVM are you 
 running?
 
 
 
 
 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com
 
 wilg...@trunkful.com
 www.trunkful.com
 
 On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote:
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355229
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Richard White

Yes, it is reporting the correct timezone. I have tried forcing the change to a 
different timezone, restarting the server and changing it back again but it is 
still reporting the incorrect time.

It could well be a bug in 1.7 although I thought others may have reporting this 
too yet haven't seen anything.




 On rare occasion I've had a JVM refuse to get onto the correct 
 timezone, while new and having the correct timezone data and the 
 server having the correct timezone data and even reporting the correct 
 time.  
 
 1. Make sure the JVM is reporting the correct timezone.
 2. if its not, you can force it with this JVM arg in jvm.config  
 -Duser.timezone=America/New_York
 
 If it's reporting the correct timezone, then I think we need to start 
 looking for bugs with JVM 1.7. Unsure about that though. 
 
 
 
 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com
 
 wilg...@trunkful.com
 www.trunkful.com
 
 On Apr 2, 2013, at 1:03 PM, Richard White rich...@re-base.net 
 wrote:
 
  
  Hi Will, thanks for your suggestion i just updated to the latest JVM 
 7, update 17. No change unfortunately
  
  
  This could be caused by an old JVM version. Which version JVM are 
 you running?
  
  
  
  
  Wil Genovese
  Sr. Web Application Developer/
  Systems Administrator
  CF Webtools
  www.cfwebtools.com
  
  wilg...@trunkful.com
  www.trunkful.com
  
  On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net 
 wrote:
  
  
  
  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355230
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Cameron Childress

It may be worth double checking that you are using the version you think
you are using:

This will tell you:
#CreateObject(java, java.lang.System).getProperty(java.version)#


On Tue, Apr 2, 2013 at 2:03 PM, Richard White rich...@re-base.net wrote:


 Hi Will, thanks for your suggestion i just updated to the latest JVM 7,
 update 17. No change unfortunately


 This could be caused by an old JVM version. Which version JVM are you
 running?
 
 
 
 
 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com
 
 wilg...@trunkful.com
 www.trunkful.com
 
 On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote:
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355231
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Adam Cameron

Just verified it's reporting GMT time correctly for me on 1.7.

-- 
Adam

On 3 April 2013 07:23, Richard White rich...@re-base.net wrote:


 It could well be a bug in 1.7 although I thought others may have reporting
 this too yet haven't seen anything.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355232
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Richard White

Thanks guys. After running this code I can see I am running 1.6
Please excuse my ignorance but i have been searching on how to upgrade to 1.7 
and have found no instructions on where to download it or upgrade.

I have downloaded the JVM 7 Update 17 but it appears this isnt the same thing

thanks for any guidance



It may be worth double checking that you are using the version you think
you are using:

This will tell you:
#CreateObject(java, java.lang.System).getProperty(java.version)#




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355233
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Wil Genovese

Download it here and install. 
http://www.oracle.com/technetwork/java/javase/downloads/index.html  I keep my 
JVM Install for ColdFusion separate from the default Java that the OS is using. 
 Typically I change the default location of the install to be in a top level 
folder named /java/ So c:\Java or D: java on Windows.  On Linux I use the /opt 
folder because ColdFusion is installed in /opt so it would be /opt/java/

Then you need to edit your jvm.config file and point the java.home= to the 
new path of your newly installed JVM.  Be sure to backup your jvm.config. 

So the JVM config line might look something like this. You'll have to make sure 
you get the path correct for your OS.

java.home=C:/java/jvm_16xxx/jre

Regards,
Wil


Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net wrote:

 
 Thanks guys. After running this code I can see I am running 1.6
 Please excuse my ignorance but i have been searching on how to upgrade to 1.7 
 and have found no instructions on where to download it or upgrade.
 
 I have downloaded the JVM 7 Update 17 but it appears this isnt the same thing
 
 thanks for any guidance
 
 
 
 It may be worth double checking that you are using the version you think
 you are using:
 
 This will tell you:
 #CreateObject(java, java.lang.System).getProperty(java.version)#
 
 
 
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355234
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Cameron Childress

That still may not be your problem. This has been fixed since 1.4.2_11

http://helpx.adobe.com/coldfusion/kb/coldfusion-mx-jrun-suns-jvm.html

-Cameron


On Tue, Apr 2, 2013 at 4:26 PM, Richard White rich...@re-base.net wrote:


 Thanks guys. After running this code I can see I am running 1.6
 Please excuse my ignorance but i have been searching on how to upgrade to
 1.7 and have found no instructions on where to download it or upgrade.

 I have downloaded the JVM 7 Update 17 but it appears this isnt the same
 thing

 thanks for any guidance



 It may be worth double checking that you are using the version you think
 you are using:
 
 This will tell you:
 #CreateObject(java, java.lang.System).getProperty(java.version)#
 
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355235
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Richard White

I have downloaded the latest version although when I amend the jvm.config and 
attempt to restart CF it does not restart correctly, very odd!


 Download it here and install. http://www.oracle.
 com/technetwork/java/javase/downloads/index.html  I keep my JVM 
 Install for ColdFusion separate from the default Java that the OS is 
 using.  Typically I change the default location of the install to be 
 in a top level folder named /java/ So c:\Java or D: java on Windows.  
 On Linux I use the /opt folder because ColdFusion is installed in /opt 
 so it would be /opt/java/
 
 Then you need to edit your jvm.config file and point the java.home= 
 to the new path of your newly installed JVM.  Be sure to backup your 
 jvm.config. 
 
 So the JVM config line might look something like this. You'll have to 
 make sure you get the path correct for your OS.
 
 java.home=C:/java/jvm_16xxx/jre
 
 Regards,
 Wil
 
 
 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com
 
 wilg...@trunkful.com
 www.trunkful.com
 
 On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net 
 wrote:
 
  
  Thanks guys. After running this code I can see I am running 1.6
  Please excuse my ignorance but i have been searching on how to 
 upgrade to 1.7 and have found no instructions on where to download it 
 or upgrade.
  
  I have downloaded the JVM 7 Update 17 but it appears this isnt the 
 same thing
  
  thanks for any guidance
  
  
  
  It may be worth double checking that you are using the version you 
 think
  you are using:
  
  This will tell you:
  #CreateObject(java, java.lang.System).getProperty(java.
 version)#
  
  
  
  
  
  
  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355236
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Wil Genovese

Which version of ColdFusion are you using? All you said was 9.  9 and 9.0.1 
with NO updates will not work on JVM 7. You need to fully update/patch 
ColdFusion 9.  


Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Apr 2, 2013, at 4:22 PM, Richard White rich...@re-base.net wrote:

 
 I have downloaded the latest version although when I amend the jvm.config and 
 attempt to restart CF it does not restart correctly, very odd!
 
 
 Download it here and install. http://www.oracle.
 com/technetwork/java/javase/downloads/index.html  I keep my JVM 
 Install for ColdFusion separate from the default Java that the OS is 
 using.  Typically I change the default location of the install to be 
 in a top level folder named /java/ So c:\Java or D: java on Windows.  
 On Linux I use the /opt folder because ColdFusion is installed in /opt 
 so it would be /opt/java/
 
 Then you need to edit your jvm.config file and point the java.home= 
 to the new path of your newly installed JVM.  Be sure to backup your 
 jvm.config. 
 
 So the JVM config line might look something like this. You'll have to 
 make sure you get the path correct for your OS.
 
 java.home=C:/java/jvm_16xxx/jre
 
 Regards,
 Wil
 
 
 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com
 
 wilg...@trunkful.com
 www.trunkful.com
 
 On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net 
 wrote:
 
 
 Thanks guys. After running this code I can see I am running 1.6
 Please excuse my ignorance but i have been searching on how to 
 upgrade to 1.7 and have found no instructions on where to download it 
 or upgrade.
 
 I have downloaded the JVM 7 Update 17 but it appears this isnt the 
 same thing
 
 thanks for any guidance
 
 
 
 It may be worth double checking that you are using the version you 
 think
 you are using:
 
 This will tell you:
 #CreateObject(java, java.lang.System).getProperty(java.
 version)#
 
 
 
 
 
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355237
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() offset by 1 hour

2013-04-02 Thread Richard White

Yes, looks like i need to update. Thanks Wil

 Which version of ColdFusion are you using? All you said was 9.  9 and 
 9.0.1 with NO updates will not work on JVM 7. You need to fully 
 update/patch ColdFusion 9.  
 
 
 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com
 
 wilg...@trunkful.com
 www.trunkful.com
 
 On Apr 2, 2013, at 4:22 PM, Richard White rich...@re-base.net 
 wrote:
 
  
  I have downloaded the latest version although when I amend the jvm.
 config and attempt to restart CF it does not restart correctly, very 
 odd!
  
  
  Download it here and install. http://www.oracle.
  com/technetwork/java/javase/downloads/index.html  I keep my JVM 
  Install for ColdFusion separate from the default Java that the OS 
 is 
  using.  Typically I change the default location of the install to 
 be 
  in a top level folder named /java/ So c:\Java or D: java on Windows.  
 
  On Linux I use the /opt folder because ColdFusion is installed in 
 /opt 
  so it would be /opt/java/
  
  Then you need to edit your jvm.config file and point the java.
 home= 
  to the new path of your newly installed JVM.  Be sure to backup 
 your 
  jvm.config. 
  
  So the JVM config line might look something like this. You'll have 
 to 
  make sure you get the path correct for your OS.
  
  java.home=C:/java/jvm_16xxx/jre
  
  Regards,
  Wil
  
  
  Wil Genovese
  Sr. Web Application Developer/
  Systems Administrator
  CF Webtools
  www.cfwebtools.com
  
  wilg...@trunkful.com
  www.trunkful.com
  
  On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net 
  wrote:
  
  
  Thanks guys. After running this code I can see I am running 1.6
  Please excuse my ignorance but i have been searching on how to 
  upgrade to 1.7 and have found no instructions on where to download 
 it 
  or upgrade.
  
  I have downloaded the JVM 7 Update 17 but it appears this isnt the 
 
  same thing
  
  thanks for any guidance
  
  
  
  It may be worth double checking that you are using the version 
 you 
  think
  you are using:
  
  This will tell you:
  #CreateObject(java, java.lang.System).getProperty(java.
  version)#
  
  
  
  
  
  
  
  
  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355238
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF sandbox security

2013-04-02 Thread Dave Watts

 Is CF sandbox security intended to secure the application runtime environment 
 or is it intended to secure directory
 and folder access during development when developers upload and access files? 
 Or is it intended for both?

Sandbox security and developer-specific CF Admin/RDS logins together
do both of these things.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355239
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm