Re: Memory Usage Question
Java byte code - that is what is going to be in memory. I expect a CFC etc would relate to a particular Java object however while I can dump what is in RAM have not learned how to understand the output and join a CFM to an object. I wish I could see WHAT was taking up the ram, i.e a specific array, cfc instances, etc etc I think JVM logging or even Java Dev Kit programs like Jconsole and Jvisualvm will perhaps show which Java memory buffer (New/Tenure/Perm) is being consumed. CF monitor will probably help you see what CFM CFC etc is running. So once you know which buffer is being consumed perhaps you can allocate more to that until your able to short out which CFM etc is taking the RAM. Previously you mention SeeFusion. I have no recent SeeFusion experience to comment very much, perhaps you can check the buffers make JVM memory changes to cope and check what CFM CFC is running. Regards, Carl. It would be good to know what CF version and edition and what Java is CF using? Regards, Carl. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339791 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Webservice error after CF 8.01 update CF FAILS TO START! Error loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll
Wow very interesting and difficult problem. I am a bit late in reading this detail and have nothing to add over what others have covered. Curious is it fixed and what was to solution? Regards, Carl. Well, its 2am and I am still trying to figure this one out. I've reinstalled CF now about 5 times, I get the same error (with zero details!) everytime. I've tried installing to a new partition - same error. I've logged on with a new admin account and installed from there, same error. I've tried multiple JVMs, same thing. If I open a command prompt and go to 'c:\coldfusion8\runtime\bin\' and run any of executables directly (like sniffer.exe or xmlscript.exe - I get the same error Error loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll. Theres nothing in any logs. I don't know what else to do. How can I get a more detailed error message or insight into what is happening? Could this permissions related? I've tried giving 'everyone' full access to the CF directory. Running the service under an admin account - all with no luck... Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339792 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Webservice error after CF 8.01 update CF FAILS TO START! Error loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll
Just noticed the answer in other thread. Interesting solution Mack. Wow very interesting and difficult problem. I am a bit late in reading this detail and have nothing to add over what others have covered. Curious is it fixed and what was to solution? Regards, Carl. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339793 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Is this expected behaviour for a table in a cfc passed back?
OK - this took me a while to see what was happening, and need to confirm if this happens to other people, or if this is expected behaviour. Create a cfc with this function cffunction access=public name=test output=true returntype=string cfsavecontent variable=local.selectlayout table fieldset trtdtest/td/tr /fieldset /table /cfsavecontent cfreturn local.selectlayout /cffunction invoke the cfc and output the return: cfinvoke component=#application.cfc.email# method=test returnvariable=returnedvar / Cfoutput#returnedvar#/cfoutput This is what I get: fieldset /fieldsettable tbodytrtdtest/td/tr /tbody/table Note it shoves the fieldset outside the table, and adds tbody. Do I have something else (rogue code somewhere) that is forcing this behaviour, or does this happen with you? Stephen ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339794 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dumping VAR Scope?
perhaps just to debug this particular issue, you could install the trial version of cf9 so that you can cfdump the local scope. Russ On Sat, Dec 4, 2010 at 11:25 PM, Rick Root rick.r...@gmail.com wrote: On Sat, Dec 4, 2010 at 10:15 AM, andy matthews li...@commadelimited.com wrote: If you're running CF9, you can dump the LOCAL scope. Variables are placed in this scope by default in CF9. Thanks. We're not talking about CF9. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339795 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is this expected behaviour for a table in a cfc passed back?
Hi Stephen, I happen to be writing some HTML form creating CFCs at this very moment so doing a quick test showed the result as it should (on CF8), the fieldset did not move in the source code but I should point out that what you have is not valid HTML and will break. Maybe your browser is trying to fix it. On 5/12/2010 10:31 PM, Stephen Cassady wrote: OK - this took me a while to see what was happening, and need to confirm if this happens to other people, or if this is expected behaviour. Create a cfc with this function cffunction access=public name=test output=true returntype=string cfsavecontent variable=local.selectlayout table fieldset trtdtest/td/tr /fieldset /table /cfsavecontent cfreturn local.selectlayout /cffunction invoke the cfc and output the return: cfinvoke component=#application.cfc.email# method=test returnvariable=returnedvar / Cfoutput#returnedvar#/cfoutput This is what I get: fieldset /fieldsettable tbodytrtdtest/td/tr /tbody/table Note it shoves the fieldset outside the table, and adds tbody. Do I have something else (rogue code somewhere) that is forcing this behaviour, or does this happen with you? Stephen -- Yours, Kym Kovan mbcomms.net.au ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339796 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dumping VAR Scope?
On Sun, Dec 5, 2010 at 6:49 AM, Russ Michaels r...@michaels.me.uk wrote: perhaps just to debug this particular issue, you could install the trial version of cf9 so that you can cfdump the local scope. It's more of a theoretical discussion. My coworker (who actually wanted to know) ended up re-writing the function and local scoping all the variables :) I will try that other potential method when I get a chance though... Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339797 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: .NET errors after CF 9.01 Update
A reboot resolved this problem for me as well On Sat, Dec 4, 2010 at 10:58 PM, Rick Root rick.r...@gmail.com wrote: On Wed, Dec 1, 2010 at 11:24 AM, Stefan Richter ste...@flashcomguru.comwrote: E so I tried rebooting the server... now getting a blank page which is much, much better. Will keep you posted but it seems ok now. So by blank page you mean you're successfully claling .NET dll's now? I'm having the exact same issue... we only use one .NET call, to create virtual directories in IIS automatically... but it quit working... Pete Freitag's blog entry helped me figure out that I needed to copy the neo-dotnetproxy.config file to each instance, which got me to the error you were seeing. I got a little more error information from the error.log in C:\Coldfusion9DotNetService (but it really isn't helpful to me) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339798 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfinvoke smartermails webservices
I am working with smartermail's webservice functions. I believe that I have the invoke code written properly but I am getting in return what looks like the .NET methods that I need to retrieve my results. Ok so here is the result string that I get from the following code. String : [Ljava.lang.String;@28ed4b76 TypeDesc : org.apache.axis.description.typed...@72f544f7 I am confused because I am trying to ge a list of the MailingLists from smartermail and I know that the list is called Test. Do you know why I would get the results above? here is my code and a link to the page running this code is http://www.ourppimarketing.com/Wrapper/test.cfm cfinvoke webservice=http://mail.ourppimarketing.com:9998/Services/svcMailListAdmin.asmx?WSDL; method=GetMailingListsByDomain returnvariable=wsResults cfinvokeargument name=AuthUserName value=/ cfinvokeargument name=AuthPassword value=/ cfinvokeargument name=DomainName value=ourppimarketing.com/ /cfinvoke cfdump var=#wsResults# cfdump var=#wsResults.ListNames# cfset TempQuery = QueryNew(ListNames) cfloop collection=#wsResults.ListNames# item=a cfset QueryAddRow(TempQuery) cfset QuerySetCell(TempQuery, ListNames, trim (wsResults.ListNames)) cfoutput#a# : #wsResults.ListNames[a]#/cfoutput /cfloop ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339799 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dumping VAR Scope?
It's more of a theoretical discussion. My coworker (who actually wanted to know) ended up re-writing the function and local scoping all the variables :) I will try that other potential method when I get a chance though... The re-write is probably for the best. The undocumented stuff is only good for debugging, and I believe they removed it anyway in CF9. -Leigh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339800 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dumping VAR Scope?
You can't. This one reason why, prior to CF9, I always did var local = {}; at the top of my functions, and placed all function-local vars into that struct. On Fri, Dec 3, 2010 at 11:15 AM, Rick Root rick.r...@gmail.com wrote: How do you dump the var scope inside a CFC? Qualifiers - not on CF9, and not using cfset var LOCAL = StructNew() I can tell you what DOESN'T work. cfdump var=#variables# cfdump var=#variables.myFunctionName# Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339801 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dumping VAR Scope?
On Sun, Dec 5, 2010 at 3:49 PM, Brian Kotek brian...@gmail.com wrote: You can't. This one reason why, prior to CF9, I always did var local = {}; at the top of my functions, and placed all function-local vars into that struct. Definately a best practice for earlier versions... I've been doing that myself for a year or so.. but I've been at this job since 2002, so there's some code that doesn't do it ;) Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339802 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm