Re: Getting thread name via CF
Another example for you: http://www.compoundtheory.com/?action=displayPost&ID=251 Mark On Fri, Sep 7, 2012 at 3:05 PM, Pete Freitag wrote: > > Yes the java.lang.Thread class has a static method you can call > currentThread() which gives you the current thread, just call getName() on > it, eg: > > "java.lang.Thread").currentThread()> > Current Thread: #currentThread.getName()# > > > -- > Pete Freitag - Adobe Community Professional > http://foundeo.com/ - ColdFusion Consulting & Products > http://petefreitag.com/ - My Blog > http://hackmycf.com - Is your ColdFusion Server Secure? > > > > > On Thu, Sep 6, 2012 at 3:28 PM, Rick Root wrote: > > > > > Hi, > > > > I have a process that runs using an event gateway. Sometimes, I'd like > to > > be able to look in FusionReactor and see what it is currently doing, if > > anything. > > > > But I don't alwaysk now what thread to look at, and I don't want to have > to > > look and every thread to find it. > > > > I know that if I do a statement, it will log the thread name... > > > > I wondered if there's a way I can access the current java thread name > from > > within the CF code itself. > > > > Thanks. > > > > Rick > > > > -- > > *The beatings will continue until morale improves.* > > > > > > > > ~| 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:352445 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: turning of port 3306
Hi Rob, You need to setup your network and/or OS firewall to block port 3306, and then if MySQL is on the same box as CF, just use 127.0.0.1 and port 3306 to connect to the DB. If CF and the DB are on different machines then configure the firewall such that only the CF server's IP can access port 3306 on the DB server. -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting & Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is your ColdFusion Server Secure? On Thu, Sep 6, 2012 at 11:54 PM, Rob Voyle wrote: > > Hi Brian > Its for PCI compliance for doing credit card transctions. control scan > keeps > reporting Port 3306 being open to the internet. > I just need coldfusion to access Mysql. I used FreeSShd to create a ssh > tunnel > which I can access on port 22 from Navicat on my desktop, So I can > administer > the Mysql data base. But I can't get coldfusion to access the port 22. > > Rob > > On 6 Sep 2012 at 22:25, Brian Thornton wrote: > > > > > Or use a DMZ port forwarding method based on the packet header... > > > > Is this for SOX compliance? > > On Sep 6, 2012 10:00 PM, "Scott Slone" > > 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:352444 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getting thread name via CF
Yes the java.lang.Thread class has a static method you can call currentThread() which gives you the current thread, just call getName() on it, eg: Current Thread: #currentThread.getName()# -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting & Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is your ColdFusion Server Secure? On Thu, Sep 6, 2012 at 3:28 PM, Rick Root wrote: > > Hi, > > I have a process that runs using an event gateway. Sometimes, I'd like to > be able to look in FusionReactor and see what it is currently doing, if > anything. > > But I don't alwaysk now what thread to look at, and I don't want to have to > look and every thread to find it. > > I know that if I do a statement, it will log the thread name... > > I wondered if there's a way I can access the current java thread name from > within the CF code itself. > > Thanks. > > Rick > > -- > *The beatings will continue until morale improves.* > > > ~| 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:352443 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: turning of port 3306
Hi Brian Its for PCI compliance for doing credit card transctions. control scan keeps reporting Port 3306 being open to the internet. I just need coldfusion to access Mysql. I used FreeSShd to create a ssh tunnel which I can access on port 22 from Navicat on my desktop, So I can administer the Mysql data base. But I can't get coldfusion to access the port 22. Rob On 6 Sep 2012 at 22:25, Brian Thornton wrote: > > Or use a DMZ port forwarding method based on the packet header... > > Is this for SOX compliance? > On Sep 6, 2012 10:00 PM, "Scott Slone" > 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:352442 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: turning of port 3306
Or use a DMZ port forwarding method based on the packet header... Is this for SOX compliance? On Sep 6, 2012 10:00 PM, "Scott Slone" wrote: > > Set your mysql server to deliver through a different port - and in the cf > admin specify that port when you connect the data source. > > But just to clarify, the mysql server sends out via 3306 - the windows box > doesn't need to use it's own 3306 port. > > Scott > > On 9/6/12 6:49 PM, "Rob Voyle" wrote: > > > > >Hi folks > >I need to turn off port 3306 for PCI compliance on a windows 2008 server, > >how > >do I connect coldfusion to mysql. I have set us a ssh tunnel on port 22 > >which i > >can access from my remote computer but can't get coldfuion on the server > >to > >connect on 22. > > > >thanks > > > >Rob > >Robert J. Voyle, Psy.D. > >Director, Clergy Leadership Institute > >For Coaching and Training in Appreciative Inquiry > >Author: Restoring Hope: Appreciative Strategies > > to Resolve Grief and Resentment > >http://www.appreciativeway.com/ > >503-647-2378 or 503-647-2382 > > > > > > > > > > ~| 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:352441 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: turning of port 3306
I might add that it is a good "best practice" to change the port on the mysql server either way. Scott On 9/6/12 6:59 PM, "Scott Slone" wrote: > >Set your mysql server to deliver through a different port - and in the cf >admin specify that port when you connect the data source. > >But just to clarify, the mysql server sends out via 3306 - the windows box >doesn't need to use it's own 3306 port. > >Scott > >On 9/6/12 6:49 PM, "Rob Voyle" wrote: > >> >>Hi folks >>I need to turn off port 3306 for PCI compliance on a windows 2008 server, >>how >>do I connect coldfusion to mysql. I have set us a ssh tunnel on port 22 >>which i >>can access from my remote computer but can't get coldfuion on the server >>to >>connect on 22. >> >>thanks >> >>Rob >>Robert J. Voyle, Psy.D. >>Director, Clergy Leadership Institute >>For Coaching and Training in Appreciative Inquiry >>Author: Restoring Hope: Appreciative Strategies >> to Resolve Grief and Resentment >>http://www.appreciativeway.com/ >>503-647-2378 or 503-647-2382 >> >> >> >> > > ~| 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:352440 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: turning of port 3306
Set your mysql server to deliver through a different port - and in the cf admin specify that port when you connect the data source. But just to clarify, the mysql server sends out via 3306 - the windows box doesn't need to use it's own 3306 port. Scott On 9/6/12 6:49 PM, "Rob Voyle" wrote: > >Hi folks >I need to turn off port 3306 for PCI compliance on a windows 2008 server, >how >do I connect coldfusion to mysql. I have set us a ssh tunnel on port 22 >which i >can access from my remote computer but can't get coldfuion on the server >to >connect on 22. > >thanks > >Rob >Robert J. Voyle, Psy.D. >Director, Clergy Leadership Institute >For Coaching and Training in Appreciative Inquiry >Author: Restoring Hope: Appreciative Strategies > to Resolve Grief and Resentment >http://www.appreciativeway.com/ >503-647-2378 or 503-647-2382 > > > > ~| 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:352439 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
turning of port 3306
Hi folks I need to turn off port 3306 for PCI compliance on a windows 2008 server, how do I connect coldfusion to mysql. I have set us a ssh tunnel on port 22 which i can access from my remote computer but can't get coldfuion on the server to connect on 22. thanks Rob Robert J. Voyle, Psy.D. Director, Clergy Leadership Institute For Coaching and Training in Appreciative Inquiry Author: Restoring Hope: Appreciative Strategies to Resolve Grief and Resentment http://www.appreciativeway.com/ 503-647-2378 or 503-647-2382 ~| 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:352438 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Delimiting a pilcrow
Have you tried Chr(244) as the delimiter? On Thu, Sep 6, 2012 at 1:36 PM, Roger Anthony wrote: > > I've got a MySQL database that has a rather long string in it (HL7 to be > precise) that has a pilcrow ( Å ) as the last character of each row. I'm > trying to do a ListToArray and get each row into an array element using the > pilcrow as the delimiter but I can't seem to get it figured out. > > +182 doesn't work, the symbol itself doesn't work, escaping them > doesn't work... I'm at a loss. > > Anyone have any ideas? Thanks! > > -- > > Roger Anthony > > ~| 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:352437 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 on Win7
well my experience is as a hosting provider, and as such I have installed CF on dozens and dozens of servers over the years and deal with it on a daily basis, so I can say with 100% certainty that using wsconfig is absolutely not required to enable CF on new sites. Hosting control panels for example do not use WSCONFIG, they simply add the handlers to IIS for the new site. On Thu, Sep 6, 2012 at 9:00 PM, Carl Von Stetten wrote: > > Russ, > > My experience with Windows 7/Windows Server 2008 R2 and ColdFusion 9 > Standard Edition has been that when a new site is added in IIS, **none** > of the ColdFusion connectivity works without some intervention (and I'm > not just talking about the CFIDE vdir). The only thing that has > consistently made IIS and CF "play nice" has been to re-run WSCONFIG. > Typically I will run WSCONFIG and remove the "All Sites" connection, > restart IIS, then re-run WSCONFIG to re-add "All Sites". I have > occasionally just added the individual new sites as well. > > The point is, for me, that running WSCONFIG has been absolutely > necessary to get new IIS web sites "wired up" properly. Your experience > may be different. > > -Carl > > ~| 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:352436 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Delimiting a pilcrow
I've got a MySQL database that has a rather long string in it (HL7 to be precise) that has a pilcrow ( ¶ ) as the last character of each row. I'm trying to do a ListToArray and get each row into an array element using the pilcrow as the delimiter but I can't seem to get it figured out. +182 doesn't work, the symbol itself doesn't work, escaping them doesn't work... I'm at a loss. Anyone have any ideas? Thanks! -- Roger Anthony ~| 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:352435 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 on Win7
Russ, My experience with Windows 7/Windows Server 2008 R2 and ColdFusion 9 Standard Edition has been that when a new site is added in IIS, **none** of the ColdFusion connectivity works without some intervention (and I'm not just talking about the CFIDE vdir). The only thing that has consistently made IIS and CF "play nice" has been to re-run WSCONFIG. Typically I will run WSCONFIG and remove the "All Sites" connection, restart IIS, then re-run WSCONFIG to re-add "All Sites". I have occasionally just added the individual new sites as well. The point is, for me, that running WSCONFIG has been absolutely necessary to get new IIS web sites "wired up" properly. Your experience may be different. -Carl ~| 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:352434 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getting thread name via CF
Take a look at the CFTracker source: http://www.cftracker.net/ On 9/6/12 12:28 PM, Rick Root wrote: > Hi, > > I have a process that runs using an event gateway. Sometimes, I'd like to > be able to look in FusionReactor and see what it is currently doing, if > anything. > > But I don't alwaysk now what thread to look at, and I don't want to have to > look and every thread to find it. > > I know that if I do a statement, it will log the thread name... > > I wondered if there's a way I can access the current java thread name from > within the CF code itself. > > 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:352433 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Getting thread name via CF
Hi, I have a process that runs using an event gateway. Sometimes, I'd like to be able to look in FusionReactor and see what it is currently doing, if anything. But I don't alwaysk now what thread to look at, and I don't want to have to look and every thread to find it. I know that if I do a statement, it will log the thread name... I wondered if there's a way I can access the current java thread name from within the CF code itself. Thanks. Rick -- *The beatings will continue until morale improves.* ~| 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:352432 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
data maintenance
Hello everyone, I'm looking around for a tool that could generate a generic table maintenance utility like the old commerceblocks application. Preferably, something web based. I have seen seems some possible solutions but are either somewhat old or not under maintenance. Any suggestions greatly appreciated. Thanks, Percy Perez ~| 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:352431 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: problem with ajax on cflayout form submission
We would need to see the code of the cfm in tab2, and it's form's processor script, to help you out here. 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/learning-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 9/6/2012 6:29 AM, alex poyaoan wrote: > Yes steve sorry my question here is on the cflayoutarea2 tab 2 is a form > that submits on an action page after it executes it goes back to the calling > form from the tab but doesn't show the the updated form.. just blank even if > I use the > javascript below after the action query > > ColdFusion.Layout.hideTab('tabtest', 'tab2'); > ColdFusion.Layout.showTab('tabtest', 'tab2'); > ColdFusion.Layout.selectTab('tabtest', 'tab2'); > > >> Alex, >> >> Did you intend to include more here? Not seeing a question >> >> First peek, there's no closing cflayout tag, your 3rd tab should use >> the >> 'source' attribute, like your others, for consistency, and it appears >> >> that your code formatting is way off. Something like: >> >> > >> > source="tab1.cfm"> > >> > source="personshowTab2.cfm"> > >> > source="personshowTab3.cfm"> >> >> >> 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 9/6/2012 6:01 AM, alex poyaoan wrote: >>> Hi everybody have this >>> >>> >>> >>> >>> >>> >>> > source="personshowTab2.cfm"> >>> >>> >>> >>> >>> >>> >> template="personshowTab3.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:352430 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: problem with ajax on cflayout form submission
Yes steve sorry my question here is on the cflayoutarea2 tab 2 is a form that submits on an action page after it executes it goes back to the calling form from the tab but doesn't show the the updated form.. just blank even if I use the javascript below after the action query ColdFusion.Layout.hideTab('tabtest', 'tab2'); ColdFusion.Layout.showTab('tabtest', 'tab2'); ColdFusion.Layout.selectTab('tabtest', 'tab2'); > Alex, > > Did you intend to include more here? Not seeing a question > > First peek, there's no closing cflayout tag, your 3rd tab should use > the > 'source' attribute, like your others, for consistency, and it appears > > that your code formatting is way off. Something like: > > > source="tab1.cfm"> > source="personshowTab2.cfm"> > source="personshowTab3.cfm"> > > > 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 9/6/2012 6:01 AM, alex poyaoan wrote: > > Hi everybody have this > > > > > > > > > > > > > > source="personshowTab2.cfm"> > > > > > > > > > > > > > template="personshowTab3.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:352429 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: problem with ajax on cflayout form submission
Alex, Did you intend to include more here? Not seeing a question First peek, there's no closing cflayout tag, your 3rd tab should use the 'source' attribute, like your others, for consistency, and it appears that your code formatting is way off. Something like: 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/learning-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 9/6/2012 6:01 AM, alex poyaoan wrote: > Hi everybody have this > > > > > > > > > > > > >template="personshowTab3.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:352428 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
problem with ajax on cflayout form submission
Hi everybody have this ~| 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:352427 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm