how to include .jar files in coldfusion code

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default how to include .jar files in coldfusion code

    To Integrate our cfm code with paypal jar files we do the following steps with
    our local coldfusion server ,and to run and integrate the paypal Java SDK jar
    files, I think we need to do the same process on the server, can you suggest
    any thing to do the following setting for my domain on the server, without
    setting the class path in coldfusion administrator.

    The ColdFusion application server must be configured to know the location of
    the PayPal JAR
    files, and your ColdFusion Markup (CFM) pages must be configured with the
    absolute path to
    the PayPal API certificate for the PayPal API user on whose behalf the calls
    are made.
    1. Install the PayPal Java SDK ?Installing the SDK?.
    2. Copy a subset of the Java SDK JAR files to a location accessible by the
    ColdFusion
    application server. The JAR files are in SDK_root\lib and their exact names
    are as
    follows:
    ? 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.jar-1.1.3.jar
    3. With the ColdFusion Application Server Administrator, add the absolute path
    of the
    location you determined in Step 2 to the Java and JVM CLASSPATH environment
    variable.
    4. Restart the ColdFusion Application Server.

    Suggest me how to include .jar files without setting classpath.

    neemisha Guest

  2. Similar Questions and Discussions

    1. How would I include the Open Browser code into this lineof code?
      Hello and thankyou in advance: I have an ASP page linked to my database and I want to apply the Open Browser behaviour to the code. I have tried...
    2. Does ColdFusion 70 download include hotfixes
      I'm curious if anyone knows whether or not a product downloaded 'today' includes the hotfixes. My initial thought is yes, but you think that would...
    3. how do I hide database connection files using PHP include files?
      I have the following at the beginning of the PHP page: <?php require_once('Connections/conn.php'); ?> I want to hide the connection file,...
    4. Include file determined by ASP code?
      Franklin wrote on 08 aug 2003 in microsoft.public.inetserver.asp.general: try: server.execute session("CurrentContent") ...
    5. Code Coloring include files
      I would like to be able to have .inc files code colored as php and to have the php tab associated with .inc files. Is this possible... Thanks,...
  3. #2

    Default Re: how to include .jar files in coldfusion code

    > Suggest me how to include .jar files without setting classpath.
    Copy them to {CF_HOME}\lib, where {CF_HOME} is, for example, C:\CFusionMX7. Restart Coldfusion.


    BKBK Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139