On Wednesday, July 31, 2002, at 02:20 PM, Matt Liotta wrote: > All of the Web services stuff is in webservices.jar. > >
OK, I made webservices.jar accessable to Mac OS X JVM with a quick fix that works for the jdbc drivers-- putting a copy in /Library/Java/Extensions * I also put a copy of java2wsdl.jar and wsdl2java.jar in the same folder. This still fails, but the nature of the error has changed (below) * when I first started porting CFMX to OS X, Jesse Noller said I should look in /runtime/bin/jvm.config for clue to how the java classpath & parameters should be changed to reflect that we were using the Mac OSX JVM not the one installed by CFMX. This was pretty hard from my perspective -- I didn't have the java source, so I was reverse engineering (in a foreign language). I changed the parameters as best I could determine (not being a Java person) to no avail -- these didn't solve the problem I was having at the tine (not finding the pointbase jdbc driver) By accident, I stumbled on another driver (not CFMX) in the /Library/Java/Extensions folder -- I copied the pointbase driver there, and Voila!, it worked (CFMX forund it). One thing always bothered me about the jvm.config file -- the # JVM classpath java.class.path={application.home}/runtime/../../src,{application.home}/lib/ cfusion.jar,{application.home}/runtime/pointbase/lib/pbclient42RE.jar, {application.home}/runtime/pointbase/lib/pbembedded42RE.jar,{application.home} /runtime/pointbase/lib/pbserver42RE.jar,{application.home}/runtime/pointbase/ lib/pbtools42RE.jar,{application.home}/runtime/lib/webservices.jar As near as I could figure {application.home} should be /opt/coldfusionmx But, the first path didn't make any sense {application.home}/runtime/../../src as there was no src folder 2 levels above /runtime/ in the Linux install When I started having problems with WS compilation, I remembered this -- don't know if it is related or not! Sure is tedious doing this with a blindfold -- seems as though the right person, with knowledge of what is supposed to happen and how all the pieces fit together, would have the necessary info at his fingertips. As-Is, I've been fiddling with this for about a week. Anyway here is the failure with the repositioned jar files: Dick P.S. I also found some Axis docs among the CFMX docs & am reviewing them now! Error Occurred While Processing Request com/techtrader/modules/tools/bytecode/BCEntity The Error Occurred in /opt/coldfusionmx/wwwroot/mycfmxapps/WS1.cfm: line 10 8 : <cfinvokeargument 9 : name="sourcedata" value="Hello world, friend"> 10 : </cfinvoke> 11 : <cfoutput>#varName#</cfoutput> 12 : ------------------------------------------------------------------------ Please Try The Following: * Check the CFML Reference Manual to verify that you are using the correct syntax. * Search the Knowledge Base to find a solution to your problem. Browser Mozilla/4.0 (compatible; MSIE 5.14; Mac_PowerPC) Remote Address 127.0.0.1 Referer http://127.0.0.1:8500/mycfmxapps/ Date/Time 31-Jul-02 02:59 PM Stack Trace (click to expand) at cfWS12ecfm1726113412.runPage(/opt/coldfusionmx/wwwroot/mycfmxapps/WS1.cfm: 10) at cfWS12ecfm1726113412.runPage(/opt/coldfusionmx/wwwroot/mycfmxapps/WS1.cfm: 10) java.lang.NoClassDefFoundError: com/techtrader/modules/tools/bytecode/BCEntity at org.apache.axis.wsdl.toJava.Emitter.(Emitter.java:533) at coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebService(Unknown Source) at coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebService(Unknown Source) at coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService(Unknown Source) at coldfusion.xml.rpc.XmlRpcServiceImpl.getWebServiceProxy(Unknown Source) at coldfusion.tagext.lang.InvokeTag.doEndTag(Unknown Source) at cfWS12ecfm1726113412.runPage(/opt/coldfusionmx/wwwroot/mycfmxapps/WS1.cfm: 10) at coldfusion.runtime.CfJspPage.invoke(Unknown Source) at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown Source) at coldfusion.filter.CfincludeFilter.invoke(Unknown Source) at coldfusion.filter.ApplicationFilter.invoke(Unknown Source) at coldfusion.filter.PathFilter.invoke(Unknown Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) at coldfusion.filter.GlobalsFilter.invoke(Unknown Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) at coldfusion.CfmServlet.service(Unknown Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java: 348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java: 294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists