Invitation to connect on LinkedIn
LinkedIn I'd like to add you to my professional network on LinkedIn. - dan Confirm that you know dan plesse https://www.linkedin.com/e/isd/928005987/KbzKt6fD/ Every day, millions of professionals like dan plesse use LinkedIn to connect with colleagues, find experts, and explore opportunities. -- (c) 2009, LinkedIn Corporation ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329133 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Initializing Objects in Application.cfm
I download the zip and did a quick search for keyword java and dreamweaver and it returned 0 of 18 documents and all the set() methods are air methods should be object.setmethod(). I guess its to hide stuff. And not using objectFactory is like throwing rocks back at the people who are trying to stone you to death its strictly forbidden. I thought more people would get my unreasonable cake bakery analogy between AJAX and CF. Another 0 for 18 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261426 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
You forgot Air Methods, unreasonable cake and strictly forbidden. On 11/22/06, Aaron Roberson [EMAIL PROTECTED] wrote: On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: I download the zip and did a quick search for keyword java and dreamweaver and it returned 0 of 18 documents and all the set() methods are air methods should be object.setmethod (). I guess its to hide stuff. And not using objectFactory is like throwing rocks back at the people who are trying to stone you to death its strictly forbidden. I thought more people would get my unreasonable cake bakery analogy between AJAX and CF. Another 0 for 18 What are you talking about? What are you saying? You entire post went over my head... keyword java object.setmethod() throwing rocks back AJAX and CF analogy 0 for 18 -Aaron ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261428 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
Even cfoop.org is all wrong. Creating a Class in ColdFusion That's more about creating components in CF. The class object in coldfusion is the most powerful object because it can create almost any object just like createObject() via forName(), reflection for object inspection (think cfdump) , rule breaking (more reflection stuff) and decompiling via my JODE example. On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: You forgot Air Methods, unreasonable cake and strictly forbidden. On 11/22/06, Aaron Roberson [EMAIL PROTECTED] wrote: On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: I download the zip and did a quick search for keyword java and dreamweaver and it returned 0 of 18 documents and all the set() methods are air methods should be object.setmethod (). I guess its to hide stuff. And not using objectFactory is like throwing rocks back at the people who are trying to stone you to death its strictly forbidden. I thought more people would get my unreasonable cake bakery analogy between AJAX and CF. Another 0 for 18 What are you talking about? What are you saying? You entire post went over my head... keyword java object.setmethod() throwing rocks back AJAX and CF analogy 0 for 18 -Aaron ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261432 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Initializing Objects in Application.cfm
My core complaint is that cfoop is using java terms while not using java. Then I listed the power features of java within a single class (the class object) and thus coldfusion gains without any outside help etc 1. compile classes 2. use of reflection 3. decomplie classes. These are the valuable inputs I provided but have been disgarded in favor of a blank space. On 11/22/06, Nicholas M Tunney [EMAIL PROTECTED] wrote: I'm curious as to why you think cFoop is wrong as well. Nic Aaron Roberson wrote: Dan, You keep referring to stuff that may or may not be on another thread. my AJAX and CF analogy and my JODE example. I really don't have a clue what you are talking about and why you think that cfoop.org is all wrong. Are you just trolling or do you have some valuable input that we should be considering? Respectfully, Aaron On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: Even cfoop.org is all wrong. Creating a Class in ColdFusion That's more about creating components in CF. The class object in coldfusion is the most powerful object because it can create almost any object just like createObject() via forName(), reflection for object inspection (think cfdump) , rule breaking (more reflection stuff) and decompiling via my JODE example. On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: You forgot Air Methods, unreasonable cake and strictly forbidden. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261460 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Initializing Objects in Application.cfm
An air method is a new term to describe a method without a description or location of the object used in a demo? Like an antidemo demo. Dreamweaver was the method use to search usage of java which returned with zero hits. The whys can be answered too: Because its forbidden to use java because someone said so in the past. An unreasonable cake is a cake made by a unreasonable person. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261488 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Requests / threads that hang
I like neils response the best. Two areas you can play with are: the VM of the host server. For example I switched java 1.5_09 for Jrun while going retro for CF's VM 1.4_09 and that seemed to work while point to VM locations to other hard drives. java.home=F:/CFusionMX7/runtime/jre and not java.home=C:/CFusionMX7/runtime/jre On 11/22/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: The same codebase, JVM + settings? Usually long running requests are the culprits where the user got bored waiting or a proxy severed connection and ColdFusion could not respond. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Nick Gleason To: CF-Talk Sent: Wed Nov 22 07:06:53 2006 Subject: RE: Requests / threads that hang Let me tighten my question a little more - I'm basically asking what causes one page (or site) to have repeated hanging requests / threads while another rarely if ever has them. Thanks in advance for your brilliant responses N -Original Message- From: Nick Gleason [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 11:17 PM To: CF-Talk Subject: RE: Requests / threads that hang Thanks snake. At this point I'm interested in any factor that could distinguish this one site from others that use the same (or very similar) code and dbs. The sites are on separate instances of the system, but the instances are essentially identical (or close to it). The content and visual designs per site are different, of course, so I'm wondering if that could be a factor. N . .. ... Nick Gleason | CitySoft, Inc. | http://www.citysoft.com Direct: (617) 899-5395 | Fax: (617) 507-0444 Spend Less Do More - Community Enterprise combines great features with an affordable price. . .. ... -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 7:33 PM To: CF-Talk Subject: RE: Requests / threads that hang The response FR support have given you are valid reasons. If a thread hangs because someone closed their browser window and did not complete the request, then this is nothing to do with your code. You may want to consider using their JDBC wrapper to determine if it is database related if the site is using the same code as other sites which have no problem. Russ -Original Message- From: Nick Gleason [mailto:[EMAIL PROTECTED] Sent: 22 November 2006 00:24 To: CF-Talk Subject: Requests / threads that hang We are having problems with page requests/threads that are hanging in the server. Although we have many sites on a shared server using the same CMS, only one site seems to consistently have requests that hang. We are using Fusion Reactor on this server and we can see that this site's requests (especially the home page) are the ones that are hanging. The good folks at Fusion Reactor have given us some technical reasons that this might be happening - I've included those below. But, the surprising thing is that none of our other sites using the same CMS infrastructure have any significant hanging threads/requests - it's just this one site. So, that makes me wonder if we have some code in this particular site that makes it more likely to generate hanging threads / requests. Anyone have any brilliant ideas about what kind of coding, graphics, html, etc. might make a page more likely to generate threads that hang in the server? Technical response from Fusion Reactor support below: -- The problem that you are seeing is most likely that the requests don't complete because they are waiting to send data to the browser. This is done via a socket which is a piece of native code that JRun uses to return the CF page contents. It can happen however that the browser that this receiving the content keeps the connection open but doesn't consume any of the content sent by JRun. This causes the situation that you see. FusionReactor unfortunately cannot kill
Re: I just got Java 1.5.0_09 to work with coldfusion 7.01
Does anyone have a solution for this problem web services seems to be the only problem coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 2 system errors: *** Error: Could not find package java/util in: C:/CFusionMX7/runtime/jre/lib/ext/dnsns.jar C:/CFusionMX7/runtime/jre/lib/ext/localedata.jar C:/CFusionMX7/runtime/jre/lib/ext/sunjce_provider.jar C:/CFusionMX7/runtime/jre/lib/ext/sunpkcs11.jar C:\CFusionMX7\wwwroot\WEB-INF\classes jvm.config.template java.home=C:/Sun/SDK/jdk/jre Note: if you are using a 1.5 JVM you must add '-Djmx.invoke.getters=true' So what's the deal Jrun 4 sp 6 supports 1.5 but CF on a 1.5 JVM does not? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261006 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I just got Java 1.5.0_09 to work with coldfusion 7.01
I have an error in my coldfusion-err.log no such classpath element: C:\CFusionMX7\runtime/../../classes Anyone have a solution? I know I have make an adjustment in the jvm.configbut where. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260543 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is there a way to dump all my SESSION.carts ?
No big deal but you could have cfset allSessions= createObject(java,coldfusion.runtime.SessionTracker ).getSessionCollection(application.applicationName) / or if don't feel like using createObject() function or createObject tag sometimes you can just forName() method of Class object cfset stringObject = cfset anyClass = stringObject.getClass() cfset allSessions = anyClass.forName(coldfusion.runtime.SessionTracker ).newInstance().getSessionCollection(application.applicationName)/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260319 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: DSN-less Connections in ColdFusion MX
Actually JDBC connections are DSN-LESS by default. Dsn's use pooled connections and that's why people should use them but the process is entirely optional. You can even load drivers from anywhere and still get them registered locally so you can get a connection to the DB, a CVS Text file or embedded DB to create other objects. My last post Java CF A classloaded JDBC driver would look like thishttp://tech.groups.yahoo.com/group/java_coldfusion_hacks/message/302 Adding Cursor Scrollable ResultSets to MS access in CFMX meesage 45 http://tech.groups.yahoo.com/group/java_coldfusion_hacks/message/45 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260314 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Is there a way to dump all my SESSION.carts ?
Since you can't turn off the Class object that's how. Can some one repost this on a better subject heading? I just got Java 1.5.0_09 to work with coldfusion 7.01 jvm.config java.home=C:/CFusionMX7/runtime/jre1.5.0_09/ add xerces-2_8_1 resolver.jar xercesImpl.jar xercesSamples.jar xml-apis.jar C:\CFusionMX7\lib restart My 3 tests so far have worked! Both called webservices and creating webservices worked! I am going to say with this setting until it breaks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260348 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
DRE, I agree that's some bad stuff. It looks like when I first started coding 2 years ago. I would readLine() first Check Null true/false Enter the loop readLine again on the bottom of the loop End loop close() objects null them force gc() Look like this. cfset variable.line = java_io_LineNumberReader.readline() cfloop condition=#IsDefined(variable.line)# cfif find(findThis, variable.line) GT 0 cfset variable.line = Replace(variable.line, http://www.opticalalert.com/r.cfm?urlvalue=,,ONE;) cfset variable.line = Replace(variable.line, findThis, replacethis, ONE) cfset start = REFind([[:digit:]], variable.line, 1, true).pos[1]+5 cfset some_text = left(variable.line,start) ' target=new style=font:none;' cfset bigstring = bigstring some_text cfelse cfset bigstring = bigstring variable.line /cfif cfset variable.line = java_io_LineNumberReader.readline() /cfloop I had to do a big switch / remove text from all my pages. And this is inside another recursive loop. Big job. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260363 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: factory / webservice
I think Axis comes with a config file. or goto the xml rpc factory inside CF. On 11/14/06, D F [EMAIL PROTECTED] wrote: Any ideas of where I can get data on the webservice settings in the factory. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260365 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: factory / webservice
Daniel, This is a bear of a method call. You have to find 8 valid strings and one mystery int to get this to work! Long hand Methods (the real stuff) public org.apache.axis.client.Stub getWebService(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) Short hand methods (just looks good) coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService() coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebService() I would look into the docs for the org.apache.axis.client.Stub package and see what the dosc say about this. You to start using a classViewer. Can you do that for me? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260428 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Mixing CF and JavaScript.
I reviewed every one's response so far and I did like a single one. I would use a bakery analogy. For example CF is like a cake it gets baked first then the sweet buttery javascript icing goes last. The two don't mix well. To cut the layers you need a fork called AJAX bla bla bla. What you need to do is change things around and make Javascript into a cake too and CF the cake next to your new js cake of pure icing. When people eat your cake they dream of eating the CF cake. Those wishfull day dreams are called HXMLHttpRequest bla bla bla because JS longs to be a reasonable cake. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260430 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
I just got Java 1.5.0_09 to work with coldfusion 7.01
Neil said that it was done before so did they use the same set of jars The jars solution came out of an Applet/Axis problem/solution so I tested a client side solution on the server side and it worked! Steps: Drop the folder jre1.5.0_09 on in to the runtime folder jvm.config java.home=C:/CFusionMX7/runtime/jre1.5.0_09/ add xerces-2_8_1 to fix apache AXIS problem resolver.jar xercesImpl.jar xercesSamples.jar xml-apis.jar C:\CFusionMX7\lib restart service Admin Still says Java VM Version 1.4.2_05-b04 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260443 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: I just got Java 1.5.0_09 to work with coldfusion 7.01
I have to do more tests. Maybe nothing. On 11/14/06, C. Hatton Humphrey [EMAIL PROTECTED] wrote: Forgive my ignorance but what is the cumulative effect of this manual upgrade? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260453 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I just got Java 1.5.0_09 to work with coldfusion 7.01
My jvm.config java.home=C:/Program Files/Java/jdk1.5.0_09/ but now I am getting some dang errors Java Version 1.5.0_09 Java Vendor Sun Microsystems Inc. Java Vendor URL http://java.sun.com/ Java Home C:\Program Files\Java\jdk1.5.0_09\jre Java File Encoding Cp1252 Java Default Locale en_US File Separator \ Path Separator ; Line Separator Chr(13) User Name SYSTEM User Home C:\Documents and Settings\Default User User Dir C:\CFusionMX7\runtime\bin Java VM Specification Version 1.0 Java VM Specification Vendor Sun Microsystems Inc. Java VM Specification Name Java Virtual Machine Specification Java VM Version 1.5.0_09-b03 Java VM Vendor Sun Microsystems Inc. Java VM Name Java HotSpot(TM) Server VM Java Specification Version 1.5 Java Specification Vendor Sun Microsystems Inc. Java Specification Name Java Platform API Specification Java Class Version 49.0 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260455 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I need some help
Make sure your Jrun RAM amount is normal. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260214 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Yes I look it over and bookmarked it. I like this part In the case where you have a very large document, it is still fairly simple to use the underlying Java functionality to read documents in small increments and this was my question out to all CF Dev on how CF developers do this normally and maybe vote on the best method or methods. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260224 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Time Out Error....HELP!!!!!
Other Coldfusion engines have great JDBC pooling info CF dump from free *Smith CF Engine* - Session pool size: *1* - Page pool size: *1* - Datasource mckoi: *3* connections (*1* busy, *2* idle), Pool size: (max - *20*, min - *3*, init - *3*) It uses Jetty-6.0 Looks like you can embed this CF engine into any java application. Very cool ! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260227 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: RESOLVED: Help using JSP Page within CFML
Aaron, I have BlueDragon JX sitting on my computer. Any install issues? Thanks On 11/13/06, Aaron Roberson [EMAIL PROTECTED] wrote: I am proud to say that this problem has been resolved thanks to the help of Vince Bonfati himself at New Atlanta! Here are the top two reasons why I keep getting excited about New Atlanta and BlueDragon: NUMBER 1: BD 7 is soon to release and has everything ColdFusion Enterprise Edition has at the price of ColdFusion Standard plus more (including the features being mentioned here and there as part of ColdFusion 8). Not only that, but it does not consume as much server resources as ColdFusion. NUMBER 2: The owner of New Atlanta is in touch with the CF community and provides great support. I've been a hard customer for New Atlanta. They had to deal with my scepticism from day one. But they are truly removing any doubt in my mind that I made the right choice in moving to BlueDragon JX. -Aaron Roberson ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260232 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: RESOLVED: Help using JSP Page within CFML
So far I tested Smith Free Coldfusion Engine and it works fine. http://www.smithproject.org/download.cfm I am hoping to start adding features to it like I have with CF. If I can get my CF 8 nixed features in this open source project that would be wonderfull. The first thing they have to do is change the name from Smith to something like MyCF. On 11/13/06, Doug Brown [EMAIL PROTECTED] wrote: NUMBER 1: BD 7 is soon to release and has everything ColdFusion Enterprise Edition has at the price of ColdFusion Standard plus more (including the features being mentioned here and there as part of ColdFusion 8). So, what things can you do or not do on Bluedragon as compared to CFMX? Comparisons please. Is Bluedragon the real next big thing? - Original Message - From: Aaron Roberson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, November 13, 2006 1:09 PM Subject: RESOLVED: Help using JSP Page within CFML I am proud to say that this problem has been resolved thanks to the help of Vince Bonfati himself at New Atlanta! Here are the top two reasons why I keep getting excited about New Atlanta and BlueDragon: NUMBER 1: BD 7 is soon to release and has everything ColdFusion Enterprise Edition has at the price of ColdFusion Standard plus more (including the features being mentioned here and there as part of ColdFusion 8). Not only that, but it does not consume as much server resources as ColdFusion. NUMBER 2: The owner of New Atlanta is in touch with the CF community and provides great support. I've been a hard customer for New Atlanta. They had to deal with my scepticism from day one. But they are truly removing any doubt in my mind that I made the right choice in moving to BlueDragon JX. -Aaron Roberson ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260236 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: RESOLVED: Help using JSP Page within CFML
Its very interesting and the name sucks but it works and as a proof of concept project I can understand not doing all the tags on the very first version. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260260 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
DRE how do you deal with EOF and the null issue? Do you remember where you discovered BufferedReader and do you use the close() methods for those two objects? thanks I use StringReader to LineNumberReader after cffile to avoid another close() method and to get line number if I happen to need them. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260269 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: RESOLVED: Help using JSP Page within CFML
I think we all should send them some money to keep the dream alive. I would like to see createObject() funtion. On 11/13/06, Aaron Roberson [EMAIL PROTECTED] wrote: Yeah, the big one is cfcomponent. I think cfdocument and cflogin, cfloginuser, cflogout and other authentication tags would be important to implement. -Aaron On 11/13/06, Josh Nathanson [EMAIL PROTECTED] wrote: There are some biggies not impemented: cfdocument, cfcomponent, cfchart, cfldap, cfpop, cfformitem/formgroup (flash forms). http://www.smithproject.org/product_features_tags.cfm Nonetheless pretty interesting, especially if they release it open source. - Original Message - From: Aaron Roberson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, November 13, 2006 2:24 PM Subject: Re: RESOLVED: Help using JSP Page within CFML Thanks for the link Dan, I had never heard of Smith. You're right, the name is very unrelated to ColdFusion. They could call it CFSmith...? On the about page they mention that they have not implemented all of the standard tags, but only those tags which they needed for their own projects. -Aaron On 11/13/06, Dan Plesse [EMAIL PROTECTED] wrote: So far I tested Smith Free Coldfusion Engine and it works fine. http://www.smithproject.org/download.cfm I am hoping to start adding features to it like I have with CF. If I can get my CF 8 nixed features in this open source project that would be wonderfull. The first thing they have to do is change the name from Smith to something like MyCF. On 11/13/06, Doug Brown [EMAIL PROTECTED] wrote: NUMBER 1: BD 7 is soon to release and has everything ColdFusion Enterprise Edition has at the price of ColdFusion Standard plus more (including the features being mentioned here and there as part of ColdFusion 8). So, what things can you do or not do on Bluedragon as compared to CFMX? Comparisons please. Is Bluedragon the real next big thing? - Original Message - From: Aaron Roberson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, November 13, 2006 1:09 PM Subject: RESOLVED: Help using JSP Page within CFML I am proud to say that this problem has been resolved thanks to the help of Vince Bonfati himself at New Atlanta! Here are the top two reasons why I keep getting excited about New Atlanta and BlueDragon: NUMBER 1: BD 7 is soon to release and has everything ColdFusion Enterprise Edition has at the price of ColdFusion Standard plus more (including the features being mentioned here and there as part of ColdFusion 8). Not only that, but it does not consume as much server resources as ColdFusion. NUMBER 2: The owner of New Atlanta is in touch with the CF community and provides great support. I've been a hard customer for New Atlanta. They had to deal with my scepticism from day one. But they are truly removing any doubt in my mind that I made the right choice in moving to BlueDragon JX. -Aaron Roberson ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260270 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Are there any experts in CF Server for Linux?
You have to go into the Jrun.xml and increase the amount of threads and things and that should do it! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260271 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: BLUEDRAGON
What is the difference between the JX version and normal server version? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260279 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Time Out Error....HELP!!!!!
I would its' not its the database at all. Its between the database and coldfusion is where the problem is happening. Deep inside the JDBC pool as the error message clearly states. Sometimes error messages do tell the truth. Maintain Connections could be the problem. Sometimes its just better to allow the pool to do its work. The pool is just like a swimming pool and the water gets dirty and you need to start over with a fresh pool of water. This is an area CF 8 needs and needs badly is a way to view pooled conections and see if the connections are hanging around and not getting recycled as quickly as needed. And if each new connection gets blocked because backlog it will timeout. You can add proprieties to the JDBC string or add a proprieties file for CF to pickup or increase pooled connection size. Maybe then CF will time to recycle. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260105 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Time Out Error....HELP!!!!!
Whoops that should say I would say its not the database at all and its a pooled connection error. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260106 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Next/Previous Records with UUID
Sure you can go up down and all over the place without a primary key. The cfquery object comes packed with a host of features and is the most feature rich object of the whole coldfusion arsenal. Mastery of this object is fundamental to understanding coldfusion. You can get record position using any data inside a row or jump relative to that row. goto this link http://tech.groups.yahoo.com/group/java_coldfusion_hacks/ search for 1.next() or 2.cfquery ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260111 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Time Out Error....HELP!!!!!
Well that could be it. Also increase the size of the pool. On 11/12/06, Russell Christiansen [EMAIL PROTECTED] wrote: Yes I do. Timed out trying to establish connection Do you have the Maintain Connections parameter checked for this datasource in the CF administrator? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260113 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
I am interested to find out how other CFers do line by line search replace and the insert text like Dreamweaver does it. What do CF developers do if there is multiple steps are needed to change a html file for example. I guess they play with the whole html file as one big chunk of text and use the mid replace functions. Does anyone use something else? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260045 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Could not generate stub objects for web service invocation
Interesting. Is this wen service running on a dev net licence? It could be dang watermark issue if it is. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260050 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Odd CFX error with Java CFX on CFMX 6.1
Try not using CFX. You have the jar so create the objects you need and call the methods. If you need need to nornal java source use a Java Web Service and pass objects to it with WDDX if necessary. I don't know of advantage of using CFX over createObject(). If you know of any please advise. Where is the jar file? Which folder? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259899 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Odd CFX error with Java CFX on CFMX 6.1
Well first createObject will let you know if its a class/java seeing issue. The runtime logs are the best place to review errors. It seems like its a CFX problem and not a java problem. And its better to load all your class from one location over the net so your upgrades can happen a lot faster then doing the same thing over and over on each machine. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259932 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Resetting a CF Web service cache
I believe CF has a undocumented refresh method. On 11/9/06, Smith, Daron [PA] [EMAIL PROTECTED] wrote: It seems that CF caches web service WSDL definitions, that is if I make a change to the underlying web service code (in .Net) CF seems to try to submit according to the old wsdl. If I restart the CF application service it submits according to the new wsdl. Is there a way to force a refresh without restarting CF? Thanks, Daron Smith PSEA E-mail Firewall annotation on Thu Nov 09 2006 11:25:06 - NOTICE: Only the individual sender is responsible for the content of the message, and the message does not necessarily reflect the position or policy of the Pennsylvania State Education Association. - ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259783 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Resetting a CF Web service cache
I will put the full line on my CF Java list cfset RpcService.refreshWebService( http://wonderboy:8500/MX/components/dude.cfc?wsdl;) http://tech.groups.yahoo.com/group/java_coldfusion_hacks/ On 11/9/06, Dan Plesse [EMAIL PROTECTED] wrote: I believe CF has a undocumented refresh method. On 11/9/06, Smith, Daron [PA] [EMAIL PROTECTED] wrote: It seems that CF caches web service WSDL definitions, that is if I make a change to the underlying web service code (in .Net) CF seems to try to submit according to the old wsdl. If I restart the CF application service it submits according to the new wsdl. Is there a way to force a refresh without restarting CF? Thanks, Daron Smith PSEA E-mail Firewall annotation on Thu Nov 09 2006 11:25:06 - NOTICE: Only the individual sender is responsible for the content of the message, and the message does not necessarily reflect the position or policy of the Pennsylvania State Education Association. - ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259832 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Class Decompiler
Thanks Tony I just made a utility for this problem. Next would be a runtime utility. Now we are talking. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259659 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
I looked at how java works with web services i.e axis and the fact that you don't have to do extra work in CF to ship/send/ or receive any kind of object is truly amazing. In java land its yet another issue. For java web service on CF I have to WDDX each object before its sent and before its received and decompile back again. It's a real pain and an extra step. You can't put a price tag on all the magic its priceless and its not just a bunch cool stuff to list off either taken in total its a step ahead. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259666 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Class Decompiler
The decompiler I have seen was an applet I wonder if CF could interact with it. I think it was jode http://*jode*.sourceforge.net/ * book Decompiling Java * On 11/7/06, Tony Hicks [EMAIL PROTECTED] wrote: OS is Windows Server 2003. Thanks for the tips... I was afraid there wouldn't be a utility for this. On 11/7/06, Russ [EMAIL PROTECTED] wrote: Also depending on the OS you might be able to restore the file from backups/shadow copies/using some sort of undelete tool. Then start using subversion. Russ -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 4:19 PM To: CF-Talk Subject: Re: Class Decompiler CF class files are Java class files, so any Java decompiler will do the trick. However, that's only going to get you the Java code that the CF runtime created based on your CFML. It's not going to get you the original CFML back. Best bet: go check out Subversion (or another version control system of your choice) and start using it. Then recreate the file as best as you can. cheers, barneyb On 11/7/06, Tony Hicks [EMAIL PROTECTED] wrote: Is there a cold fusion class decompiler available anywhere? I accidentally deleted a pretty important file to a site I'm developing and the only copy I have left is in a compiled class but its filled with a lot of gibberish (as far as notepad or wordpad is concerned). Thank you ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259532 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Class Decompiler
This is my guess cfset FileWriter = createObject(java,java.io.FileWriter ).init(C://jode.txt) cfset ProgressListener = createObject(java, jode.decompiler.ProgressListener) cfset Decompiler = createObject(java, jode.decompiler.Decompiler) cfset Decompiler.setClassPath(C:\CFusionMX7\wwwroot\WEB-INF\classes\) cftry cfset Decompiler.decompile(ClassViewer.class, FileWriter,ProgressListener) cfcatch type=any cfdump var=#cfcatch# /cfcatch /cftry I added jode-1.1.2-pre1.jar to the lib and double clicked on it to see the jode package after adding the CF lib to the classpath. cfset FileWriter.close() ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259564 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Class Decompiler
Cool I got it! It took me a few more tries. Maybe 15 minutes in total. Output file looks like /* ClassViewer - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; public class ClassViewer { etc etc CF JODE Decompiler is complete ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259566 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
I think coldfusion allows beginners access to java at a level never before seen and hooks into a wealth of open source projects which no other lanaguage can. I just wrote a CF jode decompiler in under 15 minutes and the day before I found out how to delete a row within a cfquery object using its data as the reference. Cool stuff! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259581 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: HELP: Speeding up a Collection
My guess is COM with java. I would stay inside java and don't venture out into COM. It even looks like they use the same methods. Go figure. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259582 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Web services...SOLVED
You could have cleared using CF own clear web service function or go to the admin and do it. On 11/6/06, dsmith @ psea. org dsmith @ psea. org [EMAIL PROTECTED] wrote: This problem appeared to be related to DNS. It seems that CF had an old address cached. I restarted CF and it now works. Grabbing the WSDL with CFHTTP is a great idea to see what CF is seeing. Many thanks for everyone who helped out on this. I can get call it from the server (IE) and get it to work. Don't think we have HTTP proxies. What do you get if you use CFHTTP to fetch and display the WSDL? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore and Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259376 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using CFCHART to generate batch charts?
I would ask the third party who sold the licence to Adobe to see if this can be done. Sounds like a job for a servlet. Saving results to disk should be a default feature. On 11/5/06, Terry Ford [EMAIL PROTECTED] wrote: Does anyone know if there is a way to use CFCHART on CFMX to generate a set of chart JPEGs and save them to disk? The idea would be to generate 1000 charts in this manner once a week. This way, simple IMG tags can then be used to link to the charts, and the data gathering / CFCHART engine can be entirely bypassed for that week. There doesn't appear to be a documented way to do this, but perhaps someone has worked out how to... Regards, Terry ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259234 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Get imagesize
I think I have solved the cross brower issue with regards to java applets but the only way to know for sure is to test. You don't have to use the chat app just check to see if the form below the applet says Applet started http://flashjabber.kicks-ass.net:9000/smack_applet.html Some secs 1. Server: Tomcat 5.0.30 2. Jabber server: WildFire 3.1 3. Jabber Client: Smack 2.1 4. JavaScript 5. NetScape Javascript Object (bridge tech) java to javascipt javascript to java from the local install 6. Java 1.5_6 - 1.5_9 If it worked or failed yet me know which browser and which OS ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258917 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Get imagesize
Thanks Andy. I tested FireFox 1.5, SeaMoney 1.0.5 IE 6.03790 Minefield but loads FF?? Denny tested FireFox and Opera and they both work I need Apple tester and Linux testers. On 11/2/06, Andy Matthews [EMAIL PROTECTED] wrote: Works for me. IE 6, Win XP Pro !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Dan Plesse [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 3:15 PM To: CF-Talk Subject: Re: Get imagesize I think I have solved the cross brower issue with regards to java applets but the only way to know for sure is to test. You don't have to use the chat app just check to see if the form below the applet says Applet started http://flashjabber.kicks-ass.net:9000/smack_applet.html Some secs 1. Server: Tomcat 5.0.30 2. Jabber server: WildFire 3.1 3. Jabber Client: Smack 2.1 4. JavaScript 5. NetScape Javascript Object (bridge tech) java to javascipt javascript to java from the local install 6. Java 1.5_6 - 1.5_9 If it worked or failed yet me know which browser and which OS ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258929 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Releasing objects from memory (Garbage Collection)
My google talk example I posted here a few days ago shows how to do this. If you didn't completely garbage collect you could reconnect to the gtalk server. becomes xmppconnection becomes == undefined StructDelete(application,XMPPConnection,true); becomes == NO after you javaCast(null,null); On 11/1/06, James Holmes [EMAIL PROTECTED] wrote: As long as they aren't in a memory scope (the session or application scopes) they will be garbage collected when the JVM needs to do so, after the page has finished executing. On 11/1/06, Henry Wright [EMAIL PROTECTED] wrote: I have a cfloop that iterates through a query and creates an object for every userid that is returned in the query. Is there a way that I can dispose of the object once I am finished with it so that I can free up the processor and memory space. The loop could create up to 80 objects in any run, depending on the number of userid's that are returned in the query. Any help would be appreciated. H ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java ListIterator to CF Variable
Neil, This is basically a CF java 101 question and I am shocked shocked well not that shocked. Interesting coldfusion.sql.QueryColumn has two listIterators and implements java.util.List public java.util.ListIterator listIterator(int) public java.util.ListIterator listIterator() I would try size() or length() but that goes with List object and not ListIterator Simply google java.util.ListIterator and look at the method list or use my object Viewer Interestingly google does not help with Interfaces. The only remaining thing you can do is use the Object Viewer http://www.cfide.org/ObjectViewer.cfm My forName().isInterface() YES which means its a Interface and it has only 9 methods but no size() or length() methods Use the the new school EOF looper I think old school was to wait for a null. cfloop condition=object.hasNext() cfset stuff = object.next() /cfoop and that should do it. On 11/1/06, Andrew Scott [EMAIL PROTECTED] wrote: If you have returned it has a jave object via CreateObject, treat it the same way as you would in Java. On 11/2/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi All, I am currently interfacing with our new Search Engine via its Java API (obviously using ColdFusion ;-) and it has the following line in the API docs... Java.util.ListIterator iterator = result.documents(); // returns a list iterator for the document summaries in this query result. What is the process for looping through a Java iterator in CF? Thanks Neil ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258710 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java ListIterator to CF Variable
Neil, You asked this question What is the process for looping through a Java iterator in CF? My response was a solution to that question. and Now only thing to see is if there is a way to get the iterator length ;-) As I stated before there is no special method to gather length() or size() and you don't to know the length using that loop. On 11/1/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Thanks, but as noted I fixed it using the search API. Thanks for the 101, how nice :-) I rarely use (or have need) pure Java in ColdFusionoutside what if provides out of the box the hence why I asked. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dan Plesse To: CF-Talk Sent: Wed Nov 01 16:55:16 2006 Subject: Re: Java ListIterator to CF Variable Neil, This is basically a CF java 101 question and I am shocked shocked well not that shocked. Interesting coldfusion.sql.QueryColumn has two listIterators and implements java.util.List public java.util.ListIterator listIterator(int) public java.util.ListIterator listIterator() I would try size() or length() but that goes with List object and not ListIterator Simply google java.util.ListIterator and look at the method list or use my object Viewer Interestingly google does not help with Interfaces. The only remaining thing you can do is use the Object Viewer http://www.cfide.org/ObjectViewer.cfm My forName().isInterface() YES which means its a Interface and it has only 9 methods but no size() or length() methods Use the the new school EOF looper I think old school was to wait for a null. cfloop condition=object.hasNext() cfset stuff = object.next() /cfoop and that should do it. On 11/1/06, Andrew Scott [EMAIL PROTECTED] wrote: If you have returned it has a jave object via CreateObject, treat it the same way as you would in Java. On 11/2/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi All, I am currently interfacing with our new Search Engine via its Java API (obviously using ColdFusion ;-) and it has the following line in the API docs... Java.util.ListIterator iterator = result.documents(); // returns a list iterator for the document summaries in this query result. What is the process for looping through a Java iterator in CF? Thanks Neil ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258760 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java ListIterator to CF Variable
Please reread the method summary :) only 9 methods to speak of :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258798 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java ListIterator to CF Variable
Interesting! It says you can get the list size if and only if the iterator is at the end of the list. So if *hasNexthttp://java.sun.com/j2se/1.4.2/docs/api/java/util/ListIterator.html#hasNext%28%29 *() == false { int get = nextIndex() ; } ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258805 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Off Road CF 7 with Google Talk
Steps 1-5 1. Replace the current smack jar in root lib with a new 2.1 smack jar 2. Connect application.XMPPConnection = createObject(java, org.jivesoftware.smack.XMPPConnection).init(talk.google.com, javaCast(int,5222), gmail.com); 3. login application.XMPPConnection.login(x, xx); 4. send message application.XMPPConnection.createChat([EMAIL PROTECTED]) ..sendMessage(hello); Make sure your local client is running for testing 5. close the connection and null it if you wish application.XMPPConnection.close(); application.XMPPConnection = javaCast(null,null); Just closing the connection does not reset the object and nulling seems to work well. I think nulling is a new word. Have fun :) Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258410 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Look, up in the sky! (you gotta go do this)
I was thinking Scorpio was that supervillainhttp://en.wikipedia.org/wiki/Supervillaincharacter on the *The Simpsons http://en.wikipedia.org/wiki/The_Simpsons* http://en.wikipedia.org/wiki/You_Only_Move_Twice ** ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258278 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF chat in CFMX?
Does it have to be CF based??? I just created the first two parts of chat system using JSObject and based on Jabber with Smack. It uses pushes events based on java and hands the results on over to javascript. Javascript configures a hidden windowless applet which handles the network eventlistener side. I have a link if you would like to take a look. I imagine you can hook it up to any polling jabber client too. Polling clients seem to be choppy and it removes the delay. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258079 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF chat in CFMX?
What is perfect? I think chat systems and web apps should remain on different systems and have their own resources. Databases and email servers have this set up like this. On 10/26/06, Andy Matthews [EMAIL PROTECTED] wrote: It does have to be CF based. I didn't notice that line about 6.1. That's perfect! !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 10:35 PM To: CF-Talk Subject: RE: CF chat in CFMX? http://www.opensourcecf.com/cfopenchat/ This chat room was written using Coldfusion MX 7 and ajaxCFC. If you're here, you probably know what those are. It has been tested and will run on Coldfusion MX 6.1. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 5:48 PM To: CF-Talk Subject: CF chat in CFMX? Does anyone know of a CFMX based chat system? I found a list of apps on cfopensource but the one I saw is CF7 only. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258182 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DB2 Cursor question
With JDBC I always had to set the object fist to allow that to happen. On 10/24/06, Loathe [EMAIL PROTECTED] wrote: Let's try this again. Asume the following table: aftest.tperdet mac_id (varchar) parno (varchar) ident (char) How would I write a cursor to say, pull a single row, and just return that record? Again, this is just a proof of concept, never had to use them before, just trying to get a cursor that will execute from a query block, that I can also test using a native Java class I am writing. -Original Message- From: Loathe [mailto:[EMAIL PROTECTED] Sent: Monday, October 23, 2006 9:38 PM To: CF-Talk Subject: DB2 Cursor question Never really had to user cursors before now, thank god. Now I have to :( So we are comparing performance across several different drivers and such. Right now I'm stuck on getting something that will even run. I'm trying this: cftry cfquery name=tryCursor datasource=mpestest Declare CursorPas Cursor for Select par_pas_nr From pas_data_ref Where pas_nr = 'F3LQ' open CursorPas fetch CursorPas into myField close CursorPas /cfquery cfcatch type=any cfset myVar = cfcatch.rootCause.Sqlca.getMessage() cftrace var=#myVar# inline=true / cfdump var=#cfcatch# cftrace var=#cfcatch# inline=true / cfabort /cfcatch /cftry cfdump var=#tryCursor# To see if we can execute cursors inline, becuase we cannot use stored procedures. Is there something wrong with that? I don't even know, this is cobbeled together from a couple different sources. Generated SQL: Declare CursorPas Cursor for Select par_pas_nr From aftest.pas_data_ref Where pas_nr = 'F3LQ' open CursorPas fetch CursorPas into myField close CursorPas SQL Code: -199 SQL State: 42601 TIA ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258030 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
I have a javascript programcalling a java program and it works in IE however
I have a javascript programcalling a java program and it works in IE however it uses the object tag and the other browers don't seem to know what to do. Example http://www.cfide.org/JS2J/JSTOJ2.html The goal is to use the applet push events to hand them over in a ajaxfunction i but if I can't get it to work cross browser I don't see much point. Does anyone know why netscape or firefox can't seem to use see the object tag and have a javascript function call java? The applet tag works however. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257832 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: Any way to get table names and datatypes via a query?
I always got this kind of information via the connection object and metaData() function and Claude has always offered that ODBC product. From the DSN use getConnection().getMetaData() I think. On 10/22/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote: Nice, Steve, thanks! This will save me a lot of time. Pete ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257714 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion Portal application
What makes a portal a portal? On 10/18/06, Teddy Payne [EMAIL PROTECTED] wrote: Ray Camden started a CF portal: http://www.coldfusionportal.org/ Teddy On 10/18/06, David Low [EMAIL PROTECTED] wrote: The beauty of CF has always been that you could do this very quickly yourself, without having to rely on buggy open-source projects which do more than most people would ever need, need some horrible PHP hacking to work properly, and look the same as 1001 other sites. There have been some CF versions of things like Nuke in the past but they've never really taken off. -Original Message- From: Ali Majdzadeh [mailto:[EMAIL PROTECTED] Sent: 18 October 2006 11:03 To: CF-Talk Subject: Coldfusion Portal application Hi: There are many many portals made with PHP or .Net with many features but coldfusion portals look very basic. Is there any advanced CF protal out there? Or does any company/programmer team work on a CF portal that can compete with others? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257233 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Who do i write this JAVA in CF?
This GetTaxResult getTaxResult = port.getTax(getTaxRequest); Looks like this in CF cfset GetTaxResult = CreateObject(java, port).getTax(getTaxRequest) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257310 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
I just created deserialize and view object web service in pure java inside CF
I just created deserialize and view object web service in pure java inside CF The main goal was show how you can transfer java objects into a pure java web services inside CF effectively getting around that limitation. Accepts only wddx which are deserialize java objects and it only has one method GiveToSax() (org.xml.sax.InputSource) and only returns only string data. example: cfset myQuery = QueryNew(Ticker, Sector, VarChar, VarChar) / cfwddx action=cfml2wddx input=#myQuery# output=JWS cfinvoke webservice=http://www.cfide.org/DeserializeAndViewObject.jws?WSDL; method=GiveToSax returnvariable=returnedBigString cfinvokeargument name=str value=#JWS# / /cfinvoke cfoutputpre#returnedBigString#/pre/cfoutput Returns something like this public class coldfusion.sql.QueryTable extends coldfusion.sql.Table implementsjavax.sql.RowSet, coldfusion.wddx.RecordSet { /*** CONSTRUCTORS ***/ public coldfusion.sql.QueryTable(com.allaire.cfx.Query) public coldfusion.sql.QueryTable(java.sql.ResultSet) public coldfusion.sql.QueryTable(int) public coldfusion.sql.QueryTable(coldfusion.sql.QueryTable) public coldfusion.sql.QueryTable() public coldfusion.sql.QueryTable(int ,java.lang.String) public coldfusion.sql.QueryTable(int ,[Ljava.lang.String;) /*** METHODS ***/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257131 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: jsp chartdirector and coldfusion
I was going to say wars are just jar with set up info. On 10/15/06, Richard White [EMAIL PROTECTED] wrote: after alot of searching i have managed to find how to do this. I found a link which talks about the integration of chartdirector and coldfusion. For anyone interested it is: http://www.chartdir.com/forum/view.php?site=chartdirbn=chartdir_faqkey=1051642609first=1117817200last=1027620889 thanks :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256938 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Looking for good Java resources for ColdFusion Developers
WddxDeserializer cfset FileReader = createObject(java, java.io.FileReader ).init(C://helloWDDXJWS.wddx) cfset InputSource = CreateObject(java, org.xml.sax.InputSource ).init(FileReader) cfset WddxDeserializer = CreateObject(java, coldfusion.wddx.WddxDeserializer).init() cfset theObject = WddxDeserializer.deserialize(InputSource) cfset FileReader.close() On 10/16/06, Dan Plesse [EMAIL PROTECTED] wrote: WDDX Meets Pure Java Web Service Something I always wanted to do is create objects in jws and then access them in coldfusion without createObject. Now you just point cffile and output to cfddx. The invoker cfinvoke webservice=http://localhost:8500/wddx_test.jws?wsdl; method=toLower returnvariable=lowered cfinvokeargument name=str value=HELLO LOWER /cfinvoke wddx_test.jws renamed wddx_test.txt http://www.cfide.org/wddx_test.txt The helloWDDXJWS.wddx ouput wddxPacket version='1.0'header/datastringHELLO LOWER/string/data/wddxPacket On 10/15/06, Mark Mandel [EMAIL PROTECTED] wrote: Here are all my cf / java posts: http://www.compoundtheory.com/?action=displayCategoryID=5 Enjoy! Mark On 10/14/06, Ben Nadel [EMAIL PROTECTED] wrote: Not to sell myself here, but I have started doing a bunch of exploration in java: http://www.bennadel.com/index.cfm?dax=search.searchsearch_criteria=%22j ava%22 .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -- E: [EMAIL PROTECTED] W: www.compoundtheory.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256978 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Looking for good Java resources for ColdFusion Developers
WDDX Meets Pure Java Web Service Something I always wanted to do is create objects in jws and then access them in coldfusion without createObject. Now you just point cffile and output to cfddx. The invoker cfinvoke webservice=http://localhost:8500/wddx_test.jws?wsdl; method=toLower returnvariable=lowered cfinvokeargument name=str value=HELLO LOWER /cfinvoke wddx_test.jws renamed wddx_test.txt http://www.cfide.org/wddx_test.txt The helloWDDXJWS.wddx ouput wddxPacket version='1.0'header/datastringHELLO LOWER/string/data/wddxPacket On 10/15/06, Mark Mandel [EMAIL PROTECTED] wrote: Here are all my cf / java posts: http://www.compoundtheory.com/?action=displayCategoryID=5 Enjoy! Mark On 10/14/06, Ben Nadel [EMAIL PROTECTED] wrote: Not to sell myself here, but I have started doing a bunch of exploration in java: http://www.bennadel.com/index.cfm?dax=search.searchsearch_criteria=%22j ava%22 .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -- E: [EMAIL PROTECTED] W: www.compoundtheory.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256977 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX ODBC problems..
try JDBC drivers http://www.minisoft.com/pages/middleware/jdbc/jdbc.html On 10/12/06, Ben Smith [EMAIL PROTECTED] wrote: I'm looking for a fix for this one too - seeing a similar error using a pronto ODBC driver. Alexis, Did you ever get an answer to this problem? Also, do you have any experience with minisoft on 4.5 - or with troubleshooting minisoft drivers to CF Server? -Mark ([EMAIL PROTECTED]) ok here is my problem.. I had an application that worked perfectly on CF 5.0 using the Minisoft ODBC driver for Image/sql on an HP3000 with mpe/ix 6.0. When i moved that application over to the CFMX server and set up the ODBC socket dsn i get a weird error when trying to execute any simple query. I also found out that if i put a syntax error on the query the ODBC driver will let me know of the incorrect syntax... so the queries seem to be going through but when it gets back with the results the SequeLink JDBC Driver seems to hang. am i doing something wrong? or is the ODBC socket function on CFMX buggy? Bellow is the exact error i get.. Error Occurred While Processing Request ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256622 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Looking for good Java resources for ColdFusion Developers
I have that ebook and its not that great. Forta has been doing a better job with his newer books. All the other books might have one or two chapters worth looking at. I have been mostly off road java for CF. Mostly compiling, class viewing, class loading and stuff like that and text to voice and ghost mouse movement for fun stuff for kids. http://tech.groups.yahoo.com/group/java_coldfusion_hacks/ I am posting my newer classloader code today so get it while its hot hot hot! On 10/13/06, Snake [EMAIL PROTECTED] wrote: There is a book called java for coldfusion developers. Look on amazon Russ -Original Message- From: Tom Kitta [mailto:[EMAIL PROTECTED] Sent: 13 October 2006 14:41 To: CF-Talk Subject: Looking for good Java resources for ColdFusion Developers Anyone knows of websites/ books or any other material that would make a good resource of knowledge regarding the use of Java from ColdFusion? For example, places where escaping to Java from CF would be beneficial for speed purposes. I remember a while back using Java to read test files. TK ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Soap and namespaces A bit deeper
Will Hopefully my class dumper will find its way into CF 8. I made it in like 5 mins so its not a full dump. I don't know anything about NetSuite and what it does and why. All I can do is remind you of some tools you can use. For example you also have Java Web Services you can use in addition to just normal web services. It would be very interesting if you write to a J2EE scope and have that persist and readable or shared in CF. I think that would be cool thing to do! Give that a try. try cfif NOT isDefind(session.struct) cfset session.struct = CreateObject(java, com.netsuite.webservices.platform.core_1_3.Passport) or cfset application.struct = CreateObject(java, com.netsuite.webservices.platform.core_1_3.Passport) /cfif ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256553 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ANN: ColdFusion Contest
I think its a java object or a type of socket in java. On 10/12/06, Casey Dougall [EMAIL PROTECTED] wrote: On 10/12/06, Dan Plesse [EMAIL PROTECTED] wrote: And what the hell is a data pipe? So this whole thing is a scam? Kind of the like the poor people who send me emails from far away places asking for money. I am missing my goat please help. A datapipe is a hosting company, we use them all the time for our static, or .asp sites. Sorry, couldn't resist. Casey ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256556 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: [OT] Managed DNS Services - recommendations/feedback?
Go wireless try WIMAX On 10/12/06, powell @ nauticom. net powell @ nauticom. net [EMAIL PROTECTED] wrote: We had yet another ATT T1 line failure yesterday. Even though we have a Verizon DSL as backup, that only helps for outbound traffic, since all of the DNS entries at ATT resolve to the IP address that they have assigned to the T1 line. We're looking at managed DSN services so that in the future we can have the most critical of the incoming traffic failover to the other IP address (associated with the DSL line). Ditto for inbound email messages. Anyone have recommendations (or de-recommendations)? They all see to be pretty inexpensive, so I'm a bit concerned that some of them might be living on the edge in terms of redundancy, etc. tia Reed ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256606 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: mySql connector J
What the hell is nexbid? On 10/12/06, Doug Brown [EMAIL PROTECTED] wrote: Can someone tell me what they have listed in CF for the mySql connector? Here is what I have CF DataSource = myDsn JDBC URL = jdbc:mysql://localhost:3306/myDsn Driver Class = com.mysql.jdbc.Driver Driver Name = blank Username = ROOT Password = *** I get the following error Connection verification failed for data source: java.sql.SQLException: No suitable driver available for , please check the driver setting in resources file, error: null The root cause was that: java.sql.SQLException: No suitable driver available for nexbid, please check the driver setting in resources file, error: null ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256607 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: mySql connector J
I am using the Beta 5.0.3 classloaded and it works fine in MX however my properties file points to logger=com.mysql.jdbc.log.StandardLogger which might be the one thing making a difference. On 10/12/06, Doug Brown [EMAIL PROTECTED] wrote: Will the new 5.0 connector work with MX? - Original Message - From: Steven Erat [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, October 12, 2006 6:35 PM Subject: RE: mySql connector J The generally recommended Connector/J driver is 5.03, which recently came out of Beta. Its supports MySQL database 4 and 5, but not 3.x. Of the Connector/J 3.x drivers, 3.10 and 3.13 are recommended. http://dev.mysql.com/downloads/connector/j/5.0.html http://dev.mysql.com/doc/refman/5.0/en/connector-j-versions.html -Steven Erat ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256614 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF, jdbc, SQL2k5 problem
Andrew, Should be jdbc:macromedia:sqlserver://#server_URL#:#port#/ Interesting CF does not allow a custom property file to be loaded with the JDBC URL. Add that to the CF 8 wishlist. prop file location with a browse button. On 10/10/06, Andrew Scott [EMAIL PROTECTED] wrote: jdbc:sqlserver:/stargate\dbinstanceone:1433;DatabaseName=StoneCutters On 10/10/06, Dan Plesse [EMAIL PROTECTED] wrote: I think what is needed here is a good old look see of your JDBC URL. Nothing else is needed. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256217 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Compiling Java / Error
Thanks Ben, I started using the java.lang.ClassLoader and it works just as well, so use that instead. Dan On 10/11/06, Ben Nadel [EMAIL PROTECTED] wrote: Dan, I have not had a chance yet. Crazy deadlines! Plus I have to get permissions to get onto the ColdFusion installation... My network login doesn't have that kind of access. I will try at my earliest convenience. Thanks for all the help! -Ben .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Dan Plesse [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 9:57 PM To: CF-Talk Subject: Re: Compiling Java / Error Ben, Did you try it or not? Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256438 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ANN: ColdFusion Contest
And what the hell is a data pipe? So this whole thing is a scam? Kind of the like the poor people who send me emails from far away places asking for money. I am missing my goat please help. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256466 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Simple CFDump
Well for Java objects you can create simple text out output. I posted an example already just look around for it. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cfadmin getAdminHash error after updater2
I got that crap too ! I think its a very common error. Did you fix it yet? Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256471 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Soap and namespaces A bit deeper
Will, Did you fix the error and did you call the constructor correctly? Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256473 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automating data source password changes
Dan, First CF 6 does not have the admin stuff only CF 7. (I am not sure if that was because I was selling lots admin software and add ons or not) Second the password attribute in cfquery overrides the datasource password and lastly you have to encode the password before you add it to neo. I can't imagine editing neo-query manually and adding an unencrypted password. If it works let us know. I assume CF decrypts the password before it is used anyway. Of course I know how to encrypt and in the right format, but I am not telling. Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF, jdbc, SQL2k5 problem
I think what is needed here is a good old look see of your JDBC URL. Nothing else is needed. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256075 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Automating data source password changes
Whoops cfide.administrator.components.datasource is around in 6 I assumed incorrectly he was talking about the Admin API. Still the password has to be a special format I think that was a pain. Neil the truth is out there. Go google and post the solution. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256163 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automating data source password changes
How are getting an encrypted value before it gets placed in neo-query? If you pull out an encrypted value from neo-query then you are getting the old value since neo is your backup file. What you need to do is create new value and place those values into neo. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256194 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Compiling Java / Error
Ben, Did you try it or not? Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256210 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Compiling Java / Error
Ben, Why don't you compile it with coldfusion via jws and then classload it via coldfusion bootstrap? I would alway keep code in each class to keep private static final long serialVersionUID = 1820017752578914078L; from having those errors. Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256005 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Compiling Java / Error
Great! Here are the steps: Put the java source on your web root and change the .java to .jws Then call it like a web service with ?wsdl so its helloWorld.jws?wsdl Now if all went well then your class is hanging inside the jwsClasses directory. You then have go out and pull that class inside CF. You said you are already pulling classes in with a URL classloader, so just give it that directory and you are done! cfset DansArray[1] = createObject(java,java.net.URL ).init(file:C:\CFusionMX7\wwwroot\WEB-INF\jwsClasses\) cfset GetObject = createObject(java, coldfusion.bootstrap.BootstrapClassLoader ).SystemClassLoader.newInstance(DansArray).loadClass(helloWorld).newInstance()/ If you leave out .newInstance() you can start to play around with reflection and make a class dumper. On 10/9/06, Ben Nadel [EMAIL PROTECTED] wrote: Dan, I appreciate that, but here is what I just read Blah blah blah blah blah. I have NO IDEA what you are talking about. This is Day One Java for me :) What is JWS? What is bootstrapping? I have stuff compiling right now in 1.4.2 so, don't feel any pressure to go more in depth. But if you do, I am willing to learn. Thanks, Ben .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Dan Plesse [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 1:50 PM To: CF-Talk Subject: Re: Compiling Java / Error Ben, Why don't you compile it with coldfusion via jws and then classload it via coldfusion bootstrap? I would alway keep code in each class to keep private static final long serialVersionUID = 1820017752578914078L; from having those errors. Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256069 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?
You can also use java util props and keep shrinking the code until you get one line. Like the CF classLoader, one line is all you need! cfset application.sqlserver_connection = createObject(java, java.lang.Class).forName(macromedia.jdbc.MacromediaDriver).newInstance().connect(#jdbc_str#, props) It would interesting if you load these lines into CF from a props file. Call it sql_server.properties cfset props = createObject(java, java.util.Properties) cfset props.setProperty(netAddress, ) cfset props.setProperty(portNumber, 1433) cfset props.setProperty(maxPooledStatements, 0) cfif NOT isdefined(application.sqlserver_connection) OR application.sqlserver_connection.isClosed() EQ YES cfset application.sqlserver_connection.close() /cfif ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255914 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?
I think this is it. cfset FileInputStream = createObject(java, java.io.FileInputStream ).init(sqlServer.properties) cfset props = createObject(java, java.util.Properties).init() cfset props.load(FileInputStream) cfset FileInputStream.close() ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255915 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?
And finally if isClosed() equals YES then its closed and a NO means its open. cfset FileInputStream = createObject(java, java.io.FileInputStream ).init(C:\CFusionMX7\wwwroot\sqlServer.properties) cfset props = createObject(java, java.util.Properties).init() cfset props.load(FileInputStream) cfset FileInputStream.close() cfset conn = createObject(java, java.lang.Class).forName( macromedia.jdbc.MacromediaDriver).newInstance().connect(jdbc, props) cfdump var=#conn.isClosed()# cfset conn.close() ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255916 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?
It mainly shows a way to make your code more compact and reading stuff from a properties file and using that infomation in your JDBC connection. Does SQL server send out information when it restarts? If isClosed() is YES sever is down and another check or ping isClosed() No means it's back. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255929 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Soap and namespaces A bit deeper
Will, When you get Unable to find a constructor for class com.netsuite.webservices platform.core_1_3.RecordRef that accepts parameters of type ( java.lang.String, java.lang.String, com.netsuite.webservices.platform.core_1_3.types.RecordType ). It means you did not call the constructor correctly because your args are wrong. I wrote a java class dumper here and post it a weeks ago please use that code and find out what the args list is and or make sure the object you passed is the write type. or pass it to my online class dumper at cfide.org good luck, dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255935 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How to get MS-Access Table Column info without cfobjec
To get table info from MS Access you need to talk to the connection object and ask the connection via a method which has four args. Scroll down to see the output http://www.cfide.org/getColumnLength.html A jws web service is the best way if you can't handle the null requirements for the method if you are still in CF 6. Source examples http://www.geocities.com/empiricallyspeaking/Access_getTablesCF5.txt http://www.geocities.com/empiricallyspeaking/Access_getTables.txt Change txt into jws and call it like a web service. and add close() methods to the connection object and ResultSet object. On 10/7/06, Chetna Sharma [EMAIL PROTECTED] wrote: How to list all the table in the MSAccess database.Iam firing query if on access then i am able to get the list of the table but from the vb.netapplication iam not able to get this as it is diplaying an error Read Permission not on msysobject so please tell how to retreive tables list and repair the database from the application Thanks Chetna Sharma Unfortunately, read permissions on table 'MSysObject are not set. I can't open the db in either Access97 or Access2000 on WinNT or WinXP -- hangs on NT, crashes on XP. I was able to repair the db successfully, but still can't open it. Yet, I can manipulate it with CFMX for any table I can remember. Any way to set the MSysObject permissions through an SQL Query? TIA Dick Part of the inhumanity of the computer is that, once it is competently programmed and working smoothly, it is completely honest. - Isaac Asimov - On Monday, October 7, 2002, at 04:36 AM, Craig Dudley wrote: ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255910 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java ClassLoader / JavaLoader.cfc Question
It's the only logical solution. I think my code is out there on the net and it might have cost me some dollars because the problem had to do with JDBC drivers and I am assuming the other classloaders still can't do JDBC but maybe they can do it now, darn. Wishlist for CF 8: A way report a JDBC connection socket error while inside a CFML page. Right now the only way to do that via the Admin. On 10/4/06, Matthew Lesko [EMAIL PROTECTED] wrote: Going to try Dan's suggestion. If that still doesn't work I will post some code. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255462 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java ClassLoader / JavaLoader.cfc Question
I retest of javaloader version 2 HelloWorld = loader.create(org.hsqldb.jdbcDriver); hello = HelloWorld.init(); loads fine and I can see the object but class = createObject(java, java.lang.Class).forName( org.hsqldb.jdbcDriver); still blows up class = createObject(java, java.lang.Class); class.forName(org.hsqldb.jdbcDriver); still blows up! Good I am still safe. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255474 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfinvoke throwing jsp compiler error
Wow that's not even a valid url. you need a dot plus cfc myCFC.cfc?wsdl On 10/4/06, Les Mizzell [EMAIL PROTECTED] wrote: Tested locally this works great: cfinvoke webservice=http://www.myURL.com/components/myCFC?wsdl; method=getEMPLOYEES returnvariable=getSTAFF When put out to the host, I get: coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: /usr/local/coldfusionmx7/runtime/bin/jikesw: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory. I've tested it on a few other servers and it works fine. Is this a mapping problem on the server? What do I need to ask the host to fix for me so it works? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255538 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java ClassLoader / JavaLoader.cfc Question
It could be the order in which you loaded everything. You have to load the jars first then the classes. The second issue could be the level or depth of the classloader might be too shallow. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255299 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: No buffer space available (maximum connections reached?)
Jochem, Are you saying users can turn connection pooling off and people are getting their collective hands dirty with JDBC conections or is it if the connection fails reconnect and hence persist? What I meant was if someone was making connections outside the scope of pooling and making a direct socket connections with the server and not using the close() methods or not catching a socket error and thus not closing the connection correctly. It sound like an *orphaned* connection deletion problem with CF. I use JDBC methods directly to test if the socket is open and take action accordingly and hence the three link system and evently embeding after all three databases MS Access, MySql and SQL Server broke for one reason or another. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254905 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: No buffer space available (maximum connections reached?)
Richard, I use *netstat -a* The Connection object has methods to test the connection Can you provide a full stack trace? Does it look like this? Error Executing Database Query. [Macromedia][SQLServer JDBC Driver]Error establishing socket. No buffer space available (maximum connections reached?): JVM_Bind? You can domains/domain1/serverx/config/server.xml change the port address From reading some posts on various forums this looks like a TCP/IP root cause. I.e. sql server can no longer find a port that it can pass off the connection to (within itself) in order to free up its default port to service incoming requests. ( could be wrong here). ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254919 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4