could the jar file case or rights cause CF to not find the classes within the jar file?

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  ----- Original Message -----
  From: Bryan Stevenson
  To: CF-Talk
  Sent: Thursday, January 08, 2004 9:39 AM
  Subject: Re: iText.jar/CFMX 6.1 Std/Linux

  Well there is no "cfusionmx/lib" directory on Linux....the equivalent is "/opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib" and I've already tried the files there.  In CFAdmin they do show up as being recognized as one of the Java Class Paths, but CF still moans about the first call to it:

        Object Instantiation Exception.  
        Class not found: com.lowagie.text.PageSize  
         
        The error occurred in /var/www/html/pdf_test.cfm: line 7
      
  5 : <cfscript>
  6 : pdfFile = createObject("java", "java.io.FileOutputStream").init(attributes.save_as);
  7 : PageSize = createObject("java", "com.lowagie.text.PageSize").init();
  8 : document = createObject("java", "com.lowagie.text.Document").init(PageSize.LETTER, 0, 0, 0, 0);
  9 : PdfWriter = createObject("java", "com.lowagie.text.pdf.PdfWriter");  

  Bryan Stevenson B.Comm.
  VP & Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  t. 250.920.8830
  e. [EMAIL PROTECTED]

  ---------------------------------------------------------
  Macromedia Associate Partner
  www.macromedia.com
  ---------------------------------------------------------
  Vancouver Island ColdFusion Users Group
  Founder & Director
  www.cfug-vancouverisland.com
    ----- Original Message -----
    From: Spectrum WebDesign
    To: CF-Talk
    Sent: Thursday, January 08, 2004 9:36 AM
    Subject: Re: iText.jar/CFMX 6.1 Std/Linux

    Install in cfusionmx\lib

    ----- Original Message -----
    From: "Bryan Stevenson" <[EMAIL PROTECTED]>
    Date: Thu, 8 Jan 2004 08:52:32 -0800
    To: CF-Talk <[EMAIL PROTECTED]>
    Subject: iText.jar/CFMX 6.1 Std/Linux

    Anybody have any luck getting CFMX on Linux to find the iText.jar file and
    recognize the classes within?  I've stuck that dang jar file in every
    directory listed in the jvm.config file (and a reboot after each file move)
    and I'm still getting no love!!

    TIA

    BTW...works just fine on Windows when dropped in the cfusionmx/cfx/java
    directory

    Cheers

    Bryan Stevenson B.Comm.
    VP & Director of E-Commerce Development
    Electric Edge Systems Group Inc.
    t. 250.920.8830
    e. [EMAIL PROTECTED]

    ---------------------------------------------------------
    Macromedia Associate Partner
    www.macromedia.com
    ---------------------------------------------------------
    Vancouver Island ColdFusion Users Group
    Founder & Director
    www.cfug-vancouverisland.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to