[cfaussie] Re: Someone help with this bit of code?
Yes... hence the need for the order by clause on the original query when intending to use the group by in the cfoutput following the query On 9/5/06, Andrew Scott <[EMAIL PROTECTED]> wrote: > > Scott, > > I think you hit the nail on the head, I sort of knew that so basically in > the original code I am dealing with it would drop a record if the record > BO_ID was the same as the previous output row, which now makes sense as to > why there is a difference. > > Thanks Scott > > > Senior Coldfusion Developer > Aegeon Pty. Ltd. > www.aegeon.com.au > Phone: +613 8676 4223 > Mobile: 0404 998 273 > > > > > > -- Rich --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Why buy into CF?
I've said it before and will say it againif your company gets to the top 200 companies on the ASX microsoft will be so far up your ass that you'll think you've got a second tonguethere whole marketing strategyis to get as many of the top 200 companies as possible, then they'll advertise in the magezines that the smaller companies read with ads that say stuff like "85% of the top 200 companies in australia use microsoft " then all the dumb managers think "$hit everyone is using this thing, I got no idea what it is but we should scrap what we use now even though I have no idea what we use now and just use this product that everyone is using" Macrobe should simply do the same, a part from the whole top 200 companies MS also targets government hard ass. M@ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Why buy into CF?
I think Microsoft have the advantage over Adobe in that .Net is just one part of a whole solution that they can provide. When you get windows you get .Net. If you buy CRM, you get .Net. So when it comes time to do new projects or want to customise existing solution or want to integrate into their systems - what are you going to use? And as easy and as wonderful as ColdFusion is - it is going to be a hard push to convince people to *buy* another product that in their eyes does the same thing.How do you compete with free*?* free may not actually mean won't cost money :-) On 9/5/06, Darren Tracey <[EMAIL PROTECTED]> wrote: I agree with Jeremy on this one too.It may be well and good to promote a strong grassroots love for CF inthe developer community, but with a complete absence of visibility tothe decision making tier of businesses (a group which is almost mutually exclusive to the developer community), it gets very hard forthe developers to argue the case for this 'unknown' solution, andsenior management just doubt the developers strong opinions (or worse,start to consider them zealots), as its seems to senior management that the developers suggestions are in complete disconnect to what seniormanagement can see of the market.I don't know if advertising is the solution, and I accept that its veryexpensive, but something needs to be done to raise CFs visibility to the non developer community. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: ColdFusion Hosting Australia
Power Business Systems have been very happy with fastHit over the last few yearsWe use them for Farcry Hosting.On 9/5/06, CF Aussie Guy < [EMAIL PROTECTED]> wrote:Hi all,Currently looking for somewhere to host a site, have found the following via google... Can anyone give feedback on any of them, or recommendations on others not listed.FAST.hit : http://fasthit.net/Inevative : http://www.inevative.com.au/Core Digital Media : http://www.core.com.au/Aus Tiger : http://www.austiger.com.au/Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: ColdFusion Hosting Australia
Hi CF Guy,just a vote for Austiger, I have been with Craig and the guys for several years and can not fault them. They are not the cheepest guys on the block.To be fair, i don't know if their web front end/ control pannel is any good - i have never used it. I alwasy email/phone their support team. Nothing is ever a problem and appart from the odd db restore everything is done then and there, on the phone. great customer service - you can't go past it(no, they didn't pay me to say this but Craig you can buy me a beer)Lucas.On 9/5/06, CF Aussie Guy <[EMAIL PROTECTED]> wrote: Hi all,Currently looking for somewhere to host a site, have found the following via google... Can anyone give feedback on any of them, or recommendations on others not listed.FAST.hit : http://fasthit.net/Inevative : http://www.inevative.com.au/Core Digital Media : http://www.core.com.au/Aus Tiger : http://www.austiger.com.au/Thanks. -- Lucashttp://www.thebitbucket.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Code Counting
Anyone know any good code counting tools, need to count code from Coldfusion Java C++ Regards Dale Fraser http://dale.fraser.id.au --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Why buy into CF?
Ben Forta is coming to my work next tuesday for a visit, maybe they need more ben forta's (As he can only be in on place at one time) and have them continually going around the companies.M@ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Why buy into CF?
(I really promised myself I'd shut up but I gotta correct a couple of things). Andrew, that's true in the MS world, and sadly, it seems this is also Jeremy's (earlier post) reality too. it's not just .NET. We're buying in a huge LMS (CMS for learning, really)... built in Java. Guess what the extentions will be in? Java/JSP. (nevermind that CF *is* java and has JMS gateways built in... that argument failed to get any traction). The point? Platform lock-ins will *always* be a problem. CF has to rise above that. Be thankful you're not locked into Powerbuilder, or Lotus Notes or Informix 4GL. two more points: Grant Strakers' presso in buying into the [MACR/Adobe] vision to increase marketshare was based on integration with other [MACR/Adobe] products. It's gotta account for something. Heck, for my market sector, a CF tie-in with, say, Breeze and Captivate would be a giant-killer. For financial sectors or government, integration with LiveCyclePDF generation might be it. Apart from class libraries, isn't that what .NET *really* is? the glue between products? Interop is king. > Ben Forta is coming to my work next tuesday for a visit, M@: would it be a safe guess that this what Ben Forta will really be doing? I bet he's not going to bore people with stuff CF has been doing for ages. The underlying message will probably be CF with RIA's Flex and dynamic data, probably FDS, gateways, etc. tell us how it went, eh? > maybe they need > more ben forta's (As he can only be in on place at one time) and have them > continually going around the companies. sounds good to me. There is no doubt in my mind that Adobe will make an effort integrating CF with a mountain of funky Adobe stuff in releases to come. Stuff that will be a real buzz to work with, with interop _that_no_other_company_can_do_. You know this. I know this. but my bosses boss doesn't --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Code Counting
What sort of stats are you after Dale? Mark On 9/5/06, Dale Fraser <[EMAIL PROTECTED]> wrote: > > > > > Anyone know any good code counting tools, need to count code from > > > > Coldfusion > > Java > > C++ > > > Regards > Dale Fraser > > http://dale.fraser.id.au -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Code Counting
Number of lines of code Number of lines of comments Number of blank lines Number of lines of specific keywords ie (cffunction) Regards Dale Fraser http://dale.fraser.id.au -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Mandel Sent: Wednesday, 6 September 2006 09:50 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Code Counting What sort of stats are you after Dale? Mark On 9/5/06, Dale Fraser <[EMAIL PROTECTED]> wrote: > > > > > Anyone know any good code counting tools, need to count code from > > > > Coldfusion > > Java > > C++ > > > Regards > Dale Fraser > > http://dale.fraser.id.au -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Code Counting
What would you need to know that for, optimisation or seeing if they met a strict code per day KPI? It always interest me why people really need this info? On 9/6/06, Dale Fraser <[EMAIL PROTECTED]> wrote: Number of lines of codeNumber of lines of commentsNumber of blank linesNumber of lines of specific keywords ie (cffunction) RegardsDale Fraserhttp://dale.fraser.id.au-Original Message-From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On BehalfOf Mark MandelSent: Wednesday, 6 September 2006 09:50 AMTo: cfaussie@googlegroups.com Subject: [cfaussie] Re: Code CountingWhat sort of stats are you after Dale?MarkOn 9/5/06, Dale Fraser <[EMAIL PROTECTED]> wrote:> Anyone know any good code counting tools, need to count code from Coldfusion>> Java>> C++>>> Regards> Dale Fraser >> http://dale.fraser.id.au--E: [EMAIL PROTECTED]W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Why buy into CF?
On 9/6/06, M@ Bourke <[EMAIL PROTECTED]> wrote: > Ben Forta is coming to my work next tuesday for a visit, maybe they need That's very interesting, considering that according to his website he'll be in London next Tuesday. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Code Counting
Andrew, One year ago I pitched rewriting a large application from Java to Coldfusion. One of my main selling points was less code = quicker and easier to maintain long term. We are done now, and I want some details. Regards Dale Fraser http://dale.fraser.id.au From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Andrew Scott Sent: Wednesday, 6 September 2006 10:26 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Code Counting What would you need to know that for, optimisation or seeing if they met a strict code per day KPI? It always interest me why people really need this info? On 9/6/06, Dale Fraser <[EMAIL PROTECTED]> wrote: Number of lines of code Number of lines of comments Number of blank lines Number of lines of specific keywords ie (cffunction) Regards Dale Fraser http://dale.fraser.id.au -Original Message- From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Mark Mandel Sent: Wednesday, 6 September 2006 09:50 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Code Counting What sort of stats are you after Dale? Mark On 9/5/06, Dale Fraser <[EMAIL PROTECTED]> wrote: > > > > > Anyone know any good code counting tools, need to count code from > > > > Coldfusion > > Java > > C++ > > > Regards > Dale Fraser > > http://dale.fraser.id.au -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Code Counting
Hmm, This has been discussed before and there was a program suggested in the past, and for the life of me I can't recall it. Let me do a quick scan through my emails for you. On 9/6/06, Dale Fraser <[EMAIL PROTECTED]> wrote: Andrew, One year ago I pitched rewriting a large application from Java to Coldfusion. One of my main selling points was less code = quicker and easier to maintain long term. We are done now, and I want some details. RegardsDale Fraser http://dale.fraser.id.au From: cfaussie@googlegroups.com [mailto: cfaussie@googlegroups.com] On Behalf Of Andrew ScottSent: Wednesday, 6 September 2006 10:26 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Code Counting What would you need to know that for, optimisation or seeing if they met a strict code per day KPI? It always interest me why people really need this info? On 9/6/06, Dale Fraser < [EMAIL PROTECTED]> wrote: Number of lines of codeNumber of lines of commentsNumber of blank linesNumber of lines of specific keywords ie (cffunction) RegardsDale Fraserhttp://dale.fraser.id.au-Original Message- From: cfaussie@googlegroups.com [mailto: cfaussie@googlegroups.com] On BehalfOf Mark MandelSent: Wednesday, 6 September 2006 09:50 AMTo: cfaussie@googlegroups.com Subject: [cfaussie] Re: Code CountingWhat sort of stats are you after Dale?MarkOn 9/5/06, Dale Fraser < [EMAIL PROTECTED]> wrote:> Anyone know any good code counting tools, need to count code from Coldfusion>> Java>> C++ >>> Regards> Dale Fraser >> http://dale.fraser.id.au-- E: [EMAIL PROTECTED]W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Code Counting
Sounds like you would need a specific coldfusion one... shouldn't be hard to write up with some regex's and the like. But no, I don't know anything in particular off the top of my head - sorry! Mark On 9/6/06, Dale Fraser <[EMAIL PROTECTED]> wrote: > > Number of lines of code > Number of lines of comments > Number of blank lines > Number of lines of specific keywords ie (cffunction) > > Regards > Dale Fraser > > http://dale.fraser.id.au -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Code Counting
Came across this one in a discussion as being good http://www.downloadjunction.com/product/software/27035/index.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Using CFCProxy
I never thought I would need to do this, but I need to invoke ColdFusion components from inside Java (and I will invoke the Java code in ColdFusion). I've written a simple test: import coldfusion.cfc.CFCProxy; public class UseCFCProxy { public String doSomething() throws Throwable { CFCProxy aCFC = new CFCProxy("path\\to\\Test.cfc"); Object result = aCFC.invoke("aMethod", new Object[] { }); return (String)result; } } and Test.cfc looks like this: I try to use the Class like this: and I always get a JRun Servlet Error. Checking the log files, I see a rather long stack trace: 06/09 16:22:08 error coldfusion/cfc/CFCProxy java.lang.NoClassDefFoundError: coldfusion/cfc/CFCProxy at com.renewtek.framework.UseCFCProxy.doSomething(UseCFCProxy.java:8) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at coldfusion.runtime.StructBean.invoke(StructBean.java:391) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1662) at cftest2ecfm386618807.runPage(\\medvwfs02\dev\Develop\sdajb001\scrap\test.cfm:3) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Any ideas? Has anyone had success with this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Using CFCProxy
I'll hazard a guess, and say that CFCProxy is not in the classpath? I presume you've followed the instructions at: http://66.102.7.104/search?q=cache:gaqNebVbFEoJ:www.forta.com/misc/cfcproxy.htm+cfcproxy&hl=en&gl=au&ct=clnk&cd=1 (Forta's site was slow, so here's a google cache link instead). Scott Arbeitman wrote: > I never thought I would need to do this, but I need to invoke > ColdFusion components from inside Java (and I will invoke the Java code > in ColdFusion). > > I've written a simple test: > > import coldfusion.cfc.CFCProxy; > > public class UseCFCProxy { > > public String doSomething() throws Throwable { > CFCProxy aCFC = new CFCProxy("path\\to\\Test.cfc"); > Object result = aCFC.invoke("aMethod", new Object[] { }); > return (String)result; > } > > } > > and Test.cfc looks like this: > > > > > > > I try to use the Class like this: > >"com.renewtek.framework.UseCFCProxy").init() /> > > > > > > > > and I always get a JRun Servlet Error. Checking the log files, I see a > rather long stack trace: > 06/09 16:22:08 error coldfusion/cfc/CFCProxy > java.lang.NoClassDefFoundError: coldfusion/cfc/CFCProxy > at com.renewtek.framework.UseCFCProxy.doSomething(UseCFCProxy.java:8) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at coldfusion.runtime.StructBean.invoke(StructBean.java:391) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1662) > at > cftest2ecfm386618807.runPage(\\medvwfs02\dev\Develop\sdajb001\scrap\test.cfm:3) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) > at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) > at > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225) > at > coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) > at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) > at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) > at > coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) > at > coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) > at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) > at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) > at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) > at > coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115) > at coldfusion.CfmServlet.service(CfmServlet.java:107) > at > coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) > at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) > at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > at > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) > at > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) > at > jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > > Any ideas? Has anyone had success with this? > > > > > -- Haikal Saadh Applications Programmer ICT Resources, TALSS QUT Kelvin Grove --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Using CFCProxy
How are you loading your test Java case? Is it in the CF Classpath? Mark On 9/6/06, Scott Arbeitman <[EMAIL PROTECTED]> wrote: > > I never thought I would need to do this, but I need to invoke > ColdFusion components from inside Java (and I will invoke the Java code > in ColdFusion). > > I've written a simple test: > > import coldfusion.cfc.CFCProxy; > > public class UseCFCProxy { > > public String doSomething() throws Throwable { > CFCProxy aCFC = new CFCProxy("path\\to\\Test.cfc"); > Object result = aCFC.invoke("aMethod", new Object[] { }); > return (String)result; > } > > } > > and Test.cfc looks like this: > > > > > > > I try to use the Class like this: > > "com.renewtek.framework.UseCFCProxy").init() /> > > > > > > > > and I always get a JRun Servlet Error. Checking the log files, I see a > rather long stack trace: > 06/09 16:22:08 error coldfusion/cfc/CFCProxy > java.lang.NoClassDefFoundError: coldfusion/cfc/CFCProxy > at com.renewtek.framework.UseCFCProxy.doSomething(UseCFCProxy.java:8) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at coldfusion.runtime.StructBean.invoke(StructBean.java:391) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1662) > at > cftest2ecfm386618807.runPage(\\medvwfs02\dev\Develop\sdajb001\scrap\test.cfm:3) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) > at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) > at > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225) > at > coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) > at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) > at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) > at > coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) > at > coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) > at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) > at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) > at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) > at > coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115) > at coldfusion.CfmServlet.service(CfmServlet.java:107) > at > coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) > at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) > at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > at > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) > at > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) > at > jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > > Any ideas? Has anyone had success with this? > > > > > -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---