BUGGER!!

OK I've now tried unpacking the jar file into a directory and then adding that directory as one of the class paths (manually in jvm.config)....and rebooted.  There is know life as the frickin thing find the class it couldn't before, but now I get this.....HELP!!! ;-)

500 com/lowagie/text/PageSize (Truncated class file)
com/lowagie/text/PageSize (Truncated class file)

I'm officially lost!!

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
  ----- Original Message -----
  From: Bryan Stevenson
  To: CF-Talk
  Sent: Thursday, January 08, 2004 11:07 AM
  Subject: Re: iText.jar/CFMX 6.1 Std/Linux

  Ahhh...Barney...you always come through ;-)

  Yeah if you can fire me the e-mail...I'll give it a read...first I'll try the unpack approach (cuase I'm almost at a day wasted...hehe).

  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
    ----- Original Message -----
    From: Barney Boisvert
    To: CF-Talk
    Sent: Thursday, January 08, 2004 11:02 AM
    Subject: RE: iText.jar/CFMX 6.1 Std/Linux

    I had this problem with a JAR, and the only solution I found was to unpack
    the JAR into a directory, and then add that directory to the CF classpath.
    Certainly not ideal, but after blowing a day fighting, it was good enough.

    Sean had some insight as to why this was happening, but I didn't really
    understand what it was.  If you're interested, I can dig up his email and
    shoot it to you.

    barneyb

    > -----Original Message-----
    > From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
    > Sent: Thursday, January 08, 2004 9:39 AM
    > To: CF-Talk
    > 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/cf
    > usion/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