On Thu, Jul 15, 2010 at 10:37 AM, Steve Of LA <[email protected]> wrote:
> I’m connecting to Powerbuilder App Server via the CFObject construct. > I’m able to call a routine by the name of “web_calculate_interest”, > but when I make a new routine called “web_calculate_interest_monthly”, > I get a CFML error: java.lang.NoSuchMethodError. > Based on what you have below the method names have "cf_" in front of them so I'm assuming you just omitted that here? Just making sure the name's right (though I'm sure you've checked that!). Also when you say "new routine"--new means what exactly? Have you tried restarting OpenBD and/or your servlet container to see if maybe it caches method stubs or definitions? (I'm totally reaching here as I'll explain in a moment.) > > My webclient code is like this: > > <cfobject action="connect" type="java" class="PBWrp" name="PBWrp"> > Now here I have to admit my total ignorance of this code construct, so I'm curious what specifically you're doing here. I've just never done an action of connect on a java object. If you don't mind enlightening me, what specifically is this doing? It looks like you have the java objects locally in a JAR file, right? So what does connect do vs. just instantiating the Java class? My other thought would be do you maybe have two versions of the JAR file in the mix, one in the OpenBD WEB-INF/lib directory and the other in a higher-level lib directory (I'm clueless on XAMPP as well so forgive me if there is no higher-level lib directory)? I realize I asked more questions than I answered, but hopefully that'll at least facilitate some discussion. ;-) -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon online manual: http://www.openbluedragon.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
