Re: ColdFusion 9 on Java 8

2015-03-12 Thread Dan G. Switzer, II

You may find the jump from CF9 to CF10/11 to require changes to your app. I
know the change for us was not straightforward. Make sure you plan for an
extensive QA cycle after upgrading. One of the biggest issues we ran into
was with date/time conversions. We store everything in UTC. Adobe changed
the internals of the way that dates converted to UTC work that can cause
issues with some types of date mathematical operations (like using the
results of a createTimeSpan() to adjust a date.) We found a number of
things that made our upgrade from CF9 to CF10 slow.

On Thu, Mar 12, 2015 at 10:59 AM, Scott Stewart 
wrote:

>
> Wil, that's what I'm pushing for. The powers that be having been dragging
> their feet on upgrading. This may be just the thing to push them over.
>
> On Thu, Mar 12, 2015 at 10:48 AM, Wil Genovese 
> wrote:
>
> >
> > Unless I missed it, Adobe has not certified ColdFusion 9.0.x on Java 8.
> > <— Remember this as I continue
> >
> > Also, Adobe ColdFusion 9.x.x reached End Of Life back on December 31st,
> > 2014.
> >
> http://www.trunkful.com/index.cfm/2014/11/24/ColdFusion-9-Reaches-End-Of-Life-Long-Live-ColdFusion
> >  <— Remember this too
> >
> > Now, that I got those two items out of the way I will say that while
> > researching and testing ColdFusion potential POODLE issues via CFHTTP I
> did
> > happen to successfully attempt to run ColdFusion 9.0.2 fully patched on
> > Java 1.8. (This blog post BTW:
> >
> http://www.trunkful.com/index.cfm/2014/12/8/Preventing-SSLv3-Fallback-in-ColdFusion
> > - The note at the bottom)
> >
> > There were no errors or warnings. I was able to run some code. I by no
> > means tried to test all the functionality because I had a different goal
> to
> > achieve when I was doing my research.
> >
> > So it could very well be possible. However I do have another concern. The
> > company/agency you’re working for is requiring Java to be up to date, but
> > not ColdFusion? I would embrace the Java 8 upgrade and say then we need
> to
> > buy ColdFusion 11 and make the migration.  (IMHO)
> >
> > Regards,
> > Wil
> >
> >
> >
> > Wil Genovese
> > Sr. Web Application Developer/
> > Systems Administrator
> > CF Webtools
> > www.cfwebtools.com
> >
> > wilg...@trunkful.com
> > www.trunkful.com
> >
> > > On Mar 12, 2015, at 9:37 AM, Scott Stewart 
> > wrote:
> > >
> > >
> > > "This is googleable" uhmmm.. thanks Captain Obvious, here's your cape
> :P
> > >
> > > From what I was able to dig up ColdFusion 9 is a no go with Java 8.
> There
> > > are hotfixes available for 10 and 11... of course there's always
> > > Railo/Lucee ..
> > >
> > > On Thu, Mar 12, 2015 at 10:16 AM, Eric Roberts <
> > > ow...@threeravensconsulting.com> wrote:
> > >
> > >>
> > >> This is googleable...i was just looking for a similar solution with
> > >> 10...you ar going to have to move several files from the sdk jre
> > >> directory...one is tools.jar and msvcr1000.dll (I think)...you also
> > have to
> > >> change the java home setting in cfadmin to the jre directory in the
> sdk
> > as
> > >> well.  Charlie Airheart has a page that describes pretty much
> everything
> > >> you need to know.  I don;t have the link handy, but I am sure you can
> > >> easily find it via google.
> > >>
> > >> Eric
> > >>
> > >> On Thu, Mar 12, 2015 at 8:07 AM, Scott Stewart <
> > webmas...@sstwebworks.com>
> > >> wrote:
> > >>
> > >>>
> > >>> Oracle is EOL'ing Java 7 in February. The agency that I work for is
> > going
> > >>> to require upgrades to Java 8.
> > >>>
> > >>> Does anyone know definitively whether or not ColdFusion 9 will work
> on
> > >> Java
> > >>> 8. We are in deep poop if it doesn't.
> > >>>
> > >>> Thanks
> > >>>
> > >>> sas
> > >>>
> > >>> --
> > >>> --
> > >>> Scott Stewart
> > >>> Adobe Certified Instructor, ColdFusion 8 & 9
> > >>> Adobe Certified Expert, ColdFusion 8 & 9
> > >>>
> > >>> Blog: http://www.sstwebworks.com
> > >>> Email: webmas...@sstwebworks.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:360254
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Coldfusion 7 on Apache 2.2 Linux

2015-02-06 Thread Dan LeGate

I know, I know... it's OLD, but we have to deal with it.

Been trying to get CF7 working on Linux with Apache 2.2 and having trouble.

Keep reading there was an updated wsconfig.jar available at one point, but
not surprisingly, can't find it at Adobe.com

Anyone still have the patch, or know a link?

Save your breath in telling us to upgrade instead.  We are... just we have
to deal with this old server until it's done. :-)

Thanks,

Dan


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


Re: Advise in optimizing an application

2014-11-15 Thread Dan G. Switzer, II

You need to turn use some debugging tools to help you identify the key
culprits. For example, if your query to check if a user has unsubscribed is
taking 500ms, that alone would be the reason for the slowness.

Either use the step debugger, a tool like FusionReactor or just turn on
verbose debugging output, so you can understand your current bottleneck.

It's very possible you have some inefficiencies in some of your SQL lookups
(do to missing indexes, etc) that would cause slowness over lots of loops.

You might look into using Java libs to read in the Excel file more
efficiently.

On Saturday, November 15, 2014, Les Mizzell  wrote:

>
> Evening,
>
> I'm still fighting with my Excel Import application a bit. Basically, it
> works pretty well, as long as there's a limited number of records being
> imported.
> Problem is, the client tried to import a list with almost 15,000
> addresses today, and it eventually timed out or the server reset the
> connection before it finished the import. Then my phone rings...
>
> The app does several things:
> 1. Import 4 columns from an excel sheet [email][first name][last
> name][company] into an array
> 2. Check the email address to see if it's valid. If not, delete that row
> from the array
> 3. Check the email address to see if it's been previously unsubscribed
> from the list and delete that row from the array
> 4. Check the list against other email addresses already in the database
> for that list, and delete that row so as to not import it if it's
> already there.
> 5. After all that, write the record
>
> Running some test with the 15,000 address sheet
> Reading the Excel sheet in and running steps 1 through 4 above is taking
> well over 10 minutes by itself.
> Writing the record after that, enough extra time to be sure it borks up.
> Smaller list (several hundred addresses) seem to import fine - MUCH
> faster than the former POI based app.
>
> So my question is - I need to optimize something somewhere to cut down
> CPU cycles and increase efficiency.
> The client uses this thing multiple times every day.
>
> Some of the code is from an example by Raymond Camden. Thanks Raymond.
> Full app below.
> Where are my major bottlenecks and what can I do about them?
>
>
> 
>
> 
> 
> 
>
> 
> 
>  username="#username#"  password="#password#">
> SET NOCOUNT ON
> INSERT into nl_groupLIST ( mgroup,status ) values (  value="#trim(form.newGROUP)#" cfsqltype="CF_SQL_VARCHAR"> ,'act' )
> SELECT @@IDENTITY AS newGROUPID
> SET NOCOUNT OFF
> 
> 
> 
> 
>  req.thisGROUPID = "#form.mgroup#" >
>
> 
>  
>
>   destination="#dest#"
>  filefield="email_list"
>  result="upload" nameconflict="makeunique">
>
>  
>  
>  
>  
>  
>  
>   
>  
>  
>  
>  
>  
>  
>  
>
> 
>
>  
>  
>  
>  
>  
>
>   
>   
>
>
> 
> 
>
>   
>#isVALID("email",data.col_1)#> />
>trim(#data.col_2#) />
>trim(#data.col_3#) />
>trim(#data.col_4#) />
>   
>   
>   
>   
> 
>
> 
> 
> 
>   
>   
>   
>  
> 
>  
>   
>   username="#username#" password="#password#">
>  SELECT groups_id FROM maillist_unsubscribe
>  WHERE dateRESUB is NULL
>  AND ml_email =  cfsqltype="CF_SQL_VARCHAR">
>  AND groups_id =  cfsqltype="CF_SQL_INTEGER" />
>  
> #i#)>
>  
> 
>
>
> 
>   username="#username#" password="#password#">
>  Select groups_id from vw_mailLIST
>  WHERE groups_id =  value="#trim(req.thisGROUPID)#" cfsqltype="CF_SQL_INTEGER"  />
>  AND ml_email =  value="#mailREC[i][1]#" />
>  
>   #i#)>
> 
>
> 
>
> 
> username="#username#" password="#password#" timeout="90">
>  
>  INSERT INTO nl_mailgroups (
>ml_email,
>ml_firstname,
>ml_lastname,
>other
>  ) VALUES (
> cfsqltype="CF_SQL_VARCHAR" />,
> cfsqltype="CF_SQL_VARCHAR" null="#not len(mailREC[i][2])#" />,
> cfsqltype="CF_SQL_VARCHAR" null="#not len(mailREC[i][3])#" />,
> cfsqltype="CF_SQL_VARCHAR" null="#not len(mailREC[i][4])#" /> );
>INSERT INTO nl_catREL (
>   groups_id, ml_id
>   ) VALUES (
>#req.thisGROUPID#, scope_identity() );
>   
>
>
> 
>
>   
>   
>  
>  
>  Error: #cfcatch.Type#
>  
>  Message: #cfcatch.Message#
>  Detail: #cfcatch.Detail#
>  
>  
>  
>  
>
>   
>
> 

~~~

Using HighCharts.js with cfdocument

2014-11-03 Thread Dan Murphy

Does anyone have experience getting HighCharts.js to work with cfdocument? We 
would like to display the charts on printed reports or emails and are not sure 
if we should go the Phantom.js route that it (briefly) describes within the 
HighCharts.js documentation or if there are other options using CF. Whatever 
you're doing, I'd love to see an example with HighCharts.js and CF working 
together to get a printed report or email.

Thanks in advance.
Dan 

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


CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Dan LeGate

Okay, if I have a single site, being run on two or more virtual (vmware) 
servers behind a load balancer, does each server need a license?  Or 
does one license cover the "site"?

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


Re: Forms not passing data?

2014-09-21 Thread Dan G. Switzer, II

Are you posting the data via AJAX? There's a known issue w/IE9 and earlier
w/AJAX POST operations, where if the server's keep alive timeout is lower
than 60 seconds, it can cause IE problems and what you get is a request
that doesn't post the data back to the server.

-Dan

On Sun, Sep 21, 2014 at 1:04 AM, Phillip Vector 
wrote:

>
> I don't know if this is a CFML issue or what... But perhaps someone has run
> across this and can offer a hand...
>
>  enctype="multipart/form-data">
> 
> 
>  value="Log in">
> 
>
> (It's not this bad, but I removed the formatting and so on). This works
> with all the browsers. When I try it with IE, Chrome, Firefox, it works
> fine.
>
> It hits
>
> 
> select QUID
> from Users
> where Username =  value="#form.Username#">
> 
>
> and works perfectly.
>
> One user (using IE) tries to use it and most of the time, it works. But
> occasionally, I get this error emailed to me...
>
> The key [USERNAME] does not exist, only the following keys are available:
> [].
>
> (This is running fusebox on Railo).
>
> Does anyone know about an issue where IE SOMETIMES (he can do it most
> times) drops form data?
>
>
> 

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


Calling a Custom Tag Twice Duplicates Query Results?

2014-05-28 Thread Dan LeGate

Okay, so I've been trying to solve a problem I'm having with a Custom 
Tag I wrote to do ldap lookups.

The "QueryName" attribute gets passed in, along with a FilterValue.

My problem is that when I call this tag twice or more within one page, 
the results of the FIRST lookup seem to stick and the second lookup 
doesn't work

First lookup: value of NetID is ab1234



Second lookup: value of NetID is xy6789



When I reference #GetLDAPInfoContact.FirstName# it contains the value 
for #GetLDAPInfo.FirstName#

Is there some sort of caching happening when a Custom Tag is called more 
than once?

This is CFMX 7, btw. :-\

I thought by dynamically changing the Query Name value within the Custom 
Tag it would solve this (it used to be the same query name each time the 
Custom Tag was called), but that wasn't it.

Any insight is appreciated.

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


Re: Dynamic Query Name in Custom Tag?

2014-05-27 Thread Dan LeGate

Thanks Matt!

That worked for cfdump.

Now I'm trying to cfif for the RecordCount and neither:



nor



works.  Any advice on this one?

Getting "Element QUERYNAMES.RECORDCOUNT is undefined in ATTRIBUTES. " 
and "Element ConvertedFields_GetLDAPInfo.RecordCount is undefined in a 
Java object of type class coldfusion.runtime.VariableScope referenced" 
respectively.

Thanks again.

Dan

On 5/27/2014 1:55 PM, Matt Quackenbush wrote:
> Try
>
>
> On Tue, May 27, 2014 at 4:49 PM, Dan LeGate  wrote:
>
>> Hi all,
>>
>> I'm attempting to create a dynamic query name inside a Custom Tag.
>>
>> It seems to get created fine, but referencing it seems to be the problem.
>>
>> Here's where I set it up:
>>
>> 
>>
>> So, yes, it's a Query of Query, if that makes a difference.
>>
>> But when I try to reference it later, like this:
>>
>> 
>>
>> or
>>
>> 
>>
>> or
>>
>> 
>>
>> It always errors out with "Variable CONVERTEDFIELDS_ is undefined."
>>
>> I know I'm missing something simple here.  My brain is not recalling how
>> to handle these. :-)
>>
>> Any help is appreciated.
>>
>>
> 

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


Dynamic Query Name in Custom Tag?

2014-05-27 Thread Dan LeGate

Hi all,

I'm attempting to create a dynamic query name inside a Custom Tag.

It seems to get created fine, but referencing it seems to be the problem.

Here's where I set it up:



So, yes, it's a Query of Query, if that makes a difference.

But when I try to reference it later, like this:



or



or



It always errors out with "Variable CONVERTEDFIELDS_ is undefined."

I know I'm missing something simple here.  My brain is not recalling how 
to handle these. :-)

Any help is appreciated.

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


Re: Versions of Apache Supported on CF10 Linux?

2014-02-25 Thread Dan LeGate

We are on RHEL 5.9 currently.  Debating as to whether we should move to 6.

Dan

On 2/25/2014 9:48 AM, Pete Freitag wrote:
> On Tue, Feb 25, 2014 at 10:42 AM, Steve 'Cutter' Blades<
> cold.fus...@cutterscrossing.com>  wrote:
>
>> 64-bit Apache is not officially supported.
>>
> I don't think that is true, perhaps with Apache on Windows? But not with
> linux. The support matrix lists Apache support for both 32 and 64 bit on
> all platforms:
> http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf10/coldfusion10-support-matrix.pdffor
> what its worth.
>
> If you are on RHEL then make sure you update httpd using yum to the
> latest... Note that with RHEL the apache version number may not change, but
> RH will apply security patches or bug fixes as needed. More on that here:
> http://www.petefreitag.com/item/826.cfm
>
> What version of RHEL are you running?
>
> --
> Pete Freitag - Adobe Community Professional
> http://foundeo.com/ - ColdFusion Consulting&  Products
> http://hackmycf.com - Is your ColdFusion Server Secure?
> http://www.youtube.com/watch?v=ubESB87vl5U - FuseGuard your CFML in 10
> minutes
>
>
> 

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


Versions of Apache Supported on CF10 Linux?

2014-02-24 Thread Dan LeGate

Hi all,

We're running into the:

undefined symbol: ap_get_server_description

error when attempting to load mod_jk.so into Apache.

We are on 64-bit Redhat, which has Apache 2.2.3, which I've read doesn't 
support the ap_get_server_description

Our options appear to be to downgrade to Apache 2.2.2, or upgrade to 
Apache 2.2.4 or even 2.4, but I've also read that the mod_jk shipped 
with CF10 won't work in Apache 2.4?

What do you all recommend?

Thanks!

Dan

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


Re: Moving from CF8 tp CF10 - Session Issues

2014-02-22 Thread Dan Crouch

I was testing a migration from CF8 to the Splendor Beta and I ran into a weird 
session issue. In my case, a session ID is inserted into a database table and 
there is a select that makes sure it is still the same a bit farther down. I 
was logging in and getting sent right back to the login screen. I found that 
the variable being inserted had some extra blank spaces and possibly a newline 
at the end. When outputting the variable, it looked exactly the same but the 
insert and select didn't match up. I ended up trimming the variable on the 
insert and select and that fixed the problem for me. It works fine in CF8 and 
CF9, I hadn't tried it in 10 yet, but the break is there in the new beta. I'm 
not sure what the problem is exactly, I just wanted to fix it so I could keep 
testing. 
 

>Got a site currently running on CF8 that we're migrating to a completely 
>new server with a fresh CF10 install. There's an informal "members only" 
>section with user/pass login that we're having trouble with. No code 
>changes - no problems on the CF8 server.
>
>But, in various browsers, it seems the "logged-in" session var isn't 
>holding and the second you log in, it just kicks you back out.
>CF8 version - all browsers stay logged in with no problems.
>CF10 version - Chrome kicks you right back out. IE works great (??)
>
>So ... pretty simple stuff. If the username/pass matches:
>
>
> 
> 
> 
>
>
>... and there you go..
>
>Application file settings:
>
>   clientmanagement="yes"
>   sessionmanagement="yes"
>   setclientcookies="yes"
>   setdomaincookies="yes"
>   sessiontimeout="#CreateTimeSpan(0,8,00,0)#"
>   applicationtimeout="#CreateTimeSpan(0,8,00,0)#"
>   clientstorage="cookie" >
>
>
>So the question is - what's different between CF8 and CF10 that I need 
>to be looking for? I'm not even sure where to start looking at the 
>moment. Ideas? Tearing my hair out so far. 

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


Re: CF 9 and Java 1.7 ?

2013-12-19 Thread Dan G. Switzer, II

We've been running 1.7.0_17 with great success. We recently tried moving to
1.7.0_45, but started to see some very bizarre issues in production so we
rolled back to 17. Things have been fine since rolling back.

The issue we saw was that functions being passed argument collections would
eventually lose the arguments seemly randomly in certain conditions when
the collection was passed through a certain chain of events. We never were
able to boil down the exact cause and it was only biting us in one very
specific piece of code.

On Wednesday, December 18, 2013, Chris <0404tow...@gmail.com> wrote:

>
> Hi all,
>
> Just thought I'd check back in about compatibility CF9 and Java JDK v1.7
> (now up to 1.7.0_45). It looks like 1.7 is fine with CF9.
>
> Anybody have any issues?
>
> many thanks,
> Chris
>
>
> On Tue, Aug 13, 2013 at 3:21 PM, Chris <0404tow...@gmail.com>
> wrote:
>
> > Thanks Wil, very helpful. And good news, too!
> >
> > Chris
> >
> >
> > On Tue, Aug 13, 2013 at 3:17 PM, Wil Genovese 
> > 
> >wrote:
> >
> >>
> >> We've been converting out CF9 and CF10 to Java 1.7 at CF Webtools. Here
> >> is what I wrote up about it.
> >>
> >> http://www.trunkful.com/index.cfm/2013/8/8/ColdFusion-on-Java-17
> >>
> >>
> >> Regards,
> >>
> >>
> >>
> >> Wil Genovese
> >> Sr. Web Application Developer/
> >> Systems Administrator
> >> CF Webtools
> >> www.cfwebtools.com
> >>
> >> wilg...@trunkful.com 
> >> www.trunkful.com
> >>
> >> On Aug 13, 2013, at 2:11 PM, Chris <0404tow...@gmail.com >
> wrote:
> >>
> >> >
> >> > Hi, are many people using CF 9 and Java 1.7 ?  With Cumulative HotFix
> 4,
> >> > CF9 should now support Java 1.7.
> >> >
> >> > Just wondering how it's working. I see a couple issues in
> >> > https://bugbase.adobe.com
> >> >
> >> > thanks,
> >> > Chris
> >> >
> >> >
> >> >
> >>
> >>
>
> 

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


Re: CFLDAP socket closed error against SSL

2013-12-10 Thread Dan LeGate

Used LDAP Browser and it fails with the following message:

CA certificate is not in the server certificate chain

So I've used the keytool to import the all three:

1 - Comodo CA
2 - the intermediate/root cert of the server
3 - the cert of the server itself.

Restarted and it still complains with the above message.

I'm confused as to which cert/s need to be imported using the keytool.

On 12/10/2013 4:37 PM, Mahcsig wrote:
> you can try ldap browser,
> http://www.ldapbrowser.com/download.htm?download=browser
>
>
> ~Mahcsig
>
>
> On Tue, Dec 10, 2013 at 4:32 PM, Dan LeGate  wrote:
>
>> I've connected to the port using telnet and using a port scanner - both
>> show the port is open.
>>
>> This is an LDAPS connection (port 636), so a standard web browser, or
>> curl, etc., won't really work as a client, as far as I know.
>>
>> Dan
>>
>> On 12/10/2013 4:23 PM, .jonah wrote:
>>> Can you connect to it via any other tools on the CF box? If you have
>>> another client that might help determine whether it's a server/network
>>> issue or a  CF/Java issue.
>>>
>>> On 12/10/13 4:19 PM, Dan LeGate wrote:
>>>> Okay, so I looked up how to and used the following command syntax:
>>>>
>>>> C:\CFusion\runtime\jre\bin\keytool.exe -import -v -alias aliasname -file
>>>> C:\temp\certfile.cer -keystore
>>>> C:\CFusion\runtime\jre\lib\security\cacerts -storepass password
>>>>
>>>> which imported successfully (verified with the list command).
>>>>
>>>> Restarted server (in case that is required).  Still get socket closed.
>> :-(
>>>> I imported *just* the certificate from the server I'm connecting to.  Do
>>>> I need anything else in there?  Like any of the intermediate/chain or
>>>> root certs as well?
>>>>
>>>> Should I be importing some sort of combined certificate?  Or just
>>>> individually import one at a time?
>>>>
>>>> Any help is appreciated.
>>>>
>>>> Thanks,
>>>>
>>>> Dan
>>>>
>>>> On 12/10/2013 2:53 PM, Russ Michaels wrote:
>>>>> Have u imported the ssl into the key store?
>>>>>
>>>>> Russ Michaels
>>>>> www.michaels.me.uk
>>>>> cfmldeveloper.com
>>>>> cflive.net
>>>>> cfsearch.com
>>>>> On 10 Dec 2013 20:52, "Dan LeGate"wrote:
>>>>>
>>>>>> I take it back... exact same code EXCEPT my code in outside the Custom
>>>>>> Tag folder had excluded the PORT attribute, so I assume it was going
>> to
>>>>>> the non-SSL port and working fine.
>>>>>>
>>>>>> Once I added port = "636" to that code, exact same response: socket
>> closed
>>>>>> Again, the LDAPS (636) port is open to the ColdFusion server.
>>>>>>
>>>>>> I'm thinking it's an SSL issue.  What steps need to be taken to ensure
>>>>>> LDAPS communication works?
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> Dan
>>>>>>
>>>>>> On 12/10/2013 12:36 PM, Dan LeGate wrote:
>>>>>>> Here's the weirdness I'm experiencing...
>>>>>>>
>>>>>>> I have a Custom Tag we've been using for years that is called from
>> most
>>>>>>> of our applications and authenticates them to a Sun LDAP server.
>>>>>>>
>>>>>>> We are moving to an Active Directory service, and when I attempt to
>> do a
>>>>>>> bind against the new system, I get:
>>>>>>>
>>>>>>> An error has occurred while trying to execute query :
>> servername.com:636;
>>>>>>> socket closed.
>>>>>>>
>>>>>>> However, if I run that SAME cfldap command in a .cfm file out in a
>>>>>>> regular web folder (i.e. not as a Custom Tag under the ColdFusion
>>>>>>> directory), it works fine!
>>>>>>>
>>>>>>> I have restarted the server to make sure any old Custom Tag code
>> isn't
>>>>>>> somehow cached.  I have verified the SSL (636) port is open to the CF
>>>>>>> server.
>>>>>>>
>>>>>>> Any ideas on this one?  Very confused by this.
>>>>>>>
>>>>>>> Thanks for any feedback!
>>>>>>>
>>>>>>> Dan
>>>>>>>
>>>>>>>
>>
> 

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


Re: CFLDAP socket closed error against SSL

2013-12-10 Thread Dan LeGate

I've connected to the port using telnet and using a port scanner - both 
show the port is open.

This is an LDAPS connection (port 636), so a standard web browser, or 
curl, etc., won't really work as a client, as far as I know.

Dan

On 12/10/2013 4:23 PM, .jonah wrote:
> Can you connect to it via any other tools on the CF box? If you have
> another client that might help determine whether it's a server/network
> issue or a  CF/Java issue.
>
> On 12/10/13 4:19 PM, Dan LeGate wrote:
>> Okay, so I looked up how to and used the following command syntax:
>>
>> C:\CFusion\runtime\jre\bin\keytool.exe -import -v -alias aliasname -file
>> C:\temp\certfile.cer -keystore
>> C:\CFusion\runtime\jre\lib\security\cacerts -storepass password
>>
>> which imported successfully (verified with the list command).
>>
>> Restarted server (in case that is required).  Still get socket closed. :-(
>>
>> I imported *just* the certificate from the server I'm connecting to.  Do
>> I need anything else in there?  Like any of the intermediate/chain or
>> root certs as well?
>>
>> Should I be importing some sort of combined certificate?  Or just
>> individually import one at a time?
>>
>> Any help is appreciated.
>>
>> Thanks,
>>
>> Dan
>>
>> On 12/10/2013 2:53 PM, Russ Michaels wrote:
>>> Have u imported the ssl into the key store?
>>>
>>> Russ Michaels
>>> www.michaels.me.uk
>>> cfmldeveloper.com
>>> cflive.net
>>> cfsearch.com
>>> On 10 Dec 2013 20:52, "Dan LeGate"   wrote:
>>>
>>>> I take it back... exact same code EXCEPT my code in outside the Custom
>>>> Tag folder had excluded the PORT attribute, so I assume it was going to
>>>> the non-SSL port and working fine.
>>>>
>>>> Once I added port = "636" to that code, exact same response: socket closed
>>>>
>>>> Again, the LDAPS (636) port is open to the ColdFusion server.
>>>>
>>>> I'm thinking it's an SSL issue.  What steps need to be taken to ensure
>>>> LDAPS communication works?
>>>>
>>>> Thanks!
>>>>
>>>> Dan
>>>>
>>>> On 12/10/2013 12:36 PM, Dan LeGate wrote:
>>>>> Here's the weirdness I'm experiencing...
>>>>>
>>>>> I have a Custom Tag we've been using for years that is called from most
>>>>> of our applications and authenticates them to a Sun LDAP server.
>>>>>
>>>>> We are moving to an Active Directory service, and when I attempt to do a
>>>>> bind against the new system, I get:
>>>>>
>>>>> An error has occurred while trying to execute query :servername.com:636;
>>>>> socket closed.
>>>>>
>>>>> However, if I run that SAME cfldap command in a .cfm file out in a
>>>>> regular web folder (i.e. not as a Custom Tag under the ColdFusion
>>>>> directory), it works fine!
>>>>>
>>>>> I have restarted the server to make sure any old Custom Tag code isn't
>>>>> somehow cached.  I have verified the SSL (636) port is open to the CF
>>>>> server.
>>>>>
>>>>> Any ideas on this one?  Very confused by this.
>>>>>
>>>>> Thanks for any feedback!
>>>>>
>>>>> Dan
>>>>>
>>>>>
> 

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


Re: CFLDAP socket closed error against SSL

2013-12-10 Thread Dan LeGate

Okay, so I looked up how to and used the following command syntax:

C:\CFusion\runtime\jre\bin\keytool.exe -import -v -alias aliasname -file 
C:\temp\certfile.cer -keystore 
C:\CFusion\runtime\jre\lib\security\cacerts -storepass password

which imported successfully (verified with the list command).

Restarted server (in case that is required).  Still get socket closed. :-(

I imported *just* the certificate from the server I'm connecting to.  Do 
I need anything else in there?  Like any of the intermediate/chain or 
root certs as well?

Should I be importing some sort of combined certificate?  Or just 
individually import one at a time?

Any help is appreciated.

Thanks,

Dan

On 12/10/2013 2:53 PM, Russ Michaels wrote:
> Have u imported the ssl into the key store?
>
> Russ Michaels
> www.michaels.me.uk
> cfmldeveloper.com
> cflive.net
> cfsearch.com
> On 10 Dec 2013 20:52, "Dan LeGate"  wrote:
>
>> I take it back... exact same code EXCEPT my code in outside the Custom
>> Tag folder had excluded the PORT attribute, so I assume it was going to
>> the non-SSL port and working fine.
>>
>> Once I added port = "636" to that code, exact same response: socket closed
>>
>> Again, the LDAPS (636) port is open to the ColdFusion server.
>>
>> I'm thinking it's an SSL issue.  What steps need to be taken to ensure
>> LDAPS communication works?
>>
>> Thanks!
>>
>> Dan
>>
>> On 12/10/2013 12:36 PM, Dan LeGate wrote:
>>> Here's the weirdness I'm experiencing...
>>>
>>> I have a Custom Tag we've been using for years that is called from most
>>> of our applications and authenticates them to a Sun LDAP server.
>>>
>>> We are moving to an Active Directory service, and when I attempt to do a
>>> bind against the new system, I get:
>>>
>>> An error has occurred while trying to execute query :servername.com:636;
>>> socket closed.
>>>
>>> However, if I run that SAME cfldap command in a .cfm file out in a
>>> regular web folder (i.e. not as a Custom Tag under the ColdFusion
>>> directory), it works fine!
>>>
>>> I have restarted the server to make sure any old Custom Tag code isn't
>>> somehow cached.  I have verified the SSL (636) port is open to the CF
>>> server.
>>>
>>> Any ideas on this one?  Very confused by this.
>>>
>>> Thanks for any feedback!
>>>
>>> Dan
>>>
>>>
>>
> 

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


Re: CFLDAP socket closed error against SSL

2013-12-10 Thread Dan LeGate

No.  How do we do that?

Is it the individual server certificate(s) that we connect to that are 
put into the key store?

Or a Certificate Authority certificate we need?

Where is the key store on the CF Server and how do we manipulate it?

Thanks,

Dan

On 12/10/2013 2:53 PM, Russ Michaels wrote:
> Have u imported the ssl into the key store?
>
> Russ Michaels
> www.michaels.me.uk
> cfmldeveloper.com
> cflive.net
> cfsearch.com
> On 10 Dec 2013 20:52, "Dan LeGate"  wrote:
>
>> I take it back... exact same code EXCEPT my code in outside the Custom
>> Tag folder had excluded the PORT attribute, so I assume it was going to
>> the non-SSL port and working fine.
>>
>> Once I added port = "636" to that code, exact same response: socket closed
>>
>> Again, the LDAPS (636) port is open to the ColdFusion server.
>>
>> I'm thinking it's an SSL issue.  What steps need to be taken to ensure
>> LDAPS communication works?
>>
>> Thanks!
>>
>> Dan
>>
>> On 12/10/2013 12:36 PM, Dan LeGate wrote:
>>> Here's the weirdness I'm experiencing...
>>>
>>> I have a Custom Tag we've been using for years that is called from most
>>> of our applications and authenticates them to a Sun LDAP server.
>>>
>>> We are moving to an Active Directory service, and when I attempt to do a
>>> bind against the new system, I get:
>>>
>>> An error has occurred while trying to execute query :servername.com:636;
>>> socket closed.
>>>
>>> However, if I run that SAME cfldap command in a .cfm file out in a
>>> regular web folder (i.e. not as a Custom Tag under the ColdFusion
>>> directory), it works fine!
>>>
>>> I have restarted the server to make sure any old Custom Tag code isn't
>>> somehow cached.  I have verified the SSL (636) port is open to the CF
>>> server.
>>>
>>> Any ideas on this one?  Very confused by this.
>>>
>>> Thanks for any feedback!
>>>
>>> Dan
>>>
>>>
>>
> 

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


Re: CFLDAP socket closed error against SSL

2013-12-10 Thread Dan LeGate

I take it back... exact same code EXCEPT my code in outside the Custom 
Tag folder had excluded the PORT attribute, so I assume it was going to 
the non-SSL port and working fine.

Once I added port = "636" to that code, exact same response: socket closed

Again, the LDAPS (636) port is open to the ColdFusion server.

I'm thinking it's an SSL issue.  What steps need to be taken to ensure 
LDAPS communication works?

Thanks!

Dan

On 12/10/2013 12:36 PM, Dan LeGate wrote:
> Here's the weirdness I'm experiencing...
>
> I have a Custom Tag we've been using for years that is called from most
> of our applications and authenticates them to a Sun LDAP server.
>
> We are moving to an Active Directory service, and when I attempt to do a
> bind against the new system, I get:
>
> An error has occurred while trying to execute query :servername.com:636;
> socket closed.
>
> However, if I run that SAME cfldap command in a .cfm file out in a
> regular web folder (i.e. not as a Custom Tag under the ColdFusion
> directory), it works fine!
>
> I have restarted the server to make sure any old Custom Tag code isn't
> somehow cached.  I have verified the SSL (636) port is open to the CF
> server.
>
> Any ideas on this one?  Very confused by this.
>
> Thanks for any feedback!
>
> Dan
>
> 

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


CFLDAP socket closed error against SSL

2013-12-10 Thread Dan LeGate

Here's the weirdness I'm experiencing...

I have a Custom Tag we've been using for years that is called from most 
of our applications and authenticates them to a Sun LDAP server.

We are moving to an Active Directory service, and when I attempt to do a 
bind against the new system, I get:

An error has occurred while trying to execute query :servername.com:636; 
socket closed.

However, if I run that SAME cfldap command in a .cfm file out in a 
regular web folder (i.e. not as a Custom Tag under the ColdFusion 
directory), it works fine!

I have restarted the server to make sure any old Custom Tag code isn't 
somehow cached.  I have verified the SSL (636) port is open to the CF 
server.

Any ideas on this one?  Very confused by this.

Thanks for any feedback!

Dan

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


Re: CFLDAP Lookups vs Binds?

2013-11-19 Thread Dan LeGate

Anyone doing this?

On 11/7/2013 4:49 PM, Dan LeGate wrote:
> Am I performing my queries vs binds correctly?
>
> This is my lookup query:
>
>name   = "GetInfo"
>   start  = "ou=people,dc=ad,dc=institution,dc=edu"
>   filter = "(|(samAccountName=dx7668))"
>   attributes = "samAccountName,cn,sn,givenName"
>   scope  = "SUBTREE"
>   server = "server.ourplace.edu"
>   port   = "636"
>   username   = ""
>   password   = ""
>   maxrows= "10"
>   timeout= "1">
>
> And this is the bind attempt... only thing different is no filter (and
> the name, of course)
>
>name   = "Authenticate"
>   start  = "ou=people,dc=ad,dc=institution,dc=edu"
>   attributes = "samAccountName,cn,sn,givenName"
>   scope  = "SUBTREE"
>   server = "server.ourplace.edu"
>   port   = "636"
>   username   = ""
>   password   = ""
>   maxrows= "10"
>   timeout= "1">
>
> Is that the proper way to do a bind vs a lookup?
>
> This is in CF7 (I know, I know).
>
> The reason I ask is that I'm seeing big differences in response time
> when I attempt a bind (much longer) vs. a lookup (very quick).
>
> Anyone seen anything like that, or know what might be causing the
> difference?
>
> Thanks!
>
> Dan

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


Re: Hosting

2013-11-07 Thread Dan LeGate

Anyone have or know of a discount code for VivioTech checkout? :-)

On 10/21/2013 6:15 AM, Matt Quackenbush wrote:
> http://viviotech.net
>
> Hands down the best CFML host.
> On Oct 21, 2013 8:08 AM, "Robert Harrison"
> wrote:
>
>> I know this has been asked 100 times before, but it looks like I need a
>> new cf hosts that can host enterprise level sites.  Any recommendations?
>>
>> I've have gone to the archives but the HOF site is down.
>>
>>
>> Robert Harrison
>> Director of Interactive Services
>>
>> Austin&  Williams
>> Advertising I Branding I Digital I Direct
>> 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
>> T 631.231.6600 X 119   F 631.434.7022
>> http://www.austin-williams.com
>>
>> Blog:  http://www.austin-williams.com/blog
>> Twitter:  http://www.twitter.com/austin_
>>
>>
> 

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


CFLDAP Lookups vs Binds?

2013-11-07 Thread Dan LeGate

Am I performing my queries vs binds correctly?

This is my lookup query:



And this is the bind attempt... only thing different is no filter (and 
the name, of course)



Is that the proper way to do a bind vs a lookup?

This is in CF7 (I know, I know).

The reason I ask is that I'm seeing big differences in response time 
when I attempt a bind (much longer) vs. a lookup (very quick).

Anyone seen anything like that, or know what might be causing the 
difference?

Thanks!

Dan

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


Re: Removing bullets from textarea

2013-11-05 Thread Dan G. Switzer, II

You'd need to convert the hexidecimal numbers to standard decimal numbers.
The chr() does not work with hexidecimal values.

-Dan

On Tuesday, November 5, 2013, Joy Paulose wrote:

>
> John,
>
> I did use Replace function, but circle and square bullets still do not
> work.
> I tried all the following number codes
>
> chr(8220),chr(8221),chr(8226),chr(2022),chr(25E6),chr(9702),chr(2043),chr(9675),chr(9702),chr(9642),chr(9643),chr(9632),chr(9633)
>
> Thanks
> Joy
>
> 

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


Re: Mobile

2013-09-27 Thread Dan G. Switzer, II

While user agent can be spoofed (and pretty easily with most browsers), the
reality is it's not a problem you need to worry about. You do generally
want to try and avoid user agent when possible, but if your trying to
detect the device purely on the server, there really isn't another option.
Any kind of client side detection (such as screen width) will require and
least a two trips to the server--once to serve up the client-side code that
detects the device, then you hit the server again to change the layout.

On Friday, September 27, 2013, John M Bliss wrote:

>
> > I would suggest basing your redirect on screen width rather than user
> agent strings.
>
> This. This is why I ask questions like this one of this list. Answer so
> simple and yet so genius. Thank you!
>
>
> On Fri, Sep 27, 2013 at 5:50 PM, Brian Cain  wrote:
>
> >
> > I would suggest basing your redirect on screen width rather than user
> > agent strings. Also the dev tools in Chrome has a neat little feature to
> > allow you to specify a different user agent as well as screen size for
> > testing on the desktop.
> >
> > Sent from my iPhone
> >
> > > On Sep 27, 2013, at 4:13 PM, "Dan G. Switzer, II" <
> > dswit...@pengoworks.com> wrote:
> > >
> > >
> > > John,
> > >
> > > I've looked into the following recently:
> > >
> > >   - http://detectmobilebrowsers.com/ - In my testing, the code they
> give
> > >   you works surprisingly well. It does not report tablets as mobile,
> > which is
> > >   the behavior I was looking for, but not be want you want. They
> > basically
> > >   give you some CFML and then you tweak the conditional statement for
> > your
> > >   needs.
> > >   - WURFL (Java API) - Pretty easily to get up and running w/CF. The
> > >   licensing is a bit weird, but you get very robust information back.
> > Due to
> > >   the fact you must load a 16MB XML config file, the initialization
> time
> > is
> > >   really slow, so you definitely want to cache your implementation so
> the
> > >   init only happens once.
> > >   - 51Degrees (Java API) - They offer a free version, but it lumps
> > tablets
> > >   in as a mobile device. You can upgrade to a paid version to
> > differentiate
> > >   tablets and phones. I like the API better than WURFL and
> > initialization is
> > >   much faster, but analyzing data is much slower. WURFL is darn quick.
> > >
> > > I've still be trying to find a good database of User Agents that breaks
> > the
> > > strings down into "desktop", "tablet" and "phone" so that I could run
> > unit
> > > tests of the various implementations, but the DetectMobileBrowsers.com
> > code
> > > has been as accurate as WURFL in my limited tests of a few dozen user
> > > agents.
> > >
> > > -Dan
> > >
> > >
> > >
> > >
> > >> On Fri, Sep 27, 2013 at 2:26 PM, John M Bliss 
> > wrote:
> > >>
> > >>
> > >> Agreed. Unfortunately, client has only approved hours to develop
> mobile
> > >> version...not hours to redevelop / redesign existing site so that it's
> > >> responsive.
> > >>
> > >> Basically, when mobile is detected, I'll be rendering a
> mobile-optimized
> > >> "skin" around existing CFML CMS-driven "center trough" content.
> > >>
> > >>
> > >>> On Fri, Sep 27, 2013 at 2:21 PM, Che Vilnonis 
> wrote:
> > >>>
> > >>>
> > >>> You could also look to "Responsive Web Design" in lieu of creating a
> > >>> separate site.
> > >>>
> > >>> ~Ché
> > >>>
> > >>> -Original Message-
> > >>> From: Ron Gowen [mailto:rsgo...@gmail.com]
> > >>> Sent: Friday, September 27, 2013 2:21 PM
> > >>> To: cf-talk
> > >>> Subject: Re: Mobile
> > >>>
> > >>>
> > >>> i use this: (not sure im cool though)
> > >>>
> > >>> https://github.com/sebarmeli/JS-Redirection-Mobile-Site
> > >>>
> > >>>
> > >>> On Fri, Sep 27, 2013 at 11:16 AM, John M Bliss  >
> > >>> wrote:
> > >>>
> > >>>>
> > >>>> Hi! I'm tasked with developing mobile browser-optimized version of
> > >>>> existing site. What're the cool kids currently using for mobile
> > Archive:
> http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356863
> Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
> Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
>


-- 
Dan G. Switzer, II
dswit...@pengoworks.com
http://blog.pengoworks.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:356864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Mobile

2013-09-27 Thread Dan G. Switzer, II

John,

I've looked into the following recently:

   - http://detectmobilebrowsers.com/ - In my testing, the code they give
   you works surprisingly well. It does not report tablets as mobile, which is
   the behavior I was looking for, but not be want you want. They basically
   give you some CFML and then you tweak the conditional statement for your
   needs.
   - WURFL (Java API) - Pretty easily to get up and running w/CF. The
   licensing is a bit weird, but you get very robust information back. Due to
   the fact you must load a 16MB XML config file, the initialization time is
   really slow, so you definitely want to cache your implementation so the
   init only happens once.
   - 51Degrees (Java API) - They offer a free version, but it lumps tablets
   in as a mobile device. You can upgrade to a paid version to differentiate
   tablets and phones. I like the API better than WURFL and initialization is
   much faster, but analyzing data is much slower. WURFL is darn quick.

I've still be trying to find a good database of User Agents that breaks the
strings down into "desktop", "tablet" and "phone" so that I could run unit
tests of the various implementations, but the DetectMobileBrowsers.com code
has been as accurate as WURFL in my limited tests of a few dozen user
agents.

-Dan




On Fri, Sep 27, 2013 at 2:26 PM, John M Bliss  wrote:

>
> Agreed. Unfortunately, client has only approved hours to develop mobile
> version...not hours to redevelop / redesign existing site so that it's
> responsive.
>
> Basically, when mobile is detected, I'll be rendering a mobile-optimized
> "skin" around existing CFML CMS-driven "center trough" content.
>
>
> On Fri, Sep 27, 2013 at 2:21 PM, Che Vilnonis  wrote:
>
> >
> > You could also look to "Responsive Web Design" in lieu of creating a
> > separate site.
> >
> > ~Ché
> >
> > -Original Message-
> > From: Ron Gowen [mailto:rsgo...@gmail.com]
> > Sent: Friday, September 27, 2013 2:21 PM
> > To: cf-talk
> > Subject: Re: Mobile
> >
> >
> > i use this: (not sure im cool though)
> >
> > https://github.com/sebarmeli/JS-Redirection-Mobile-Site
> >
> >
> > On Fri, Sep 27, 2013 at 11:16 AM, John M Bliss 
> > wrote:
> >
> > >
> > > Hi! I'm tasked with developing mobile browser-optimized version of
> > > existing site. What're the cool kids currently using for mobile
> > browser-detection?
> > > This:
> > >
> > > http://www.cflib.org/udf/isMobileBrowser
> > >
> > > ...or something else?
> > >
> > > --
> > > John Bliss - http://about.me/jbliss
> > >
> > >
> > >
> >
> >
> >
> >
>
> 

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


Re: CFLDAP Fieldname Aliases?

2013-09-17 Thread Dan LeGate

Thanks Dave!

This worked great.

Dan

On 9/16/2013 12:22 PM, Dave Watts wrote:
>> Is there and equivalent to:
>>
>> select LName as Last_Name
>>
>> for CFLDAP?
>>
>> If not, what other workarounds are there to make those query results
>> have the names you want rather than the fieldnames from the LDAP server?
>>
>> cflooping over a QueryNew?  Seems onerous.
> Since CFLDAP returns a query object, you could use Query of Queries.
>
> 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:356809
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFLDAP Fieldname Aliases?

2013-09-16 Thread Dan LeGate

Is there and equivalent to:

select LName as Last_Name

for CFLDAP?

If not, what other workarounds are there to make those query results 
have the names you want rather than the fieldnames from the LDAP server?

cflooping over a QueryNew?  Seems onerous.

Any advice/tips are appreciated.

Thanks!

Dan

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


Re: CF10 Dev Edition...

2013-08-15 Thread Dan G. Switzer, II

That sounds like 3 requests from the same IP--which would be over the 2
request limit.


   1. Your initial request to the .cfm page
   2. The .cfm page makes an HTTP call to another page
   3. That page calls in invokes CFC over HTTP

-Dan



On Tue, Aug 13, 2013 at 7:33 PM, Eric Roberts <
ow...@threeravensconsulting.com> wrote:

>
> No...1 ip...local...it is calling a page that makes an http request to
> another local page hat has http requests an cfc calls...all local...
>
> -Original Message-
> From: Russ Michaels [mailto:r...@michaels.me.uk]
> Sent: Tuesday, August 13, 2013 6:04 PM
> To: cf-talk
> Subject: Re: CF10 Dev Edition...
>
>
> so what this would mean, is that if you have 2 requests from 2 IP's already
> happening, then the internal request from the server to itself would
> probably fail as that would make 3 IP's but if you are only running this on
> your local machine then that would of course not be the case.
>
>
>
> On Tue, Aug 13, 2013 at 11:44 PM, Wil Genovese 
> wrote:
>
> >
> > Adobe changed the two IP restriction a bit.
> >
> > A small but significant change in ColdFusion 10 is around IP address
> > restriction. Till ColdFusion 9, only two fixed IP addresses can access
> > the developer edition of server. But this restriction is changed in
> > ColdFusion 10. ColdFusion 10 developer edition can now be accessed
> > concurrently by any two IP addresses. The restriction is on two
> > concurrent request from any two IP addresses and not on which IP
> addresses.
> >
> >
> > http://blogs.coldfusion.com/post.cfm/coldfusion-10-developer-edition-c
> > an-now-be-accessed-by-any-ip-address
> >
> >
> >
> > Wil Genovese
> > Sr. Web Application Developer/
> > Systems Administrator
> > CF Webtools
> > www.cfwebtools.com
> >
> > wilg...@trunkful.com
> > www.trunkful.com
> >
> > On Aug 13, 2013, at 5:35 PM, "Eric Roberts" <
> > ow...@threeravensconsulting.com> wrote:
> >
> > >
> > > Is ther anything that limits the number of requests in the dev edition?
> >  We
> > > have some calls that use https and the call is crapping out when I
> > > use
> > https
> > > to call another page hat has cfc and http  requests.  The code works
> > fine on
> > > out cf9 production and dev servers.Iam trying to set up a local dev,
> > > but
> > I
> > > have 10 installed.
> > >
> > >
> > >
> > > Eric
> > >
> > >
> > >
> > >
> >
> >
>
>
>
> 

~|
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:356471
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-01 Thread Dan G. Switzer, II

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


Re: Sublime Text 2

2013-03-29 Thread Dan O'Keefe

Dave,

Great free video course here:
https://tutsplus.com/course/improve-workflow-in-sublime-text-2

--
Dan O'Keefe


On Thu, Mar 28, 2013 at 10:28 AM, dave  wrote:

>
> Thanks Mark but I must be missing something. I downloaded the p-ackage
> control file. What screen must I be in when I do the Ctrl+shift+P?  When I
> do that from the opening screen, a drop down list appears with actions but
> if I type "install" nothing shows up and the dropdown list does not include
> any reference to Package Control.
>
> Did I miss something?
>
> Dave
>
>
>
> - Original Message -
> From: "Mark Drew" 
> To: "cf-talk" 
> Sent: Thursday, March 28, 2013 10:52 AM
> Subject: Re: Sublime Text 2
>
>
> >
> > Install this:
> > http://wbond.net/sublime_packages/package_control
> >
> > Once you do that just do  Ctrl + shift + P
> > Type "install' and select Package Control: Install Package
> >
> > then look for cold fusion
> >
> >
> > Sincerely
> >
> > Mark Drew
> >
> > On 28 Mar 2013, at 15:47, "dave"  wrote:
> >
> >>
> >> I downloaded and installed Sublime Text 2 but I can't locate a CF
> >> package.
> >> Does anyone have the link to this?
> >>
> >> Dave
> >>
> >>
> >>
> >
> >
>
> 

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


Re: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

2013-03-27 Thread Dan G. Switzer, II

I had the same problem today, but followed Adobe's instructions and copied
to the file to {ColdFusion-Home}\runtime\bin and that resolved the issue
for me.

-Dan

On Wed, Mar 27, 2013 at 9:20 AM, DURETTE, STEVEN J  wrote:

>
> All,
>
> I solved this one and wanted anyone else who might have this problem to
> have the solution too.
>
> It's similar to the Note about "MSVCR100.dll is missing." You solve it by
> copying msvcr100.dll to C:\Windows\System32
>
> I was stuck because of a few things. First the cumulative hot fix stated
> that the error should have been "MSVCR100.dll is missing.", but it wasn't
> the best I could find was file not found. Second on a multi-instance
> install the \runtime\bin folder doesn't exist.
>
> I found this webpage about java7 and .Net that gave me the final push:
> http://www.jnbridge.com/jn/kb/?p=163
>
> Hope this helps someone else.
>
> Thanks,
> Steve
>
>
> -Original Message-
> From: DURETTE, STEVEN J
> Sent: Wednesday, March 27, 2013 8:05 AM
> To: cf-talk
> Subject: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7
>
> Hi all,
>
> I have a strange dilemma with a new install of ColdFusion 9 Enterprise on
> Windows 2008 R2.
>
> I have a server that is being swapped out, so on the new server I
> installed CF9 then applied the cf901 updater. After that I applied
> Cumulative hot fix 4.  I needed this configuration because we still have
> some Verity collections.
>
> The problem comes when I try to use Java 1.7. I have changed
> java.home=E:\\Java\\jdk1.7.0_17\\jre and java.home=E:/Java/jdk1.7.0_17/jre
> but both error out (see errors below).  This is 64-bit Windows, 64-Bit
> ColdFusion and 64-Bit Java.
>
> I have also tried E:\\Java\\jre7 and E:/Java/jre7 using just the JRE and
> those error as well.
>
> It is always stating that the file does not exist even though the file is
> there.
>
> Here are the Errors: (from the *-out.log)
>
> For E:\\Java\\jdk1.7.0_17\\jre - Error loading:
> E:\Java\jdk1.7.0_17\jre\bin\server\jvm.dll
> For E:/Java/jdk1.7.0_17/jre - Error loading
> E:/Java/jdk1.7.0_17/jre\bin\server\jvm.dll
> For E:/Java/jre7 - Error: no known VMs. (check for corrupt jvm.cfg file)
> For E:\\Java\\jre7 - Error: no known VMs. (check for corrupt jvm.cfg file)
>
> When I look at the Windows System Log for the Error Loading errors it has:
> "The Macromedia JRun CFusion Server service terminated with
> service-specific error The system cannot find the file specified.."
>
> The file does exist I have verified it more than once.
>
> The only configuration that is working is when java.home=E:/JRun4/jre in
> the jvm.config file.
>
> I'm stumped with this one and would really appreciate any insight.
>
> Thanks,
> Steve
>
>
> 

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


Re: CF Builder - open multiple configured files

2013-03-26 Thread Dan O'Keefe

Thanks Mark, going to give that a shot.

--
Dan O'Keefe


On Tue, Mar 19, 2013 at 8:18 AM, Mark Drew  wrote:

>
> I am sure you can use mylyn for this. They are called contexts and it
> remembers the arrangement and files that you have open for a specific
> "ticket".
>
> In your case you wouldn't have to have a issue or ticket but a ticket that
> refers to a section.
>
> I can post screenshots once I have installed it
>
>
> Sincerely
>
> Mark Drew
>
> On 19 Mar 2013, at 15:11, "Dan O'Keefe"  wrote:
>
> >
> > Working on a project which also uses backbone.js quite extensively. The
> app
> > is broken out into subsections, and each subsection can have several js
> > files.
> >
> > I'm looking for a way to configure into a script of some type which files
> > belong to which section so I can single click to open them all up for the
> > section I want to work in.
> >
> > These are all javascript files so I am not adverse by any means to use a
> > different editor for the js coding if it also gives me the functionality
> I
> > am looking for.
> >
> > Anybody know of any way or any toll that would allow me to do that?
> >
> > TIA
> > --
> > Dan O'Keefe
> >
> >
> >
>
> 

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


CF Builder - open multiple configured files

2013-03-19 Thread Dan O'Keefe

Working on a project which also uses backbone.js quite extensively. The app
is broken out into subsections, and each subsection can have several js
files.

I'm looking for a way to configure into a script of some type which files
belong to which section so I can single click to open them all up for the
section I want to work in.

These are all javascript files so I am not adverse by any means to use a
different editor for the js coding if it also gives me the functionality I
am looking for.

Anybody know of any way or any toll that would allow me to do that?

TIA
------
Dan O'Keefe


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


Hosting - Clear Template Cache required

2013-02-25 Thread Dan LeGate

I've been with Newtek (formerly CrystalTech) a long time.

Ever since I moved to their CF10 plan, any edits I make to my CFMs 
require me to login to their cumbersome interface and issue a "Clear 
Template Cache" command.

They say this is required by ColdFusion, not them, and that the only way 
to not have this happen is to switch me back to a CF9 plan.  Ugh.

So my questions are:

1. Are they right?  Do ALL CF hosting companies require a Clear Template 
Cache feature for CF10?

2. Is there a programmatic way I can quickly clear the cache instead of 
relying on their interface?

3. What CF10 hosting company/ies do you recommend?

Thanks!

Dan

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


Re: (ot) Fed Reserve Hack

2013-02-08 Thread Dan Crouch

Having worked for the Federal Reserve as a full time CF developer and also 
currently working as a federal software developer (not using CF), I just wanted 
to clarify something. The Federal Reserve is not a federal agency, with the 
exception being the Federal Reserve Board of Governors. All of the individual 
branches are not federal. 

The folks that I worked with there in IT were really pretty sharp individuals. 
They do have quite a huge information security department too as they are are 
huge target for hackers. They do pay pretty well, but the job security and 
benefits package (good healthcare, pension, vacation) are the draw.

While I have only been on the federal side for a couple years, I think the pay 
and benefits are really good. Most of the developers are at the GS-13 scale 
which can run around 86-115k, it depends on your step and location. The GS-14 
is around 102-135k. There are far fewer technical GS-15 folks, but they would 
run about 123-155k. For anyone that is interested, the OPM site lists the 
various steps and grades. The usajobs.gov site lists any openings for anyone 
that should be interested. The IRS has a bunch of java and cobol openings right 
now for those so inclined.

>From what I have seen, the state openings do tend to pay quite a bit lower, 
>but a lot of the time they have very generous pensions.

> I don't know about the pay level at the Federal level. I saw a posting 
> for ColdFusion jobs with the State on MN (where I live) a couple years 
> back and it was so far underpaid that I cannot imagine even a fresh 
> newbie wanting to work at that scale. MN does hire it's on coders so 
> thats why I thought he Fed did it that way too.  
> 
> 
> 
> Wil Genovese
> Sr. Web Application Developer/
> Systems Administrator
> CF Webtools
> www.cfwebtools.com
> 
> wilg...@trunkful.com
> www.trunkful.com
> 
> On Feb 7, 2013, at 2:00 PM, Russ Michaels  
> wrote:
> 
> > 
> > Govt generally don't have their own coders, they outsource 
> everything to
> > agencies, who then outsource to contractors, and nothing is checked 
> by
> > anyone in between.
> > 
> > Regards
> > Russ Michaels
> > www.michaels.me.uk
> > www.cfmldeveloper.com - Free CFML hosting for developers
> > www.cfsearch.com - CF search engine
> > On Feb 7, 2013 6:36 PM, "Wil Genovese"  
> wrote:
> > 
> >> 
> >> This goes to show the poor quality of coders in the Government more 
> than
> >> weaknesses in ColdFusion. Same for SysAdmins that fail to follow 
> the lock
> >> down procedures. Any web application can be poorly written and any 
> server
> >> can be poorly administered.
> >> 
> >> 
> >> Wil Genovese
> >> Sr. Web Application Developer/
> >> Systems Administrator
> >> CF Webtools
> >> www.cfwebtools.com
> >> 
> >> wilg...@trunkful.com
> >> www.trunkful.com
> >> 
> >> On Feb 7, 2013, at 12:33 PM, Russ Michaels  
> wrote:
> >> 
> >>> 
> >>> some more great publicity for Adobe/CF
> >>> 
> >>> 
> >>> On Thu, Feb 7, 2013 at 6:24 PM, Che Vilnonis  
> wrote:
> >>> 
>  
>  With all of the talk of CF & security I thought I'd pass this 
> along.
>  According to Chris Wysopal of VeraCode, the site was running 
> Coldfusion.
>  
>  
>  
> >> https://www.veracode.
> com/blog/2013/02/stolen-data-headers-from-the-federal-r
>  eserve-hack/
>  
>  
>  
> >> http://www.huffingtonpost.
> com/2013/02/05/federal-reserve-security-breach_n_2
>  622698.html
>  
>  
>  
>  
> >>> 
> >>> 
> >> 
> >> 
> > 
> > 

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


Re: cfimage error

2013-01-16 Thread Dan Baughman

 so im just going to start being a smart ass until i'm unsubscribed
after months of effort to get off this list.

On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels  wrote:
>
> Did you try clicking the unsubscribe link that is in plain sight on the
> footer of every single message.?
>
> Regards
> Russ Michaels
> www.michaels.me.uk
> www.cfmldeveloper.com - Free CFML hosting for developers
> www.cfsearch.com - CF search engine
> On Jan 16, 2013 4:48 AM, "Dan Baughman"  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:353921
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfimage error

2013-01-16 Thread Dan Baughman

so im just going to start being a smart ass until i'm unsubscribed
after months of effort to get off this list.

On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels  wrote:
>
> Did you try clicking the unsubscribe link that is in plain sight on the
> footer of every single message.?
>
> Regards
> Russ Michaels
> www.michaels.me.uk
> www.cfmldeveloper.com - Free CFML hosting for developers
> www.cfsearch.com - CF search engine
> On Jan 16, 2013 4:48 AM, "Dan Baughman"  wrote:
>
>>
>> honestly people how do you get off this list?
>>
>> On Tue, Jan 15, 2013 at 3:59 PM, Tim Do  wrote:
>> >
>> > The images are all named correctly since I'm able to pull the images up
>> and display them.
>> > The coldfusion server that the cfimage code resides on is calling the
>> image from another server. I verified all permissions and even added
>> everyone full access to test and it still didn't work. I created a virtual
>> directory to the image server and the cfimage tag started working again.
>> I'm not sure what security differences are between the methods but the
>> virtual directory fixed my issue.
>> >
>> > -Original Message-
>> > From: Bill Moniz [mailto:hydro.b...@gmail.com]
>> > Sent: Tuesday, January 15, 2013 2:13 PM
>> > To: cf-talk
>> > Subject: Re: cfimage error
>> >
>> >
>> > Just because I ran into this CFimage problem yesterday... Are the images
>> by any change named with the wrong extension?  For example, a PNG inmage
>> mistakenly named with a JPG extension?  If you examine the first bit of the
>> file in a hex editor, you can see the difference.
>> >
>> > Cheers.
>> >
>> > On 16 January 2013 08:57, Tim Do  wrote:
>> >
>> >>
>> >> All images are RGB/BW no CMYK.
>> >>
>> >> -Original Message-
>> >> From: Robert Harrison [mailto:rob...@austin-williams.com]
>> >> Sent: Tuesday, January 15, 2013 1:48 PM
>> >> To: cf-talk
>> >> Subject: RE: cfimage error
>> >>
>> >>
>> >> Is the image CYMK?  That could cause a problem.
>> >>
>> >>
>> >> Robert Harrison
>> >> Director of Interactive Services
>> >>
>> >> Austin & Williams
>> >> Advertising I Branding I Digital I Direct
>> >> 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X
>> >> 119   F 631.434.7022 http://www.austin-williams.com
>> >>
>> >> Blog:  http://www.austin-williams.com/blog
>> >> Twitter:  http://www.twitter.com/austin_williams
>> >>
>> >> -Original Message-
>> >> From: Tim Do [mailto:t...@wng.com]
>> >> Sent: Tuesday, January 15, 2013 2:34 PM
>> >> To: cf-talk
>> >> Subject: cfimage error
>> >>
>> >>
>> >> I have this bit of code that used to work in the past... but now I'm
>> >> getting:
>> >>
>> >> An exception occurred while trying to read the image.
>> >>
>> >> javax.imageio.IIOException: Can't get input stream from URL!
>> >>
>> >> I verified that the image is still there and permissions are still the
>> >> same. I'm able to display the image fine. We're on cf9.
>> >>
>> >> > >> structName="FlrPlnInfo">
>> >>
>> >>
>> >>
>> >> I'm just trying to get the width of the image. So I tried to use code
>> >> below but just getting -1 for width and height.
>> >>
>> >> > >>   class="java.awt.Toolkit">
>> >> 
>> >> > >>   class="java.awt.Image">
>> >> 
>> >> 
>> >> img = tk.getDefaultToolkit().getImage("#getImage.imgName#");
>> >> width = img.getWidth();
>> >> height = img.getHeight();
>> >> 
>> >> #width##height#
>> >>
>> >> 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:353920
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfimage error

2013-01-16 Thread Dan Baughman

I've tried several permutations of accounts and unsubscribe options
after being logged in.

The best guess is my email address is somehow double entered into the
database and its too complex for Michael D. to solve.

I've emailed him and the website contact us form several times.

When i started this endeavor the forgot password link didn't even
work, and i was excited when that was fixed, but alas, I continue to
receive emails even after selecting unsubscribe.

Truly, the manager of this list is a lesson in the bad CF programmers
you hear about who give us all a bad name.

On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels  wrote:
>
> Did you try clicking the unsubscribe link that is in plain sight on the
> footer of every single message.?
>
> Regards
> Russ Michaels
> www.michaels.me.uk
> www.cfmldeveloper.com - Free CFML hosting for developers
> www.cfsearch.com - CF search engine
> On Jan 16, 2013 4:48 AM, "Dan Baughman"  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:353919
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfimage error

2013-01-16 Thread Dan Baughman

many, many times.

I've tried several permutations of accounts and unsubscribe options
after being logged in.

The best guess is my email address is somehow double entered into the
database and its too complex for Michael D. to solve.

I've emailed him and the website contact us form several times.

When i started this endeavor the forgot password link didn't even
work, and i was excited when that was fixed, but alas, I continue to
receive emails even after selecting unsubscribe.

Truly, the manager of this list is a lesson in the bad CF programmers
you hear about who give us all a bad name.

On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels  wrote:
>
> Did you try clicking the unsubscribe link that is in plain sight on the
> footer of every single message.?
>
> Regards
> Russ Michaels
> www.michaels.me.uk
> www.cfmldeveloper.com - Free CFML hosting for developers
> www.cfsearch.com - CF search engine
> On Jan 16, 2013 4:48 AM, "Dan Baughman"  wrote:
>
>>
>> honestly people how do you get off this list?
>>
>> On Tue, Jan 15, 2013 at 3:59 PM, Tim Do  wrote:
>> >
>> > The images are all named correctly since I'm able to pull the images up
>> and display them.
>> > The coldfusion server that the cfimage code resides on is calling the
>> image from another server. I verified all permissions and even added
>> everyone full access to test and it still didn't work. I created a virtual
>> directory to the image server and the cfimage tag started working again.
>> I'm not sure what security differences are between the methods but the
>> virtual directory fixed my issue.
>> >
>> > -Original Message-
>> > From: Bill Moniz [mailto:hydro.b...@gmail.com]
>> > Sent: Tuesday, January 15, 2013 2:13 PM
>> > To: cf-talk
>> > Subject: Re: cfimage error
>> >
>> >
>> > Just because I ran into this CFimage problem yesterday... Are the images
>> by any change named with the wrong extension?  For example, a PNG inmage
>> mistakenly named with a JPG extension?  If you examine the first bit of the
>> file in a hex editor, you can see the difference.
>> >
>> > Cheers.
>> >
>> > On 16 January 2013 08:57, Tim Do  wrote:
>> >
>> >>
>> >> All images are RGB/BW no CMYK.
>> >>
>> >> -Original Message-
>> >> From: Robert Harrison [mailto:rob...@austin-williams.com]
>> >> Sent: Tuesday, January 15, 2013 1:48 PM
>> >> To: cf-talk
>> >> Subject: RE: cfimage error
>> >>
>> >>
>> >> Is the image CYMK?  That could cause a problem.
>> >>
>> >>
>> >> Robert Harrison
>> >> Director of Interactive Services
>> >>
>> >> Austin & Williams
>> >> Advertising I Branding I Digital I Direct
>> >> 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X
>> >> 119   F 631.434.7022 http://www.austin-williams.com
>> >>
>> >> Blog:  http://www.austin-williams.com/blog
>> >> Twitter:  http://www.twitter.com/austin_williams
>> >>
>> >> -Original Message-
>> >> From: Tim Do [mailto:t...@wng.com]
>> >> Sent: Tuesday, January 15, 2013 2:34 PM
>> >> To: cf-talk
>> >> Subject: cfimage error
>> >>
>> >>
>> >> I have this bit of code that used to work in the past... but now I'm
>> >> getting:
>> >>
>> >> An exception occurred while trying to read the image.
>> >>
>> >> javax.imageio.IIOException: Can't get input stream from URL!
>> >>
>> >> I verified that the image is still there and permissions are still the
>> >> same. I'm able to display the image fine. We're on cf9.
>> >>
>> >> > >> structName="FlrPlnInfo">
>> >>
>> >>
>> >>
>> >> I'm just trying to get the width of the image. So I tried to use code
>> >> below but just getting -1 for width and height.
>> >>
>> >> > >>   class="java.awt.Toolkit">
>> >> 
>> >> > >>   class="java.awt.Image">
>> >> 
>> >> 
>> >> img = tk.getDefaultToolkit().getImage("#getImage.imgName#");
>> >> width = img.getWidth();
>> >> height = img.getHeight();
>> >> 
>> >> #width##height#
>> >>
>> >> 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:353918
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: form-post to SQL-insert creates double-entry

2013-01-15 Thread Dan Baughman

during your logic to action something on the page validate it in some
slight way.

EG.



TAKE SOME ACTION


On Tue, Jan 15, 2013 at 1:44 PM, Matt Quackenbush  wrote:
>
> You are running the insert query each time you load the page. Remove your
> s on the form fields, and wrap the query in an .
>
> 
>  
> 
>
> HTH
>
>
> On Tue, Jan 15, 2013 at 2:34 PM, B Griffith  wrote:
>
>>
>> Hello All,
>>
>> I appreciate everyone's help on my other posts and think I'm coming to
>> understand CF a lot better than I did before I started posting here a few
>> days ago, so kudos to you, friends!

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


Re: form-post to SQL-insert creates double-entry

2013-01-15 Thread Dan Baughman

the better approach is to go ahead and keep the cfparam, and then
during your logic to action something on the page validate it in some
slight way.

EG.



TAKE SOME ACTION





On Tue, Jan 15, 2013 at 1:44 PM, Matt Quackenbush  wrote:
>
> You are running the insert query each time you load the page. Remove your
> s on the form fields, and wrap the query in an .
>
> 
>  
> 
>
> HTH
>
>
> On Tue, Jan 15, 2013 at 2:34 PM, B Griffith  wrote:
>
>>
>> Hello All,
>>
>> I appreciate everyone's help on my other posts and think I'm coming to
>> understand CF a lot better than I did before I started posting here a few
>> days ago, so kudos to you, friends!
>>
>> My latest issue w/ my burgeoning new website is the input.cfm page, where
>> an end-user may (in theory) enter a donor's information into a webform,
>> click submit, and the data will subsequently be inserted into the SQL
>> Server (2005) table dbo.DONOR, which while it's under development, has only
>> six fields: kcid (auto-incrementing PK/UID for the database) and the other
>> five which you see in the code below and are probably pretty
>> self-explanatory.  I have tried creating an empty structure called 'form'
>> before applying the code and finally settled on a block of 
>> statements to set the vars to a default.  I can't see a way around this
>> because NOT doing so causes the form to indeed show at the top of the
>> webpage, but it is followed by a CF error page.  INCLUDING the 
>> tags or  or form = structNew(); causes the error output to
>> go away but results in TWO recordsets being sent to the DB, one blank
>> (except for the PK which is set up to auto-increment in SQL) and one with
>> the correct info, and taking the next PK number.  I also tried setting the
>> fields to NOTNULL = TRUE in SQL but to no avail, apparently "" translates
>> into something besides null on the server-side.  Here is the code, I would
>> greatly appreciate your thoughts on what I'm doing wrong and how to rectify
>> it:
>>
>> 
>> 
>> Input form for new donor
>> 
>>
>> 
>> 
>> 
>> 
>> 
>>
>> 
>>   
>> 
>>   
>> 
>>   Donor First Name:
>>   
>> 
>> 
>>   Donor Last Name:
>>   
>> 
>> 
>>   Donor's Immediate Supervisor:
>>   
>> 
>> 
>>   Supervisor's Phone Number:
>>   
>> 
>> 
>>   Has this employee provided a sample in the past 30 days?
>> (Y/N):
>>   
>> 
>>   
>> 
>>
>> Back to homepage
>> Random Donor Generator
>> 
>>
>> 
>> INSERT INTO DONOR (first,last,flag,supe,phone)
>> VALUES
>> ('#form.first#','#form.last#','#form.flag#','#form.supe#','#form.phone#')
>> 
>>
>>
>
> 

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


Re: CF10 REST has completely tanked

2013-01-15 Thread Dan Baughman

I'm an old school coder and  always serialize stuff manually without
using the built-in garbage and it works great that way.  The other
serialization I use often is cfwddx

On Tue, Jan 15, 2013 at 2:55 PM, Jim Campbell  wrote:
>
> No worries - the way it's built, it's not *too* much of a stretch to switch
> gears and go to the old "http://domain/foo.cfc?kicking=it&old=school";
> method - the REST interface itself is a minor aspect of the functional
> nature of the application. I'll keep an eye on this thread, though - maybe
> there's a solution, and I'll check in with Adobe support and file a bug
> report if necessary.
>
> Thanks!
>
> - Jim
>
>
> On Tue, Jan 15, 2013 at 3:46 PM, Raymond Camden 
> wrote:
>
>>
>> You got me man. Sorry. The virtual server thing is something I ran into and
>> was never able to get around. Unless someone else can help, best I'd
>> recommend is Adobe support.
>>
>> Actually - let me ping someone.
>>
>>
>> On Tue, Jan 15, 2013 at 3:42 PM, Jim Campbell  wrote:
>>
>> >
>> > The REST CFCs themselves are not in virtual directories. I have two local
>> > servers created in IIS - dev.remote (which handles the REST requests) and
>> > dev.local (everything else). Both of these environments have virtual
>> > directories for CFIDE and jakarta, but, for dev.local, the REST CFCs are
>> > physically there.
>> >
>> > I've tried CF mapping the folder containing the REST CFCs ("/API"), but
>> it
>> > doesn't make a difference.
>> >
>> > Just now, I tried using restDeleteApplication() and restInitApplication()
>> > in onApplicationStart(), but no dice. At this point, there doesn't seem
>> to
>> > be any way to re-register the app.
>> >
>> > Is there possibly a neo-something.xml file that could contain some fouled
>> > up registration code?
>> >
>> > - Jim
>> >
>> > On Tue, Jan 15, 2013 at 3:13 PM, Raymond Camden > > >wrote:
>> >
>> > >
>> > > By any chance are these CFCs under a virtual folder? (Not CF mapping,a
>> > > virtual IIS folder).
>> > >
>> > >
>> > > On Tue, Jan 15, 2013 at 2:46 PM, Jim Campbell  wrote:
>> > >
>> > > >
>> > > > Yep - that did nothing notable (no errors on the page or in the logs)
>> > and
>> > > > no difference in response. For the record, all of my REST responses
>> are
>> > > > coming back empty, regardless of the return type.
>> > > > On Jan 15, 2013 2:30 PM, "Raymond Camden" 
>> > > wrote:
>> > > >
>> > > > >
>> > > > > Have you tried reloading it in the REST page in the CF Admin?
>> > > > >
>> > > >
>> > > --
>> > >
>> >
>> ===
>> > > Raymond Camden, Adobe Developer Evangelist
>> > >
>> > > Email : raymondcam...@gmail.com
>> > > Blog : www.raymondcamden.com
>> > > Twitter: cfjedimaster
>> > >
>> > >
>> > >
>> >
>> >
>>
>>
>
> 

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


Re: cfimage error

2013-01-15 Thread Dan Baughman

cfimage is really quite buggy... it has file locking issues.
you have to fiddle with the tag and function version until something
works reliably in a high demand environment.  It is truthfully only
marginally better than the native java stuff.

On Tue, Jan 15, 2013 at 3:59 PM, Tim Do  wrote:
>
> The images are all named correctly since I'm able to pull the images up and 
> display them.
> The coldfusion server that the cfimage code resides on is calling the image 
> from another server. I verified all permissions and even added everyone full 
> access to test and it still didn't work. I created a virtual directory to the 
> image server and the cfimage tag started working again. I'm not sure what 
> security differences are between the methods but the virtual directory fixed 
> my issue.
>
> -Original Message-
> From: Bill Moniz [mailto:hydro.b...@gmail.com]
> Sent: Tuesday, January 15, 2013 2:13 PM
> To: cf-talk
> Subject: Re: cfimage error
>
>
> Just because I ran into this CFimage problem yesterday... Are the images by 
> any change named with the wrong extension?  For example, a PNG inmage 
> mistakenly named with a JPG extension?  If you examine the first bit of the 
> file in a hex editor, you can see the difference.
>
> Cheers.
>
> On 16 January 2013 08:57, Tim Do  wrote:
>
>>
>> All images are RGB/BW no CMYK.
>>
>> -Original Message-
>> From: Robert Harrison [mailto:rob...@austin-williams.com]
>> Sent: Tuesday, January 15, 2013 1:48 PM
>> To: cf-talk
>> Subject: RE: cfimage error
>>
>>
>> Is the image CYMK?  That could cause a problem.
>>
>>
>> Robert Harrison
>> Director of Interactive Services
>>
>> Austin & Williams
>> Advertising I Branding I Digital I Direct
>> 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X
>> 119   F 631.434.7022 http://www.austin-williams.com
>>
>> Blog:  http://www.austin-williams.com/blog
>> Twitter:  http://www.twitter.com/austin_williams
>>
>> -Original Message-
>> From: Tim Do [mailto:t...@wng.com]
>> Sent: Tuesday, January 15, 2013 2:34 PM
>> To: cf-talk
>> Subject: cfimage error
>>
>>
>> I have this bit of code that used to work in the past... but now I'm
>> getting:
>>
>> An exception occurred while trying to read the image.
>>
>> javax.imageio.IIOException: Can't get input stream from URL!
>>
>> I verified that the image is still there and permissions are still the
>> same. I'm able to display the image fine. We're on cf9.
>>
>> > structName="FlrPlnInfo">
>>
>>
>>
>> I'm just trying to get the width of the image. So I tried to use code
>> below but just getting -1 for width and height.
>>
>> >   class="java.awt.Toolkit">
>> 
>> >   class="java.awt.Image">
>> 
>> 
>> img = tk.getDefaultToolkit().getImage("#getImage.imgName#");
>> width = img.getWidth();
>> height = img.getHeight();
>> 
>> #width##height#
>>
>> 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:353912
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfimage error

2013-01-15 Thread Dan Baughman

honestly people how do you get off this list?

On Tue, Jan 15, 2013 at 3:59 PM, Tim Do  wrote:
>
> The images are all named correctly since I'm able to pull the images up and 
> display them.
> The coldfusion server that the cfimage code resides on is calling the image 
> from another server. I verified all permissions and even added everyone full 
> access to test and it still didn't work. I created a virtual directory to the 
> image server and the cfimage tag started working again. I'm not sure what 
> security differences are between the methods but the virtual directory fixed 
> my issue.
>
> -Original Message-
> From: Bill Moniz [mailto:hydro.b...@gmail.com]
> Sent: Tuesday, January 15, 2013 2:13 PM
> To: cf-talk
> Subject: Re: cfimage error
>
>
> Just because I ran into this CFimage problem yesterday... Are the images by 
> any change named with the wrong extension?  For example, a PNG inmage 
> mistakenly named with a JPG extension?  If you examine the first bit of the 
> file in a hex editor, you can see the difference.
>
> Cheers.
>
> On 16 January 2013 08:57, Tim Do  wrote:
>
>>
>> All images are RGB/BW no CMYK.
>>
>> -Original Message-
>> From: Robert Harrison [mailto:rob...@austin-williams.com]
>> Sent: Tuesday, January 15, 2013 1:48 PM
>> To: cf-talk
>> Subject: RE: cfimage error
>>
>>
>> Is the image CYMK?  That could cause a problem.
>>
>>
>> Robert Harrison
>> Director of Interactive Services
>>
>> Austin & Williams
>> Advertising I Branding I Digital I Direct
>> 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X
>> 119   F 631.434.7022 http://www.austin-williams.com
>>
>> Blog:  http://www.austin-williams.com/blog
>> Twitter:  http://www.twitter.com/austin_williams
>>
>> -Original Message-
>> From: Tim Do [mailto:t...@wng.com]
>> Sent: Tuesday, January 15, 2013 2:34 PM
>> To: cf-talk
>> Subject: cfimage error
>>
>>
>> I have this bit of code that used to work in the past... but now I'm
>> getting:
>>
>> An exception occurred while trying to read the image.
>>
>> javax.imageio.IIOException: Can't get input stream from URL!
>>
>> I verified that the image is still there and permissions are still the
>> same. I'm able to display the image fine. We're on cf9.
>>
>> > structName="FlrPlnInfo">
>>
>>
>>
>> I'm just trying to get the width of the image. So I tried to use code
>> below but just getting -1 for width and height.
>>
>> >   class="java.awt.Toolkit">
>> 
>> >   class="java.awt.Image">
>> 
>> 
>> img = tk.getDefaultToolkit().getImage("#getImage.imgName#");
>> width = img.getWidth();
>> height = img.getHeight();
>> 
>> #width##height#
>>
>> 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:353911
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF10 REST has completely tanked

2013-01-15 Thread Dan Baughman

unsubscribe

On Tue, Jan 15, 2013 at 4:00 PM, Jim Campbell  wrote:
>
> I think you're on the right track, although it ultimately still fails to
> register the CFC. For instance, if, in the Application.cfc, I use the
> absolute path (or relative path) to the directory in which the REST CFCs
> are located:
>
> this.restSettings.cfcLocation = "C:\inetpub\wwwroot\API";
> this.restSettings.skipCFCWithError = true;
>
> I get this error when I try to register the REST Directory in the
> Administrator:
>
> Error registering REST service. Please ensure that you have entered a
> proper mapping and path.
> Application restApp could not be initialized.
> Reason: Missing dependency for method public java.lang.String
> api.Connector.connect(java.lang.String,java.lang.Object[]) throws
> coldfusion.xml.rpc.CFCInvocationException at parameter at index 1
>
> However, if I use a path that I know doesn't have any REST-enabled CFCs
> ("C:\fnord"), I get a very helpful (if a little verbose) error message with
> exactly what I expect to see:
>
> Error registering REST service. Please ensure that you have entered a
> proper mapping and path.
> Application restApp could not be initialized.
> Reason: The application does not contain any rest enabled CFCs.
> The application does not contain any rest enabled CFCs.
>
> What this says to me is that CF finds exactly what it's looking for
> traversing the directory I give it, but there's something deeper that's
> interfering with the proper registration.
>
> And, finally, I tried one other thing - I copied the /API directory and
> called it /siesta, and changed the references to the directory in its
> Application.cfc. I then tried registering the REST services through the
> Administrator as well as programmatically, but received the same "Missing
> dependency..." error above.
>
> - Jim
>
>
> On Tue, Jan 15, 2013 at 4:31 PM, AJ Mercer  wrote:
>
>>
>> when you tried to register a different ReST app,
>> did you take the old one out of the rest search path?
>> this.restsettings.cfclocation
>>
>> Or try this
>> this.restsettings.skipCFCWithError=true
>>
>>
>>
>> On 16 January 2013 03:35, Jim Campbell  wrote:
>>
>> >
>> > Hi all -
>> >
>> > I've got some very strange errors in CF10, and I'm not sure what's going
>> > on. Basically, it's like this... I'm writing a REST API using CF10's
>> native
>> > REST functionality. No significant problems at all during development
>> over
>> > the last couple of weeks, but an hour or so ago, it stopped returning any
>> > data whatsoever.
>> >
>> > The paths resolve if I request them from a browser (no 404s or 500s or
>> > other strangeness), the underlying functions and data structures are
>> > working and available; one function returns some info from an
>> > application-scoped struct - dumping that struct in a CFM works fine.
>> > Various restarts (service, webserver, applicationStop()) don't fix
>> > anything. I'm running CF 10.0.7 (as of this morning!) on Win7/IIS6. I
>> don't
>> > think the OS/Web server are contributing factors, though, because,
>> looking
>> > at exception.log, I see this dump from when a REST request was made (full
>> > error stack follows, continued afterwards):
>> >
>> > "Error","ajp-bio-8012-exec-4","01/15/13","12:59:59",,"An error occurred
>> > while initializing the REST application restApp : null. "
>> > com.sun.jersey.spi.inject.Errors$ErrorMessagesException
>> > at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170)
>> >  at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136)
>> > at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199)
>> >  at
>> >
>> >
>> com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771)
>> > at
>> >
>> >
>> com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766)
>> >  at
>> >
>> >
>> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488)
>> > at
>> >
>> >
>> com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318)
>> >  at
>> >
>> >
>> com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609)
>> > at
>> >
>> >
>> com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210)
>> >  at
>> >
>> >
>> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373)
>> > at
>> >
>> >
>> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556)
>> >  at
>> >
>> >
>> coldfusion.rest.servlet.CFRestServlet.initRestApplication(CFRestServlet.java:152)
>> > at coldfusion.rest.servlet.CFRestServlet.invoke(CFRestServlet.java:391)
>> >  at coldfusion.rest.servlet.RestFilter.invoke(RestFilter.java:58)
>> > at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
>> >  at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
>> > at
>> >
>> >
>> coldfusion.filter.ClientScopePersistenceFilter.invo

Re: Spammers are stupid

2012-12-31 Thread Dan Baughman

Any unwanted email is kind of stupid

Dan Baughman


On Dec 30, 2012, at 8:48 AM, Bruce Sorge  wrote:

> 
> So since occasional messages from this list and random legitimate emails from 
> other sources somehow end up in my spam folder, I actually have to look at 
> the folder contents. As I was moving legitimate messages out, I came across 
> an ad about BBW dating. Funny thing was, the girl in the picture was anything 
> but BBW. Very much in shape actually. I wonder if the idiot who actually took 
> the time to create the graphic actually knows what a BBW is.
> Spammers make me laugh, and after being up for over 24 hours because I had 
> duty yesterday, I needed a good laugh.
> 
> Happy New Year
> 
> Bruce
> 
> 

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


Re: cfcontent changing name of file

2012-12-29 Thread Dan G. Switzer, II

Rob,

The following should work:



-Dan

On Saturday, December 29, 2012, Rob Voyle wrote:

>
> Hi Russ
> creating objects is beyond my expertise and I couldn't get the sitepoint
> idea to
> work. Kept getting an object error. However my suspicion is that it
> wouldn't
> solve my problem.
>  value="attachment;filename=#downloadFile#" />
> forces the browser to save the file not view the file. I want people to
> first view it
> and then save it if they want.
>
> Rob
>
>
>
> On 30 Dec 2012 at 2:34, Russ Michaels wrote:
>
> >
> > try this.
> > http://www.sitepoint.com/forums/showthread.php?640127-changing-filen
> > ame-of-download-in-cfcontent
> >
> >
>
>
>
> 

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


Re: _Re:_URGENT_:_How_to_Detect_screen_resolution_in_COLDFUSION?

2012-12-28 Thread Dan Baughman

It would be awesome if he could unsubscribe me too I've wanted off for like two 
month

Dan Baughman


On Dec 27, 2012, at 5:35 AM, Judith Dinowitz  wrote:

> 
> I didn't see this until now, guys. Michael just got up and he'll have him
> off in a jiffy.
> 
> And Paul, that was really uncalled for.
> 
> Judith
> 
> On Thu, Dec 27, 2012 at 12:04 AM, Paul Hastings 
> wrote:
> 
>> 
>> On 12/27/2012 10:10 AM, Raymond Camden wrote:
>>> 
>>> Why isn't this person removed from the list yet?
>> 
>> because he's providing 50% of the traffic?
>> 
>> 
> 
> 
> 

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


Re: cfftp with SSL (Coldfusion 8)

2012-12-19 Thread Dan Crouch

I have never had much luck when dealing with sftp or ftps through CF. We set up 
a test sftp server using Bitvise and I could not for the life of me connect to 
it. Using Chilkat's ssh/sftp .dll in a vb.net application, I was able to 
connect to it in minutes. So we just created an .exe and had the CF server call 
it as a scheduled task. 

> But livedocs show support only for SSH http://livedocs.adobe.
> com/coldfusion/8/htmldocs/help.html?content=Tags_f_18.html.
> 
> The same steps do not work when connecting to SSL.
> 
> >From memory, SFTP support was added to ColdFusion in version 8. So, 
> yes.
> >SSL FTP is available to you.
> >
> >nathan strutz
> >[www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz]
> >
> >
> >
> >On Tue, Dec 18, 2012 at 11:35 AM, fun and learning
> >wrote:
> >
> >>
> >> All -
> >>
> >> Is it possible to use cfftp to connect to a secure ftp server over 
> SSL?
> >>
> >> Thank you.
> >>
> >> 

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


Re: Secure Image Uploads

2012-12-18 Thread Dan Baughman

skip all the nonsense and just try to resize the image.

If that fails its either  a color pallete java can't handle or it
isn't an image.

- Dan

On Tue, Dec 18, 2012 at 8:12 PM, Terry Troxel  wrote:
>
> I am looking for a safe and secure way to put an example page on my site
> that will allow a potential client to upload a JPG in order to see an
> example of a responsive photo gallery he can create using my new responsive
> web template I am in the process of building.
> Here is what I am considering in the upload process:
> 1...JPG extension only
> 2...file size limit
> 3...remove exif data if it exists
> 4...Convert file to PNG and save after doing the resizing, etc. that I need
> to.
>
> I would like some opinions, suggestions, etc. to tell me if I am missing
> something or there is any other avenues I can persue to accomplish my goal
> to stop anyone from using this to hack my site.
>
> Terry
>
>
> 

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


list status

2012-12-03 Thread Dan Baughman

Hey guys,

This list has served me well for a number of years but I'd like to
unsubscribe... you can't unsubscribe without signing into the
houseoffusion site and the forgot password functionality is not working.

Does anyone know how to unsub from this list?

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


Re: Trouble with CF 9 Spreadsheet functions

2012-11-27 Thread Dan Baughman

unsubscribe


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


CF9 enterprise runs on 64-bit Red Hat 6?

2012-10-02 Thread Dan LeGate

I'm trying to find the equivalent ColdFusion 9 page to this CF10 page:

http://www.adobe.com/products/coldfusion-enterprise/tech-specs.html

trying to answer thee question Will ColdFusion 9 Enterprise run on 
64-bit Red Hat 6?

Any information is greatly appreciated!

Dan

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


Re: (ot) How compatible is SQLServer 2012 with SQL Server 2005 databases?

2012-09-14 Thread Dan G. Switzer, II

I don't think you will have any issues, but if your really worried about
creating 2005 databases in 2012 that aren't compatible, why don't you just
create a blank database in a 2005, then either take it offline and make a
master copy or make a backup of it. You could then use that backup to
create native 2005 databases anytime you need one.

-Dan

On Friday, September 14, 2012, Mike Kear wrote:

>
> OK, thanks everybody.I think I am fairly sure I'm going to be able to
> load up anything I might develop in the future onto that client's 2005
> server.
>
> And thanks Maureen for your offer.  If you dont mind, I'll keep your offer
> on my desk in case I really get stuck.
>
> Interesting, that I had multiple answers and suggestions inside 4 hours
> here,  when Microsoft have been unable to even take a stab at the answer in
> over a week.
>
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>
> --
>
>
> 

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


Re: X-Sendfile for IIS6

2012-08-09 Thread Dan G. Switzer, II

Anyone seen any working solutions to this problem for IIS6?

-Dan

On Mon, Aug 6, 2012 at 4:25 PM, David Sifford wrote:

>
> (I hope it's ok, but I thought I'd post this here as we're looking for a
> way to serve files via the Web server, similar to Ben Nadel's example at
> http://www.bennadel.com/blog/1226-Creating-Semi-Secure-File-Downloads-Without-Using-CFContent.htm):
>
> Hi everyone,
>
> We're looking for something that is similar to the apache x-sendfile mod,
> but for IIS6.  There are a couple for IIS7 (Helicon Ape and
> https://github.com/stakach/IIS-X-Sendfile-plugin), and these guys at
> http://ssl.x-sendfile-for-iis.com/index say they will have it for IIS6,
> but the program is not available yet.  Would anyone have any pointers to
> something that does this?
>
> Thanks for any info!
>
> -- David
>
>
> 

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


Re: Streaming PDF in CF8 / Performance Issues

2012-08-01 Thread Dan G. Switzer, II

Have you looked into an X-sendfile-mod for your web server?

That will allow you to validate the request in CF, but pass the request
back to the webserver to serve the file. The file does not have to be in a
web accessible directory.

-Dan

On Wednesday, August 1, 2012, Jeff Chastain wrote:

>
> I am doing some performance test on a site running on ColdFusion 8 using
> FusionReactor.  There is one script that consistently ends up on the top of
> the long running requests list.  The script is very simple - it grabs a PDF
> file that already exists on the files system and streams it to the user.
>
> 
> 
> 
> 
> 
> We're sorry, but the page you have requested no longer exists
> on our site.
> 
>
> The PDF files in question are pretty small ... 1 to 2 MB.  In some cases
> (but not all), the request logs in FusionReactor are showing this script
> running for 200+ seconds.
>
> Does anybody have any ideas why this would be happening and is there a
> better way to stream PDF files that are not web accessible (i.e. the user
> has to register, then they get the file streamed to them)?  I am not
> looking to change the workflow - i.e. copying the file and sending a link
> by email etc.  I have streamed files like this before and have never seen
> these kinds of performance issues.
>
> Thanks for any input!
>
>
> 

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


Re: CF & Polymorphism use

2012-07-02 Thread Dan O'Keefe

Thanks Cameron, that makes sense.

I agree with Dave's position and guess I should have pointed out I do not
have a valid use case for this, but only trying to sort through the
limitations of a question posed to me.

Thanks,
Dan


On Mon, Jul 2, 2012 at 7:56 AM, Cameron Childress wrote:

>
> Dan-
>
> As Dave pointed out, I'd typically make a standard assumption in most
> design that each subtype would automatically call super on extended methods
> / interfaces. This would mean that each level would contain the
> super.makeSound() to chain them all together as you go up the path
> of inheritance.
>
> -Cameron
>
> On Mon, Jul 2, 2012 at 9:22 AM, Dan O'Keefe  wrote:
>
> >
> > Thanks Matt,
> >
> > That's true, but super is limited to only one level I believe. How about
> if
> > I wanted to execute the method in the animal object?
> >
> > Dan
> >
>
>
> --
> Cameron Childress
> --
> p:   678.637.5072
> im: cameroncf
> facebook <http://www.facebook.com/cameroncf> |
> twitter<http://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:351797
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF & Polymorphism use

2012-07-02 Thread Dan O'Keefe

Thanks Matt,

That's true, but super is limited to only one level I believe. How about if
I wanted to execute the method in the animal object?

Dan



On Fri, Jun 29, 2012 at 3:08 PM, Matt Quackenbush wrote:

>
> Since oCat extends feline, you'd be looking for super.makeSound().
>
> // oCat
> function makeSound()
> {
> super.makeSound();
> }
>
>
> HTH
>
>
> On Fri, Jun 29, 2012 at 7:49 AM, Dan O'Keefe  wrote:
>
> >
> > I have an animal object with a method call makeSound().
> >
> > Then I have a feline object that extends animal with a method called
> > makeSound().
> >
> > Then I have an object named cat that extends feline with a method called
> > makeSound().
> >
> > If I instantiate the cat object and call it oCat, I can call
> > oCat.makeSound() and get the cat sound.
> >
> > QUESTION IS, how do I call the makeSound() method in the feline object
> via
> > the oCat handle?
> >
> > I am told it is possible but I have not been able to find out exactly
> how.
> > I did read you need to pass a type reference to it but not sure what that
> > means. Would it be oCat.makeSound(feline) ??
> >
> > --
> > Dan O'Keefe
> >
> >
> >
>
> 

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


CF & Polymorphism use

2012-06-29 Thread Dan O'Keefe

I have an animal object with a method call makeSound().

Then I have a feline object that extends animal with a method called
makeSound().

Then I have an object named cat that extends feline with a method called
makeSound().

If I instantiate the cat object and call it oCat, I can call
oCat.makeSound() and get the cat sound.

QUESTION IS, how do I call the makeSound() method in the feline object via
the oCat handle?

I am told it is possible but I have not been able to find out exactly how.
I did read you need to pass a type reference to it but not sure what that
means. Would it be oCat.makeSound(feline) ??

--
Dan O'Keefe


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


Re: Alternative for using SQL bind parameters

2012-06-08 Thread Dan G. Switzer, II

If you're on CF9+, then you can do what you want:

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSe9cbe5cf462523a0693d5dae123bcd28f6d-7ffb.html

You can also duplicate this concept in earlier versions of ColdFusion. I
actually built an implementation for CF8 (probably would work in CF7 too)
that also fixed some of the bugs/issues w/the CF9 implementation due to how
they parse out the params (but it uses the same syntax.)

Unfortunately, I can't share the code, but the basic idea is you just parse
the SQL statement and then inside a  statement you walk through
the parsed string, outputting the straight text or implementing
 when you come to a parameter statement.

-Dan

On Fri, Jun 8, 2012 at 4:06 AM, Helwig, Till Helge wrote:

>
> Hi guys,
>
> I'm working on a very old CF application at the moment. When it was first
> created, apparently nobody cared about sanitizing SQL statements. There are
> lots of SQL queries in the code and most don't use , which I
> would like to change whenever I stumble upon one of these. However, there
> is a slight problem: In many places the query statement is being assembled
> outside of  by various functions and then there is only  ...>#sql# in the code.
>
> Is there any way to make CF use bind variables in SQL statements apart
> from , which obviously is not allowed outside of ?
> I'm thinking about the flexibility in Java where you can just use ":foo" in
> statement strings and then provide a parameter map to the query. And if
> there isn't...how do you deal with situations like this?
>
>
> Till Helge
>
>
> 

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


Re: Coldfusion 9 certification

2012-03-29 Thread Dan Baughman

I guess everyone has their own experiences In mine, and for those I
know and have spoke with, certifications don't get you the job offer
directly, but they definitely help in two big ways towards getting the job.

1) getting through HR and/or the hiring manager onto the desk of the person
who makes the decision
2) getting into the interview with the same



> I think I've found that certifications tend to have more weight in
> organizations that do not have the ability to judge your skill level
> themselves. These are folks like HR departments, recruiters, and middle
> manager types who don't really understand how to measure your abilities
> themselves. I also tend to see it more frequently in larger organizations
> (since they are more likely to have those folks).
>
> At the end of the day, certifications usually won't hurt you except for the
> time and money that may be required to study for and take the test. They
> might help you a lot, a little or not at all.
>
> ...but the OP's stated reason for getting the certification wasn't for
> employment reasons, it was for self education.  So, for that, I think it's
> a fine goal.
>
> -Cameron
>
> --
> Cameron Childress
> --
> p:   678.637.5072
> im: cameroncf
> facebook  |
> twitter |
> google+ 
>
>
> 

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


Re: Coldfusion 9 certification

2012-03-28 Thread Dan Baughman

Adobe's coldfusion ace is the only one I know of if you've programmed
in it a few years you wont have to study for more than a few weeks to learn
the pedagogy.

On Wed, Mar 28, 2012 at 9:15 PM, fun and learning
wrote:

>
> Hi All -
>
> Having worked with Coldfusion for the past three years, I am planning to
> get a Coldfusion certification. Since Coldfusion 9 is the latest stable
> version,I am planning to get certified in it (My main aim in getting
> certified is I may get to learn stuff I have never used, and to go in depth
> for some of the topics). What do you people suggest? Are there any mock
> tests for CF9 like CF8 buster?
>
> 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:350578
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Local Dev Environment Troubles w/ Virtual Host- CF Builder

2012-03-20 Thread Dan Kraus

Yeah, it seems to be that I might have to go that route.

What the heck is the point of the Virtual Hosts set up then? Any idea what it 
should accomplish?

>I don't think the ColdFusion built in web server is capable of this sort of
>setup, and you may have to look at IIS or apache and setup the web
>connectors.
>
>Secondly, the wwwroot in ColdFusion is not really the ideal place that I
>would store my projects. And I would maybe look at moving these to
>somewhere else on the Hard Drive and set up IIS or Apache to look at those
>folders. Then use the Web Connector from ColdFusion to setup IIS / Apache
>to then server the ColdFusion files.
>
>
>-- 
>Regards,
>Andrew Scott
>WebSite: http://www.andyscott.id.au/
>Google+: http://plus.google.com/108193156965451149543
>
>
>
>
>
>> 

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


Re: Local Dev Environment Troubles w/ Virtual Host- CF Builder

2012-03-20 Thread Dan Kraus

Someone else made this suggestion too. Here was my reply:

I did try that actually, but that ultimately just points it right back to going 
to http://localhost:8300 where I see the index of all the folders in the server 
root. It doesn't take me into the myproject folder.

>add a record into your hosts file linking myproject.dev to localhost
>
>
>> 

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


Re: Local Dev Environment Troubles w/ Virtual Host- CF Builder

2012-03-20 Thread Dan Kraus

I did try that actually, but that ultimately just points it right back to the 
server root. No difference from going to http://localhost:8300 where I see the 
index of all the folders in the server root. It doesn't take me into the 
myproject folder. combined with the CF Virtual host.

>Did you add a hosts file entry for "127.0.0.1  myproject.dev" so it knows
>how to resolve it?
>
>.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>http://cf4em.com
>
>
>Hi All, long time reader, first time poster! But I'm beating my head
>against the wall here...
>
>I've been developing locally in CFBuilder on Windows 7. When I installed
>CFBuilder I used the "Built-In Webserver" option rather than local IIS or
>Apache or something else.
>
>Things have been working fine - I could access my server at
>http://localhost:8300, set up databases, and do the typical things one
>would expect.
>
>I have a few different projects in the root server each in their own
>folder. However, this required browsing to
>http://localhost:8300/myProjectFolder but to simulate the production sites,
>this couldn't continue. I wanted to set it up so I could do
>http://myproject.dev or some variation but the problem is I can't quite
>figure out how, or at least how to do it correctly.
>
>In my local server aptly named LocalDev configuration from CFBuilder, I
>added a Virtual Host named myproject.dev, Host name, myproject.dev, Port
>8300 (same as the server) over http and pointed at my document root which
>lives in the cf server root folder. I had a multi-instance install so the
>path is C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\myProject
>
>I then right clicked on my project >Properties>Coldfusion Server Settings
>and selected my server with the virtual host. "LocalDev-myproject.dev" and
>see a Sample Url of http://myproject.dev:8300/
>
>Now it looks like all systems go but when I try to browse there to a basic
>txt file right in the root http://myproject.dev:8300/readme.txt
>
>Chrome says "Oops! Google Chrome could not connect to myproject.dev:8300"
>Firefox equivalent is "The connection has timed out The server at
>myproject.dev is taking too long to respond."
>
>What am I doing wrong!? I'm going nuts over here!
>
>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:350495
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Local Dev Environment Troubles w/ Virtual Host- CF Builder

2012-03-20 Thread Dan Kraus

I did try that actually, but that ultimately just points it right back to going 
to http://localhost:8300 where I see the index of all the folders in the server 
root. It doesn't take me into the myproject folder.


>Did you add a hosts file entry for "127.0.0.1  myproject.dev" so it knows
>how to resolve it?
>
>.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>http://cf4em.com
>
>
>Hi All, long time reader, first time poster! But I'm beating my head
>against the wall here...
>
>I've been developing locally in CFBuilder on Windows 7. When I installed
>CFBuilder I used the "Built-In Webserver" option rather than local IIS or
>Apache or something else.
>
>Things have been working fine - I could access my server at
>http://localhost:8300, set up databases, and do the typical things one
>would expect.
>
>I have a few different projects in the root server each in their own
>folder. However, this required browsing to
>http://localhost:8300/myProjectFolder but to simulate the production sites,
>this couldn't continue. I wanted to set it up so I could do
>http://myproject.dev or some variation but the problem is I can't quite
>figure out how, or at least how to do it correctly.
>
>In my local server aptly named LocalDev configuration from CFBuilder, I
>added a Virtual Host named myproject.dev, Host name, myproject.dev, Port
>8300 (same as the server) over http and pointed at my document root which
>lives in the cf server root folder. I had a multi-instance install so the
>path is C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\myProject
>
>I then right clicked on my project >Properties>Coldfusion Server Settings
>and selected my server with the virtual host. "LocalDev-myproject.dev" and
>see a Sample Url of http://myproject.dev:8300/
>
>Now it looks like all systems go but when I try to browse there to a basic
>txt file right in the root http://myproject.dev:8300/readme.txt
>
>Chrome says "Oops! Google Chrome could not connect to myproject.dev:8300"
>Firefox equivalent is "The connection has timed out The server at
>myproject.dev is taking too long to respond."
>
>What am I doing wrong!? I'm going nuts over here!
>
>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:350494
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Local Dev Environment Troubles w/ Virtual Host- CF Builder

2012-03-20 Thread Dan Kraus

Hi All, long time reader, first time poster! But I'm beating my head
against the wall here...

I've been developing locally in CFBuilder on Windows 7. When I installed
CFBuilder I used the "Built-In Webserver" option rather than local IIS or
Apache or something else.

Things have been working fine - I could access my server at
http://localhost:8300, set up databases, and do the typical things one
would expect.

I have a few different projects in the root server each in their own
folder. However, this required browsing to
http://localhost:8300/myProjectFolder but to simulate the production sites,
this couldn't continue. I wanted to set it up so I could do
http://myproject.dev or some variation but the problem is I can't quite
figure out how, or at least how to do it correctly.

In my local server aptly named LocalDev configuration from CFBuilder, I
added a Virtual Host named myproject.dev, Host name, myproject.dev, Port
8300 (same as the server) over http and pointed at my document root which
lives in the cf server root folder. I had a multi-instance install so the
path is C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\myProject

I then right clicked on my project >Properties>Coldfusion Server Settings
and selected my server with the virtual host. "LocalDev-myproject.dev" and
see a Sample Url of http://myproject.dev:8300/

Now it looks like all systems go but when I try to browse there to a basic
txt file right in the root http://myproject.dev:8300/readme.txt

Chrome says "Oops! Google Chrome could not connect to myproject.dev:8300"
Firefox equivalent is "The connection has timed out The server at
myproject.dev is taking too long to respond."

What am I doing wrong!? I'm going nuts over here!

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


Re: sartis

2012-03-02 Thread Dan Baughman

The easiest and least obtrusive way i can think of  would be to build the
pagination into the page, as if you wanted it to function like it was
paging without ajax.

Then, use a jquery load call for the link, here is the doc for jquery
load:  http://api.jquery.com/load/

The key javascript call looks like this:

$('#result').load('page.cfm?page=2 #result');

This basically says go get page.cfm and find the container with ID result
and load it into the div with ID result on this page.  Then result needs to
be the wrapper around the table / content you are paginating.



On Fri, Mar 2, 2012 at 8:01 AM, steve artis  wrote:

>
> hello, I'm wondering if someone can help me or point me to an example of
> the following:
>
> I have an application that has a search page. If a user does a search, it
> can kickback any number of records. I want to be able to display 10 records
> at a time and then display a "show more" button and it would load 10 more
> records(showing the 1-10 too), and the user could click the show more
> button until the end of the recordset...etc. I do not want a page refresh.
> What is the best way to accomplish this? Ajax? A cached coldfusion query
> with hidden divs??
>
> I'm using CF 9, javascript and sql server.
>
> Also, if you view the homepage of linkedin, there is a perfect example of
> what I'm describing there.
>
> Thanks.
>
> Steve
>
> 

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


Re: emailing a cfchart?

2012-02-20 Thread Dan G. Switzer, II

Dave,

I haven't had a chance to check this, but does CF10 no longer provide the
ability to generate static images for charts?

It looks like everything is canvas or Flash-based, which is going to be
problematic for emailing or using in a PDF--both of which I use.

Any idea?

-Dan

On Monday, February 20, 2012, Dave Watts wrote:

>
> > Is it possible to have cfchart code (format="png" or "jpg") within a
> > cfmail tag and have the graphic actually show up in the email? I can't
> > seem to manage it...
>
> Not directly, by default, because what CFCHART generates is a
> time-limited URL to a servlet that produces the image, rather than an
> actual image file. You can use the NAME attribute of CFCHART to
> generate a CF variable that contains the image, store that to a file,
> then serve that instead.
>
> 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:349985
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusion Reactor and Fusion Analytics Kick Ass

2012-02-19 Thread Dan Baughman

Thats great, but I guess outside of being cool none of that really provides
any value.

It shouldn't take a Coldfusion tool to determine your server is rebooting
at 3AM.

On Fri, Feb 17, 2012 at 3:31 PM, Brook Davies  wrote:

>
> I just set up fusionAnalytics - its awesome. It really makes fusionReactor
> that much better. I have a new server setup I am working on, I was looking
> at the CPU and memory graph today and saw a spike at 3 am on all 3 of our
> servers. I right clicked on the memory spike and was able to choose from a
> ton of options from that time period I choice to show the logs
> (FusionAnalytics stores and indexes/aggregates all the CF logs..) and saw
> immediately that the CF server was doing a restart. Turns out windows
> update
> was set to do automatic updates and automatic restarts on our brand new out
> the box server.
>
> Simple example, and sure, I could have just went  through the logs and
> found
> this manually, but to be able to see spike in
> memory/requests/response/jdbc/cpu and just right click the spike and get:
>
> JDBC requests at that exact time
> Threads at that time
> Log file entries
> CF Scope sizes
> System Metrics
> And more
>
> For that exact moment. Priceless :)
>
> Brook
>
> -Original Message-
> From: Nick Gleason [mailto:n.glea...@citysoft.com]
> Sent: February-17-12 2:14 PM
> To: cf-talk
> Subject: RE: Fusion Reactor and Fusion Analytics Kick Ass
>
>
> +1 for FusionReactor.  We've got but have not yet installed Fusion
> Analytics.  But we're looking forward to that addition as well.
>
> Nick
>
> PS - also no affiliation with them.
>
>
> .
> ...
>
> CitySoft, Inc. | http://www.citysoft.com
>
> Phone: (866) 751-1992 | Direct: (617) 899-5395 | Fax: (617) 507-0444
>
> Spend Less >> Do More - Community Enterprise combines great features with
> an
> affordable price.
>
>
> .
> ...
>
> > -Original Message-
> > From: Brook Davies [mailto:cft...@logiforms.com]
> > Sent: Friday, February 17, 2012 12:19 PM
> > To: cf-talk
> > Subject: Fusion Reactor and Fusion Analytics Kick Ass
> >
> >
> > Hey people,
> >
> >
> >
> > I'm sure most of you already know this, but Fusion Reactor and Fusion
> > Analytics for monitoring CF servers kick some serious ass. I've been a
> > seefusion customer for years, and while it does a decent job its not
> > in the same class as the Fusion Reactor/Analytics Products.  This pair
> > of products is phenomenal and give you incredible insight into your CF
> > server. If you're a CF sys admin, you really want to check em out.
> >
> >
> >
> > I have absolutely zero affiliation with the company, I just bought and
> > setup
> > 3 licenses and am so happy with it, that I wanted to share how great
> > they are. I've had them running for a few days and they have already
> > helped resolve problems.
> >
> >
> >
> > Now for the load testing J
> >
> >
> >
> > Brook
> >
> >
> >
> >
> >
> >
> >
>
>
>
> 

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


Re: Invisible Scheduled Task

2012-01-18 Thread Dan Baughman

Is there another instance of CF somewhere that could be triggering the task
to run? does the server log show the http request, and the scheduler
activity, or just the http request?

On Wed, Jan 18, 2012 at 2:00 PM, Matthew Gersting wrote:

>
> Has anyone had any experience with a scheduled task that is mysteriously
> running but does not appear in the ColdFusion Administrator? I am racking
> my brain on this one and starting to feel a little insane.
>
> 

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


Authenticate Linux DSN to Windows AD account?

2012-01-05 Thread Dan LeGate

Is it possible to authenticate a Linux Data Source in ColdFusion with a 
Windows Active Directory account? (i.e. login with "ad\username")

Or do we need to create a SQL Server account for ColdFusion to use?

This is RedHat Linux and ColdFusion 7 (yes, still 7).

Thanks,

Dan

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


Re: Very disappointing statis

2011-12-14 Thread Dan Baughman

http://nodejs.org/

On Wed, Dec 14, 2011 at 9:11 AM, Phillip Vector
wrote:

>
> Please correct me if I am wrong. But doesn't Javascript run Client
> side? Is there a way to make Javascript run on the server and not on
> the client? If so, that would solve some issues I've been having. :)
>
> On Wed, Dec 14, 2011 at 8:08 AM, Dan Baughman 
> wrote:
> >
> > Because you think node.js is more popular?
> >
> > On Wed, Dec 14, 2011 at 9:06 AM, Phillip Vector
> > wrote:
> >
> >>
> >> "The following server-side programming languages are used by less than
> >> 0.1% of the websites
> >>
> >>JavaScript"
> >>
> >> All credibility is lost with that statement.
> >>
> >> On Wed, Dec 14, 2011 at 8:02 AM, Robert Harrison
> >>  wrote:
> >> >
> >> > Very disappointing statistics for ColdFusion market penetration.
> >> >
> >> > http://w3techs.com/technologies/overview/programming_language/all
> >> >
> >> > Robert B. Harrison
> >> > Director of Interactive Services
> >> > Austin & Williams
> >> > 125 Kennedy Drive, Suite 100
> >> > Hauppauge NY 11788
> >> > P : 631.231.6600 Ext. 119
> >> > F : 631.434.7022
> >> > http://www.austin-williams.com
> >> >
> >> > Great advertising can't be either/or.  It must be &.
> >> >
> >> > Plug in to our blog: A&W Unplugged
> >> > http://www.austin-williams.com/unplugged
> >> >
> >> >
> >>
> >>
> >
> >
>
> 

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


Re: Very disappointing statis

2011-12-14 Thread Dan Baughman

Because you think node.js is more popular?

On Wed, Dec 14, 2011 at 9:06 AM, Phillip Vector
wrote:

>
> "The following server-side programming languages are used by less than
> 0.1% of the websites
>
>JavaScript"
>
> All credibility is lost with that statement.
>
> On Wed, Dec 14, 2011 at 8:02 AM, Robert Harrison
>  wrote:
> >
> > Very disappointing statistics for ColdFusion market penetration.
> >
> > http://w3techs.com/technologies/overview/programming_language/all
> >
> > Robert B. Harrison
> > Director of Interactive Services
> > Austin & Williams
> > 125 Kennedy Drive, Suite 100
> > Hauppauge NY 11788
> > P : 631.231.6600 Ext. 119
> > F : 631.434.7022
> > http://www.austin-williams.com
> >
> > Great advertising can't be either/or.  It must be &.
> >
> > Plug in to our blog: A&W Unplugged
> > http://www.austin-williams.com/unplugged
> >
> >
>
> 

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


Re: Adobe Abandons Flex

2011-11-16 Thread Dan Crouch

Just for a frame of reference, the IRS still has almost 80k employees on IE6.

> You're Fed, and you have IE8? Man, you are lucky...
> 
> Steve 'Cutter' Blades
> Adobe Community Professional
> Adobe Certified Expert
> Advanced Macromedia ColdFusion MX 7 Developer
> 
> http://cutterscrossing.com
> 
> 
> Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
> https://www.packtpub.
com/learni> 
ng-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
> 
> "The best way to predict the future is to help create it"
> 
> 
> On 11/15/2011 3:09 PM, Scott Stewart wrote:
> > So are they going to try to force adoption of new browsers? I can 
> tell
> > you that in the Federal sector this won't wash..
> > (says me working from my federal Win XP IE 8 machine).
> >
> > HTML 5 is very cool, but it's World Dominance is greatly exaggerated.
> 
> >
> > On Tue, Nov 15, 2011 at 3:05 PM, Matt Quackenbush com>  wrote:
> >> CF is indeed alive and well.  Flex?  Flash?  Nopers.  Done.  Be 
> sure to
> >> read the portions from Adobe where they clearly state that for all 
> future
> >> enterprise development THEY recommend HTML5 and NOT Flash/Flex.
> >>
> >>
> >> On Tue, Nov 15, 2011 at 2:02 PM, Scott 
> Stewartwrote:
> >>
> >>> Hasn't the flex SDK *always* been open source?
> >>>
> >>> I think this last line contradicts your statement
> >>>
> >>> "Is Adobe still committed to Flash Builder?
> >>>
> >>> Yes. Flash Builder will continue to be developed and Adobe will 
> work
> >>> to ensure Flex developers can use Flash Builder as their 
> development
> >>> tool with future releases of Flex SDK."
> >>>
> >>>
> >>>
> >>> on a personal note:
> >>>
> >>> Can we all take a step back, grab a deep breath and assess the
> >>> situation in it's entirety before jumping to doomsday 
> conclusions?
> >>> The only thing I've seen that's concrete so far is that Adobe is
> >>> dumping direct development of the Flash plugin for mobile
> >>> environments. Their answer (IMO) wrap your Flash in the AIR SDK.
> >>>
> >>> ColdFusion is still alive and well
> >>> Flex is still alive and well
> >>> Flex Builder is still alive and well
> >>>
> >>> This gets old and we're not winning any converts by being 
> paranoid
> >>>
> >>> On Mon, Nov 14, 2011 at 3:18 PM, Mike Chabot  
> wrote:
>  Adobe announced this week that they are ending their commitment 
> to
>  further Flex development. Flex 4.6 will likely be the last 
> version
>  Adobe releases and the Flex SDK engineers will be reassigned to 
> HTML 5
>  projects. Future Flex development will come from the open source
>  community.
> 
>  The announcement is here:
>  http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.
> html
> 
>  A petition asking the Adobe CEO to step down is here:
> 
> >>> http://www.change.
> org/petitions/adobe-systems-shantanu-narayen-to-step-down-as-ceo
>  -Mike
> 
> 
> >>>
> >>
> > 

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


Re: Count rows in Excel file

2011-10-11 Thread Dan Baughman

Ad hoc SQL datasources may be an option if you have sufficient privleges on
a sql server and the account running sql has permissions to access the file.

On Tue, Oct 11, 2011 at 2:26 PM, Brook Davies  wrote:

>
> Hey Everyone,
>
>
>
> Anyone know a way to count the rows in an excel file without using
> cfspreadsheet to read the entire file in first? That's what I am trying to
> avoid..
>
>
>
> Brook
>
>
>
>
> 

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


Re: Hiding email address from spiders

2011-10-07 Thread Dan Baughman

I like to place the href attribute of the a tag via javascript using html
entities and such.

On Fri, Oct 7, 2011 at 7:09 PM, Jenny Gavin-Wear <
jenn...@fasttrackonline.co.uk> wrote:

>
> I have a client using a CMS I've built and they are using a lot of email
> addresses in the content.
>
> As I can search/replace content, I am wondering what is the best way to
> "hide" them from the spiders?
>
> tia,
>
> Jenny Gavin-Wear
> Fast Track Online
> Tel: 01262 602013
> http://www.fasttrackonline.co.uk/
>
>
>
> --
> I am using the free version of SPAMfighter.
> We are a community of 7 million users fighting spam.
> SPAMfighter has removed 4302 of my spam emails to date.
> Get the free SPAMfighter here: http://www.spamfighter.com/len
>
> The Professional version does not have this message
>
>
>
>
> 

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


Re: Dynamically Added Form Fields Not Submitted

2011-09-22 Thread Dan G. Switzer, II

I've seen this behavior with malformed HTML were the form tags are between
table and tr tags. Check to make sure your HTML is valid.

-Dan

On Thursday, September 22, 2011, Robert Nurse  wrote:
>
>>Are you actually adding them as elements to the dom or just adding the
html
>>text to the table data?
>>I've had this exact issue and gotten around by properly adding the
children
>>to the form.
>>
>>
>>
>>>
>
> Hi,
>
> I've been adding them via DOM calls to table cells which are added to
table rows which are added to a table.  The table is within a form.  It
works just fine in IE. But, no FireFox.
>
> 

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


Re: 20USD/Hour Seriously?

2011-09-22 Thread Dan Baughman

CF dev's I know work for between 75 and 110.

I wouldn't even talk on the phone for $20/hour.

On Thu, Sep 22, 2011 at 9:55 AM, Phillip Vector
wrote:

>
> No trollage was intended. Seriously.
>
> On Thu, Sep 22, 2011 at 8:50 AM, David McGuigan 
> wrote:
> >
> > Is it just me or does this post smell of trollage?
> >
> >
> > On Thu, Sep 22, 2011 at 9:03 AM, Phillip Vector
> > wrote:
> >
> >>
> >> IMHO, you get what you pay for. I've talked with several clients who
> >> hired at $20/hr or even less. I'm usually called in to clean up the
> >> mess at my standard rate ($50/hr) and they almost always don't bat an
> >> eye paying it having learned their lesson.
> >>
> >> I will admit though... I HAVE done work for $20/hr. But only if the
> >> extras (how fun it will be to code it, free trips to seminars, etc)
> >> make it worth it.
> >>
> >> On Thu, Sep 22, 2011 at 7:45 AM, Integration Developer
> >>  wrote:
> >> >
> >> > I'm bit confused why so cheap? Just 6 months ago I was hiring out at
> >> 50-75USD/hour.
> >> > If this is typical cf-jobs side work rate now I am disappointed.
> >> >
> >> >
> >>
> >>
> >
> >
>
> 

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


Re: Solr Summary Text

2011-09-19 Thread Dan Baughman

You can change solr's configuration through editing its text file to include
the context when the entries in that collection are updated.

I can't recall off the top of my head how to do this, but I can you can dig
around on google for "adding context to solr coldfusion 9" or something.

They say the reason they excluded that is because it makes the index much
smaller to omit the context and only include the title. I guess I see
their point but in my experience it would save me tons of time if they would
just enable it by default.

Dan

On Mon, Sep 19, 2011 at 6:52 PM, Victor Moore wrote:

>
> Dean,
>
> did you find a solution to this?  I have cf 901 with CHF901 installed
> and no luck
>
> Regards
> Victor
>
> On Thu, Mar 17, 2011 at 9:56 AM, Dean Lawrence  wrote:
> >
> > I don't believe so. I'll have to double check. I did look at the
> > release notes though and did not see anything related to Solr. If I
> > don't have the newest CHF installed, I will try to get it installed
> > this evening to see if that changes anything.
> >
> > On Thu, Mar 17, 2011 at 9:41 AM, Raymond Camden 
> wrote:
> >>
> >> Ah ok - thanks for the clarification. You mentioned 901. Are you also
> >> running the CHF?
> >>
> >>
> >
> >
> > --
> >
> ---
> > Dean M. Lawrence
> > INTERNET DATA TECHNOLOGY
> > p // 888.438.4381 ext. 701
> > w // www.idatatech.com
> > f // www.facebook.com/idatatech
> > t // www.twitter.com/idatatech
> >
> > Social Marketing | SEO | Design | Internet Development
> >
> >
>
> 

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


Re: Workstation recommendations

2011-09-07 Thread Dan Crouch

I got an Asus laptop last year. It was RMAed back to them 4 times before they 
finally sent me an exchange. The exchange arrived with a broken screen. So it 
had to be RMAed back. It was the worst customer service I have ever dealt with. 
You will probably get a lot of different opinions on brands, but I will never 
buy another Asus product.

Dan

>For workstations, I have always been happy with Dell.
>
>If you go the laptop route, either Dell or Toshiba (high end model.. not the
>satellite).
>
>
>My HP desktop at work died last night. This morning we took the hard drive
>out and put it into another box whose drive had died a couple months ago. It
>worked at first, but after about 20 minutes it croaked too.
>
>Anyway, I'll be shopping for a new desktop and just wondered what brands
>people recommend these days. I'll probably stay away from HP and plan to
>stay with a Windows machine. I run CF Developer, SQL Server Mgt Studio, CF
>Builder, Adobe Creative Suite (primarily DW and PS), MS Office, and various
>browsers and other tools.
>
>Dell?
>Lenovo?
>Asus (seems to be mostly gaming oriented)?
>Acer?
>Gateway?
>Others?
>
>Thanks,
>
>-Matt 

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


Technology Conference on Sept. 17-18. Only $60 for 40 sessions and 2 classes!

2011-08-16 Thread Dan Wilson

NCDevCon is a 2 day, 40 session web and mobile development conference in 
Raleigh, NC. For $60 you get access to all 40 sessions and hands on classes. 
Your conference fee also includes lunch and a snazzy conference T-Shirt.

Space is very limited so register as soon as you can!

The conference will cover a wide variety of web development and design topics 
including Web and Mobile technologies. See the schedule here: 
http://ncdevcon.com/page.cfm/schedule

Registration for the event will be $60 which includes:

* Entry to the weekend event and all presentations
* Lunch (both days)
* Coffee, drinks and snacks (both days)
* Conference shirt

Also available are 2 hands on sessions. We will walk you through building your 
first web application and also building your first mobile application. These 
hands on courses are included in your admission fee.

Dates: September 17 - 18, 2011

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


Re: cf enterprise quad cpu box

2011-08-15 Thread Dan Baughman

Sorry I meant to say it DOES seem like one core is commonly over utilized.

On Mon, Aug 15, 2011 at 1:12 PM, Dan Baughman wrote:

> So what you are saying is that threads will use different cpu's
> automatically?
>
> Well in my case, I have quad quad cores, so its 16 cores. I do this on a
> bunch of servers and it just doesn't seem like one core is utilized a lot
> more than others by the jrun.exe.
>
> While each request should use or re-use a separate available worker thread
> it is my concern that this threads execute predominantly (or entirely) on
> one CPU.
>
>
>
> On Mon, Aug 15, 2011 at 12:58 PM, David McGuigan 
> wrote:
>
>>
>> Are you saying that one of your cores has high utilization and the others
>> none? Your server should use all cores *as necessary* *if ever necessary*
>> *automatically* *without the intervention or management of your
>> application*.
>>
>> That said you can break certain parts of code off into separate threads
>> using the cfthread tag, but that's to make a specific URL or process more
>> performant by prioritizing or simulprocessing code chunks, not to try to
>> balance workload across multiple cores or processors.
>>
>>
>>
>>
>> On Mon, Aug 15, 2011 at 12:53 PM, Dan Baughman > >wrote:
>>
>> >
>> > With the one jrun.exe process running, I can never get coldfusion to
>> really
>> > utilize multiple processors.
>> >
>> > Is there a way in enterprise mode that you can set it to spawn multiple
>> > jrun.exe processes, one per processor to work collaboratively serving
>> one
>> > web site?
>> >
>> >
>> >
>>
>> 

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


Re: cf enterprise quad cpu box

2011-08-15 Thread Dan Baughman

So what you are saying is that threads will use different cpu's
automatically?

Well in my case, I have quad quad cores, so its 16 cores. I do this on a
bunch of servers and it just doesn't seem like one core is utilized a lot
more than others by the jrun.exe.

While each request should use or re-use a separate available worker thread
it is my concern that this threads execute predominantly (or entirely) on
one CPU.



On Mon, Aug 15, 2011 at 12:58 PM, David McGuigan wrote:

>
> Are you saying that one of your cores has high utilization and the others
> none? Your server should use all cores *as necessary* *if ever necessary*
> *automatically* *without the intervention or management of your
> application*.
>
> That said you can break certain parts of code off into separate threads
> using the cfthread tag, but that's to make a specific URL or process more
> performant by prioritizing or simulprocessing code chunks, not to try to
> balance workload across multiple cores or processors.
>
>
>
>
> On Mon, Aug 15, 2011 at 12:53 PM, Dan Baughman  >wrote:
>
> >
> > With the one jrun.exe process running, I can never get coldfusion to
> really
> > utilize multiple processors.
> >
> > Is there a way in enterprise mode that you can set it to spawn multiple
> > jrun.exe processes, one per processor to work collaboratively serving one
> > web site?
> >
> >
> >
>
> 

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


cf enterprise quad cpu box

2011-08-15 Thread Dan Baughman

With the one jrun.exe process running, I can never get coldfusion to really
utilize multiple processors.

Is there a way in enterprise mode that you can set it to spawn multiple
jrun.exe processes, one per processor to work collaboratively serving one
web site?


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


Re: CSS Conditionals Question

2011-08-11 Thread Dan Baughman

I am aware of one technique that internet explorer employs in order to
achieve something like what you are looking for, but this doesn't help you
for other browsers.

You alsmost have to have some logic and then include different css files if
you really want something extravagant.

Check out this blog, rule #2:
http://webdesignerwall.com/tutorials/css-specific-for-internet-explorer


   - *IE8 or below*: to write CSS rules specificially to IE8 or below, add a
   backslash and 9 (\9) at the end before the semicolon.
   - *IE7 or below*: add an asterisk (*) before the CSS property.
   - *IE6*: add an underscore (_) before the property.


On Thu, Aug 11, 2011 at 8:15 AM, Che Vilnonis  wrote:

>
> I know how to call/import different CSS files using statements like this:
>

Re: SAML Response to Google Apps

2011-08-09 Thread Dan G. Switzer, II

Are you running in the Dev version of CF? if so, it can add some HTML to the
output stream that will corrupt any XML output.

Are you sure the the code Google is seeing isn't getting altered?

-Dan

On Tuesday, August 9, 2011, Panning, Ryan 
wrote:
>
> Has anyone successfully created a ColdFusion project that sends a SAML
> Response to Google Apps?
>
>
>
> I have nearly completed a project that decodes the SAML Request from
> Google, authenticates with the local directory, and submits a SAML
> Response back. However, Google Apps states that it could not parse the
> response. Using the SimpleSAML debug Web page [1], I am able to
> successfully decode my response. Since that works, I suspected the
> certificate signing. As per directions from other sources [2-4] I use
> the Apache Santuario Java libraries. From what I can tell, it seems to
> be working fine. I've even signed the response several ways, such as
> just the Response, just the Assertion, and both. I've been discussing
> this on the Google Dev forums [5] but the official Googlers don't seem
> to have access to the logs that say exactly why it can't parse the
> Response. Wish Google would say what specifically it doesn't like...
>
>
>
> Thanks for any help/feedback!
>
> ~ Ryan
>
>
>
>
>
> [1] https://rnd.feide.no/simplesaml/module.php/saml2debug/debug.php
>
> [2] http://dragonsaber.blogspot.com/2009/09/coldfusion-saml-part-1.html
>
> [3] http://dragonsaber.blogspot.com/2010/01/coldfusion-saml-part-2.html
>
> [4] http://dragonsaber.blogspot.com/2010/04/coldfusion-saml-part-3.html
>
> [5]
> http://code.google.com/googleapps/domain/sso/saml_sso_support.html?place
> =topic%2Fgoogle-apps-saml-sso%2Fixx23lPnlKY%2Fdiscussion
>
>
>
> 

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


Re: SOT, JSON web services

2011-07-29 Thread Dan Baughman

Thanks for the suggestions. I searched down a similar path - perhaps just
converting the XML schemas to JSON or something would avoid the typing.

But I heartily disagree with you about the WSDL being in XML and the service
itself dealing in JSON being common. I would expect the service to
be described using "JSON Schema" instead of a soap-style XML WSDL - that is
just odd ball.  With the JSON schema you could at least use something from
DOJO to easily create the example data packets given the service
description.





On Fri, Jul 29, 2011 at 4:56 PM, Bryan Stevenson <
br...@electricedgesystems.com> wrote:

>
> Not odd at allWSDLs are in XML, but don't confuse WSDL format with
> input/output formats
>
> It's like saying because CF is Java that it must output Javawhich of
> course is not true ;-)
>
> So any webservice will be in XML and it's inputs could be queries/XML
> strings/JSON strings/structures/strings/numbers/etc.
>
> Not sure if that helps you with your test packet issuebut hopefully
> it helps regardless ;-)
>
> Any chance serializeJSON() would help you make those test packets
> without typing it out the hard way?
>
> Cheers
>
>
>
> On Fri, 2011-07-29 at 16:12 -0600, Dan Baughman wrote:
>
> > Well its kind of an odd scenario.
> >
> > I've been given a schema and WSDL for a web service, but the schema and
> WSDL
> > are in XML, but the web service is expecting to receive request in JSON.
> >
> > So, given a more typical web service, you'd get a WSDL and then a tool,
> like
> > Altove XMLspy (or an Eclipse plugin) could generate example soap packets
> for
> > each of the interactions the web service provides, albeit with
> place-holder
> > variables where your data would actually go.
> >
> > In this scenario, I'll have to look at the WSDL on the left monitor and
> > manually type in JSON code into the editor on the right, versus having
> the
> > tool create example data packets.
> >
> > On Fri, Jul 29, 2011 at 2:47 PM, Raymond Camden  >wrote:
> >
> > >
> > > Are you asking for a tool to _format_ JSON? Not quite sure what you
> mean
> > > here.
> > >
> > >
> > > On Fri, Jul 29, 2011 at 3:24 PM, Dan Baughman 
> > > wrote:
> > > >
> > > > Hi List,
> > > >
> > > > I know there are tons of tools out there that will take a WSDL and
> spit
> > > out
> > > > soap packets that you can simply plug your actual variable values
> into,
> > > but
> > > > doesnt anyone know of anything like that for JSON?
> > > >
> > > > I've got a handlful of schema XML's which are part of a WSDL for a
> JSON
> > > web
> > > > service and am loathing the idea of manually typing out JSON objects
> for
> > > > each complex type.
> > > >
> > > > Suggestions appreciated,
> > > >
> > > > Thanks,
> > > > Dan
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

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


Re: SOT, JSON web services

2011-07-29 Thread Dan Baughman

Well its kind of an odd scenario.

I've been given a schema and WSDL for a web service, but the schema and WSDL
are in XML, but the web service is expecting to receive request in JSON.

So, given a more typical web service, you'd get a WSDL and then a tool, like
Altove XMLspy (or an Eclipse plugin) could generate example soap packets for
each of the interactions the web service provides, albeit with place-holder
variables where your data would actually go.

In this scenario, I'll have to look at the WSDL on the left monitor and
manually type in JSON code into the editor on the right, versus having the
tool create example data packets.

On Fri, Jul 29, 2011 at 2:47 PM, Raymond Camden wrote:

>
> Are you asking for a tool to _format_ JSON? Not quite sure what you mean
> here.
>
>
> On Fri, Jul 29, 2011 at 3:24 PM, Dan Baughman 
> wrote:
> >
> > Hi List,
> >
> > I know there are tons of tools out there that will take a WSDL and spit
> out
> > soap packets that you can simply plug your actual variable values into,
> but
> > doesnt anyone know of anything like that for JSON?
> >
> > I've got a handlful of schema XML's which are part of a WSDL for a JSON
> web
> > service and am loathing the idea of manually typing out JSON objects for
> > each complex type.
> >
> > Suggestions appreciated,
> >
> > Thanks,
> > Dan
> >
> >
> >
>
> 

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


SOT, JSON web services

2011-07-29 Thread Dan Baughman

Hi List,

I know there are tons of tools out there that will take a WSDL and spit out
soap packets that you can simply plug your actual variable values into, but
doesnt anyone know of anything like that for JSON?

I've got a handlful of schema XML's which are part of a WSDL for a JSON web
service and am loathing the idea of manually typing out JSON objects for
each complex type.

Suggestions appreciated,

Thanks,
Dan


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


Re: Out of memory error when creating Solr collection

2011-07-23 Thread Dan G. Switzer, II

Oh, and if you worried about records changing during the process, you can
always dump the original query results into a table, then all you need to do
is grab the top 5 rows, process and then delete the top 5 rows,
rinse and repeat.

Then when your batch process is done, just grab any records that changed
since the batch process started and process those records again (which
should be a relatively small number of records.)

-Dan

On Friday, July 22, 2011, Dan G. Switzer, II 
wrote:
> Eric,
>
> I'd return the records in like 50,000 row chunks and process them that
> way. If you're using SQL Server 2005+ you can use CTEs to paginate the
> results (but most modern database have a way of doing pagination.)
>
> This will keep the memory footprint lower.
>
> -Dan
>
> On Friday, July 22, 2011, cft...@ecartech.com  wrote:
>>
>> I'm trying to create a Solr collection from a query that returns about 3
>> million records.  The query itself takes about 3 minutes to run in SQL
>> Studio.  When trying to run it in CF to create my collection, I get
>> java.lang.OutOfMemoryError: Java heap space every time.  Here's what I've
>> tried so far, with no luck:
>>
>> - Modified Solr Server Settings in CF Admin: set Solr Buffer Limit  = 80
>> - Set Solr.lax file to -Xms1024m -Xmx2048m -XX:MaxPermSize=256m
>> -XX:-UseConcMarkSweepGC
>> - Set my CF JVM to -Xmx2048m
>> - Set Solr lax.nl.current.vm to use the 64 bit javaw.exe
>>
>> Is there anything else I can try or should be looking for?  At this point
>> I'm thinking, if CF & Solr can't create my collection using 2 gigs of ram
>> apiece and a 64 bit jvm, I'm not so sure I want to use it.
>>
>> Any suggestions?
>>
>> Thanks,
>>
>> Eric Cobb
>> http://www.cfgears.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:346318
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Out of memory error when creating Solr collection

2011-07-22 Thread Dan G. Switzer, II

Eric,

I'd return the records in like 50,000 row chunks and process them that
way. If you're using SQL Server 2005+ you can use CTEs to paginate the
results (but most modern database have a way of doing pagination.)

This will keep the memory footprint lower.

-Dan

On Friday, July 22, 2011, cft...@ecartech.com  wrote:
>
> I'm trying to create a Solr collection from a query that returns about 3
> million records.  The query itself takes about 3 minutes to run in SQL
> Studio.  When trying to run it in CF to create my collection, I get
> java.lang.OutOfMemoryError: Java heap space every time.  Here's what I've
> tried so far, with no luck:
>
> - Modified Solr Server Settings in CF Admin: set Solr Buffer Limit  = 80
> - Set Solr.lax file to -Xms1024m -Xmx2048m -XX:MaxPermSize=256m
> -XX:-UseConcMarkSweepGC
> - Set my CF JVM to -Xmx2048m
> - Set Solr lax.nl.current.vm to use the 64 bit javaw.exe
>
> Is there anything else I can try or should be looking for?  At this point
> I'm thinking, if CF & Solr can't create my collection using 2 gigs of ram
> apiece and a 64 bit jvm, I'm not so sure I want to use it.
>
> Any suggestions?
>
> Thanks,
>
> Eric Cobb
> http://www.cfgears.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:346317
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Automated File Deployment/Replication

2011-07-05 Thread Dan Baughman

I work in a similar environment and use three general techniques.

1) an ftp tag that replicates files that need to immediately replicate that
are uploaded through the admin, it basically figures out which server its
running from and copies to the other two synchronously using cfftp
2) install cygwin and run WGET in a mirror mode ftp configuration
3) "bestsync" isn't so bad, but I found for some reason it would just ignore
some files

On Tue, Jul 5, 2011 at 10:33 AM, Brian Polackoff  wrote:

>
> Hey everyone. I have been tasked recently with coming up with an automated
> deployment/file replication system for our newly built infrastructure. We
> have a hardware load balancer that spreads the traffic over 5 real servers.
> We are looking for a way to place the production web files and assets on a
> single server and let that server then "replicate" the files over to the
> other 4 servers instantly. Can anyone recommend software to accomplish this
> or just some best practices for this type of scenario?
>
> Thanks!
> Brian
>
>
> 

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


Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer

Michael,

What you are experiencing is correct when it comes to the external dns 
resolving.  The firewall is preforming the translation from your public ip 
to your internal ip.  There may need a change in the firewall to make this 
work correctly with new ip address.  I've seen this exact thing happen when 
the firewall was missing a translation configuration or a host lookup 
record.   I would contact the network support and have them check the 
firewall settings to see if they have forgot to change any settings from old 
ip to the new ip.

My 8 servers do exact same thing as your server is doing resolving to public 
ip and I had to setup an internal dns server to allow my servers to resolve 
the computer names correctly instead of modifying my lmhost and host files 
on each server.

Good luck.

Dan


-Original Message- 
From: Patti, Michael
Sent: Friday, July 01, 2011 5:27 PM
To: cf-talk
Subject: RE: Changed internal IP addresses on server - cffile breaks?


When I run 'ipconfig /flushdns' from the web server, it reports back:

---
Windows IP Configuration

Could not flush the DNS Resolver Cache: Function failed during execution.
---

I did 'ipconfig /all' to check whether the web server has WINS proxy 
enabled.  It does not.  It might be that the DNS servers used by web server 
are caching, but the server itself does not have the 'DNS server' service 
enabled.  The web server is located at a data center, so it's entirely 
possible that the external DNS servers have cached settings, but would that 
affect communications between to services running on the same machine?  That 
seems to be what's happening here, because the publishing service and 
Coldfusion are running on the same machine, and the problem occurs when the 
publishing service tries to contact CF on the (wrong) IP address.

Dan Blickensdorfer asked what happened if I removed the server from the 
hosts file and then did an nslookup for {servername}.  The hosts file 
doesn't have an entry for {servername}, just '127.0.0.1   localhost' and 
the entries I added to correct the problem.  When I do an nslookup for 
{servername}, it points to the external DNS server, and then reports back:

---
C:\Documents and Settings\user>nslookup  [myservername]
Server:  cache01.theplanet.com
Address:  67.19.0.10

*** cache01.theplanet.com can't find [myservername]: Non-existent domain
---

Note that I'm omitting the actual name of my server in this e-mail, so 
[myservername] is not the literal value I'm doing the nslookup against.

When I ping [myservername], it does report back the correct primary internal 
IP address of the server (192.168.31.2).

The entries added to the hosts file force the server to look to the new 
internal IP addresses assigned to the server, but when I comment out those 
entries and ping again, it's resolving to the *external* ip addresses for 
those sites, which might suggest that the publishing service is using the 
domain name to establish the connection (it's a web service, after all) and 
when it has to reach out beyond the boundaries of the server, it's going 
through the external DNS server to find the domain, receives a bad response 
(10.0.0.x) and fails at that point? Something like this:

With host entries in place:

Publishing service ---> www.[domain].com ---> 192.168.31.x ---> found it, 
good, call CF ---> publish the record


Without the host entries in place:

Publishing service ---> www.[domain].com ---> external DNS server 
(67.19.0.10) --- > www.[mydomain].com ---> 10.0.0.x --->  can't find it, 
bad, kablooie.


Does that seem to make any sense?


-Original Message-
From: Bobby Hartsfield [mailto:bo...@acoderslife.com]
Sent: Friday, July 01, 2011 3:12 PM
To: cf-talk
Subject: RE: Changed internal IP addresses on server - cffile breaks?


Have you flushed DNS on the two machines?

ipconfig /flushdns


.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com



-Original Message-
From: Patti, Michael [mailto:mpa...@sherwood-group.com]
Sent: Friday, July 01, 2011 11:36 AM
To: cf-talk
Subject: Changed internal IP addresses on server - cffile breaks?


I recently had to change the internal IP addresses of my Windows 2003 (32
bit) server that is running CF8 standard.  The IPs were changed from a
10.0.0.x format to 192.168.31.x format.

After the change was made, CF appeared to be running fine; but I'm running
into a problem with  not writing  .htm files to the file system.

When I add entries to the server's hosts file to hardcode the mapping to the
new internal IP addresses, it works fine, so somewhere in the server's
internals, some file isn't picking up on the change.

Is there anything that needs to be done in Coldfusion to register the change
of the internal IP addresses?

Thanks,
Michael







~~~

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer

Q?  If you remove the server from host file and in DOS type in nslookup 
enter and type in {servername}.  Does it report back the correct ip address? 
If not,  Your dns server doesn't have the updated ip address for your 
server.  If it does report back correctly.  Exit out of NSLOOKUP and while 
still in DOS ping {servername}.  If it reports back wrong, type in ipconfig 
/all and see where your WINS ip address is pointing to and fix it on that 
server.  This takes CF out of the question and it's a Windows computer 
resolving issue.



-Original Message- 
From: Russ Michaels
Sent: Friday, July 01, 2011 12:57 PM
To: cf-talk
Subject: Re: Changed internal IP addresses on server - cffile breaks?


not likely that just looks like an install file, perhaps it is
.net connecting to CF on the old IP ?

On Fri, Jul 1, 2011 at 5:21 PM, Patti, Michael 
wrote:

>
> I am finding entries for the old IP addresses in
> C:\Coldfusion8\ConnectorInstall0.txt, that look like this:
>
> ...
> Found JRun server coldfusion at 127.0.0.1:2930
> this host is TSGIWEB02:10.0.0.2
> this host is TSGIWEB02:10.0.0.29
> this host is TSGIWEB02:10.0.0.27
> ...
>
> Would those entries need to be updated?
>
> -Original Message-
> From: Patti, Michael
> Sent: Friday, July 01, 2011 11:16 AM
> To: cf-talk
> Subject: RE: Changed internal IP addresses on server - cffile breaks?
>
> The program that's trying to write the file is an ancient CMS that used to
> be called 'ActiveMatter' and has been re-branded as 'iMIS eContent 
> Manager'.
>  It makes use of a .net-driven publishing service that also lives on the 
> web
> server.  The publishing service basically queries a database server that 
> is
> located in a different network, and when it finds records that need to be
> published, it tries to establish a connection with CF, which then attempts
> to write a static HTML file containing the ntext value stored in the
> database for the content record that has been created/updated.
>
> It's the hand-off between the publishing service and CF where things are
> breaking down; and the specific error CF is reporting is:
>
> "Failed to get fused content from 
> http://www.[mydomain].org/AM/Template.cfm?Section=Mission_Statement&Template=/CM/HTMLDisplay.cfm&ContentID=3229&FuseFlag=1.
> The underlying connection was closed: Unable to connect to the remote
> server. System.Net.WebException"
>
> As I mentioned, hard-coding the new internal IP address mappings into the
> hosts file corrects the problem; but that doesn't address the underlying
> cause.
>
> Thanks,
> Michael
>
>
> -Original Message-
> From: Russ Michaels [mailto:r...@michaels.me.uk]
> Sent: Friday, July 01, 2011 11:05 AM
> To: cf-talk
> Subject: Re: Changed internal IP addresses on server - cffile breaks?
>
>
> I presume you are using CFFILE to write files to another  server on the
> network not to the local machine ?
>
> do you have any actual error you can give us ?
>
> Russ
> On Fri, Jul 1, 2011 at 4:52 PM, Patti, Michael  >wrote:
>
> >
> > Yeah, I've restarted both CF and the entire server a couple of times
> > since the IP addresses were first updated (Early Sunday evening).
> > When I run ipconfig /all on the server, it's reporting back the
> > correct IP addresses (in the 192.168.31.1-n range), I've updated all
> > of the bindings in IIS6 to the new IPs, and the sites have been
> > responding fine; it's just that one aspect of CF that seems to be off.
> >
> > Is there a way to manually jog CF into clearing its DNS cache?
> >
> > -Original Message-
> > From: Russ Michaels [mailto:r...@michaels.me.uk]
> > Sent: Friday, July 01, 2011 10:47 AM
> > To: cf-talk
> > Subject: Re: Changed internal IP addresses on server - cffile breaks?
> >
> >
> > CF caches DNS, have you restarted CF since ?
> >
> > On Fri, Jul 1, 2011 at 4:44 PM, Dan Blickensderfer
> > wrote:
> >
> > >
> > > Michael,
> > >
> > > It sounds like you have a WINS Server running on your network that
> > > isn't getting updated.  The computer name and ip address may be
> > > statically assigned in the WINS manager.
> > >
> > > ~Dan
> > >
> > > -Original Message-
> > > From: Patti, Michael
> > > Sent: Friday, July 01, 2011 11:35 AM
> > > To: cf-talk
> > > Subject: Changed internal IP addresses on server - cffile breaks?
> > >
> > >
> > > I recently had to change the internal IP addresses of my Windows
> > > 2003
> > > (32

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer

Michael,

It sounds like you have a WINS Server running on your network that isn't 
getting updated.  The computer name and ip address may be statically 
assigned in the WINS manager.

~Dan

-Original Message- 
From: Patti, Michael
Sent: Friday, July 01, 2011 11:35 AM
To: cf-talk
Subject: Changed internal IP addresses on server - cffile breaks?


I recently had to change the internal IP addresses of my Windows 2003 (32 
bit) server that is running CF8 standard.  The IPs were changed from a 
10.0.0.x format to 192.168.31.x format.

After the change was made, CF appeared to be running fine; but I'm running 
into a problem with  not writing  .htm files to the file system.

When I add entries to the server's hosts file to hardcode the mapping to the 
new internal IP addresses, it works fine, so somewhere in the server's 
internals, some file isn't picking up on the change.

Is there anything that needs to be done in Coldfusion to register the change 
of the internal IP addresses?

Thanks,
Michael



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


Re: Stupid Question

2011-06-30 Thread Dan Baughman

I thought of that, but then wasn't sure how that would behave
if capability_detail was a query.

On Thu, Jun 30, 2011 at 12:11 PM, Andrew Scott wrote:

>
> Actually without getting into a flame war with Dave and others, it should
> be
> better to use
>
> 
> 
>
> And you should avoid using isDefined().
>
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
> > -Original Message-
> > From: Dan Baughman [mailto:dan.baugh...@gmail.com]
> > Sent: Friday, 1 July 2011 4:05 AM
> > To: cf-talk
> > Subject: Re: Stupid Question
> >
> >
> > You would ask it like this:
> > 
> >
> >
> > On Thu, Jun 30, 2011 at 11:58 AM, Robert Harrison < robert@austin-
> > williams.com> wrote:
> >
> > >
> > > Just asking the question is bad... the line
> > >
> > >
> > >
> > > Gives me the error
> > >Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL.
> > >
> > >
> > > Robert B. Harrison
> > > Director of Interactive Services
> > > Austin & Williams
> > > 125 Kennedy Drive, Suite 100
> > > Hauppauge NY 11788
> > > P : 631.231.6600 Ext. 119
> > > F : 631.434.7022
> > > http://www.austin-williams.com
> > >
> > > Great advertising can't be either/or.  It must be &.
> > >
> > > Plug in to our blog: A&W Unplugged
> > > http://www.austin-williams.com/unplugged
> > >
> > >
> > >
> > >
> >
> > ~~
> > ~~~|
> > 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:345988
> > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
> > Unsubscribe: http://www.houseoffusion.com/groups/cf-
> > talk/unsubscribe.cfm
>
>
> 

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


Re: Stupid Question

2011-06-30 Thread Dan Baughman

You would ask it like this:



On Thu, Jun 30, 2011 at 11:58 AM, Robert Harrison <
rob...@austin-williams.com> wrote:

>
> Just asking the question is bad... the line
>
>
>
> Gives me the error
>Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL.
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
> 

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


Re: Stupid Question

2011-06-30 Thread Dan Baughman

I've seen stuff like this happen if capability_detail.capability_id had been
assigned to a function that didnt return a value.

For some reason its defined but in some null state.

On Thu, Jun 30, 2011 at 11:37 AM, Robert Harrison <
rob...@austin-williams.com> wrote:

>
> If I have these two lines of code:
>
>
>
>
> How should I ever get this message on the second line:
>
>Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL
>
> WHAT?
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
> 

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


Re: onSessionEnd not working as expected

2011-06-17 Thread Dan G. Switzer, II

Jerry,

On Fri, Jun 17, 2011 at 11:55 AM, Gerald Weir wrote:

>
> First, my apologies to all if this is a duplicate post. I seem to be having
> trouble posting.  Anyway,
>
> Hello All,
>
> Thanks for your input. Ray, you are correct in that I needed to pass in the
> session scope variables correctly.
>
> In my original post it is clear that a) I was not passing in the session
> scope vars (the array) correctly; and b) I had not indicated the path
> correctly.  Now I've fixed those items and am mostly successful as in the
> following:
>
> 
>
>
>
> method="writeJobStepArray" returnvariable="isSuccess">
> value="#Arguments.SessionScope.jobStepArray#">
>
>
>
>
>
> 
>
> I had tried the / paths because it had appeared to me that the onSessionEnd
> was not finding the component but what I see now is that there is an error
> in the CFC regarding an application scope variable that I had not seen so
> naturally it was erroring out - not that it couldn't find the cfc.
>
> I definitely learned a lot about using CFLOG for debugging in this one.
>  But, there is one other small issue and that is I tried to pass in the
> application scope var as follows and it didn't seem to work (so I've
> hard-coded for the time being):
>
> In application.cfc I have defined a datasource structure:
>  application.database = structNew()
>
> The database is:  application.database.dsn
>
> I tried to pass this to the CFC in onSessionEnd like this:
>
>  value="#Arguments.ApplicationScope.application.database.dsn#">
>
> ...but it didn't work.  What is the correct syntax for this?
>
>
You'd only need:



-Dan

-- 
Dan G. Switzer, II
dswit...@pengoworks.com
http://blog.pengoworks.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:345399
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


  1   2   3   4   5   6   7   8   9   10   >