cfpdf, processDDX, AFPL Ghostscript, FlateDecode

2012-03-12 Thread Michael Casey

Hi

If anyone could help point me in the right direction with this I'd be very 
grateful.

I have a routine that takes PDFs from a database and watermarks them using the 
cfpdf tag with action=processDDX. This works fine 99.9% of the time.

However, it would appear that when it encounters a PDF containing text, and in 
the PDF's properties it says, PDF Producer = AFPL Ghostscript, the 
watermarking process fails and cfpdf gives back the error, failed: FlateDecode 
Filter.

If the PDF Producer = GPL Ghostscript, or indeed anything else, there's no 
problem.

Has anyone encountered a similar error to this before, or does anyone have any 
advice on where to look?

jf/ 

~|
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:350362
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Cluster not sending request to second server

2012-03-12 Thread brad f

I have two Windows 2008 R2 boxes, one running 4 CF instances and the other 
running two. I have created a cluster with all six instances. My problem is 
that Coldfusion never sends request to the second server. 

I had this running for many years on 2003 servers but for some reason i cannot 
get this setup to work. Any ideas? 

~|
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:350363
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Cluster not sending request to second server

2012-03-12 Thread Brian Thornton

Do you have a port filter on the network?
On Mar 12, 2012 10:49 AM, brad f b...@ciswired.com wrote:


 I have two Windows 2008 R2 boxes, one running 4 CF instances and the other
 running two. I have created a cluster with all six instances. My problem is
 that Coldfusion never sends request to the second server.

 I had this running for many years on 2003 servers but for some reason i
 cannot get this setup to work. Any ideas?

 

~|
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:350364
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Updating ColdFusion's java version

2012-03-12 Thread Michael Dinowitz

I've had no problem updating ColdFusion to Java6.31 but I was warning
in the past against upgrading to Java7. Has anyone tried it?

Thanks

~|
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:350365
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Cluster not sending request to second server

2012-03-12 Thread brad f

Do you have a port filter on the network?
On Mar 12, 2012 10:49 AM, brad f b...@ciswired.com wrote:

No port filter and local os firewall disabled. 

~|
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:350366
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Updating ColdFusion's java version (UNCLASSIFIED)

2012-03-12 Thread Graziano, Michael E Mr CIV USA NETCOM

Classification: UNCLASSIFIED
Caveats: FOUO

Java 7 wont work with ColdFusion 9 according to ColdFusion Technical
Support. ColdFusion 10 will work with Java 7

-Original Message-
From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] 
Sent: Monday, March 12, 2012 11:02 AM
To: cf-talk
Subject: Updating ColdFusion's java version


I've had no problem updating ColdFusion to Java6.31 but I was warning in the
past against upgrading to Java7. Has anyone tried it?

Thanks



~|
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:350367
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Cluster not sending request to second server

2012-03-12 Thread brad f

Do you have a port filter on the network?
On Mar 12, 2012 10:49 AM, brad f b...@ciswired.com wrote:
no port filter and local os firewall is disabled.
 

~|
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:350368
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Cluster not sending request to second server

2012-03-12 Thread Cameron Childress

On Mon, Mar 12, 2012 at 10:49 AM, brad f b...@ciswired.com wrote:

 I have two Windows 2008 R2 boxes, one running 4 CF instances and the other
 running two. I have created a cluster with all six instances. My problem is
 that Coldfusion never sends request to the second server.

 I had this running for many years on 2003 servers but for some reason i
 cannot get this setup to work. Any ideas?


Are you sure that you've used wsconfig to connect the cluster to the
webserver instead of just one instance?

Also - how are you determining that the second server isn't ever hit?  If
you need to - drop some code like this into you app.cfc/cfm and have the
instance name output into an HTML comment to make sure you know which
server is being hit.
http://www.sumoc.com/blog/post.cfm/how-to-find-an-instance-name-or-machine-name-in-a-cfmx-cluster

-Cameron

...


~|
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:350369
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Bizarre Behavior

2012-03-12 Thread Cameron Childress

On Sun, Mar 11, 2012 at 12:39 AM, Andrew Scott andr...@andyscott.id.auwrote:

 Without knowing more on how your doing your authentication, it would be
 hard to give an accurate answer either.


Agreed - specifically, Richard are you doing anything unusual with your
CFID/CFTOKEN tokens (or jsessionIDs)?

Are you passing them in the URL anywhere? That alone can help someone
hijack a session if the URL is given out as a link and contains those
values.

Are you using session variables or client variables?

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985

...


~|
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:350370
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Cluster not sending request to second server

2012-03-12 Thread Nathan Strutz

How do you know for sure that requests are not going to the other two
instances on the second server? Remember, if you are using ColdFusion's
clustering, your web server (IIS) on the second server will not get any
traffic - Java clustering goes between JVMs and foregoes the all the web
servers.

Your web traffic comes in via one web server, passes to Java, then the
cluster manager decides which ColdFusion instance to run the request on.
You would have better luck checking for traffic based on the CF server
manager or memory usage on the other server.

Of course, I suppose it's possible the other clustered instances really
aren't getting any traffic. Remove them and re-add them, or reboot the 2nd
server. Maybe even the first for that matter.

nathan strutz
[www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz]


On Mon, Mar 12, 2012 at 7:49 AM, brad f b...@ciswired.com wrote:


 I have two Windows 2008 R2 boxes, one running 4 CF instances and the other
 running two. I have created a cluster with all six instances. My problem is
 that Coldfusion never sends request to the second server.

 I had this running for many years on 2003 servers but for some reason i
 cannot get this setup to work. Any ideas?

 

~|
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:350371
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Cameron Childress

On Sun, Mar 11, 2012 at 1:29 PM, Raymond Camden raymondcam...@gmail.comwrote:

 And in theory, CF10's scheduled task service should allow you to
 handle that with it's onMisfire support.


Really? Huh. Interesting. I took a quick look at the CF10 beta docs and
didn't see too much detail about how that would work.  I'd assume that the
same would be true in the fall when that hour exists twice?

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985


~|
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:350372
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Cluster not sending request to second server

2012-03-12 Thread brad f

ok.. Thanks for all the quick replies but i have figured it out after doing a 
netstat 
and seeing the other server was connecting on the wrong subnet.. i disabled 
the other
NIC and restarted CF services.. then re-enabled the other nic and we are good 
to go.
Thanks again for all the responses :-)


~|
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:350373
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Raymond Camden

On Mon, Mar 12, 2012 at 10:36 AM, Cameron Childress camer...@gmail.com wrote:

 On Sun, Mar 11, 2012 at 1:29 PM, Raymond Camden 
 raymondcam...@gmail.comwrote:

 And in theory, CF10's scheduled task service should allow you to
 handle that with it's onMisfire support.


 Really?

Well, I _think_ so. ;)

 Huh. Interesting. I took a quick look at the CF10 beta docs and
 didn't see too much detail about how that would work.  I'd assume that the
 same would be true in the fall when that hour exists twice?

Afaik, yes

~|
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:350374
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Dave Watts

 And in theory, CF10's scheduled task service should allow you to
 handle that with it's onMisfire support.

If the hour for the scheduled task never arrives, that's not really a
misfire is it?

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:350375
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Cameron Childress

On Mon, Mar 12, 2012 at 12:54 PM, Dave Watts dwa...@figleaf.com wrote:

  And in theory, CF10's scheduled task service should allow you to
  handle that with it's onMisfire support.

 If the hour for the scheduled task never arrives, that's not really a
 misfire is it?


This is the same thought I have. Unless CF is explicitly recognizing the
key spring and fall dates and throwing it explicitly.  Then, in that case,
at what time would the misfire be thrown?

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985


~|
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:350376
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


no sql amazon and dynamodb with cf

2012-03-12 Thread Brian Thornton

So has anyone rolled out dynamodb with cf and amazon services? Im working
on a scalable enterprise rollout,,

http://www.wired.com/wiredenterprise/2012/01/amazon-dynamodb/


~|
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:350377
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Raymond Camden

I don't know - I could see both interpretations. It was just an idea
really - haven't tested any of this. :)

On Mon, Mar 12, 2012 at 11:54 AM, Dave Watts dwa...@figleaf.com wrote:

 And in theory, CF10's scheduled task service should allow you to
 handle that with it's onMisfire support.

 If the hour for the scheduled task never arrives, that's not really a
 misfire is it?

 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:350378
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Roger Austin

 Dave Watts dwa...@figleaf.com wrote: 
 
  And in theory, CF10's scheduled task service should allow you to
  handle that with it's onMisfire support.
 
 If the hour for the scheduled task never arrives, that's not really a
 misfire is it?

What would happen if you set up a scheduled task for 02:30 on the 
day that we return to standard time since there would theoretically be 
two 02:30's for that morning? Would it run twice?

This seems to be a good reason to never set up scheduled tasks anywhere 
near 02:00 through 03:00.

This would be a great blog post for some Adobe engineer.

--
LinkedIn: http://www.linkedin.com/pub/roger-austin/8/a4/60
Twitter:  http://twitter.com/RogerTheGeek
Google+:  https://plus.google.com/117357905892731200369


~|
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:350379
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Paul Hastings

On 3/13/2012 2:35 AM, Roger Austin wrote:

 This seems to be a good reason to never set up scheduled tasks anywhere
 near 02:00 through 03:00.

there's an easy  obvious solution for these sorts of problems (ie the descent 
into timezone hell).


-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2114/4855 - Release Date: 03/06/12



~|
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:350380
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Raymond Camden

Wouldn't it be easy to just simply use a time outside of 2-3AM?

On Mon, Mar 12, 2012 at 7:49 PM, Paul Hastings p...@sustainablegis.com wrote:

 On 3/13/2012 2:35 AM, Roger Austin wrote:

 This seems to be a good reason to never set up scheduled tasks anywhere
 near 02:00 through 03:00.

 there's an easy  obvious solution for these sorts of problems (ie the descent
 into timezone hell).


 -
 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2012.0.1913 / Virus Database: 2114/4855 - Release Date: 03/06/12



 

~|
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:350381
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Gerald Guido

 the descent into timezone hell

So I am not alone on this? Good to know. For some reason calculating time
zones makes my brain hurt. http://www.youtube.com/watch?v=IIlKiRPSNGA

G!

On Mon, Mar 12, 2012 at 8:49 PM, Paul Hastings p...@sustainablegis.comwrote:

 there's an easy  obvious solution for these sorts of problems (ie the
 descent
 into timezone hell).




-- 
Gerald Guido
http://www.myinternetisbroken.com


~|
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:350382
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Paul Hastings

On 3/13/2012 7:58 AM, Raymond Camden wrote:

 Wouldn't it be easy to just simply use a time outside of 2-3AM?

and suppose you can't? maybe you have to meet reporting deadlines on the other 
side of the world from your server? maybe that's the exact time your server 
needs to release food for your gators?

you can't fight city hall when it comes to tz. you have to dance around them.


-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2114/4855 - Release Date: 03/06/12



~|
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:350383
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Paul Hastings

On 3/13/2012 8:18 AM, Gerald Guido wrote:

 the descent into timezone hell

 So I am not alone on this? Good to know. For some reason calculating time
 zones makes my brain hurt. http://www.youtube.com/watch?v=IIlKiRPSNGA

no, you're not alone. everybody who deals with tz sooner or later falls into 
it. 
and FYI, its right next door to classpath hell, so you'll have plenty of 
company.



-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2114/4855 - Release Date: 03/06/12



~|
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:350384
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Raymond Camden

On Mon, Mar 12, 2012 at 9:12 PM, Paul Hastings p...@sustainablegis.com wrote:

 On 3/13/2012 7:58 AM, Raymond Camden wrote:

 Wouldn't it be easy to just simply use a time outside of 2-3AM?

 and suppose you can't? maybe you have to meet reporting deadlines on the other
 side of the world from your server? maybe that's the exact time your server
 needs to release food for your gators?

 you can't fight city hall when it comes to tz. you have to dance around them.

Heh, ok, fine, then there are cases where you can't, but I'd be
willing to bet _most_ people can, and that _would_ be simpler. Didn't
say it would work 100% of the time.

~|
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:350385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Gerald Guido

 FYI, its right next door to classpath hell, so you'll have plenty of
company.

Heh... We must be neighbors. I was dealing with dependency hell about two
weeks ago. Nice to meet you.

G!

On Mon, Mar 12, 2012 at 10:13 PM, Paul Hastings p...@sustainablegis.comwrote:


 On 3/13/2012 8:18 AM, Gerald Guido wrote:
 
  the descent into timezone hell
 
  So I am not alone on this? Good to know. For some reason calculating time
  zones makes my brain hurt. http://www.youtube.com/watch?v=IIlKiRPSNGA

 no, you're not alone. everybody who deals with tz sooner or later falls
 into it.
 and FYI, its right next door to classpath hell, so you'll have plenty of
 company.



 -
 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2012.0.1913 / Virus Database: 2114/4855 - Release Date: 03/06/12



 

~|
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:350386
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: PSA - Daylight Savings Time

2012-03-12 Thread Paul Hastings

On 3/13/2012 9:22 AM, Raymond Camden wrote:
 Heh, ok, fine, then there are cases where you can't, but I'd be
 willing to bet _most_ people can, and that _would_ be simpler. Didn't
 say it would work 100% of the time.

and what about creating scheduler traffic jams? you just chopped an hour out of 
a work day. some folks schedule stuff every 10-15 minutes all day long.

yes re-scheduling it would work in many cases, but it also wouldn't work in 
several others. and yes, swapping to UTC server time is more work but it would 
solve a bunch of other tz related problems.

and i suppose its fortunate that the DST change occurred during public beta.



-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2114/4855 - Release Date: 03/06/12



~|
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:350387
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Updating ColdFusion's java version

2012-03-12 Thread Byron Mann

We had some issues with DSN's and integrated security.  We tried to
additionally to use the Microsoft jdbc drivers to no avail.

Reverting back to 6 on the server we were testing with immediately solved
the issue.

This was on 64 bit and we were using Jetty.  I'd have to check to jetty
version.

Since that was a huge impediment we didn't go any deeper.

Byron Mann
Lead Engineer and Architect
Hostmysite.com
On Mar 12, 2012 11:02 AM, Michael Dinowitz mdino...@houseoffusion.com
wrote:


 I've had no problem updating ColdFusion to Java6.31 but I was warning
 in the past against upgrading to Java7. Has anyone tried it?

 Thanks

 

~|
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:350388
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Bizarre Behavior

2012-03-12 Thread Byron Mann

We had this issue as well on CF8 with our control panel.

A little background, we experienced the same issue under CF7, so we did 2
things. Upgraded to 8 and put in some code fixes to ensure the cfid/cftoken
cookie were for the proper account.  The latter was really hacked by
whomever and pretty messy. At some point someone cleaned it up and removed
without any reports of it occuring again. Some time later we started
experiencing the issue again.  By some time later, I mean maybe two years
(best guess as I was out of the development group for a while and wasn't up
to date with all issues). We took the code back over and started hearing
issues a couple of months later.

Best I could figure at the time was maybe operations had done a CF patch
that may or may have not caused it happen again with 8.  Either way, I
couldn't reproduce it; but could see it in our site logging exactly where
things were switching for sessions for some users.

This would occur at least two to three times a day, and there really seemed
to be no logical reason or commonality (going by logs).

First thing we did was implement a cleaner fix of what we had done before,
by tracking the IP associated with a session ID and if it didn't match,
clear all cookies and ensure a new session ID was created. When I say
session ID, I mean cookies for cfid and cftoken, and jsessionid, when we
moved to that.

We also instituted logging and alerting so we would be notified immediatley
when this occured to see the frequency, and to double check the logs to
ensure user sessions were clearing as expected and forcing a new login.

Further, the site was using a rather large set of client variables, and we
deduced the possibility that client variable extraction from the database
(inside CF) was perhaps not thread safe, and a module on the site using
client variables may have been the cause.  So we drastically reduced the
data size of the client scope as a result.

By that time, next step was to go to 9.0.1.

Since that upgrade we have not logged any occurences, where as on 8+ we
still saw log entries where things still occured.  With 8, we had done all
patches, etc.  Even went so far as to try different jvm versions, to no
avail.

With all the code fixes and resulting upgrades to 9 and patches, I can't
say 100% what the issue was.  Other than it's not happening now.

Best suggestion would be upgrade to 9.0.1, seems very stable, and look at
anything funny in code with sessions or client variables and simplify them
as much as possible.

Apologies a bit long in the tooth, but at least it's not spam :-)

Byron Mann
Lead Engineer and Architect
Hostmysite.com
On Mar 11, 2012 12:19 AM, Richard Steele r...@photoeye.com wrote:


 We offer a template-based, self-administered solution for hosting websites
 and have a CF8 Enterprise server with two load-balanced. Yesterday, for the
 first time in 6 years of offering hosting services, we had a bizarre user
 login problem event. A user logged into to administer their hosted site
 using their normal credentials and another user's administration came up!!
 I then tried logging into their administrative backend and the same thing
 happened to me. I then logged out and tried yet another user's credentials
 and that worked fine, but when I logged out of their administrative backend
 I was taken to that other user's site's administration (the one that was
 the wrong one in the first example) instead of to the hosting site's home
 page.

 I thought we might have been hacked, but no login files' date times had
 changed. The application.cfm had not changed either.

 I restarted both instances of CF server and all is back to normal.

 I'm completely baffeled and concerned. What in the world could cause this
 that a CF service restart would fix?
 Thanks in advance.

 

~|
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:350389
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Cluster not sending request to second server

2012-03-12 Thread Byron Mann

Hmmm, I won't be surprised if this occurs again when the service restarts
with both NICs enabled.

Just sounds like a configuration issue in the networking isn't quite right.

As a double check when you restart CF are things still fine?  Might even go
as far as a server reboot just to be sure.

If it's something like a DNS issue it might not show up til a service
restart or dns cache refresh (which for java is on a service stop/start).

Can't remember off the top of my head, but does CF clustering allow for
using hostnames as opposed to IPs only?  For windows DNS, your NICs, are
they both reporting their IPs back to active directory? NIC properties -
advanced settings - dns tab - register blah blah with Dns?  That would
make your host possibly resolve to 2 different ip addresses (round robin
DNS).  Which in turn, based on routing and such could cause the issue.

That also, might come into play if your Jrun configuration (the file that
allows which subnets can connect for clustering, ug, on phone not
workstation) isn't allowing to connect on the othe NICs subnet.

Best thing is to specify all IPs and by-pass any DNS issues.

Byron Mann
Lead Engineer and Architect
Hostmysite.com
On Mar 12, 2012 11:38 AM, brad f b...@ciswired.com wrote:


 ok.. Thanks for all the quick replies but i have figured it out after
 doing a netstat
 and seeing the other server was connecting on the wrong subnet.. i
 disabled the other
 NIC and restarted CF services.. then re-enabled the other nic and we are
 good to go.
 Thanks again for all the responses :-)
 

 

~|
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:350390
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: no sql amazon and dynamodb with cf

2012-03-12 Thread Byron Mann

This is a square peg in a round or square hole scenario.

My suggestion would be to do a cost and performance analysis to determine
what solutions are best suited to your (or your customers) needs.

Outside of that, I personally probably wouldn't use a solution like this
except for a highly portable app. Something like a smart phone app, with
simple, low volume data requirements. It might provide the high availabilty
without a large cost.

I would always keep in mind growth and migration of data services.  If...
Amazon went out of business what would you do? How easy would it be to
migrate the data to another platform? Where are backups? Will this suit my
requirement when it grows 100 fold? What is Amazon's SLA and is that
acceptable for my requirements? Remember no one can guarantee 100% uptime,
if they do they are lying.

Oh, don't laugh at the Amazon comment, remember GoDaddy told CF customers
to take a hike recently.

Byron Mann
Lead Engineer and Architect
Hostmysite.com
On Mar 12, 2012 1:02 PM, Brian Thornton br...@cfdeveloper.com wrote:


 So has anyone rolled out dynamodb with cf and amazon services? Im working
 on a scalable enterprise rollout,,

 http://www.wired.com/wiredenterprise/2012/01/amazon-dynamodb/


 

~|
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:350391
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm