• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFX installation woes with CF10 on Linux (Ubuntu)

Guest
Mar 23, 2015 Mar 23, 2015

Copy link to clipboard

Copied

Got an old Java class that was written for CFMX7 and can't get it working in CF10...

The class file is WavFileConverter.class (and is in /home/cfx)

I've never had it in a .jar as far as I know, when using it with CFMX7.

Now when I try to instantiate it, I get:

WavFileConverter (wrong name: com/dml/coldfusion/tags/WavFileConverter)


The settings in CFAdmin are:


Tag Name: CFX_WavFileConverter

Class Name: WavFileConverter


And I have set ColdFusion Class Path of /home/cfx


Any suggestions? It's been a long time since I did much CF!


Views

213

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 23, 2015 Mar 23, 2015

Copy link to clipboard

Copied

LATEST

BTW, javap shows...

Compiled from "WavFileConverter.java"

public class com.dml.coldfusion.tags.WavFileConverter implements com.allaire.cfx.CustomTag {

  static java.lang.Class class$com$dml$coldfusion$tags$WavFileConverter;

  public com.dml.coldfusion.tags.WavFileConverter();

  public void processRequest(com.allaire.cfx.Request, com.allaire.cfx.Response) throws java.lang.Exception;

  public java.lang.String convertFile(java.lang.String) throws java.io.IOException;

  static java.lang.Class class$(java.lang.String);

  static {};

}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation