RE: [cfaussie] Re: I/O Exception: peer not authenticated

2011-07-13 Thread Steve Onnis
That instruction is noted in all of the other posts online.  This is just
something else i came across :)
 
-Original Message-
From: Carl [mailto:ca...@tassweb.com.au] 
Sent: Thursday, 14 July 2011 4:34 PM
To: cfaussie
Subject: [cfaussie] Re: I/O Exception: peer not authenticated



On Jul 14, 4:08 pm, "Steve Onnis"  wrote:
> For anyone who is interested, yes you have to install the certificate into
> ColdFusion but if you do upgrade the JVM and change the path in the
CFAdmin,
> make sure you install the certificate again into the new JVM location as
> each JVM has its own certificate store J

I may add - don't forget to restart CF after adding the certificate to
java keystore.

Cheers, Carl.

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: I/O Exception: peer not authenticated

2011-07-13 Thread Carl


On Jul 14, 4:08 pm, "Steve Onnis"  wrote:
> For anyone who is interested, yes you have to install the certificate into
> ColdFusion but if you do upgrade the JVM and change the path in the CFAdmin,
> make sure you install the certificate again into the new JVM location as
> each JVM has its own certificate store J

I may add - don't forget to restart CF after adding the certificate to
java keystore.

Cheers, Carl.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] I/O Exception: peer not authenticated

2011-07-13 Thread Steve Onnis
For anyone who is interested, yes you have to install the certificate into
ColdFusion but if you do upgrade the JVM and change the path in the CFAdmin,
make sure you install the certificate again into the new JVM location as
each JVM has its own certificate store J

 

Steve

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Re: CreateObject of itself

2011-07-13 Thread Steve Onnis
Ok so if i have a cfc named FooBar.cfc, from within that CFC i can make a
call new FooBar() and i will have a new instance of the CFC?

-Original Message-
From: Paul Kukiel [mailto:kuki...@gmail.com] 
Sent: Thursday, 14 July 2011 8:55 AM
To: cfaussie
Subject: [cfaussie] Re: CreateObject of itself

Hi Steve,

I believe this is what your trying to achieve:

http://pastebin.com/hJmsEvaA

Running code: http://demo.kukiel.net/cfaussie.cfm

Paul

On Jul 13, 8:37 pm, "Steve Onnis"  wrote:
> Can anyone suggest a way i can create a new reference to a cfc that i am
> already in?
>
> Something like
>
> FooBar.cfc
>
> 
>
>       
>
>       
>
>             
>
>                   LOCAL.tmpArr = [];
>
>                   for (LOCAL.i = 1; LOCAL.i LTE 10; LOCAL.i = LOCAL.1+1) {
>
>                         LOCAL.tmpObj = new this;
>
>                         LOCAL.tmpObj.setfooBar("Some String #LOCAL.i#");
>
>                         ArrayAppend(LOCAL.tmpArr, LOCAL.tmpObj);
>
>                         }
>
>             
>
>       
>
> 
>
> Obviously "new this;" wont work.
>
> I want something to replace
>
> LOCAL.tmpObj = createObject("COMPONENT", "FooBar");
>
> Ideas?
>
> Steve

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: ColdFusion 9 Server Memory Issues

2011-07-13 Thread Carl


On Jul 14, 11:40 am, Sean Corfield  wrote:
> On Wed, Jul 13, 2011 at 4:40 AM, Kai Koenig  wrote:
> > FWIW - tried the G1 collector on Java 6 (_16 release iirc) for a large 
> > deployment on Win64/CF 8 for a while and had regular fatal JVM crashes. I'm 
> > pretty sure it has improved in later versions, but everyone be aware, that 
> > the G1 collector in Java 6 is _really_ experimental and it's not just a 
> > label Oracle sticked on to it :)
>
> It was only introduced in _14 I believe and most folks says it was
> pretty unstable up to about _20. I've seen good reports of folks using
> it with _22 and up.
> --
I have been running on a dev system CF9.0.1 with Java 7 preview
version 21.0-b17. So far am impressed, particularly using G1. Tho Java
7 being preview it has not been near more vital / loaded CF
environments – so early days.

For those interested readers a very brief recap on garbage collection.
The Java heap is divided into 3 regions: young, tenured/old, and perm.
You may also know that young is further divided into eden and two
survivor spaces. A minor garbage collection finds all live objects and
puts them to one of the survivor spaces. Longer survived objects will
eventually move into tenured/old space. Some special objects land in
Perm.

>From what I have gathered the G1 collector memory is divided into
multiple regions. Each of these regions will participate in a
generation. Some will be young, some to survivor, and others to old.
The collector is parallelized (multi-threaded) and will work
concurrently with your application (low pause). The minor collection
is similar to as current. There is a change to collection of regions
that are tenured/old space, there will be no separate collector.

Regards, Carl.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Re: CreateObject of itself

2011-07-13 Thread Steve Onnis
Thanks for that Paul

On the line where you have LOCAL.tmpObj = new steve(local.i);, is the cfc
steve.cfc? and are you meant to import anything else or can you do that with
any cfc?

-Original Message-
From: Paul Kukiel [mailto:kuki...@gmail.com] 
Sent: Thursday, 14 July 2011 8:55 AM
To: cfaussie
Subject: [cfaussie] Re: CreateObject of itself

Hi Steve,

I believe this is what your trying to achieve:

http://pastebin.com/hJmsEvaA

Running code: http://demo.kukiel.net/cfaussie.cfm

Paul

On Jul 13, 8:37 pm, "Steve Onnis"  wrote:
> Can anyone suggest a way i can create a new reference to a cfc that i am
> already in?
>
> Something like
>
> FooBar.cfc
>
> 
>
>       
>
>       
>
>             
>
>                   LOCAL.tmpArr = [];
>
>                   for (LOCAL.i = 1; LOCAL.i LTE 10; LOCAL.i = LOCAL.1+1) {
>
>                         LOCAL.tmpObj = new this;
>
>                         LOCAL.tmpObj.setfooBar("Some String #LOCAL.i#");
>
>                         ArrayAppend(LOCAL.tmpArr, LOCAL.tmpObj);
>
>                         }
>
>             
>
>       
>
> 
>
> Obviously "new this;" wont work.
>
> I want something to replace
>
> LOCAL.tmpObj = createObject("COMPONENT", "FooBar");
>
> Ideas?
>
> Steve

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Re: ColdFusion 9 Server Memory Issues

2011-07-13 Thread Sean Corfield
On Wed, Jul 13, 2011 at 4:40 AM, Kai Koenig  wrote:
> FWIW - tried the G1 collector on Java 6 (_16 release iirc) for a large 
> deployment on Win64/CF 8 for a while and had regular fatal JVM crashes. I'm 
> pretty sure it has improved in later versions, but everyone be aware, that 
> the G1 collector in Java 6 is _really_ experimental and it's not just a label 
> Oracle sticked on to it :)

It was only introduced in _14 I believe and most folks says it was
pretty unstable up to about _20. I've seen good reports of folks using
it with _22 and up.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: CreateObject of itself

2011-07-13 Thread Paul Kukiel
Hi Steve,

I believe this is what your trying to achieve:

http://pastebin.com/hJmsEvaA

Running code: http://demo.kukiel.net/cfaussie.cfm

Paul

On Jul 13, 8:37 pm, "Steve Onnis"  wrote:
> Can anyone suggest a way i can create a new reference to a cfc that i am
> already in?
>
> Something like
>
> FooBar.cfc
>
> 
>
>       
>
>       
>
>             
>
>                   LOCAL.tmpArr = [];
>
>                   for (LOCAL.i = 1; LOCAL.i LTE 10; LOCAL.i = LOCAL.1+1) {
>
>                         LOCAL.tmpObj = new this;
>
>                         LOCAL.tmpObj.setfooBar("Some String #LOCAL.i#");
>
>                         ArrayAppend(LOCAL.tmpArr, LOCAL.tmpObj);
>
>                         }
>
>             
>
>       
>
> 
>
> Obviously "new this;" wont work.
>
> I want something to replace
>
> LOCAL.tmpObj = createObject("COMPONENT", "FooBar");
>
> Ideas?
>
> Steve

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] CreateObject of itself

2011-07-13 Thread Steve Onnis
An you do something like 

new init()

?

 

From: Dennis Clark [mailto:boomf...@gmail.com] 
Sent: Wednesday, 13 July 2011 8:58 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CreateObject of itself

 

Duplicate works on CFC instances, so Duplicate(this) would work. Of course
it also duplicates the state of the instances variables in 'this', so it
might not be what you want.

 

Otherwise, try CreateObject("component",GetMetaData(this).name) or maybe
CreateObject("component",GetMetaData(this).fullname). I'm not sure which is
better.

 

-- Dennis

On 13 July 2011 20:37, Steve Onnis  wrote:

Can anyone suggest a way i can create a new reference to a cfc that i am
already in?

 

Something like

 

FooBar.cfc



  

  



  LOCAL.tmpArr = [];

  for (LOCAL.i = 1; LOCAL.i LTE 10; LOCAL.i = LOCAL.1+1) {

LOCAL.tmpObj = new this;

LOCAL.tmpObj.setfooBar("Some String #LOCAL.i#");

ArrayAppend(LOCAL.tmpArr, LOCAL.tmpObj);

}



  



 

Obviously "new this;" wont work.

 

I want something to replace 

LOCAL.tmpObj = createObject("COMPONENT", "FooBar");

 

Ideas?

 

Steve

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com
 .
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.

 

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Re: CFbuilder2 thoughts?

2011-07-13 Thread Kai Koenig
+1 - thanks for doing this Zac

> Zac,
> 
> Big pat on the back for you for sticking through this, and seeing if the 
> problem can be resolved. Not many people would go as far as you, so kudos to 
> you!
> 
> Mark
> 
> On Wed, Jul 13, 2011 at 4:31 PM, Zac Spitzer  wrote:
> back to the hanging problem, the good news is my swear jar just got richer,
> but I managed to capture a thread dump :) which I have sent thru to Sagar
> 






-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Re: ColdFusion 9 Server Memory Issues

2011-07-13 Thread Kai Koenig
FWIW - tried the G1 collector on Java 6 (_16 release iirc) for a large 
deployment on Win64/CF 8 for a while and had regular fatal JVM crashes. I'm 
pretty sure it has improved in later versions, but everyone be aware, that the 
G1 collector in Java 6 is _really_ experimental and it's not just a label 
Oracle sticked on to it :)


> Hi Sean,
> 
> I notice Java 7 is due for release at end of July. With java 7 you get
> the released version of UseG1GC garbage collector - rather than
> experimental option in java 6.
> 
> Cheers, Carl.
> 
> 
>> 
>> Yeah, on 32-bit Windows, 1.4GB is the most you can give it. I pretty
>> much never run CF in production with less than a 2GB heap (usually 2GB
>> min, 3GB max) but of course I don't use Windows in production. On
>> 64-bit servers you can go higher but if you go beyond 4GB, you need to
>> be very careful about the GC configuration you use... Even tho' it's
>> only experimental in Java 6, if you use a large heap, the G1 collector
>> is worth trying (but, as always, it's all about load testing / real
>> live load and constantly tuning the GC configuration to get the best
>> overall performance).




-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] CreateObject of itself

2011-07-13 Thread Dennis Clark
Duplicate works on CFC instances, so Duplicate(this) would work. Of course
it also duplicates the state of the instances variables in 'this', so it
might not be what you want.

Otherwise, try CreateObject("component",GetMetaData(this).name) or
maybe CreateObject("component",GetMetaData(this).fullname). I'm not sure
which is better.

-- Dennis

On 13 July 2011 20:37, Steve Onnis  wrote:

> Can anyone suggest a way i can create a new reference to a cfc that i am
> already in?
>
> ** **
>
> Something like
>
> ** **
>
> FooBar.cfc
>
> 
>
>   
>
>   
>
> 
>
>   LOCAL.tmpArr = [];
>
>   *for* (LOCAL.i = 1; LOCAL.i LTE 10; LOCAL.i = LOCAL.1+1)
> {
>
> LOCAL.tmpObj = *new* this*;*
>
> LOCAL.tmpObj.setfooBar("Some String #LOCAL.i#");**
> **
>
> *ArrayAppend*(LOCAL.tmpArr, LOCAL.tmpObj);
>
> }
>
> 
>
>   
>
> 
>
> ** **
>
> Obviously “new this;” wont work.
>
> ** **
>
> I want something to replace 
>
> LOCAL.tmpObj = *createObject*("COMPONENT", "FooBar");
>
> ** **
>
> Ideas?
>
> ** **
>
> Steve
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaussie@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] CreateObject of itself

2011-07-13 Thread Phil Haeusler

Hi Steve

If you're just trying to avoid referencing the component name within 
itself, then why not try using


local.metaData = GetMetaData(this);
local.tmpObj = CreateObject("component", local.metaData.fullname).init();

You might want to check the docs to see if fullname is the correct key 
to reference, but this sort of idea should allow you to create an 
instance of the CFC you're currently in.


Phil


On 13/07/11 8:37 PM, Steve Onnis wrote:


Can anyone suggest a way i can create a new reference to a cfc that i 
am already in?


Something like

FooBar.cfc









  LOCAL.tmpArr = [];

*for* (LOCAL.i = 1; LOCAL.i LTE 10; LOCAL.i = LOCAL.1+1) {

LOCAL.tmpObj = *new* this_;_

LOCAL.tmpObj.setfooBar("Some String #LOCAL.i#");

*ArrayAppend*(LOCAL.tmpArr, LOCAL.tmpObj);

}







Obviously "new this;" wont work.

I want something to replace

LOCAL.tmpObj = *createObject*("COMPONENT", "FooBar");

Ideas?

Steve

--
You received this message because you are subscribed to the Google 
Groups "cfaussie" group.

To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.


--
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] CreateObject of itself

2011-07-13 Thread Steve Onnis
Can anyone suggest a way i can create a new reference to a cfc that i am
already in?

 

Something like

 

FooBar.cfc



  

  



  LOCAL.tmpArr = [];

  for (LOCAL.i = 1; LOCAL.i LTE 10; LOCAL.i = LOCAL.1+1) {

LOCAL.tmpObj = new this;

LOCAL.tmpObj.setfooBar("Some String #LOCAL.i#");

ArrayAppend(LOCAL.tmpArr, LOCAL.tmpObj);

}



  



 

Obviously "new this;" wont work.

 

I want something to replace 

LOCAL.tmpObj = createObject("COMPONENT", "FooBar");

 

Ideas?

 

Steve

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.