YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

paypal sdk & coldfusion Options
priscila
#1 Posted : Wednesday, June 20, 2007 8:25:08 AM
Rank: Starting Member

Groups: Registered

Joined: 6/20/2007
Posts: 1
Location: ,
Can anybody tell me how can I configure paypal sdk for coldfusion in my localhost & main server? I was trying to configure it in my localhost but I couldn't set the absolute path to the Java and JVM CLASSPATH environment variable with the ColdFusion Application Server Administrator. My index.cfm file (which is in C:\CFusionMX\wwwroot\CFIDE\administrator\index.cfm" shows the following error. Error Occurred While Processing Request 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 6.0; Windows NT 5.1; SV1)Remote Address 127.0.0.1Referer http://localhost:8500/CFIDE/Date/Time 19-Jun-07 12:36 PMStack Trace (click to expand) java.lang.NoClassDefFoundError at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198]) at coldfusion.compiler.TemplateReader.decrypt(Unknown Source) at coldfusion.compiler.TemplateReader.(Unknown Source) at coldfusion.compiler.NeoTranslationContext.getPageReader(Unknown Source) at coldfusion.compiler.NeoTranslator.translateJava(Unknown Source) at coldfusion.compiler.NeoTranslator.translateJava(Unknown Source) at coldfusion.runtime.TemplateClassLoader$1.fetch(Unknown Source) at coldfusion.util.LruCache.get(Unknown Source) at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(Unknown Source) at coldfusion.util.AbstractCache.fetch(Unknown Source) at coldfusion.util.SoftCache.get(Unknown Source) at coldfusion.runtime.TemplateClassLoader.findClass(Unknown Source) at coldfusion.filter.PathFilter.invoke(Unknown Source) at coldfusion.filter.LicenseFilter.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.invokeNext(JRunRequestDispatcher.java:414) at jrun.servlet.JRunRequestDispatcher.forwardInvoke(JRunRequestDispatcher.java:387) at jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:172) at jrun.servlet.file.FileServlet.service(FileServlet.java:342) 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) How can I set that path? I have a sample file in coldfusion sdk which gives me the following instructions : README.txt README for PayPal Java SDK ColdFusion Sample ============================================ This sample code demonstrates how to call the PayPal Java SDK libraries from ColdFusion. Steps to run the PayPal Java SDK ColdFusion Sample: About directory names in the samples: the samples assume directory locations, as detailed in the following set-up steps. You can use whatever directory locations you prefer, as long as you are consistent in specifying your preferred locations in the PayPal-provided samples. 1. Download and install the following required software. Software: Version: Download from: ========= ======== ============== ColdFusion MX7.0.1 MX7.0.1 http://www.macromedia.com/software/coldfusion/ 2. Create a C:\paypal\lib\ directory. 3. From the \lib directory, copy the following files to the C:\paypal\lib\ directory: (Note: is the directory where you installed the PayPal SDK) bcmail-jdk14-128.jar bcprov-jdk14-128.jar paypal_base.jar paypal_stubs.jar sax2.jar xerces.jar xpp3-1.1.3.4d_b4_min.jar xstream-1.1.3.jar 4. In the ColdFusion Administrator, add the C:\paypal\lib path to the ColdFusion Class Path (Java and JVM). ( How can I do this? ) 5. Restart the ColdFusion MX service. 6. Move all files from the \samples\ColdFusion directory to your ColdFusion project directory under wwwroot. 7. To access the samples type http://localhost:8500/ColdFusion/index.cfm in the address bar of your browser and hit enter. DEFAULT LOGGING =============== A "paypal.cf.log" file will be created under \runtime\bin. To change the logging configuration, update the log4j.xml file. OPTIONAL SOAP LOGGING ===================== Logging SOAP requests and responses SOAP messages is useful for program debugging, but is not recommended for production use. To record SOAP requests and responses to the PayPal log, add the following lines to the "globalConfiguration" section of the \wwwroot\WEB-INF\client-confid.wsdd file. Known Issues with UTF-8 Encoded Characters: The PayPal ColdFusion sample application uses the version of log4j bundled within CFMX7, log4j-1.1.3. In this log4j release, the FileAppender seems to always use the default encoding (even when an "encoding" parameter is specified), and therefore, UTF-8 encoded characters contained in the SOAP envelopes are not logged properly. I am using "Macromedia Coldfusion MX v7 2004" . If u need coldfusion sdk then here is the link : https://www.paypal.com/I...nCenter/ic_addl-sdk.html Please reply me asap. I am in a great trouble. -Priscila
Sponsor  
 
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.137 seconds.